17 ,
unsigned int sampling)
22 for(
int iLine=0; iLine<4; ++iLine) {
27 for(
int iLine=0; iLine<4; ++iLine) {
41 ,
unsigned int iSector
42 ,
unsigned int iSampling)
43 :
m_c(new
Clockwork(manager,this,iSide,iSector,iSampling))
59 return m_c->iSampling;
76 std::string
msg = std::string(
"FCALHVModule requesting out of range HV line, number ") + std::to_string(iLine);
77 throw std::runtime_error(
msg.c_str());
80 return *(
m_c->hvLine[iLine]);
85 return *(
m_c->manager);
This class provides direct access to information on the HV electrodes within the barrels.
Clockwork(const FCALHVManager *managerPtr, const FCALHVModule *modulePtr, unsigned int side, unsigned int sector, unsigned int sampling)
const FCALHVManager * manager
const FCALHVLine * hvLine[4]
const FCALHVLine & getHVLine(unsigned int iLine) const
const FCALHVManager & getManager() const
unsigned int getSamplingIndex() const
unsigned int getSideIndex() const
unsigned int getSectorIndex() const
FCALHVModule(const FCALHVManager *manager, unsigned int iSide, unsigned int iSector, unsigned int iSampling)
static unsigned int getNumHVLines()