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(new
Clockwork(manager,this,iWheel,iSide,iEta,iPhi,iSector))
83 return *(
m_c->electrodes[iElectrode]);
98 return m_c->manager->getWheelIndex();
109 return -
m_c->manager->getDescriptor().getEtaBinning().binUpper(
m_c->iEta);
112 return m_c->manager->getDescriptor().getEtaBinning().binLower(
m_c->iEta);
119 return -
m_c->manager->getDescriptor().getEtaBinning().binLower(
m_c->iEta);
122 return m_c->manager->getDescriptor().getEtaBinning().binUpper(
m_c->iEta);
129 m_c->manager->getDescriptor().getPhiBinning().binLower(
m_c->iPhi)+
130 m_c->manager->getDescriptor().getSectorBinning().binLower(
m_c->iSector);
136 m_c->manager->getDescriptor().getPhiBinning().binLower(
m_c->iPhi)+
137 m_c->manager->getDescriptor().getSectorBinning().binUpper(
m_c->iSector);
142 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
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