5#ifndef LARHV_EMBPRESAMPLERHVMANAGER_H
6#define LARHV_EMBPRESAMPLERHVMANAGER_H
13#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
71 ,
unsigned int iPhi)
const;
77#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
79 const std::vector<const CondAttrListCollection*>& attrLists)
const;
90 const std::vector<const CondAttrListCollection*>& attrLists)
const;
98 std::unique_ptr<const Clockwork>
m_c;
This class is a collection of AttributeLists where each one is associated with a channel number.
double voltage(const EMBPresamplerHVModule &module, const int &iGap) const
std::unique_ptr< Payload > m_payload
bool hvOn(const EMBPresamplerHVModule &module, const int &iGap) const
double current(const EMBPresamplerHVModule &module, const int &iGap) const
EMBPresamplerHVData & operator=(EMBPresamplerHVData &&other) noexcept
int hvLineNo(const EMBPresamplerHVModule &module, const int &iGap) const
static constexpr double INVALID
const EMBPresamplerHVModule & getHVModule(unsigned int iSide, unsigned int iEta, unsigned int iPhi) const
EMBPresamplerHVManager & operator=(const EMBPresamplerHVManager &right)=delete
std::unique_ptr< const Clockwork > m_c
const EMBPresamplerHVDescriptor * getDescriptor() const
EMBPresamplerHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
~EMBPresamplerHVManager()
static unsigned int beginSideIndex()
EMBPresamplerHVManager(const EMBPresamplerHVManager &right)=delete
unsigned int endPhiIndex() const
unsigned int beginPhiIndex() const
static unsigned int endSideIndex()
std::function< std::vector< HWIdentifier >(HWIdentifier)> idfunc_t
unsigned int endEtaIndex() const
unsigned int beginEtaIndex() const
friend class ImaginaryFriend
int hvLineNo(const EMBPresamplerHVModule &module, int gap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
Describes one HV Module within the EMB Presampler.