EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TruthSeedSelector.hpp>
Classes | |
struct | Config |
Public Member Functions | |
TruthSeedSelector (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 |
Select truth particles to be used as 'seeds' of reconstruction algorithms, e.g. track fitting and track finding.
This pre-selection could help guarantee quality of the 'seeds', i.e. to avoid empty proto track (no recorded hits for the particle). In addition, it could help save unnecessary reconstruction time. For instance, when investigating performance of CombinatorialKalmanFilter (CKF), we might be interested in its performance for only truth particles with pT and number of recorded hits (on sensitive detectors) safistying provided criteria (input measurments of CKF are still recorded hits from all possible particles). Then we could use particles only satistying provided criteria as the 'seeds' of CKF instead of handling all the truth particles.
Definition at line 28 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 28 of file TruthSeedSelector.hpp
TruthSeedSelector::TruthSeedSelector | ( | const Config & | cfg, |
Acts::Logging::Level | lvl | ||
) |
Definition at line 23 of file TruthSeedSelector.cpp.
View newest version in sPHENIX GitHub at line 23 of file TruthSeedSelector.cpp
References ActsExamples::TruthSeedSelector::Config::inputHitParticlesMap, ActsExamples::TruthSeedSelector::Config::inputParticles, m_cfg, and ActsExamples::TruthSeedSelector::Config::outputParticles.
|
finaloverridevirtual |
Execute the algorithm for one event.
This function must be implemented by subclasses.
Implements ActsExamples::BareAlgorithm.
Definition at line 37 of file TruthSeedSelector.cpp.
View newest version in sPHENIX GitHub at line 37 of file TruthSeedSelector.cpp
References kdfinder::abs(), ActsExamples::TruthSeedSelector::Config::absEtaMax, ActsExamples::TruthSeedSelector::Config::absEtaMin, ActsExamples::TruthSeedSelector::Config::absZMax, ActsExamples::WhiteBoard::add(), Acts::VectorHelpers::eta(), ActsExamples::TruthSeedSelector::Config::etaMax, ActsExamples::TruthSeedSelector::Config::etaMin, ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), ActsExamples::TruthSeedSelector::Config::inputHitParticlesMap, ActsExamples::TruthSeedSelector::Config::inputParticles, ActsExamples::invertIndexMultimap(), ActsExamples::TruthSeedSelector::Config::keepNeutral, m_cfg, ActsExamples::makeRange(), max, min, ActsExamples::TruthSeedSelector::Config::nHitsMax, ActsExamples::TruthSeedSelector::Config::nHitsMin, ActsExamples::TruthSeedSelector::Config::outputParticles, p, particle, Acts::VectorHelpers::perp(), Acts::VectorHelpers::phi(), phi, ActsExamples::TruthSeedSelector::Config::phiMax, ActsExamples::TruthSeedSelector::Config::phiMin, ActsExamples::TruthSeedSelector::Config::ptMax, ActsExamples::TruthSeedSelector::Config::ptMin, ActsExamples::TruthSeedSelector::Config::rhoMax, SUCCESS, and x.
|
private |
Definition at line 63 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 63 of file TruthSeedSelector.hpp
Referenced by execute(), and TruthSeedSelector().