Analysis Software
Documentation for sPHENIX simulation software
|
Cluster container object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterContainerv2.h>
Public Member Functions | |
TrkrClusterContainerv2 ()=default | |
void | Reset () override |
reset method | |
void | identify (std::ostream &os=std::cout) const override |
identify object | |
void | addClusterSpecifyKey (const TrkrDefs::cluskey, TrkrCluster *) override |
add a cluster with specific key | |
void | removeCluster (TrkrDefs::cluskey) override |
remove cluster | |
ConstRange | getClusters (TrkrDefs::hitsetkey) override |
get all clusters matching hitset | |
TrkrCluster * | findCluster (TrkrDefs::cluskey) const override |
find cluster matching given key | |
unsigned int | size () const override |
total number of clusters | |
Public Member Functions inherited from TrkrClusterContainer | |
virtual ConstRange | getClusters () const |
return all clusters | |
virtual HitSetKeyList | getHitSetKeys () const |
get hitset key list | |
virtual HitSetKeyList | getHitSetKeys (const TrkrDefs::TrkrId) const |
get hitset key list for a given detector | |
virtual HitSetKeyList | getHitSetKeys (const TrkrDefs::TrkrId, const uint8_t) const |
get hitset key list for a given detector and layer | |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
virtual PHObject * | CloneMe () const |
Virtual copy constructor. | |
virtual PHObject * | clone () const final |
PHObject * | Clone (const char *newname="") const final |
void | Copy (TObject &object) const final |
virtual int | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Attributes | |
unsigned int | max_layer = 57 |
unsigned int | max_phisegment = 20 |
unsigned int | max_zsegment = 15 |
Map | m_clusmap [57][20][15] |
Additional Inherited Members | |
Public Types inherited from TrkrClusterContainer | |
using | Map = std::map< TrkrDefs::cluskey, TrkrCluster * > |
using | Iterator = Map::iterator |
using | ConstIterator = Map::const_iterator |
using | Range = std::pair< Iterator, Iterator > |
using | ConstRange = std::pair< ConstIterator, ConstIterator > |
using | HitSetKeyList = std::vector< TrkrDefs::hitsetkey > |
Protected Member Functions inherited from TrkrClusterContainer | |
TrkrClusterContainer ()=default | |
constructor | |
Cluster container object.
Definition at line 20 of file TrkrClusterContainerv2.h.
View newest version in sPHENIX GitHub at line 20 of file TrkrClusterContainerv2.h
|
default |
|
overridevirtual |
add a cluster with specific key
Reimplemented from TrkrClusterContainer.
Definition at line 96 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 96 of file TrkrClusterContainerv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), layer, m_clusmap, max_layer, max_phisegment, and max_zsegment.
|
overridevirtual |
find cluster matching given key
Reimplemented from TrkrClusterContainer.
Definition at line 150 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 150 of file TrkrClusterContainerv2.cc
References end, TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), it, layer, m_clusmap, max_layer, max_phisegment, and max_zsegment.
|
overridevirtual |
get all clusters matching hitset
Reimplemented from TrkrClusterContainer.
Definition at line 125 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 125 of file TrkrClusterContainerv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), layer, m_clusmap, max_layer, max_phisegment, and max_zsegment.
|
overridevirtual |
identify object
Reimplemented from TrkrClusterContainer.
Definition at line 39 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 39 of file TrkrClusterContainerv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), layer, m_clusmap, max_layer, max_phisegment, max_zsegment, and size().
|
overridevirtual |
remove cluster
Reimplemented from TrkrClusterContainer.
Definition at line 73 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 73 of file TrkrClusterContainerv2.cc
References TrkrDefs::getLayer(), TrkrDefs::getPhiElement(), TrkrDefs::getZElement(), layer, m_clusmap, max_layer, max_phisegment, and max_zsegment.
|
overridevirtual |
reset method
Reimplemented from TrkrClusterContainer.
Definition at line 19 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 19 of file TrkrClusterContainerv2.cc
References layer, m_clusmap, max_layer, max_phisegment, and max_zsegment.
|
overridevirtual |
total number of clusters
Reimplemented from TrkrClusterContainer.
Definition at line 182 of file TrkrClusterContainerv2.cc.
View newest version in sPHENIX GitHub at line 182 of file TrkrClusterContainerv2.cc
References layer, m_clusmap, max_layer, max_phisegment, and max_zsegment.
Referenced by identify().
|
private |
Definition at line 46 of file TrkrClusterContainerv2.h.
View newest version in sPHENIX GitHub at line 46 of file TrkrClusterContainerv2.h
Referenced by addClusterSpecifyKey(), findCluster(), getClusters(), identify(), removeCluster(), Reset(), and size().
|
private |
Definition at line 40 of file TrkrClusterContainerv2.h.
View newest version in sPHENIX GitHub at line 40 of file TrkrClusterContainerv2.h
Referenced by addClusterSpecifyKey(), findCluster(), getClusters(), identify(), removeCluster(), Reset(), and size().
|
private |
Definition at line 42 of file TrkrClusterContainerv2.h.
View newest version in sPHENIX GitHub at line 42 of file TrkrClusterContainerv2.h
Referenced by addClusterSpecifyKey(), findCluster(), getClusters(), identify(), removeCluster(), Reset(), and size().
|
private |
Definition at line 44 of file TrkrClusterContainerv2.h.
View newest version in sPHENIX GitHub at line 44 of file TrkrClusterContainerv2.h
Referenced by addClusterSpecifyKey(), findCluster(), getClusters(), identify(), removeCluster(), Reset(), and size().