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

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

+ Inheritance diagram for ActsExamples::TruthSeedSelector:
+ Collaboration diagram for ActsExamples::TruthSeedSelector:

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::Loggerlogger () const
 

Detailed Description

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

Constructor & Destructor Documentation

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

Member Function Documentation

ProcessCode TruthSeedSelector::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 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.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::TruthSeedSelector::m_cfg
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().


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