![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Class for associating clusters to the hits that went into them. More...
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterHitAssocv2.h>
Inheritance diagram for TrkrClusterHitAssocv2:
Collaboration diagram for TrkrClusterHitAssocv2:Public Member Functions | |
| TrkrClusterHitAssocv2 ()=default | |
| void | Reset () override |
| Clear Event. | |
| void | identify (std::ostream &os=std::cout) const override |
| void | addAssoc (TrkrDefs::cluskey, unsigned int) override |
| Add association between cluster and hit. | |
| Map * | getClusterMap (TrkrDefs::hitsetkey) override |
| get pointer to cluster-to-hit map corresponding to a given hitset id | |
| ConstRange | getHits (TrkrDefs::cluskey) override |
| Get all the hits associated with a cluster by key. | |
| unsigned int | size () const override |
Private Member Functions | |
| ClassDefOverride (TrkrClusterHitAssocv2, 1) | |
Private Attributes | |
| unsigned int | max_layer = 57 |
| unsigned int | max_phisegment = 12 |
| unsigned int | max_zsegment = 8 |
| Map | m_map [57][12][8] |
Additional Inherited Members | |
Public Types inherited from TrkrClusterHitAssoc | |
| using | Map = std::multimap< TrkrDefs::cluskey, TrkrDefs::hitkey > |
| using | ConstIterator = Map::const_iterator |
| using | ConstRange = std::pair< Map::const_iterator, Map::const_iterator > |
Protected Member Functions inherited from TrkrClusterHitAssoc | |
| TrkrClusterHitAssoc ()=default | |
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 24 of file TrkrClusterHitAssocv2.h.
View newest version in sPHENIX GitHub at line 24 of file TrkrClusterHitAssocv2.h
|
default |
|
overridevirtual |
Add association between cluster and hit.
| [in] | ckey | Cluster key |
| [in] | hidx | Index of the hit in TrkrHitSet |
Implements TrkrClusterHitAssoc.
Definition at line 52 of file TrkrClusterHitAssocv2.cc.
View newest version in sPHENIX GitHub at line 52 of file TrkrClusterHitAssocv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), G4TTL::layer, m_map, max_layer, max_phisegment, and max_zsegment.
Here is the call graph for this function:
|
private |
|
overridevirtual |
get pointer to cluster-to-hit map corresponding to a given hitset id
Reimplemented from TrkrClusterHitAssoc.
Definition at line 73 of file TrkrClusterHitAssocv2.cc.
View newest version in sPHENIX GitHub at line 73 of file TrkrClusterHitAssocv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), G4TTL::layer, m_map, max_layer, max_phisegment, and max_zsegment.
Here is the call graph for this function:
|
overridevirtual |
Get all the hits associated with a cluster by key.
| [in] | ckey | Cluster key |
| [out] | Range | over hits associated with ckey |
Implements TrkrClusterHitAssoc.
Definition at line 95 of file TrkrClusterHitAssocv2.cc.
View newest version in sPHENIX GitHub at line 95 of file TrkrClusterHitAssocv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), G4TTL::layer, m_map, max_layer, max_phisegment, and max_zsegment.
Here is the call graph for this function:
|
overridevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHObject.
Definition at line 28 of file TrkrClusterHitAssocv2.cc.
View newest version in sPHENIX GitHub at line 28 of file TrkrClusterHitAssocv2.cc
References TrkrDefs::getLayer(), G4TTL::layer, m_map, max_layer, max_phisegment, max_zsegment, and size().
Here is the call graph for this function:
|
overridevirtual |
Clear Event.
Reimplemented from TrkrClusterHitAssoc.
Definition at line 19 of file TrkrClusterHitAssocv2.cc.
View newest version in sPHENIX GitHub at line 19 of file TrkrClusterHitAssocv2.cc
References G4TTL::layer, m_map, max_layer, max_phisegment, and max_zsegment.
Reimplemented from TrkrClusterHitAssoc.
Definition at line 117 of file TrkrClusterHitAssocv2.cc.
View newest version in sPHENIX GitHub at line 117 of file TrkrClusterHitAssocv2.cc
References G4TTL::layer, m_map, max_layer, max_phisegment, and max_zsegment.
Referenced by identify().
Here is the caller graph for this function:
|
private |
Definition at line 46 of file TrkrClusterHitAssocv2.h.
View newest version in sPHENIX GitHub at line 46 of file TrkrClusterHitAssocv2.h
Referenced by addAssoc(), getClusterMap(), getHits(), identify(), Reset(), and size().
|
private |
Definition at line 43 of file TrkrClusterHitAssocv2.h.
View newest version in sPHENIX GitHub at line 43 of file TrkrClusterHitAssocv2.h
Referenced by addAssoc(), getClusterMap(), getHits(), identify(), Reset(), and size().
|
private |
Definition at line 44 of file TrkrClusterHitAssocv2.h.
View newest version in sPHENIX GitHub at line 44 of file TrkrClusterHitAssocv2.h
Referenced by addAssoc(), getClusterMap(), getHits(), identify(), Reset(), and size().
|
private |
Definition at line 45 of file TrkrClusterHitAssocv2.h.
View newest version in sPHENIX GitHub at line 45 of file TrkrClusterHitAssocv2.h
Referenced by addAssoc(), getClusterMap(), getHits(), identify(), Reset(), and size().