ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMFlashClusterContainer Class Referenceabstract

Cluster container object. More...

#include <coresoftware/blob/master/offline/packages/trackbase/CMFlashClusterContainer.h>

+ Inheritance diagram for CMFlashClusterContainer:
+ Collaboration diagram for CMFlashClusterContainer:

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 CMFlashClusterfindCluster (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 PHObjectCloneMe () const
 Virtual copy constructor.
 
virtual PHObjectclone () const final
 
PHObjectClone (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
 

Detailed Description

Cluster container object.

Definition at line 22 of file CMFlashClusterContainer.h.

View newest version in sPHENIX GitHub at line 22 of file CMFlashClusterContainer.h

Member Typedef Documentation

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

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

Definition at line 31 of file CMFlashClusterContainer.h.

View newest version in sPHENIX GitHub at line 31 of file CMFlashClusterContainer.h

Constructor & Destructor Documentation

CMFlashClusterContainer::CMFlashClusterContainer ( )
protecteddefault

constructor

Member Function Documentation

virtual ConstIterator CMFlashClusterContainer::addCluster ( CMFlashCluster )
pure virtual

add a cluster

Implemented in CMFlashClusterContainerv1.

virtual ConstIterator CMFlashClusterContainer::addClusterSpecifyKey ( const unsigned  int,
CMFlashCluster  
)
pure virtual

add a cluster with specific key

Implemented in CMFlashClusterContainerv1.

Referenced by PHTpcCentralMembraneClusterizer::process_event().

+ Here is the caller graph for this function:

virtual CMFlashCluster* CMFlashClusterContainer::findCluster ( unsigned int  ) const
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

virtual Iterator CMFlashClusterContainer::findOrAddCluster ( unsigned  int)
pure virtual

find cluster matching key if any, add a new one otherwise and return cluster

Implemented in CMFlashClusterContainerv1.

virtual ConstRange CMFlashClusterContainer::getClusters ( ) const
pure virtual

return all clusters

Implemented in CMFlashClusterContainerv1.

Referenced by PHTpcCentralMembraneClusterizer::process_event().

+ Here is the caller graph for this function:

void CMFlashClusterContainer::identify ( std::ostream &  = std::cout) const
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

virtual void CMFlashClusterContainer::removeCluster ( unsigned int  )
inlinevirtual

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

virtual void CMFlashClusterContainer::removeCluster ( CMFlashCluster )
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

void CMFlashClusterContainer::Reset ( )
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

virtual unsigned int CMFlashClusterContainer::size ( void  ) const
inlinevirtual

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


The documentation for this class was generated from the following file: