Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/CaloBase/TowerInfoContainerv2.h>
Public Member Functions | |
TowerInfoContainerv2 (DETECTOR detec) | |
TowerInfoContainerv2 () | |
PHObject * | CloneMe () const override |
Virtual copy constructor. | |
TowerInfoContainerv2 (const TowerInfoContainerv2 &) | |
~TowerInfoContainerv2 () override | |
void | identify (std::ostream &os=std::cout) const override |
void | Reset () override |
Clear Event. | |
TowerInfov2 * | get_tower_at_channel (int pos) override |
TowerInfov2 * | get_tower_at_key (int pos) override |
unsigned int | encode_key (unsigned int towerIndex) override |
unsigned int | decode_key (unsigned int tower_key) override |
size_t | size () const override |
DETECTOR | get_detectorid () const override |
Public Member Functions inherited from TowerInfoContainer | |
TowerInfoContainer ()=default | |
~TowerInfoContainer () override=default | |
virtual unsigned int | encode_epd (unsigned int) |
virtual unsigned int | encode_hcal (unsigned int) |
virtual unsigned int | encode_emcal (unsigned int) |
virtual unsigned int | encode_mbd (unsigned int) |
virtual unsigned int | encode_zdc (unsigned int) |
virtual unsigned int | decode_epd (unsigned int) |
virtual unsigned int | decode_hcal (unsigned int) |
virtual unsigned int | decode_emcal (unsigned int) |
virtual unsigned int | decode_mbd (unsigned int) |
virtual unsigned int | decode_zdc (unsigned int) |
virtual unsigned int | getTowerPhiBin (unsigned int) |
virtual unsigned int | getTowerEtaBin (unsigned int) |
Public Member Functions inherited from PHObject | |
PHObject () | |
ctor | |
~PHObject () override | |
dtor | |
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 | |
TClonesArray * | _clones = nullptr |
DETECTOR | _detector = DETECTOR_INVALID |
Private Member Functions | |
ClassDefOverride (TowerInfoContainerv2, 1) | |
Additional Inherited Members | |
Public Types inherited from TowerInfoContainer | |
enum | DETECTOR { EMCAL = 0, HCAL = 1, SEPD = 2, MBD = 3, ZDC = 4, DETECTOR_INVALID = 9999 } |
typedef std::map< unsigned int, TowerInfo * > | TowerMap |
typedef TowerMap::const_iterator | ConstIter |
typedef TowerMap::iterator | Iter |
Definition at line 11 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 11 of file TowerInfoContainerv2.h
TowerInfoContainerv2::TowerInfoContainerv2 | ( | DETECTOR | detec | ) |
Definition at line 12 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 12 of file TowerInfoContainerv2.cc
References _clones, _detector, i, Enable::MBD, CaloTowerDefs::SEPD, and RawTowerDefs::ZDC.
|
inline |
Definition at line 17 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 17 of file TowerInfoContainerv2.h
Referenced by CloneMe().
TowerInfoContainerv2::TowerInfoContainerv2 | ( | const TowerInfoContainerv2 & | source | ) |
Definition at line 47 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 47 of file TowerInfoContainerv2.cc
References _clones, _detector, get_detectorid(), i, and size().
|
override |
Definition at line 61 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 61 of file TowerInfoContainerv2.cc
References _clones.
|
private |
|
inlineoverridevirtual |
Virtual copy constructor.
Reimplemented from PHObject.
Definition at line 18 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 18 of file TowerInfoContainerv2.h
References TowerInfoContainerv2().
|
overridevirtual |
Reimplemented from TowerInfoContainer.
Definition at line 134 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 134 of file TowerInfoContainerv2.cc
References _detector, TowerInfoContainer::decode_emcal(), TowerInfoContainer::decode_epd(), TowerInfoContainer::decode_hcal(), TowerInfoContainer::decode_mbd(), TowerInfoContainer::decode_zdc(), index, Enable::MBD, CaloTowerDefs::SEPD, and RawTowerDefs::ZDC.
Referenced by get_tower_at_key().
|
overridevirtual |
Reimplemented from TowerInfoContainer.
Definition at line 108 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 108 of file TowerInfoContainerv2.cc
References _detector, TowerInfoContainer::encode_emcal(), TowerInfoContainer::encode_epd(), TowerInfoContainer::encode_hcal(), TowerInfoContainer::encode_mbd(), TowerInfoContainer::encode_zdc(), Enable::MBD, CaloTowerDefs::SEPD, and RawTowerDefs::ZDC.
|
inlineoverridevirtual |
Reimplemented from TowerInfoContainer.
Definition at line 33 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 33 of file TowerInfoContainerv2.h
References _detector.
Referenced by TowerInfoContainerv2().
|
overridevirtual |
Reimplemented from TowerInfoContainer.
Definition at line 97 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 97 of file TowerInfoContainerv2.cc
References _clones.
|
overridevirtual |
Reimplemented from TowerInfoContainer.
Definition at line 102 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 102 of file TowerInfoContainerv2.cc
References _clones, decode_key(), and index.
|
overridevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from TowerInfoContainer.
Definition at line 66 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 66 of file TowerInfoContainerv2.cc
References size().
|
overridevirtual |
Clear Event.
Reimplemented from TowerInfoContainer.
Definition at line 71 of file TowerInfoContainerv2.cc.
View newest version in sPHENIX GitHub at line 71 of file TowerInfoContainerv2.cc
|
inlineoverridevirtual |
Reimplemented from TowerInfoContainer.
Definition at line 32 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 32 of file TowerInfoContainerv2.h
References _clones.
Referenced by identify(), and TowerInfoContainerv2().
|
protected |
Definition at line 36 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 36 of file TowerInfoContainerv2.h
Referenced by get_tower_at_channel(), get_tower_at_key(), Reset(), size(), TowerInfoContainerv2(), and ~TowerInfoContainerv2().
|
protected |
Definition at line 37 of file TowerInfoContainerv2.h.
View newest version in sPHENIX GitHub at line 37 of file TowerInfoContainerv2.h
Referenced by decode_key(), encode_key(), get_detectorid(), and TowerInfoContainerv2().