ATLAS Offline Software
|
A manager class providing access to readout geometry information for the hadronic endcap calorimeter. More...
#include <HECDetectorManager.h>
Public Types | |
typedef std::vector< const HECLongBlock * >::const_iterator | BlockConstIterator |
typedef std::vector< const HECDetectorRegion * >::const_iterator | DetectorRegionConstIterator |
typedef HECDetectorRegion const * | HECDetRegionArray[2][4][2] |
Public Member Functions | |
HECDetectorManager (const HECHVManager *hvManager=nullptr, bool isTestBeam=false) | |
Constructor. More... | |
virtual | ~HECDetectorManager () override |
Destructor. More... | |
HECDetectorManager::DetectorRegionConstIterator | beginDetectorRegion () const |
Iterate over detector regions. More... | |
HECDetectorManager::DetectorRegionConstIterator | endDetectorRegion () const |
Iterate over detector regions. More... | |
const HECDetectorRegion * | getDetectorRegion (unsigned int endcap, unsigned int sampling, unsigned int region) const |
Random Access to detector regions. More... | |
unsigned int | getNumDetectorRegions () const |
Gets the number of detectors in the set of detector regions. More... | |
virtual PVConstLink | getTreeTop (unsigned int i) const override |
Gets the ith tree top. More... | |
virtual unsigned int | getNumTreeTops () const override |
Gets the total number of tree tops. More... | |
HECDetectorManager::BlockConstIterator | beginBlock () const |
Iterate over blocks. More... | |
HECDetectorManager::BlockConstIterator | endBlock () const |
Iterate over blocks. More... | |
const HECLongBlock * | getBlock (unsigned int i) const |
Random Access to Blocks. More... | |
unsigned int | getNumBlocks () const |
Gets the number of blocks in the set of blocks. More... | |
void | addDetectorRegion (const HECDetectorRegion *region) |
Add a new HEC Detector Region. More... | |
void | addTreeTop (const PVLink &treeTop) |
Add a Tree Top. More... | |
double | getFocalToRef1 () const |
More... | |
double | getFocalToRef2 () const |
More... | |
const HECHVManager & | getHVManager () const |
Get the HV Manager. More... | |
Private Member Functions | |
HECDetectorManager (const HECDetectorManager &right) | |
HECDetectorManager & | operator= (const HECDetectorManager &right) |
Private Attributes | |
std::vector< const HECLongBlock * > | m_HecLongBlock |
std::vector< PVLink > | m_treeTop |
This is the set of tree tops managed by this detector node. More... | |
HECDetRegionArray | m_DetRegionsRandom {} |
An array of Region pointers which exists in order to provide random access to any HECDetectorRegion held by this manager. More... | |
std::vector< const HECDetectorRegion * > | m_DetRegionsIterative |
A vector of Region pointer which exists in order to provide iterative access to any HECDetectorRegion held by this manager. More... | |
double | m_focalToRef1 |
double | m_focalToRef2 |
const HECHVManager * | m_HVManager |
bool | m_isTestBeam |
A manager class providing access to readout geometry information for the hadronic endcap calorimeter.
A manager for the HEC. Provides access to: HEC Regions, Descriptors to HEC Regions, Longitudinal HEC blocks, and top level physical volumes (or tree tops).
Definition at line 27 of file HECDetectorManager.h.
typedef std::vector<const HECLongBlock *>::const_iterator HECDetectorManager::BlockConstIterator |
Definition at line 32 of file HECDetectorManager.h.
typedef std::vector<const HECDetectorRegion *>::const_iterator HECDetectorManager::DetectorRegionConstIterator |
Definition at line 33 of file HECDetectorManager.h.
typedef HECDetectorRegion const* HECDetectorManager::HECDetRegionArray[2][4][2] |
Definition at line 34 of file HECDetectorManager.h.
HECDetectorManager::HECDetectorManager | ( | const HECHVManager * | hvManager = nullptr , |
bool | isTestBeam = false |
||
) |
Constructor.
Definition at line 22 of file HECDetectorManager.cxx.
|
overridevirtual |
|
private |
void HECDetectorManager::addDetectorRegion | ( | const HECDetectorRegion * | region | ) |
Add a new HEC Detector Region.
Definition at line 170 of file HECDetectorManager.cxx.
void HECDetectorManager::addTreeTop | ( | const PVLink & | treeTop | ) |
Add a Tree Top.
Definition at line 176 of file HECDetectorManager.cxx.
HECDetectorManager::BlockConstIterator HECDetectorManager::beginBlock | ( | ) | const |
Iterate over blocks.
Definition at line 150 of file HECDetectorManager.cxx.
HECDetectorManager::DetectorRegionConstIterator HECDetectorManager::beginDetectorRegion | ( | ) | const |
Iterate over detector regions.
Definition at line 120 of file HECDetectorManager.cxx.
HECDetectorManager::BlockConstIterator HECDetectorManager::endBlock | ( | ) | const |
Iterate over blocks.
Definition at line 155 of file HECDetectorManager.cxx.
HECDetectorManager::DetectorRegionConstIterator HECDetectorManager::endDetectorRegion | ( | ) | const |
Iterate over detector regions.
Definition at line 125 of file HECDetectorManager.cxx.
const HECLongBlock * HECDetectorManager::getBlock | ( | unsigned int | i | ) | const |
Random Access to Blocks.
Definition at line 160 of file HECDetectorManager.cxx.
const HECDetectorRegion * HECDetectorManager::getDetectorRegion | ( | unsigned int | endcap, |
unsigned int | sampling, | ||
unsigned int | region | ||
) | const |
Random Access to detector regions.
Definition at line 130 of file HECDetectorManager.cxx.
|
inline |
Distance from focal point to front face of HEC1
Definition at line 175 of file HECDetectorManager.h.
|
inline |
Distance from focal point to front face of HEC2
Definition at line 182 of file HECDetectorManager.h.
const HECHVManager & HECDetectorManager::getHVManager | ( | ) | const |
Get the HV Manager.
Definition at line 181 of file HECDetectorManager.cxx.
unsigned int HECDetectorManager::getNumBlocks | ( | ) | const |
Gets the number of blocks in the set of blocks.
Definition at line 165 of file HECDetectorManager.cxx.
unsigned int HECDetectorManager::getNumDetectorRegions | ( | ) | const |
Gets the number of detectors in the set of detector regions.
Definition at line 135 of file HECDetectorManager.cxx.
|
overridevirtual |
Gets the total number of tree tops.
Definition at line 145 of file HECDetectorManager.cxx.
|
overridevirtual |
Gets the ith tree top.
Definition at line 140 of file HECDetectorManager.cxx.
|
private |
|
private |
A vector of Region pointer which exists in order to provide iterative access to any HECDetectorRegion held by this manager.
Definition at line 161 of file HECDetectorManager.h.
|
private |
An array of Region pointers which exists in order to provide random access to any HECDetectorRegion held by this manager.
Definition at line 152 of file HECDetectorManager.h.
|
private |
Definition at line 163 of file HECDetectorManager.h.
|
private |
Definition at line 164 of file HECDetectorManager.h.
|
private |
Definition at line 137 of file HECDetectorManager.h.
|
private |
Definition at line 166 of file HECDetectorManager.h.
|
private |
Definition at line 168 of file HECDetectorManager.h.
|
private |
This is the set of tree tops managed by this detector node.
The tree top is a toplevel FCAL or Cryostat.
Definition at line 143 of file HECDetectorManager.h.