![]() |
Analysis Software
Documentation for sPHENIX simulation software
|
CM flash cluster container object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/CMFlashClusterContainerv1.h>
Inheritance diagram for CMFlashClusterContainerv1:
Collaboration diagram for CMFlashClusterContainerv1:Public Types | |
| typedef std::map< unsigned int, CMFlashCluster * > | Map |
| typedef Map::iterator | Iterator |
| typedef Map::const_iterator | ConstIterator |
| typedef std::pair< Iterator, Iterator > | Range |
| typedef std::pair < ConstIterator, ConstIterator > | ConstRange |
Public Types inherited from CMFlashClusterContainer | |
| 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 | |
| CMFlashClusterContainerv1 ()=default | |
| void | Reset () override |
| reset method | |
| void | identify (std::ostream &os=std::cout) const override |
| identify object | |
| void | addClusterSpecifyKey (const unsigned int, CMFlashCluster *newClus) override |
| add a cluster with specific key | |
| void | removeCluster (unsigned int) override |
| remove cluster | |
| ConstRange | getClusters () const override |
| return all clusters | |
| CMFlashCluster * | findCluster (unsigned int key) const override |
| find cluster matching given key | |
| unsigned int | size () const override |
| total number of clusters | |
Private Attributes | |
| Map | m_clusmap |
Additional Inherited Members | |
Protected Member Functions inherited from CMFlashClusterContainer | |
| CMFlashClusterContainer ()=default | |
| constructor | |
CM flash cluster container object.
Container for CMFlashCluster objects
Definition at line 25 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 25 of file CMFlashClusterContainerv1.h
| typedef Map::const_iterator CMFlashClusterContainerv1::ConstIterator |
Definition at line 30 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 30 of file CMFlashClusterContainerv1.h
| typedef std::pair<ConstIterator, ConstIterator> CMFlashClusterContainerv1::ConstRange |
Definition at line 32 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 32 of file CMFlashClusterContainerv1.h
| typedef Map::iterator CMFlashClusterContainerv1::Iterator |
Definition at line 29 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 29 of file CMFlashClusterContainerv1.h
| typedef std::map<unsigned int, CMFlashCluster *> CMFlashClusterContainerv1::Map |
Definition at line 28 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 28 of file CMFlashClusterContainerv1.h
| typedef std::pair<Iterator, Iterator> CMFlashClusterContainerv1::Range |
Definition at line 31 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 31 of file CMFlashClusterContainerv1.h
|
default |
|
overridevirtual |
add a cluster with specific key
Implements CMFlashClusterContainer.
Definition at line 34 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 34 of file CMFlashClusterContainerv1.cc
References m_clusmap.
|
overridevirtual |
find cluster matching given key
Reimplemented from CMFlashClusterContainer.
Definition at line 57 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 57 of file CMFlashClusterContainerv1.cc
Referenced by removeCluster().
Here is the caller graph for this function:
|
overridevirtual |
return all clusters
Implements CMFlashClusterContainer.
Definition at line 53 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 53 of file CMFlashClusterContainerv1.cc
References m_clusmap.
|
overridevirtual |
identify object
Reimplemented from CMFlashClusterContainer.
Definition at line 20 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 20 of file CMFlashClusterContainerv1.cc
References m_clusmap, and size().
Here is the call graph for this function:
|
overridevirtual |
remove cluster
Reimplemented from CMFlashClusterContainer.
Definition at line 44 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 44 of file CMFlashClusterContainerv1.cc
References findCluster(), and m_clusmap.
Here is the call graph for this function:
|
overridevirtual |
reset method
Reimplemented from CMFlashClusterContainer.
Definition at line 12 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 12 of file CMFlashClusterContainerv1.cc
References m_clusmap.
|
overridevirtual |
total number of clusters
Reimplemented from CMFlashClusterContainer.
Definition at line 63 of file CMFlashClusterContainerv1.cc.
View newest version in sPHENIX GitHub at line 63 of file CMFlashClusterContainerv1.cc
References m_clusmap.
Referenced by identify().
Here is the caller graph for this function:
|
private |
Definition at line 51 of file CMFlashClusterContainerv1.h.
View newest version in sPHENIX GitHub at line 51 of file CMFlashClusterContainerv1.h
Referenced by addClusterSpecifyKey(), findCluster(), getClusters(), identify(), removeCluster(), Reset(), and size().