Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TruthTrackFinder.hpp>
Classes | |
struct | Config |
Public Types | |
using | HitParticlesMap = IndexMultimap< ActsFatras::Barcode > |
Public Member Functions | |
TruthTrackFinder (const Config &config, Acts::Logging::Level level) | |
ProcessCode | execute (const AlgorithmContext &ctx) const final |
const Config & | config () 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 |
ReadDataHandle < SimParticleContainer > | m_inputParticles {this, "InputParticles"} |
ReadDataHandle< HitParticlesMap > | m_inputMeasurementParticlesMap |
WriteDataHandle < ProtoTrackContainer > | m_outputProtoTracks |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
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 35 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 35 of file TruthTrackFinder.hpp
Definition at line 37 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 37 of file TruthTrackFinder.hpp
TruthTrackFinder::TruthTrackFinder | ( | const Config & | config, |
Acts::Logging::Level | level | ||
) |
Definition at line 29 of file TruthTrackFinder.cpp.
View newest version in sPHENIX GitHub at line 29 of file TruthTrackFinder.cpp
References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::TruthTrackFinder::Config::inputMeasurementParticlesMap, ActsExamples::TruthTrackFinder::Config::inputParticles, m_cfg, m_inputMeasurementParticlesMap, m_inputParticles, m_outputProtoTracks, and ActsExamples::TruthTrackFinder::Config::outputProtoTracks.
|
inline |
Get readonly access to the config parameters.
Definition at line 53 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 53 of file TruthTrackFinder.hpp
References m_cfg.
|
finalvirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements ActsExamples::IAlgorithm.
Definition at line 47 of file TruthTrackFinder.cpp.
View newest version in sPHENIX GitHub at line 47 of file TruthTrackFinder.cpp
References ACTS_VERBOSE, ActsExamples::invertIndexMultimap(), m_inputMeasurementParticlesMap, m_inputParticles, m_outputProtoTracks, ActsExamples::makeRange(), testing::internal::move(), particle, particles, SUCCESS, and tracks().
|
private |
Definition at line 56 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 56 of file TruthTrackFinder.hpp
Referenced by config(), and TruthTrackFinder().
|
private |
Definition at line 60 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 60 of file TruthTrackFinder.hpp
Referenced by execute(), and TruthTrackFinder().
|
private |
Definition at line 58 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 58 of file TruthTrackFinder.hpp
Referenced by execute(), and TruthTrackFinder().
|
private |
Definition at line 63 of file TruthTrackFinder.hpp.
View newest version in sPHENIX GitHub at line 63 of file TruthTrackFinder.hpp
Referenced by execute(), and TruthTrackFinder().