5#ifndef LARHV_EMBHVMANAGER_H
6#define LARHV_EMBHVMANAGER_H
14#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
44 EMBHVData (std::unique_ptr<Payload> payload);
75 ,
unsigned int iSector)
const;
85#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
87 const std::vector<const CondAttrListCollection*>& attrLists)
const;
98 const std::vector<const CondAttrListCollection*>& attrLists)
const;
105 std::unique_ptr<const Clockwork>
m_c;
This class is a collection of AttributeLists where each one is associated with a channel number.
static constexpr double INVALID
int hvLineNo(const EMBHVElectrode &electrode, const int &iGap) const
bool hvOn(const EMBHVElectrode &electrode, const int &iGap) const
std::unique_ptr< Payload > m_payload
double voltage(const EMBHVElectrode &electrode, const int &iGap) const
EMBHVData & operator=(EMBHVData &&other) noexcept
double current(const EMBHVElectrode &electrode, const int &iGap) const
unsigned int beginPhiIndex() const
unsigned int endEtaIndex() const
EMBHVManager & operator=(const EMBHVManager &right)=delete
static unsigned int endSectorIndex()
unsigned int beginEtaIndex() const
EMBHVManager(const EMBHVManager &right)=delete
const EMBHVDescriptor & getDescriptor() const
std::function< std::vector< HWIdentifier >(HWIdentifier)> idfunc_t
static unsigned int beginSectorIndex()
const EMBHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi, unsigned int iSector) const
int hvLineNo(const EMBHVElectrode &electrode, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
EMBHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
EMBHVData getDataSim() const
unsigned int endPhiIndex() const
static unsigned int beginSideIndex()
friend class ImaginaryFriend
std::unique_ptr< const Clockwork > m_c
static unsigned int endSideIndex()
Describes one HV Module within the EMB.