![]() |
ATLAS Offline Software
|
#include <MdtCondDbData.h>
Public Types | |
using | DcsFsmState = MuonCond::DcsFsmState |
using | DcsConstants = MuonCond::DcsConstants |
Public Member Functions | |
MdtCondDbData (const MdtIdHelper &id_helper) | |
virtual | ~MdtCondDbData ()=default |
void | setDeadTube (const Identifier &ident) |
The indiviudal tube is dead. More... | |
void | setDeadLayer (const Identifier &ident) |
All tubes in a drift layer are dead. More... | |
void | setDeadMultilayer (const Identifier &ident) |
All tubes in a multi layer are dead. More... | |
void | setDeadChamber (const Identifier &ident) |
All tubes in a chamber are dead. More... | |
const std::set< Identifier > & | getDeadTubesId () const |
const std::set< Identifier > & | getDeadLayersId () const |
const std::set< Identifier > & | getDeadMultilayersId () const |
const std::set< Identifier > & | getDeadChambersId () const |
bool | isGood (const Identifier &Id) const |
Returns if the identifier (tube/multiLayer/chamber) is masked in the conditions database. More... | |
bool | isGoodTube (const Identifier &Id) const |
Returns whether the particular tube has been markes as bad in the database. More... | |
bool | isGoodLayer (const Identifier &Id) const |
Returns whether the corresponding tube layer is marked as bad in the database More... | |
bool | isGoodMultilayer (const Identifier &Id) const |
bool | isGoodChamber (const Identifier &Id) const |
Returns true if the complete chamber has not dead channels. More... | |
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 state -> DCS state flag standByVolt: voltage if system is at standby readyVolt: Voltage if system is ready for data-taking. More... | |
bool | hasDCS () const |
const DcsConstants & | getHvState (const Identifier &multiLayerID) const |
const std::vector< DcsConstants > & | getAllHvStates () const |
Private Attributes | |
std::set< Identifier > | m_cachedDeadTubes {} |
std::set< Identifier > | m_cachedDeadLayers {} |
std::set< Identifier > | m_cachedDeadMultilayers {} |
std::set< Identifier > | m_cachedDeadChambers {} |
std::vector< DcsConstants > | m_dcsStates {} |
const MdtIdHelper & | m_id_helper |
Friends | |
class | MdtCondDbAlg |
Definition at line 21 of file MdtCondDbData.h.
Definition at line 60 of file MdtCondDbData.h.
Definition at line 59 of file MdtCondDbData.h.
MdtCondDbData::MdtCondDbData | ( | const MdtIdHelper & | id_helper | ) |
Definition at line 11 of file MdtCondDbData.cxx.
|
virtualdefault |
const std::vector< DcsConstants > & MdtCondDbData::getAllHvStates | ( | ) | const |
Definition at line 58 of file MdtCondDbData.cxx.
const std::set< Identifier > & MdtCondDbData::getDeadChambersId | ( | ) | const |
Definition at line 23 of file MdtCondDbData.cxx.
const std::set< Identifier > & MdtCondDbData::getDeadLayersId | ( | ) | const |
Definition at line 21 of file MdtCondDbData.cxx.
const std::set< Identifier > & MdtCondDbData::getDeadMultilayersId | ( | ) | const |
Definition at line 22 of file MdtCondDbData.cxx.
const std::set< Identifier > & MdtCondDbData::getDeadTubesId | ( | ) | const |
Definition at line 20 of file MdtCondDbData.cxx.
const DcsConstants & MdtCondDbData::getHvState | ( | const Identifier & | multiLayerID | ) | const |
Definition at line 59 of file MdtCondDbData.cxx.
bool MdtCondDbData::hasDCS | ( | ) | const |
Definition at line 69 of file MdtCondDbData.cxx.
bool MdtCondDbData::isGood | ( | const Identifier & | Id | ) | const |
Returns if the identifier (tube/multiLayer/chamber) is masked in the conditions database.
Definition at line 25 of file MdtCondDbData.cxx.
bool MdtCondDbData::isGoodChamber | ( | const Identifier & | Id | ) | const |
Returns true if the complete chamber has not dead channels.
Definition at line 39 of file MdtCondDbData.cxx.
bool MdtCondDbData::isGoodLayer | ( | const Identifier & | Id | ) | const |
Returns whether the corresponding tube layer is marked as bad in the database
Definition at line 30 of file MdtCondDbData.cxx.
bool MdtCondDbData::isGoodMultilayer | ( | const Identifier & | Id | ) | const |
Definition at line 36 of file MdtCondDbData.cxx.
bool MdtCondDbData::isGoodTube | ( | const Identifier & | Id | ) | const |
Returns whether the particular tube has been markes as bad in the database.
Definition at line 29 of file MdtCondDbData.cxx.
void MdtCondDbData::setDeadChamber | ( | const Identifier & | ident | ) |
void MdtCondDbData::setDeadLayer | ( | const Identifier & | ident | ) |
void MdtCondDbData::setDeadMultilayer | ( | const Identifier & | ident | ) |
void MdtCondDbData::setDeadTube | ( | const Identifier & | ident | ) |
void MdtCondDbData::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 state -> DCS state flag standByVolt: voltage if system is at standby readyVolt: Voltage if system is ready for data-taking.
Definition at line 43 of file MdtCondDbData.cxx.
|
friend |
Definition at line 23 of file MdtCondDbData.h.
|
private |
Definition at line 81 of file MdtCondDbData.h.
|
private |
Definition at line 79 of file MdtCondDbData.h.
|
private |
Definition at line 80 of file MdtCondDbData.h.
|
private |
Definition at line 78 of file MdtCondDbData.h.
|
private |
Definition at line 83 of file MdtCondDbData.h.
|
private |
Definition at line 84 of file MdtCondDbData.h.