5#ifndef LARREADOUTGEOMETRY_EMBDETECTORMANAGER_H
6#define LARREADOUTGEOMETRY_EMBDETECTORMANAGER_H
9#include "GeoModelKernel/GeoVDetectorManager.h"
74 virtual PVConstLink
getTreeTop (
unsigned int i)
const override;
Cached unique_ptr with atomic update.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This is a collection of numbers used to create the cell shapes.
Descriptor for regions of the electromagnetic barrel calorimeter.
A manager class providing access to readout geometry information for the electromagnetic barrel calor...
const EMBAccordionDetails * getAccordionDetails() const
Get accordion details class.
EMBDetectorManager & operator=(const EMBDetectorManager &right)
unsigned int getNumDetectorRegions() const
Gets the number of detectors in the set of detector regions.
const EMBPresamplerHVManager & getPresamplerHVManager() const
Get the HV Manager (Presampler)
EMBDetectorManager::DetectorRegionConstIterator beginDetectorRegion() const
Iterate over detector regions.
const EMBPresamplerHVManager & m_presamplerHVManager
const EMBHVManager & getHVManager() const
Get the HV Manager.
EMBDetRegionArray m_DetRegionsRandom
A vector of Region pointers which exists in order to provide iterative access to any EMBDetectorRegio...
std::vector< const EMBDetectorRegion * > m_DetRegionsIterative
A vector of Region pointers which exists in order to provide iterative access to any EMBDetectorRegio...
virtual ~EMBDetectorManager() override
Destructor.
void addTreeTop(const PVLink &treeTop)
Add a Tree Top.
virtual unsigned int getNumTreeTops() const override
Gets the total number of tree tops.
const EMBHVManager & m_hvManager
std::vector< constEMBDetectorRegion * >::const_iterator DetectorRegionConstIterator
EMBDetectorManager::DetectorRegionConstIterator endDetectorRegion() const
Iterate over detector regions.
EMBDetectorManager(const EMBDetectorManager &right)
const EMBBasicReadoutNumbers * getBasicReadoutNumbers() const
Collection of useful numerical data for the description of the barrel cells.
EMBDetectorRegion const * EMBDetRegionArray[6][4][2]
void addDetectorRegion(const EMBDetectorRegion *region)
Add a new Detector Region.
const EMBDetectorRegion * getDetectorRegion(unsigned int endcap, unsigned int sampling, unsigned int region) const
Random Access to detector regions.
std::unique_ptr< const EMBBasicReadoutNumbers > m_basicReadoutNumbers
virtual PVConstLink getTreeTop(unsigned int i) const override
Gets the ith tree top.
CxxUtils::CachedUniquePtr< EMBAccordionDetails > m_accordionDetails
std::vector< PVLink > m_treeTop
This is the set of tree tops managed by this detector node.
EMBDetectorManager(const EMBHVManager &hvManager, const EMBPresamplerHVManager &presamplerHVManager)
Constructor.
This class provides direct access to information on the HV electrodes within the barrels.
This class provides direct access to information on the HV electrodes within the barrels.
CachedUniquePtrT< const T > CachedUniquePtr