ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Cluster container object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/CMFlashClusterContainer.h>
Public Types | |
convenient shortuts | |
using | Map = std::map< unsigned int, CMFlashCluster * > |
using | Iterator = Map::iterator |
using | ConstIterator = Map::const_iterator |
using | Range = std::pair< Iterator, Iterator > |
using | ConstRange = std::pair< ConstIterator, ConstIterator > |
Public Member Functions | |
void | Reset () override |
reset method | |
void | identify (std::ostream &=std::cout) const override |
identify object | |
virtual ConstIterator | addCluster (CMFlashCluster *)=0 |
add a cluster | |
virtual ConstIterator | addClusterSpecifyKey (const unsigned int, CMFlashCluster *)=0 |
add a cluster with specific key | |
virtual void | removeCluster (unsigned int) |
remove cluster | |
virtual void | removeCluster (CMFlashCluster *) |
remove cluster | |
virtual Iterator | findOrAddCluster (unsigned int)=0 |
find cluster matching key if any, add a new one otherwise and return cluster | |
virtual ConstRange | getClusters () const =0 |
return all clusters | |
virtual CMFlashCluster * | findCluster (unsigned int) const |
find cluster matching given key | |
virtual unsigned int | size () const |
total number of 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) |
Protected Member Functions | |
CMFlashClusterContainer ()=default | |
constructor | |
Cluster container object.
Definition at line 22 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 22 of file CMFlashClusterContainer.h
using CMFlashClusterContainer::ConstIterator = Map::const_iterator |
Definition at line 30 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 30 of file CMFlashClusterContainer.h
using CMFlashClusterContainer::ConstRange = std::pair<ConstIterator, ConstIterator> |
Definition at line 32 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 32 of file CMFlashClusterContainer.h
using CMFlashClusterContainer::Iterator = Map::iterator |
Definition at line 29 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 29 of file CMFlashClusterContainer.h
using CMFlashClusterContainer::Map = std::map<unsigned int, CMFlashCluster *> |
Definition at line 28 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 28 of file CMFlashClusterContainer.h
using CMFlashClusterContainer::Range = std::pair<Iterator, Iterator> |
Definition at line 31 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 31 of file CMFlashClusterContainer.h
|
protecteddefault |
constructor
|
pure virtual |
add a cluster
Implemented in CMFlashClusterContainerv1.
|
pure virtual |
add a cluster with specific key
Implemented in CMFlashClusterContainerv1.
Referenced by PHTpcCentralMembraneClusterizer::process_event().
|
inlinevirtual |
find cluster matching given key
Reimplemented in CMFlashClusterContainerv1.
Definition at line 60 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 60 of file CMFlashClusterContainer.h
|
pure virtual |
find cluster matching key if any, add a new one otherwise and return cluster
Implemented in CMFlashClusterContainerv1.
|
pure virtual |
return all clusters
Implemented in CMFlashClusterContainerv1.
Referenced by PHTpcCentralMembraneClusterizer::process_event().
|
inlineoverridevirtual |
identify object
Reimplemented from PHObject.
Reimplemented in CMFlashClusterContainerv1.
Definition at line 39 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 39 of file CMFlashClusterContainer.h
remove cluster
Reimplemented in CMFlashClusterContainerv1.
Definition at line 48 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 48 of file CMFlashClusterContainer.h
|
inlinevirtual |
remove cluster
Reimplemented in CMFlashClusterContainerv1.
Definition at line 51 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 51 of file CMFlashClusterContainer.h
|
inlineoverridevirtual |
reset method
Reimplemented from PHObject.
Reimplemented in CMFlashClusterContainerv1.
Definition at line 36 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 36 of file CMFlashClusterContainer.h
total number of clusters
Reimplemented in CMFlashClusterContainerv1.
Definition at line 63 of file CMFlashClusterContainer.h.
View newest version in sPHENIX GitHub at line 63 of file CMFlashClusterContainer.h