ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Cluster container object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/TrkrClusterContainerv3.h>
Public Member Functions | |
TrkrClusterContainerv3 ()=default | |
void | Reset () override |
reset method | |
void | identify (std::ostream &os=std::cout) const override |
identify object | |
ConstIterator | addCluster (TrkrCluster *) override |
add a cluster | |
ConstIterator | addClusterSpecifyKey (const TrkrDefs::cluskey, TrkrCluster *) override |
add a cluster with specific key | |
void | removeCluster (TrkrDefs::cluskey) override |
remove cluster | |
void | removeCluster (TrkrCluster *) override |
remove cluster | |
Iterator | findOrAddCluster (TrkrDefs::cluskey) override |
find cluster matching key if any, add a new one otherwise and return cluster | |
ConstRange | getClusters (TrkrDefs::hitsetkey) const override |
get all clusters matching hitset | |
Map * | getClusterMap (TrkrDefs::hitsetkey) override |
get pointer to map containing clusters mathching hitset | |
TrkrCluster * | findCluster (TrkrDefs::cluskey) const override |
find cluster matching given key | |
unsigned int | size (void) const override |
total number of clusters | |
Public Member Functions inherited from TrkrClusterContainer | |
virtual ConstRange | getClusters () const |
return all clusters | |
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 | isValid (const float) const |
virtual int | isValid (const double) const |
virtual int | isValid (const int) const |
virtual int | isValid (const unsigned int) const |
virtual int | isImplemented (const float f) const |
virtual int | isImplemented (const double f) const |
virtual int | isImplemented (const int i) const |
virtual int | isImplemented (const unsigned int i) const |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Private Attributes | |
std::map< TrkrDefs::hitsetkey, Map > | m_clusmap |
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 > |
Protected Member Functions inherited from TrkrClusterContainer | |
TrkrClusterContainer ()=default | |
constructor | |
Cluster container object.
Definition at line 20 of file TrkrClusterContainerv3.h.
View newest version in sPHENIX GitHub at line 20 of file TrkrClusterContainerv3.h
|
default |
|
overridevirtual |
add a cluster
Reimplemented from TrkrClusterContainer.
Definition at line 71 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 71 of file TrkrClusterContainerv3.cc
References addClusterSpecifyKey(), and TrkrCluster::getClusKey().
|
overridevirtual |
add a cluster with specific key
Reimplemented from TrkrClusterContainer.
Definition at line 76 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 76 of file TrkrClusterContainerv3.cc
References g4zmq::exit(), TrkrDefs::getHitSetKeyFromClusKey(), and m_clusmap.
Referenced by addCluster().
|
overridevirtual |
find cluster matching given key
Reimplemented from TrkrClusterContainer.
Definition at line 134 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 134 of file TrkrClusterContainerv3.cc
References TrkrDefs::getHitSetKeyFromClusKey(), and m_clusmap.
|
overridevirtual |
find cluster matching key if any, add a new one otherwise and return cluster
Reimplemented from TrkrClusterContainer.
Definition at line 115 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 115 of file TrkrClusterContainerv3.cc
References TrkrDefs::getHitSetKeyFromClusKey(), it, and m_clusmap.
|
overridevirtual |
get pointer to map containing clusters mathching hitset
Reimplemented from TrkrClusterContainer.
Definition at line 110 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 110 of file TrkrClusterContainerv3.cc
References m_clusmap.
|
overridevirtual |
get all clusters matching hitset
Reimplemented from TrkrClusterContainer.
Definition at line 96 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 96 of file TrkrClusterContainerv3.cc
References m_clusmap.
|
overridevirtual |
identify object
Reimplemented from TrkrClusterContainer.
Definition at line 32 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 32 of file TrkrClusterContainerv3.cc
References TrkrDefs::getLayer(), G4TTL::layer, m_clusmap, and size().
|
overridevirtual |
remove cluster
Reimplemented from TrkrClusterContainer.
Definition at line 55 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 55 of file TrkrClusterContainerv3.cc
References TrkrDefs::getHitSetKeyFromClusKey(), and m_clusmap.
Referenced by removeCluster().
|
overridevirtual |
remove cluster
Reimplemented from TrkrClusterContainer.
Definition at line 66 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 66 of file TrkrClusterContainerv3.cc
References TrkrCluster::getClusKey(), and removeCluster().
|
overridevirtual |
reset method
Reimplemented from TrkrClusterContainer.
Definition at line 20 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 20 of file TrkrClusterContainerv3.cc
References m_clusmap.
total number of clusters
Reimplemented from TrkrClusterContainer.
Definition at line 156 of file TrkrClusterContainerv3.cc.
View newest version in sPHENIX GitHub at line 156 of file TrkrClusterContainerv3.cc
References m_clusmap.
Referenced by identify().
|
private |
Definition at line 50 of file TrkrClusterContainerv3.h.
View newest version in sPHENIX GitHub at line 50 of file TrkrClusterContainerv3.h
Referenced by addClusterSpecifyKey(), findCluster(), findOrAddCluster(), getClusterMap(), getClusters(), identify(), removeCluster(), Reset(), and size().