17 return a->getSamplingIndex() < b->getSamplingIndex();
31 for (
unsigned int r=0;
r<2;
r++) {
32 for (
unsigned int s=0;s<4;s++) {
33 for (
unsigned int e=0;e<2;e++) {
This is a collection of numbers used to create the cell shapes.
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.
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.
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.
unsigned int getSamplingIndex() const
Returns the Sampling Layer Index.
EMBDetectorRegion::DetectorSide getEndcapIndex() const
The endcap index.
unsigned int getRegionIndex() const
Returns the Region Index.
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.
bool operator()(const EMBDetectorRegion *a, const EMBDetectorRegion *b) const
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.