![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Create planar clusters from simulation hits. More...
Inheritance diagram for ActsExamples::PlanarSteppingAlgorithm:
Collaboration diagram for ActsExamples::PlanarSteppingAlgorithm:Classes | |
| struct | Config |
| struct | Digitizable |
Public Types | |
| using | ClusterContainer = ActsExamples::GeometryIdMultimap< Acts::PlanarModuleCluster > |
Public Member Functions | |
| PlanarSteppingAlgorithm (Config config, Acts::Logging::Level level) | |
| ProcessCode | execute (const AlgorithmContext &ctx) const override |
| const Config & | config () const |
| Readonly access to the config. | |
Public Member Functions inherited from ActsExamples::IAlgorithm | |
| IAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
| std::string | name () const override |
| The algorithm name. | |
| ProcessCode | internalExecute (const AlgorithmContext &context) final |
| ProcessCode | initialize () override |
| Initialize the algorithm. | |
| ProcessCode | finalize () override |
| Finalize the algorithm. | |
Private Attributes | |
| Config | m_cfg |
| std::unordered_map < Acts::GeometryIdentifier, Digitizable > | m_digitizables |
| Lookup container for all digitizable surfaces. | |
| ReadDataHandle< SimHitContainer > | m_inputSimHits {this, "InputSimHits"} |
| WriteDataHandle< ClusterContainer > | m_outputClusters {this, "OutputClusters"} |
| WriteDataHandle < GeometryIdMultiset < IndexSourceLink > > | m_outputSourceLinks |
| WriteDataHandle< std::vector < Acts::DigitizationSourceLink > > | m_outputDigiSourceLinks {this, "OutputDigiSourceLinks"} |
| WriteDataHandle < MeasurementContainer > | m_outputMeasurements |
| WriteDataHandle< IndexMultimap < ActsFatras::Barcode > > | m_outputMeasurementParticlesMap {this, "OutputMeasurementParticlesMap"} |
| WriteDataHandle< IndexMultimap < Index > > | m_outputMeasurementSimHitsMap |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
| const Acts::Logger & | logger () const |
Create planar clusters from simulation hits.
Definition at line 49 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 49 of file PlanarSteppingAlgorithm.hpp
| using ActsExamples::PlanarSteppingAlgorithm::ClusterContainer = ActsExamples::GeometryIdMultimap<Acts::PlanarModuleCluster> |
Definition at line 52 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 52 of file PlanarSteppingAlgorithm.hpp
| ActsExamples::PlanarSteppingAlgorithm::PlanarSteppingAlgorithm | ( | Config | config, |
| Acts::Logging::Level | level | ||
| ) |
Construct the digitization algorithm.
| config | is the algorithm configuration |
| level | is the logging level |
Definition at line 44 of file PlanarSteppingAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 44 of file PlanarSteppingAlgorithm.cpp
References Acts::IdentifiedDetectorElement::digitizationModule(), Acts::GeometryObject::geometryId(), ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::PlanarSteppingAlgorithm::Config::inputSimHits, m_cfg, m_digitizables, m_inputSimHits, m_outputClusters, m_outputDigiSourceLinks, m_outputMeasurementParticlesMap, m_outputMeasurements, m_outputMeasurementSimHitsMap, m_outputSourceLinks, ActsExamples::PlanarSteppingAlgorithm::Config::outputClusters, ActsExamples::PlanarSteppingAlgorithm::Config::outputDigiSourceLinks, ActsExamples::PlanarSteppingAlgorithm::Config::outputMeasurementParticlesMap, ActsExamples::PlanarSteppingAlgorithm::Config::outputMeasurements, ActsExamples::PlanarSteppingAlgorithm::Config::outputMeasurementSimHitsMap, ActsExamples::PlanarSteppingAlgorithm::Config::outputSourceLinks, ActsExamples::PlanarSteppingAlgorithm::Config::planarModuleStepper, ActsExamples::PlanarSteppingAlgorithm::Config::randomNumbers, writeMapConfig::surface, ActsExamples::PlanarSteppingAlgorithm::Digitizable::surface, and ActsExamples::PlanarSteppingAlgorithm::Config::trackingGeometry.
Here is the call graph for this function:
|
inline |
Readonly access to the config.
Definition at line 90 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 90 of file PlanarSteppingAlgorithm.hpp
References m_cfg.
|
overridevirtual |
Build clusters from input simulation hits.
| txt | is the algorithm context with event information |
Implements ActsExamples::IAlgorithm.
Definition at line 117 of file PlanarSteppingAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 117 of file PlanarSteppingAlgorithm.cpp
References ACTS_DEBUG, ACTS_VERBOSE, Acts::Segmentation::binUtility(), clusters, Acts::Test::cov, Acts::eBoundLoc0, Acts::eBoundLoc1, Acts::eBoundTime, ActsExamples::AlgorithmContext::geoContext, ActsExamples::groupByModule(), it, m_cfg(), Acts::makeMeasurement(), testing::internal::move(), Acts::UnitConstants::ps, Acts::Measurement< indices_t, kSize >::size(), SUCCESS, and thickness.
Here is the call graph for this function:
|
private |
Definition at line 99 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 99 of file PlanarSteppingAlgorithm.hpp
Referenced by config(), and PlanarSteppingAlgorithm().
|
private |
Lookup container for all digitizable surfaces.
Definition at line 101 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 101 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 103 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 103 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 105 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 105 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 111 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 111 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 117 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 117 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 113 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 113 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 119 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 119 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().
|
private |
Definition at line 107 of file PlanarSteppingAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 107 of file PlanarSteppingAlgorithm.hpp
Referenced by PlanarSteppingAlgorithm().