5#ifndef LARHV_EMECHVMANAGER_H
6#define LARHV_EMECHVMANAGER_H
14#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
72 ,
unsigned int iSector)
const;
88#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
90 const std::vector<const CondAttrListCollection*>& attrLists)
const;
101 const std::vector<const CondAttrListCollection*>& attrLists)
const;
107 std::unique_ptr<const Clockwork>
m_c;
This class is a collection of AttributeLists where each one is associated with a channel number.
std::unique_ptr< Payload > m_payload
static constexpr double INVALID
EMECHVData & operator=(EMECHVData &&other) noexcept
double current(const EMECHVElectrode &electrode, const int &iGap) const
bool hvOn(const EMECHVElectrode &electrode, const int &iGap) const
double voltage(const EMECHVElectrode &electrode, const int &iGap) const
int hvLineNo(const EMECHVElectrode &electrode, const int &iGap) const
unsigned int beginEtaIndex() const
const EMECHVDescriptor & getDescriptor() const
int hvLineNo(const EMECHVElectrode &electrode, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
const EMECHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
unsigned int beginSectorIndex() const
unsigned int endPhiIndex() const
static unsigned int beginSideIndex()
std::function< std::vector< HWIdentifier >(HWIdentifier)> idfunc_t
EMECHVManager & operator=(const EMECHVManager &right)=delete
std::unique_ptr< const Clockwork > m_c
static unsigned int endSideIndex()
unsigned int endEtaIndex() const
EMECHVManager::IOType getWheelIndex() const
EMECHVModule::IOType IOType
unsigned int endSectorIndex() const
unsigned int beginPhiIndex() const
EMECHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
EMECHVManager(const EMECHVManager &right)=delete
EMECHVData getDataSim() const
EMECHVManager(IOType wheel)