![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4ScintillatorSlatContainer.h>
Inheritance diagram for PHG4ScintillatorSlatContainer:
Collaboration diagram for PHG4ScintillatorSlatContainer: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 | 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 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 23 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4ScintillatorSlatContainer.h
| typedef std::pair<ConstIterator, ConstIterator> PHG4ScintillatorSlatContainer::ConstRange |
Definition at line 25 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4ScintillatorSlatContainer.h
| typedef Map::iterator PHG4ScintillatorSlatContainer::Iterator |
Definition at line 22 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4ScintillatorSlatContainer.h
| typedef std::set<int>::const_iterator PHG4ScintillatorSlatContainer::LayerIter |
Definition at line 26 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4ScintillatorSlatContainer.h
| typedef std::pair<LayerIter, LayerIter> PHG4ScintillatorSlatContainer::LayerRange |
Definition at line 27 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4ScintillatorSlatContainer.h
| typedef std::map<PHG4ScintillatorSlatDefs::keytype,PHG4ScintillatorSlat *> PHG4ScintillatorSlatContainer::Map |
Definition at line 21 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4ScintillatorSlatContainer.h
| typedef std::pair<Iterator, Iterator> PHG4ScintillatorSlatContainer::Range |
Definition at line 24 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4ScintillatorSlatContainer.h
| PHG4ScintillatorSlatContainer::PHG4ScintillatorSlatContainer | ( | ) |
Definition at line 10 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 10 of file PHG4ScintillatorSlatContainer.cc
|
inlineoverride |
Definition at line 31 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4ScintillatorSlatContainer.h
| PHG4ScintillatorSlatContainer::ConstIterator PHG4ScintillatorSlatContainer::AddScintillatorSlat | ( | const PHG4ScintillatorSlatDefs::keytype | key, |
| PHG4ScintillatorSlat * | newscintillatorSlat | ||
| ) |
Definition at line 39 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 39 of file PHG4ScintillatorSlatContainer.cc
References exit(), and PHG4ScintillatorSlat::set_key().
Here is the call graph for this function:| PHG4ScintillatorSlat * PHG4ScintillatorSlatContainer::findScintillatorSlat | ( | PHG4ScintillatorSlatDefs::keytype | key | ) |
Definition at line 77 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 77 of file PHG4ScintillatorSlatContainer.cc
References it.
| PHG4ScintillatorSlatContainer::ConstRange PHG4ScintillatorSlatContainer::getScintillatorSlats | ( | const short | icolumn | ) | const |
return all scintillatorSlats matching a given detid
Definition at line 53 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 53 of file PHG4ScintillatorSlatContainer.cc
References PHG4ScintillatorSlatDefs::columnbits, and exit().
Referenced by DumpPHG4ScintillatorSlatContainer::process_Node().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4ScintillatorSlatContainer::ConstRange PHG4ScintillatorSlatContainer::getScintillatorSlats | ( | void | ) | const |
return all hist
Definition at line 72 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4ScintillatorSlatContainer.cc
| double PHG4ScintillatorSlatContainer::getTotalEdep | ( | ) | const |
Definition at line 90 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 90 of file PHG4ScintillatorSlatContainer.cc
|
overridevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHObject.
Definition at line 26 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 26 of file PHG4ScintillatorSlatContainer.cc
|
inline |
preferred removal method, key is currently the slat id
Definition at line 40 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 40 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 15 of file PHG4ScintillatorSlatContainer.cc.
View newest version in sPHENIX GitHub at line 15 of file PHG4ScintillatorSlatContainer.cc
|
inline |
Definition at line 71 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4ScintillatorSlatContainer.h
References slatmap.
Referenced by DumpPHG4ScintillatorSlatContainer::process_Node().
Here is the caller graph for this function:
|
protected |
Definition at line 77 of file PHG4ScintillatorSlatContainer.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4ScintillatorSlatContainer.h
Referenced by RemoveScintillatorSlat(), and size().