5#ifndef MUONCONDDATA_MDTCONDDBDATA_H
6#define MUONCONDDATA_MDTCONDDBDATA_H
73 const float standByVolt,
74 const float readyVolt);
Hold mappings of ranges to condition objects.
Provide an interface for finding inheritance information at run time.
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Hold mapping of ranges to condition objects.
void setDeadTube(const Identifier &ident)
The indiviudal tube is dead.
bool isGoodTube(const Identifier &Id) const
Returns whether the particular tube has been markes as bad in the database.
bool isGood(const Identifier &Id) const
Returns if the identifier (tube/multiLayer/chamber) is masked in the conditions database.
const MdtIdHelper & m_id_helper
std::set< Identifier > m_cachedDeadChambers
const std::vector< DcsConstants > & getAllHvStates() const
const std::set< Identifier > & getDeadMultilayersId() const
void setDeadMultilayer(const Identifier &ident)
All tubes in a multi layer are dead.
friend class MdtCondDbAlg
bool isGoodLayer(const Identifier &Id) const
Returns whether the corresponding tube layer is marked as bad in the database.
MuonCond::DcsConstants DcsConstants
void setDeadLayer(const Identifier &ident)
All tubes in a drift layer are dead.
std::set< Identifier > m_cachedDeadTubes
void setHvState(const Identifier &multiLayerID, const DcsFsmState state, const float standByVolt, const float readyVolt)
Adds a DCS state to the conditions object multiLayerID -> Identifier of a tube in the multilayer stat...
virtual ~MdtCondDbData()=default
std::set< Identifier > m_cachedDeadLayers
std::vector< DcsConstants > m_dcsStates
std::set< Identifier > m_cachedDeadMultilayers
const std::set< Identifier > & getDeadTubesId() const
const DcsConstants & getHvState(const Identifier &multiLayerID) const
bool isGoodChamber(const Identifier &Id) const
Returns true if the complete chamber has not dead channels.
const std::set< Identifier > & getDeadChambersId() const
MuonCond::DcsFsmState DcsFsmState
bool isGoodMultilayer(const Identifier &Id) const
MdtCondDbData(const MdtIdHelper &id_helper)
const std::set< Identifier > & getDeadLayersId() const
void setDeadChamber(const Identifier &ident)
All tubes in a chamber are dead.
Helper struct to cache all dcs constants in a common place of the memory.