Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/ParticleID/RICHAnalysis/PidInfoContainer.h>
Public Types | |
typedef std::map< int, PidInfo * > | Map |
typedef Map::iterator | Iterator |
typedef Map::const_iterator | ConstIterator |
typedef std::pair< Iterator, Iterator > | Range |
typedef std::pair < ConstIterator, ConstIterator > | ConstRange |
Public Member Functions | |
PidInfoContainer () | |
virtual | ~PidInfoContainer () |
void | Reset () |
Clear Event. | |
int | isValid () const |
isValid returns non zero if object contains vailid data | |
void | identify (std::ostream &os=std::cout) const |
ConstIterator | AddPidInfo (PidInfo *pidinfo) |
PidInfo * | getPidInfo (const int trackid) |
ConstRange | getPidInfos (void) const |
return all pid infos | |
Range | getPidInfos (void) |
unsigned int | size () const |
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 | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Attributes | |
Map | _pidinfos |
Definition at line 11 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 11 of file PidInfoContainer.h
typedef Map::const_iterator PidInfoContainer::ConstIterator |
Definition at line 18 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 18 of file PidInfoContainer.h
typedef std::pair<ConstIterator, ConstIterator> PidInfoContainer::ConstRange |
Definition at line 20 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 20 of file PidInfoContainer.h
typedef Map::iterator PidInfoContainer::Iterator |
Definition at line 17 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 17 of file PidInfoContainer.h
typedef std::map<int, PidInfo *> PidInfoContainer::Map |
Definition at line 16 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 16 of file PidInfoContainer.h
typedef std::pair<Iterator, Iterator> PidInfoContainer::Range |
Definition at line 19 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 19 of file PidInfoContainer.h
|
inline |
Definition at line 22 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 22 of file PidInfoContainer.h
|
inlinevirtual |
Definition at line 23 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 23 of file PidInfoContainer.h
PidInfoContainer::ConstIterator PidInfoContainer::AddPidInfo | ( | PidInfo * | pidinfo | ) |
Definition at line 22 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 22 of file PidInfoContainer.cc
References PidInfo::get_track_id().
Referenced by FastPid_RICH::process_event(), and RICHParticleID::process_event().
PidInfo * PidInfoContainer::getPidInfo | ( | const int | trackid | ) |
Definition at line 30 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 30 of file PidInfoContainer.cc
References it.
Referenced by FastPid_RICH::process_event(), and RICHParticleID::process_event().
PidInfoContainer::ConstRange PidInfoContainer::getPidInfos | ( | void | ) | const |
return all pid infos
Definition at line 10 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 10 of file PidInfoContainer.cc
PidInfoContainer::Range PidInfoContainer::getPidInfos | ( | void | ) |
Definition at line 16 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 16 of file PidInfoContainer.cc
|
virtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 57 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 57 of file PidInfoContainer.cc
References size.
|
virtual |
isValid returns non zero if object contains vailid data
Reimplemented from PHObject.
Definition at line 41 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 41 of file PidInfoContainer.cc
|
virtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 47 of file PidInfoContainer.cc.
View newest version in sPHENIX GitHub at line 47 of file PidInfoContainer.cc
|
inline |
Definition at line 34 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 34 of file PidInfoContainer.h
References _pidinfos.
|
protected |
Definition at line 37 of file PidInfoContainer.h.
View newest version in sPHENIX GitHub at line 37 of file PidInfoContainer.h
Referenced by size().