EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::TrackSelector Exception Referencefinal

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

#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TrackSelector.hpp>

+ Inheritance diagram for ActsExamples::TrackSelector:
+ Collaboration diagram for ActsExamples::TrackSelector:

Classes

struct  Config
 

Public Member Functions

 TrackSelector (const Config &cfg, Acts::Logging::Level lvl)
 
ProcessCode execute (const AlgorithmContext &ctx) const final
 
- Public Member Functions inherited from ActsExamples::BareAlgorithm
 BareAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO)
 
std::string name () const finaloverride
 The algorithm name.
 

Private Attributes

Config m_cfg
 

Additional Inherited Members

- Protected Member Functions inherited from ActsExamples::BareAlgorithm
const Acts::Loggerlogger () const
 

Detailed Description

Select tracks by applying some selection cuts.

Definition at line 19 of file TrackSelector.hpp.

View newest version in sPHENIX GitHub at line 19 of file TrackSelector.hpp

Constructor & Destructor Documentation

ActsExamples::TrackSelector::TrackSelector ( const Config cfg,
Acts::Logging::Level  lvl 
)

Member Function Documentation

ActsExamples::ProcessCode ActsExamples::TrackSelector::execute ( const AlgorithmContext context) const
finalvirtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements ActsExamples::BareAlgorithm.

Definition at line 33 of file TrackSelector.cpp.

View newest version in sPHENIX GitHub at line 33 of file TrackSelector.cpp

References kdfinder::abs(), ACTS_DEBUG, ActsExamples::WhiteBoard::add(), Acts::VectorHelpers::eta(), ActsExamples::AlgorithmContext::eventNumber, ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), max, min, SUCCESS, theta(), and x.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::TrackSelector::m_cfg
private

Definition at line 59 of file TrackSelector.hpp.

View newest version in sPHENIX GitHub at line 59 of file TrackSelector.hpp

Referenced by TrackSelector().


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