7#include "GeoModelKernel/throwExcept.h"
9#include "Identifier/Identifier.h"
50 m_id_helper.get_detectorElement_hash(multiLayerID, hash);
51 unsigned int hashIdx =
static_cast<unsigned int>(hash);
63 m_id_helper.get_detectorElement_hash(multiLayerID, hash);
64 unsigned int hashIdx =
static_cast<unsigned int>(hash);
67 std::to_string(hashIdx) +
" vs. "+std::to_string(
m_dcsStates.size()));
MdtCondDbData::DcsConstants DcsConstants
This is a "hash" representation of an Identifier.
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.
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...
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.
#define THROW_EXCEPTION(MESSAGE)