![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|

Association object for PHG4Cells contributiong to TrkrHits. More...
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrHitTruthAssocv1.h>
Inheritance diagram for TrkrHitTruthAssocv1:
Collaboration diagram for TrkrHitTruthAssocv1:Public Member Functions | |
| TrkrHitTruthAssocv1 ()=default | |
| void | Reset () override |
| Clear Event. | |
| void | identify (std::ostream &os=std::cout) const override |
| void | addAssoc (const TrkrDefs::hitsetkey, const TrkrDefs::hitkey, const PHG4HitDefs::keytype) override |
| Add an association between hit and cell. | |
| void | findOrAddAssoc (const TrkrDefs::hitsetkey, const TrkrDefs::hitkey, const PHG4HitDefs::keytype) override |
| Add an association between hit and cell if it does not already exist. | |
| void | removeAssoc (const TrkrDefs::hitsetkey, const TrkrDefs::hitkey) override |
| void | getG4Hits (const TrkrDefs::hitsetkey hitsetkey, const unsigned int hidx, MMap &temp_map) const override |
| Get cell keys associated with desired hit. | |
Private Member Functions | |
| ClassDefOverride (TrkrHitTruthAssocv1, 1) | |
Private Attributes | |
| MMap | m_map |
Additional Inherited Members | |
Public Types inherited from TrkrHitTruthAssoc | |
| using | MMap = std::multimap< TrkrDefs::hitsetkey, std::pair< TrkrDefs::hitkey, PHG4HitDefs::keytype > > |
| typedefs for convenience | |
| using | Iterator = MMap::iterator |
| using | ConstIterator = MMap::const_iterator |
| using | Range = std::pair< Iterator, Iterator > |
| using | ConstRange = std::pair< ConstIterator, ConstIterator > |
Protected Member Functions inherited from TrkrHitTruthAssoc | |
| TrkrHitTruthAssoc ()=default | |
| ctor | |
Association object for PHG4Cells contributiong to TrkrHits.
Association object holding a multimap of PHG4Cells associated with a given TrkrHit
Definition at line 23 of file TrkrHitTruthAssocv1.h.
View newest version in sPHENIX GitHub at line 23 of file TrkrHitTruthAssocv1.h
|
default |
|
overridevirtual |
Add an association between hit and cell.
| [in] | hset | TrkrHitSet key |
| [in] | hidx | TrkrHit index in TrkrHitSet |
| [in] | ckey | Key for assocuated g4hit |
Reimplemented from TrkrHitTruthAssoc.
Definition at line 41 of file TrkrHitTruthAssocv1.cc.
View newest version in sPHENIX GitHub at line 41 of file TrkrHitTruthAssocv1.cc
References m_map.
|
private |
|
overridevirtual |
Add an association between hit and cell if it does not already exist.
| [in] | hset | TrkrHitSet key |
| [in] | hidx | TrkrHit index in TrkrHitSet |
| [in] | ckey | Key for assocuated g4hit |
Reimplemented from TrkrHitTruthAssoc.
Definition at line 48 of file TrkrHitTruthAssocv1.cc.
View newest version in sPHENIX GitHub at line 48 of file TrkrHitTruthAssocv1.cc
References m_map.
|
overridevirtual |
Get cell keys associated with desired hit.
| [in] | hset | TrkrHitSet key |
| [in] | hidx | TrkrHit index in TrkrHitSet |
Reimplemented from TrkrHitTruthAssoc.
Definition at line 84 of file TrkrHitTruthAssocv1.cc.
View newest version in sPHENIX GitHub at line 84 of file TrkrHitTruthAssocv1.cc
References m_map.
|
overridevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from TrkrHitTruthAssoc.
Definition at line 21 of file TrkrHitTruthAssocv1.cc.
View newest version in sPHENIX GitHub at line 21 of file TrkrHitTruthAssocv1.cc
References TrkrDefs::getLayer(), G4TTL::layer, and m_map.
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from TrkrHitTruthAssoc.
Definition at line 66 of file TrkrHitTruthAssocv1.cc.
View newest version in sPHENIX GitHub at line 66 of file TrkrHitTruthAssocv1.cc
References m_map.
|
overridevirtual |
Clear Event.
Reimplemented from TrkrHitTruthAssoc.
Definition at line 17 of file TrkrHitTruthAssocv1.cc.
View newest version in sPHENIX GitHub at line 17 of file TrkrHitTruthAssocv1.cc
References m_map.
|
private |
Definition at line 44 of file TrkrHitTruthAssocv1.h.
View newest version in sPHENIX GitHub at line 44 of file TrkrHitTruthAssocv1.h
Referenced by addAssoc(), findOrAddAssoc(), getG4Hits(), identify(), removeAssoc(), and Reset().
1.8.2
with ECCE GitHub integration
