Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4ScintillatorSlatContainer.h>
Public Types | |
typedef std::map < PHG4ScintillatorSlatDefs::keytype, PHG4ScintillatorSlat * > | Map |
typedef Map::iterator | Iterator |
typedef Map::const_iterator | ConstIterator |
typedef std::pair< Iterator, Iterator > | Range |
typedef std::pair < ConstIterator, ConstIterator > | ConstRange |
typedef std::set< int > ::const_iterator | LayerIter |
typedef std::pair< LayerIter, LayerIter > | LayerRange |
Public Member Functions | |
PHG4ScintillatorSlatContainer () | |
~PHG4ScintillatorSlatContainer () override | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Event. | |
ConstIterator | AddScintillatorSlat (const PHG4ScintillatorSlatDefs::keytype key, PHG4ScintillatorSlat *newscintillatorSlat) |
void | RemoveScintillatorSlat (PHG4ScintillatorSlatDefs::keytype key) |
preferred removal method, key is currently the slat id | |
void | RemoveScintillatorSlat (PHG4ScintillatorSlat *slat) |
inefficent, use key where possible instead | |
ConstRange | getScintillatorSlats (const short icolumn) const |
return all scintillatorSlats matching a given detid | |
ConstRange | getScintillatorSlats (void) const |
return all hist | |
PHG4ScintillatorSlat * | findScintillatorSlat (PHG4ScintillatorSlatDefs::keytype key) |
unsigned int | size (void) const |
double | getTotalEdep () 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 | isValid () const |
isValid returns non zero if object contains vailid data | |
virtual int | Integrate () const |
virtual int | Integrate (PHObject *) |
virtual void | CopyFrom (const PHObject *obj) |
Protected Attributes | |
Map | slatmap |
Definition at line 17 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4ScintillatorSlatContainer.h
typedef Map::const_iterator PHG4ScintillatorSlatContainer::ConstIterator |
Definition at line 22 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4ScintillatorSlatContainer.h
typedef std::pair<ConstIterator, ConstIterator> PHG4ScintillatorSlatContainer::ConstRange |
Definition at line 24 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4ScintillatorSlatContainer.h
typedef Map::iterator PHG4ScintillatorSlatContainer::Iterator |
Definition at line 21 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4ScintillatorSlatContainer.h
typedef std::set<int>::const_iterator PHG4ScintillatorSlatContainer::LayerIter |
Definition at line 25 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4ScintillatorSlatContainer.h
typedef std::pair<LayerIter, LayerIter> PHG4ScintillatorSlatContainer::LayerRange |
Definition at line 26 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4ScintillatorSlatContainer.h
typedef std::map<PHG4ScintillatorSlatDefs::keytype, PHG4ScintillatorSlat *> PHG4ScintillatorSlatContainer::Map |
Definition at line 20 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4ScintillatorSlatContainer.h
typedef std::pair<Iterator, Iterator> PHG4ScintillatorSlatContainer::Range |
Definition at line 23 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4ScintillatorSlatContainer.h
|
inline |
Definition at line 28 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4ScintillatorSlatContainer.h
|
inlineoverride |
Definition at line 30 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4ScintillatorSlatContainer.h
PHG4ScintillatorSlatContainer::ConstIterator PHG4ScintillatorSlatContainer::AddScintillatorSlat | ( | const PHG4ScintillatorSlatDefs::keytype | key, |
PHG4ScintillatorSlat * | newscintillatorSlat | ||
) |
Definition at line 31 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 31 of file PHG4ScintillatorSlatContainer.cc
References PHG4ScintillatorSlat::set_key(), and slatmap.
Referenced by PHG4Prototype2HcalCellReco::process_event().
PHG4ScintillatorSlat * PHG4ScintillatorSlatContainer::findScintillatorSlat | ( | PHG4ScintillatorSlatDefs::keytype | key | ) |
Definition at line 69 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 69 of file PHG4ScintillatorSlatContainer.cc
PHG4ScintillatorSlatContainer::ConstRange PHG4ScintillatorSlatContainer::getScintillatorSlats | ( | const short | icolumn | ) | const |
return all scintillatorSlats matching a given detid
Definition at line 44 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 44 of file PHG4ScintillatorSlatContainer.cc
References PHG4ScintillatorSlatDefs::columnbits, and slatmap.
Referenced by Prototype2RawTowerBuilder::process_event(), HCalib::process_event(), and DumpPHG4ScintillatorSlatContainer::process_Node().
PHG4ScintillatorSlatContainer::ConstRange PHG4ScintillatorSlatContainer::getScintillatorSlats | ( | void | ) | const |
return all hist
Definition at line 63 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 63 of file PHG4ScintillatorSlatContainer.cc
References slatmap.
double PHG4ScintillatorSlatContainer::getTotalEdep | ( | ) | const |
Definition at line 82 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 82 of file PHG4ScintillatorSlatContainer.cc
References slatmap.
Referenced by Prototype2RawTowerBuilder::process_event().
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Definition at line 18 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 18 of file PHG4ScintillatorSlatContainer.cc
References size(), and slatmap.
|
inline |
preferred removal method, key is currently the slat id
Definition at line 39 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 39 of file PHG4ScintillatorSlatContainer.h
References slatmap.
|
inline |
inefficent, use key where possible instead
Definition at line 45 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4ScintillatorSlatContainer.h
References slatmap.
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 8 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 8 of file PHG4ScintillatorSlatContainer.cc
References slatmap.
|
inline |
Definition at line 70 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4ScintillatorSlatContainer.h
References slatmap.
Referenced by identify(), and DumpPHG4ScintillatorSlatContainer::process_Node().
|
protected |
Definition at line 78 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4ScintillatorSlatContainer.h
Referenced by AddScintillatorSlat(), findScintillatorSlat(), getScintillatorSlats(), getTotalEdep(), identify(), RemoveScintillatorSlat(), Reset(), and size().