EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TruthTrackFinder.hpp>
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::Logger & | logger () const |
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
TruthTrackFinder::TruthTrackFinder | ( | const Config & | cfg, |
Acts::Logging::Level | lvl | ||
) |
Definition at line 23 of file TruthTrackFinder.cpp.
View newest version in sPHENIX GitHub at line 23 of file TruthTrackFinder.cpp
References ActsExamples::TruthTrackFinder::Config::inputHitParticlesMap, ActsExamples::TruthTrackFinder::Config::inputParticles, m_cfg, and ActsExamples::TruthTrackFinder::Config::outputProtoTracks.
|
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.
|
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().