ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrClusterIterationMapv1 Class Reference

Class for associating clusters to the hits that went into them. More...

#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterIterationMapv1.h>

+ Inheritance diagram for TrkrClusterIterationMapv1:
+ Collaboration diagram for TrkrClusterIterationMapv1:

Public Member Functions

 TrkrClusterIterationMapv1 ()=default
 
void Reset () override
 Clear Event.
 
void identify (std::ostream &os=std::cout) const override
 
void addIteration (TrkrDefs::cluskey, short int) override
 Add association between cluster andthe tracking iteration it was used in.
 
short int getIteration (TrkrDefs::cluskey ckey) override
 
unsigned int size (void) const override
 

Private Member Functions

 ClassDefOverride (TrkrClusterIterationMapv1, 1)
 

Private Attributes

Map m_map
 

Additional Inherited Members

- Public Types inherited from TrkrClusterIterationMap
using Map = std::map< TrkrDefs::cluskey, short int >
 
- Protected Member Functions inherited from TrkrClusterIterationMap
 TrkrClusterIterationMap ()=default
 

Detailed Description

Class for associating clusters to the hits that went into them.

Store the associations between clusters and the hits that went into them.

Definition at line 25 of file TrkrClusterIterationMapv1.h.

View newest version in sPHENIX GitHub at line 25 of file TrkrClusterIterationMapv1.h

Constructor & Destructor Documentation

TrkrClusterIterationMapv1::TrkrClusterIterationMapv1 ( )
default

Member Function Documentation

void TrkrClusterIterationMapv1::addIteration ( TrkrDefs::cluskey  ckey,
short  iter 
)
overridevirtual

Add association between cluster andthe tracking iteration it was used in.

Parameters
[in]ckeyCluster key
[in]trackingiteration

Implements TrkrClusterIterationMap.

Definition at line 35 of file TrkrClusterIterationMapv1.cc.

View newest version in sPHENIX GitHub at line 35 of file TrkrClusterIterationMapv1.cc

References m_map.

Referenced by PHTrackSelector::process_event().

+ Here is the caller graph for this function:

TrkrClusterIterationMapv1::ClassDefOverride ( TrkrClusterIterationMapv1  ,
 
)
private
short int TrkrClusterIterationMapv1::getIteration ( TrkrDefs::cluskey  ckey)
overridevirtual

Implements TrkrClusterIterationMap.

Definition at line 40 of file TrkrClusterIterationMapv1.cc.

View newest version in sPHENIX GitHub at line 40 of file TrkrClusterIterationMapv1.cc

References m_map.

Referenced by PHCASeeding::FillTree(), PHActsSiliconSeeding::getMvtxSpacePoints(), PHSimpleKFProp::PrepareKDTrees(), and PHMicromegasTpcTrackMatching::process_event().

+ Here is the caller graph for this function:

void TrkrClusterIterationMapv1::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Definition at line 17 of file TrkrClusterIterationMapv1.cc.

View newest version in sPHENIX GitHub at line 17 of file TrkrClusterIterationMapv1.cc

References m_map.

void TrkrClusterIterationMapv1::Reset ( )
overridevirtual

Clear Event.

Reimplemented from TrkrClusterIterationMap.

Definition at line 12 of file TrkrClusterIterationMapv1.cc.

View newest version in sPHENIX GitHub at line 12 of file TrkrClusterIterationMapv1.cc

References m_map.

Referenced by PHTrackSelector::process_event().

+ Here is the caller graph for this function:

unsigned int TrkrClusterIterationMapv1::size ( void  ) const
overridevirtual

Reimplemented from TrkrClusterIterationMap.

Definition at line 50 of file TrkrClusterIterationMapv1.cc.

View newest version in sPHENIX GitHub at line 50 of file TrkrClusterIterationMapv1.cc

References m_map.

Member Data Documentation

Map TrkrClusterIterationMapv1::m_map
private

Definition at line 43 of file TrkrClusterIterationMapv1.h.

View newest version in sPHENIX GitHub at line 43 of file TrkrClusterIterationMapv1.h

Referenced by addIteration(), getIteration(), identify(), Reset(), and size().


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