Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GeoModelKernel/throwExcept.h"
12 m_id_helper(id_helper) {}
49 unsigned int hashIdx =
static_cast<unsigned int>(
hash);
62 unsigned int hashIdx =
static_cast<unsigned int>(
hash);
int multilayer(const Identifier &id) const
Access to components of the ID.
const MdtIdHelper & m_id_helper
bool isGood(const Identifier &Id) const
Returns if the identifier (tube/multiLayer/chamber) is masked in the conditions database.
const std::set< Identifier > & getDeadMultilayersId() const
const std::vector< DcsConstants > & getAllHvStates() const
std::set< Identifier > m_cachedDeadLayers
size_type detectorElement_hash_max() const
int tubeLayer(const Identifier &id) const
void setDeadLayer(const Identifier &ident)
All tubes in a drift layer are dead.
void setDeadChamber(const Identifier &ident)
All tubes in a chamber are dead.
const std::set< Identifier > & getDeadLayersId() const
const std::set< Identifier > & getDeadChambersId() const
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...
Helper struct to cache all dcs constants in a common place of the memory.
bool isGoodLayer(const Identifier &Id) const
Returns whether the corresponding tube layer is marked as bad in the database
std::set< Identifier > m_cachedDeadTubes
const DcsConstants & getHvState(const Identifier &multiLayerID) const
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.
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube) const
std::string to_string(const DetectorType &type)
#define THROW_EXCEPTION(MESSAGE)
void setDeadMultilayer(const Identifier &ident)
All tubes in a multi layer are dead.
bool isGoodChamber(const Identifier &Id) const
Returns true if the complete chamber has not dead channels.
Identifier elementID(int stationName, int stationEta, int stationPhi) const
virtual int get_detectorElement_hash(const Identifier &id, IdentifierHash &hash_id) const override
std::vector< DcsConstants > m_dcsStates
MuonCond::DcsConstants DcsConstants
Identifier multilayerID(const Identifier &channeldID) const
MdtCondDbData(const MdtIdHelper &id_helper)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const std::set< Identifier > & getDeadTubesId() const
std::set< Identifier > m_cachedDeadMultilayers
bool isGoodMultilayer(const Identifier &Id) const
std::set< Identifier > m_cachedDeadChambers