Analysis Software
Documentation for sPHENIX simulation software
|
CM flash difference container object. More...
#include <coresoftware/blob/master/offline/packages/trackbase/CMFlashDifferenceContainerv1.h>
Public Types | |
typedef std::map< unsigned int, CMFlashDifference * > | 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 CMFlashDifferenceContainer | |
using | Map = std::map< unsigned int, CMFlashDifference * > |
using | Iterator = Map::iterator |
using | ConstIterator = Map::const_iterator |
using | Range = std::pair< Iterator, Iterator > |
using | ConstRange = std::pair< ConstIterator, ConstIterator > |
Public Member Functions | |
CMFlashDifferenceContainerv1 ()=default | |
void | Reset () override |
reset method | |
void | identify (std::ostream &os=std::cout) const override |
identify object | |
void | addDifferenceSpecifyKey (const unsigned int, CMFlashDifference *newClus) override |
add a differences with specific key | |
void | removeDifference (unsigned int) override |
remove differences | |
ConstRange | getDifferences () const override |
return all differences | |
CMFlashDifference * | findDifference (unsigned int key) const override |
find differences matching given key | |
unsigned int | size () const override |
total number of differences | |
Private Attributes | |
Map | m_map |
Additional Inherited Members | |
Protected Member Functions inherited from CMFlashDifferenceContainer | |
CMFlashDifferenceContainer ()=default | |
constructor | |
CM flash difference container object.
Container for CMFlashDifference objects
Definition at line 25 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 25 of file CMFlashDifferenceContainerv1.h
typedef Map::const_iterator CMFlashDifferenceContainerv1::ConstIterator |
Definition at line 30 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 30 of file CMFlashDifferenceContainerv1.h
typedef std::pair<ConstIterator, ConstIterator> CMFlashDifferenceContainerv1::ConstRange |
Definition at line 32 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 32 of file CMFlashDifferenceContainerv1.h
typedef Map::iterator CMFlashDifferenceContainerv1::Iterator |
Definition at line 29 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 29 of file CMFlashDifferenceContainerv1.h
typedef std::map<unsigned int, CMFlashDifference *> CMFlashDifferenceContainerv1::Map |
Definition at line 28 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 28 of file CMFlashDifferenceContainerv1.h
typedef std::pair<Iterator, Iterator> CMFlashDifferenceContainerv1::Range |
Definition at line 31 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 31 of file CMFlashDifferenceContainerv1.h
|
default |
|
overridevirtual |
add a differences with specific key
Implements CMFlashDifferenceContainer.
Definition at line 38 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 38 of file CMFlashDifferenceContainerv1.cc
References m_map.
|
overridevirtual |
find differences matching given key
Reimplemented from CMFlashDifferenceContainer.
Definition at line 60 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 60 of file CMFlashDifferenceContainerv1.cc
Referenced by removeDifference().
|
overridevirtual |
return all differences
Implements CMFlashDifferenceContainer.
Definition at line 56 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 56 of file CMFlashDifferenceContainerv1.cc
References m_map.
|
overridevirtual |
identify object
Reimplemented from CMFlashDifferenceContainer.
Definition at line 23 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 23 of file CMFlashDifferenceContainerv1.cc
|
overridevirtual |
remove differences
Reimplemented from CMFlashDifferenceContainer.
Definition at line 48 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 48 of file CMFlashDifferenceContainerv1.cc
References findDifference(), and m_map.
|
overridevirtual |
reset method
Reimplemented from CMFlashDifferenceContainer.
Definition at line 13 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 13 of file CMFlashDifferenceContainerv1.cc
References m_map.
|
overridevirtual |
total number of differences
Reimplemented from CMFlashDifferenceContainer.
Definition at line 66 of file CMFlashDifferenceContainerv1.cc.
View newest version in sPHENIX GitHub at line 66 of file CMFlashDifferenceContainerv1.cc
References m_map.
Referenced by identify().
|
private |
Definition at line 51 of file CMFlashDifferenceContainerv1.h.
View newest version in sPHENIX GitHub at line 51 of file CMFlashDifferenceContainerv1.h
Referenced by addDifferenceSpecifyKey(), findDifference(), getDifferences(), identify(), removeDifference(), Reset(), and size().