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

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

#include <acts/blob/master/Examples/Algorithms/TruthTracking/ACTFW/TruthTracking/TrackSelector.hpp>

+ Inheritance diagram for FW::TrackSelector:
+ Collaboration diagram for FW::TrackSelector:

Classes

struct  Config
 

Public Member Functions

 TrackSelector (const Config &cfg, Acts::Logging::Level level=Acts::Logging::INFO)
 
ProcessCode execute (const AlgorithmContext &ctx) const finaloverride
 
- Public Member Functions inherited from FW::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 FW::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

FW::TrackSelector::TrackSelector ( const Config cfg,
Acts::Logging::Level  level = Acts::Logging::INFO 
)

Definition at line 20 of file TrackSelector.cpp.

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

References FW::TrackSelector::Config::input, m_cfg, and FW::TrackSelector::Config::output.

Member Function Documentation

FW::ProcessCode FW::TrackSelector::execute ( const AlgorithmContext context) const
finaloverridevirtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements FW::BareAlgorithm.

Definition at line 30 of file TrackSelector.cpp.

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

References kdfinder::abs(), ACTS_DEBUG, FW::WhiteBoard::add(), Acts::VectorHelpers::eta(), FW::AlgorithmContext::eventNumber, FW::AlgorithmContext::eventStore, FW::WhiteBoard::get(), max, min, phi, pt, SUCCESS, FW::VertexAndTracks::tracks, FW::VertexAndTracks::vertex, and x.

+ Here is the call graph for this function:

Member Data Documentation

Config FW::TrackSelector::m_cfg
private

Definition at line 49 of file TrackSelector.hpp.

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

Referenced by TrackSelector().


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