Analysis Software
Documentation for sPHENIX simulation 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 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 Configconfig () 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< HitParticlesMapm_inputMeasurementParticlesMap
 
WriteDataHandle
< SimParticleContainer
m_outputParticles
 

Additional Inherited Members

- Protected Member Functions inherited from ActsExamples::IAlgorithm
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 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

Member Typedef Documentation

Definition at line 44 of file TruthSeedSelector.hpp.

View newest version in sPHENIX GitHub at line 44 of file TruthSeedSelector.hpp

Constructor & Destructor Documentation

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.

+ Here is the call graph for this function:

Member Function Documentation

const Config& ActsExamples::TruthSeedSelector::config ( ) const
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.

ProcessCode TruthSeedSelector::execute ( const AlgorithmContext context) const
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.

+ Here is the call graph for this function:

Member Data Documentation

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

ReadDataHandle<HitParticlesMap> ActsExamples::TruthSeedSelector::m_inputMeasurementParticlesMap
private
Initial value:
{
this, "InputMeasurementParticlesMap"}

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().

ReadDataHandle<SimParticleContainer> ActsExamples::TruthSeedSelector::m_inputParticles {this, "InputParticles"}
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().

WriteDataHandle<SimParticleContainer> ActsExamples::TruthSeedSelector::m_outputParticles
private
Initial value:
{this,
"OutputParticles"}

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().


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