5#ifndef LARHV_HECHVMANAGER_H
6#define LARHV_HECHVMANAGER_H
14#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
44 HECHVData (std::unique_ptr<Payload> payload);
73 ,
unsigned int iSampling)
const;
79#if !(defined(SIMULATIONBASE) || defined(GENERATIONBASE))
81 const std::vector<const CondAttrListCollection*>& attrLists)
const;
91 const std::vector<const CondAttrListCollection*>& attrLists)
const;
97 std::unique_ptr<const Clockwork>
m_c;
This class is a collection of AttributeLists where each one is associated with a channel number.
double current(const HECHVSubgap &subgap) const
bool hvOn(const HECHVSubgap &subgap) const
std::unique_ptr< Payload > m_payload
int hvLineNo(const HECHVSubgap &subgap) const
static constexpr double INVALID
HECHVData & operator=(HECHVData &&other) noexcept
double voltage(const HECHVSubgap &subgap) const
static unsigned int beginPhiIndex()
HECHVManager(const HECHVManager &right)=delete
std::unique_ptr< const Clockwork > m_c
static unsigned int endSamplingIndex()
const HECHVModule & getHVModule(unsigned int iSide, unsigned int iPhi, unsigned int iSampling) const
const HECHVDescriptor & getDescriptor() const
static unsigned int endSideIndex()
HECHVData getData(const LArHVIdMapping &hvIdMapping, const std::vector< const CondAttrListCollection * > &attrLists) const
static unsigned int beginSideIndex()
int hvLineNo(const HECHVSubgap &subgap, const LArHVIdMapping *hvIdMapping, HWIdentifier *hvlId=nullptr) const
HECHVData getDataSim() const
HECHVManager & operator=(const HECHVManager &right)=delete
std::function< std::vector< HWIdentifier >(HWIdentifier)> idfunc_t
static unsigned int beginSamplingIndex()
static unsigned int endPhiIndex()
Describes one HV Module within the HEC.