19 ,
unsigned int sector)
26 unsigned nElectrodes = iWheel==
OUTER ? 24 : 4;
28 for(
unsigned iElectrode=0; iElectrode<nElectrodes; ++iElectrode) {
36 for(;it!=itend;++it) {
55 ,
unsigned int iSector)
56 :
m_c (
std::make_unique<
Clockwork> (manager,this,iWheel,iSide,iEta,iPhi,iSector))
83 return *(
m_c->electrodes[iElectrode]);
95 return m_c->manager->getWheelIndex();
106 return -
m_c->manager->getDescriptor().getEtaBinning().binUpper(
m_c->iEta);
109 return m_c->manager->getDescriptor().getEtaBinning().binLower(
m_c->iEta);
116 return -
m_c->manager->getDescriptor().getEtaBinning().binLower(
m_c->iEta);
119 return m_c->manager->getDescriptor().getEtaBinning().binUpper(
m_c->iEta);
126 m_c->manager->getDescriptor().getPhiBinning().binLower(
m_c->iPhi)+
127 m_c->manager->getDescriptor().getSectorBinning().binLower(
m_c->iSector);
133 m_c->manager->getDescriptor().getPhiBinning().binLower(
m_c->iPhi)+
134 m_c->manager->getDescriptor().getSectorBinning().binUpper(
m_c->iSector);
139 return *(
m_c->manager);
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
This class provides direct access to information on the HV electrodes within the EMEC.
std::vector< const EMECHVElectrode * > electrodes
const EMECHVManager * manager
Clockwork(const EMECHVManager *managerPtr, const EMECHVModule *modulePtr, IOType iWheel, unsigned int side, unsigned int eta, unsigned int phi, unsigned int sector)
const EMECHVElectrode & getElectrode(unsigned int iElectrode) const
std::unique_ptr< Clockwork > m_c
unsigned int getNumElectrodes() const
unsigned int getSideIndex() const
EMECHVModule(const EMECHVManager *manager, IOType iWheel, unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector)
unsigned int getSectorIndex() const
unsigned int getPhiIndex() const
unsigned int getEtaIndex() const
EMECHVModule::IOType getWheelIndex() const
const EMECHVManager & getManager() const