Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Examples/Algorithms/TruthTracking/ActsExamples/TruthTracking/TruthSeedSelector.hpp>
Classes | |
struct | Config |
Public Types | |
using | HitParticlesMap = IndexMultimap< ActsFatras::Barcode > |
Public Member Functions | |
TruthSeedSelector (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 < SimParticleContainer > | m_outputParticles |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
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 measurements of CKF are still recorded hits from all possible particles). Then we could use particles only satisfying provided criteria as the 'seeds' of CKF instead of handling all the truth particles.
Definition at line 42 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 42 of file TruthSeedSelector.hpp
Definition at line 44 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 44 of file TruthSeedSelector.hpp
TruthSeedSelector::TruthSeedSelector | ( | const Config & | config, |
Acts::Logging::Level | level | ||
) |
Definition at line 29 of file TruthSeedSelector.cpp.
View newest version in sPHENIX GitHub at line 29 of file TruthSeedSelector.cpp
References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::TruthSeedSelector::Config::inputMeasurementParticlesMap, ActsExamples::TruthSeedSelector::Config::inputParticles, m_cfg, m_inputMeasurementParticlesMap, m_inputParticles, m_outputParticles, and ActsExamples::TruthSeedSelector::Config::outputParticles.
|
inline |
Get readonly access to the config parameters.
Definition at line 81 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 81 of file TruthSeedSelector.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 TruthSeedSelector.cpp.
View newest version in sPHENIX GitHub at line 47 of file TruthSeedSelector.cpp
References ActsExamples::TruthSeedSelector::Config::absEtaMax, ActsExamples::TruthSeedSelector::Config::absEtaMin, eta, Acts::VectorHelpers::eta(), ActsExamples::TruthSeedSelector::Config::etaMax, ActsExamples::TruthSeedSelector::Config::etaMin, physmon_simulation::inputParticles, ActsExamples::invertIndexMultimap(), ActsExamples::TruthSeedSelector::Config::keepNeutral, m_cfg, m_inputMeasurementParticlesMap, m_inputParticles, m_outputParticles, ActsExamples::makeRange(), Acts::UnitConstants::min, testing::internal::move(), ActsExamples::TruthSeedSelector::Config::nHitsMax, ActsExamples::TruthSeedSelector::Config::nHitsMin, merge_hashes::p, particle, Acts::VectorHelpers::perp(), ActsTests::PropagationDatasets::phi, Acts::VectorHelpers::phi(), ActsExamples::TruthSeedSelector::Config::phiMax, ActsExamples::TruthSeedSelector::Config::phiMin, ActsExamples::TruthSeedSelector::Config::ptMax, ActsExamples::TruthSeedSelector::Config::ptMin, rho, ActsExamples::TruthSeedSelector::Config::rhoMax, SUCCESS, ambiguity_solver_full_chain::x, ActsExamples::TruthSeedSelector::Config::zMax, and ActsExamples::TruthSeedSelector::Config::zMin.
|
private |
Definition at line 84 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 84 of file TruthSeedSelector.hpp
Referenced by config(), execute(), and TruthSeedSelector().
|
private |
Definition at line 87 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 87 of file TruthSeedSelector.hpp
Referenced by execute(), and TruthSeedSelector().
|
private |
Definition at line 86 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 86 of file TruthSeedSelector.hpp
Referenced by execute(), and TruthSeedSelector().
|
private |
Definition at line 90 of file TruthSeedSelector.hpp.
View newest version in sPHENIX GitHub at line 90 of file TruthSeedSelector.hpp
Referenced by execute(), and TruthSeedSelector().