Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::TrackSelectorAlgorithm Exception Referencefinal

Select tracks by applying some selection cuts. More...

#include <acts/blob/sPHENIX/Examples/Algorithms/Utilities/include/ActsExamples/Utilities/TrackSelectorAlgorithm.hpp>

+ 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 Configconfig () 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::Loggerlogger () const
 

Detailed Description

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

Constructor & Destructor Documentation

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:

Member Function Documentation

const Config& ActsExamples::TrackSelectorAlgorithm::config ( ) const
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.

ActsExamples::ProcessCode ActsExamples::TrackSelectorAlgorithm::execute ( const AlgorithmContext context) const
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:

Member Data Documentation

Config ActsExamples::TrackSelectorAlgorithm::m_cfg
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().

ReadDataHandle<ConstTrackContainer> ActsExamples::TrackSelectorAlgorithm::m_inputTrackContainer
private
Initial value:
{this,
"InputTracks"}

Definition at line 49 of file TrackSelectorAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 49 of file TrackSelectorAlgorithm.hpp

Referenced by TrackSelectorAlgorithm().

WriteDataHandle<ConstTrackContainer> ActsExamples::TrackSelectorAlgorithm::m_outputTrackContainer
private
Initial value:
{this,
"OutputTracks"}

Definition at line 51 of file TrackSelectorAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 51 of file TrackSelectorAlgorithm.hpp

Referenced by TrackSelectorAlgorithm().

Acts::TrackSelector ActsExamples::TrackSelectorAlgorithm::m_selector
private

Definition at line 47 of file TrackSelectorAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 47 of file TrackSelectorAlgorithm.hpp


The documentation for this exception was generated from the following files: