ATLAS Offline Software
|
Stored in storegate. Provides access to EMB, EMEC, HEC and FCAL Detector Managers. This manager for the whole LAr can purvey not only physical volumes but also pointers to managers for the sub-calorimeters:EMB, EMEC, HEC and FCAL. More...
#include <LArDetectorManager.h>
Public Member Functions | |
LArDetectorManager (const EMBDetectorManager *emb, const EMECDetectorManager *emec, const HECDetectorManager *hec, const FCALDetectorManager *fcal) | |
Constructor. More... | |
virtual PVConstLink | getTreeTop (unsigned int i) const override |
Gets the ith tree top. More... | |
virtual unsigned int | getNumTreeTops () const override |
Gets the number of tree tops. More... | |
void | addTreeTop (const PVConstLink &treeTop) |
Add a Tree Top. More... | |
const EMBDetectorManager * | getEmbManager () const |
Pointer to the manager for the Electromagnetic Barrel. More... | |
const EMECDetectorManager * | getEmecManager () const |
Pointer to the manager for the Electromagnetic Endcap. More... | |
const HECDetectorManager * | getHecManager () const |
Pointer to the manager for the Hadronic Endcap. More... | |
const FCALDetectorManager * | getFcalManager () const |
Pointer to the manager for the Forward Calorimeter. More... | |
void | isTestBeam (bool flag) |
Set Test Beam flag. More... | |
bool | isTestBeam () const |
Get Test Beam flag. More... | |
Private Member Functions | |
LArDetectorManager (const LArDetectorManager &right) | |
LArDetectorManager & | operator= (const LArDetectorManager &right) |
Private Attributes | |
const EMBDetectorManager * | m_embManager {nullptr} |
const EMECDetectorManager * | m_emecManager {nullptr} |
const HECDetectorManager * | m_hecManager {nullptr} |
const FCALDetectorManager * | m_fcalManager {nullptr} |
std::vector< PVConstLink > | m_treeTop |
bool | m_isTestBeam {false} |
Stored in storegate. Provides access to EMB, EMEC, HEC and FCAL Detector Managers. This manager for the whole LAr can purvey not only physical volumes but also pointers to managers for the sub-calorimeters:EMB, EMEC, HEC and FCAL.
Definition at line 25 of file LArDetectorManager.h.
LArDetectorManager::LArDetectorManager | ( | const EMBDetectorManager * | emb, |
const EMECDetectorManager * | emec, | ||
const HECDetectorManager * | hec, | ||
const FCALDetectorManager * | fcal | ||
) |
|
private |
void LArDetectorManager::addTreeTop | ( | const PVConstLink & | treeTop | ) |
|
inline |
Pointer to the manager for the Electromagnetic Barrel.
May be NULL.
Definition at line 96 of file LArDetectorManager.h.
|
inline |
Pointer to the manager for the Electromagnetic Endcap.
May be NULL.
Definition at line 101 of file LArDetectorManager.h.
|
inline |
Pointer to the manager for the Forward Calorimeter.
Maybe NULL.
Definition at line 111 of file LArDetectorManager.h.
|
inline |
Pointer to the manager for the Hadronic Endcap.
May be NULL.
Definition at line 106 of file LArDetectorManager.h.
|
overridevirtual |
Gets the number of tree tops.
Definition at line 26 of file LArDetectorManager.cxx.
|
overridevirtual |
Gets the ith tree top.
Definition at line 21 of file LArDetectorManager.cxx.
|
inline |
Get Test Beam flag.
Definition at line 121 of file LArDetectorManager.h.
|
inline |
Set Test Beam flag.
Definition at line 116 of file LArDetectorManager.h.
|
private |
|
private |
Definition at line 88 of file LArDetectorManager.h.
|
private |
Definition at line 89 of file LArDetectorManager.h.
|
private |
Definition at line 91 of file LArDetectorManager.h.
|
private |
Definition at line 90 of file LArDetectorManager.h.
|
private |
Definition at line 93 of file LArDetectorManager.h.
|
private |
Definition at line 92 of file LArDetectorManager.h.