![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
Select tracks by applying some selection cuts. More...
Inheritance diagram for ActsExamples::TrackSelectorAlgorithm:
Collaboration diagram for ActsExamples::TrackSelectorAlgorithm:Classes | |
| struct | Config |
Public Member Functions | |
| TrackSelectorAlgorithm (const Config &config, Acts::Logging::Level level) | |
| ProcessCode | execute (const AlgorithmContext &ctx) const final |
| const Config & | config () const |
| Get readonly access to the config parameters. | |
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 |
| Acts::TrackSelector | m_selector |
| ReadDataHandle < ConstTrackContainer > | m_inputTrackContainer |
| WriteDataHandle < ConstTrackContainer > | m_outputTrackContainer |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
| const Acts::Logger & | logger () const |
Select tracks by applying some selection cuts.
Definition at line 26 of file TrackSelectorAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 26 of file TrackSelectorAlgorithm.hpp
| ActsExamples::TrackSelectorAlgorithm::TrackSelectorAlgorithm | ( | const Config & | config, |
| Acts::Logging::Level | level | ||
| ) |
Definition at line 26 of file TrackSelectorAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 26 of file TrackSelectorAlgorithm.cpp
References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::TrackSelectorAlgorithm::Config::inputTracks, m_cfg, m_inputTrackContainer, m_outputTrackContainer, and ActsExamples::TrackSelectorAlgorithm::Config::outputTracks.
Here is the call graph for this function:
|
inline |
Get readonly access to the config parameters.
Definition at line 42 of file TrackSelectorAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 42 of file TrackSelectorAlgorithm.hpp
References m_cfg.
|
finalvirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements ActsExamples::IAlgorithm.
Definition at line 43 of file TrackSelectorAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 43 of file TrackSelectorAlgorithm.cpp
References ACTS_DEBUG, ACTS_VERBOSE, truth_tracking_gsf_refitting::inputTracks, m_cfg(), testing::internal::move(), truth_tracking_gsf_refitting::outputTracks, and SUCCESS.
Here is the call graph for this function:
|
private |
Definition at line 45 of file TrackSelectorAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 45 of file TrackSelectorAlgorithm.hpp
Referenced by config(), and TrackSelectorAlgorithm().
|
private |
Definition at line 49 of file TrackSelectorAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 49 of file TrackSelectorAlgorithm.hpp
Referenced by TrackSelectorAlgorithm().
|
private |
Definition at line 51 of file TrackSelectorAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 51 of file TrackSelectorAlgorithm.hpp
Referenced by TrackSelectorAlgorithm().
|
private |
Definition at line 47 of file TrackSelectorAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 47 of file TrackSelectorAlgorithm.hpp