5#ifndef LARREADOUTGEOMETRY_HECDETECTORMANAGER_H
6#define LARREADOUTGEOMETRY_HECDETECTORMANAGER_H
11#include "GeoModelKernel/GeoVDetectorManager.h"
73 virtual PVConstLink
getTreeTop (
unsigned int i)
const override;
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Descriptor for regions of the hadronic endcap calorimeter.
A manager class providing access to readout geometry information for the hadronic endcap calorimeter.
void addTreeTop(const PVLink &treeTop)
Add a Tree Top.
virtual ~HECDetectorManager() override
Destructor.
HECDetectorManager::DetectorRegionConstIterator endDetectorRegion() const
Iterate over detector regions.
const HECDetectorRegion * getDetectorRegion(unsigned int endcap, unsigned int sampling, unsigned int region) const
Random Access to detector regions.
std::vector< constHECLongBlock * >::const_iterator BlockConstIterator
unsigned int getNumDetectorRegions() const
Gets the number of detectors in the set of detector regions.
HECDetectorManager::BlockConstIterator endBlock() const
Iterate over blocks.
std::vector< const HECDetectorRegion * > m_DetRegionsIterative
A vector of Region pointer which exists in order to provide iterative access to any HECDetectorRegion...
std::vector< const HECLongBlock * > m_HecLongBlock
double getFocalToRef2() const
unsigned int getNumBlocks() const
Gets the number of blocks in the set of blocks.
virtual PVConstLink getTreeTop(unsigned int i) const override
Gets the ith tree top.
virtual unsigned int getNumTreeTops() const override
Gets the total number of tree tops.
void addDetectorRegion(const HECDetectorRegion *region)
Add a new HEC Detector Region.
HECDetectorManager::BlockConstIterator beginBlock() const
Iterate over blocks.
HECDetectorManager(const HECDetectorManager &right)
HECDetRegionArray m_DetRegionsRandom
An array of Region pointers which exists in order to provide random access to any HECDetectorRegion h...
std::vector< PVLink > m_treeTop
This is the set of tree tops managed by this detector node.
const HECLongBlock * getBlock(unsigned int i) const
Random Access to Blocks.
HECDetectorManager::DetectorRegionConstIterator beginDetectorRegion() const
Iterate over detector regions.
std::vector< constHECDetectorRegion * >::const_iterator DetectorRegionConstIterator
HECDetectorManager(const HECHVManager *hvManager=nullptr, bool isTestBeam=false)
Constructor.
double getFocalToRef1() const
HECDetectorManager & operator=(const HECDetectorManager &right)
const HECHVManager * m_HVManager
HECDetectorRegion const * HECDetRegionArray[2][4][2]
const HECHVManager & getHVManager() const
Get the HV Manager.
Description of a region of homogenous granularity in the hadronic endcap calorimeter.
This class provides direct access to information on the HV electrodes within the barrels.