![]() |
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. | |
| void | setDeadLayer (const Identifier &ident) |
| All tubes in a drift layer are dead. | |
| void | setDeadMultilayer (const Identifier &ident) |
| All tubes in a multi layer are dead. | |
| void | setDeadChamber (const Identifier &ident) |
| All tubes in a chamber are dead. | |
| 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. | |
| bool | isGoodTube (const Identifier &Id) const |
| Returns whether the particular tube has been markes as bad in the database. | |
| bool | isGoodLayer (const Identifier &Id) const |
| Returns whether the corresponding tube layer is marked as bad in the database. | |
| bool | isGoodMultilayer (const Identifier &Id) const |
| bool | isGoodChamber (const Identifier &Id) const |
| Returns true if the complete chamber has not dead channels. | |
| 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. | |
| 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 24 of file MdtCondDbData.h.
Definition at line 63 of file MdtCondDbData.h.
Definition at line 62 of file MdtCondDbData.h.
| MdtCondDbData::MdtCondDbData | ( | const MdtIdHelper & | id_helper | ) |
Definition at line 13 of file MdtCondDbData.cxx.
|
virtualdefault |
| const std::vector< DcsConstants > & MdtCondDbData::getAllHvStates | ( | ) | const |
Definition at line 60 of file MdtCondDbData.cxx.
| const std::set< Identifier > & MdtCondDbData::getDeadChambersId | ( | ) | const |
Definition at line 25 of file MdtCondDbData.cxx.
| const std::set< Identifier > & MdtCondDbData::getDeadLayersId | ( | ) | const |
Definition at line 23 of file MdtCondDbData.cxx.
| const std::set< Identifier > & MdtCondDbData::getDeadMultilayersId | ( | ) | const |
Definition at line 24 of file MdtCondDbData.cxx.
| const std::set< Identifier > & MdtCondDbData::getDeadTubesId | ( | ) | const |
Definition at line 22 of file MdtCondDbData.cxx.
| const DcsConstants & MdtCondDbData::getHvState | ( | const Identifier & | multiLayerID | ) | const |
Definition at line 61 of file MdtCondDbData.cxx.
| bool MdtCondDbData::hasDCS | ( | ) | const |
Definition at line 71 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 27 of file MdtCondDbData.cxx.
| bool MdtCondDbData::isGoodChamber | ( | const Identifier & | Id | ) | const |
Returns true if the complete chamber has not dead channels.
Definition at line 41 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 32 of file MdtCondDbData.cxx.
| bool MdtCondDbData::isGoodMultilayer | ( | const Identifier & | Id | ) | const |
Definition at line 38 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 31 of file MdtCondDbData.cxx.
| void MdtCondDbData::setDeadChamber | ( | const Identifier & | ident | ) |
All tubes in a chamber are dead.
Definition at line 19 of file MdtCondDbData.cxx.
| void MdtCondDbData::setDeadLayer | ( | const Identifier & | ident | ) |
All tubes in a drift layer are dead.
Definition at line 17 of file MdtCondDbData.cxx.
| void MdtCondDbData::setDeadMultilayer | ( | const Identifier & | ident | ) |
All tubes in a multi layer are dead.
Definition at line 18 of file MdtCondDbData.cxx.
| void MdtCondDbData::setDeadTube | ( | const Identifier & | ident | ) |
The indiviudal tube is dead.
Definition at line 16 of file MdtCondDbData.cxx.
| 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 45 of file MdtCondDbData.cxx.
|
friend |
Definition at line 26 of file MdtCondDbData.h.
|
private |
Definition at line 84 of file MdtCondDbData.h.
|
private |
Definition at line 82 of file MdtCondDbData.h.
|
private |
Definition at line 83 of file MdtCondDbData.h.
|
private |
Definition at line 81 of file MdtCondDbData.h.
|
private |
Definition at line 86 of file MdtCondDbData.h.
|
private |
Definition at line 87 of file MdtCondDbData.h.