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

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

+ Inheritance diagram for ActsExamples::TruthTrackFinder:
+ Collaboration diagram for ActsExamples::TruthTrackFinder:

Classes

struct  Config
 

Public Member Functions

 TruthTrackFinder (const Config &cfg, Acts::Logging::Level lvl)
 
ProcessCode execute (const AlgorithmContext &ctx) const overridefinal
 
- 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

Convert true particle tracks into "reconstructed" proto tracks.

For numbering consistency, this creates a proto track for each input particle. Depending on the input particle selection it can contain zero hits. This algorithm should be able to replace any other real track finder in the reconstruction chain e.g. to validate algorithms further down the chain.

Definition at line 22 of file TruthTrackFinder.hpp.

View newest version in sPHENIX GitHub at line 22 of file TruthTrackFinder.hpp

Constructor & Destructor Documentation

TruthTrackFinder::TruthTrackFinder ( const Config cfg,
Acts::Logging::Level  lvl 
)

Member Function Documentation

ProcessCode TruthTrackFinder::execute ( const AlgorithmContext context) const
finaloverridevirtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements ActsExamples::BareAlgorithm.

Definition at line 36 of file TruthTrackFinder.cpp.

View newest version in sPHENIX GitHub at line 36 of file TruthTrackFinder.cpp

References ActsExamples::WhiteBoard::add(), ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), ActsExamples::TruthTrackFinder::Config::inputHitParticlesMap, ActsExamples::TruthTrackFinder::Config::inputParticles, ActsExamples::invertIndexMultimap(), m_cfg, ActsExamples::makeRange(), ActsExamples::TruthTrackFinder::Config::outputProtoTracks, particle, and SUCCESS.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::TruthTrackFinder::m_cfg
private

Definition at line 38 of file TruthTrackFinder.hpp.

View newest version in sPHENIX GitHub at line 38 of file TruthTrackFinder.hpp

Referenced by execute(), and TruthTrackFinder().


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