![]() |
ATLAS Offline Software
|
#include <NswDcsDbData.h>
Classes | |
| struct | DcsModule |
| struct | TDaqConstants |
Public Types | |
| enum class | DcsTechType { MMG , MMD , STG } |
| using | DcsDataType = MuonCond::DcsDataType |
| using | DcsFsmState = MuonCond::DcsFsmState |
| using | DcsConstants = MuonCond::DcsConstants |
Public Member Functions | |
| NswDcsDbData (const Muon::IMuonIdHelperSvc *idHelperSvc, const MuonGM::MuonDetectorManager *muonGeoMgr) | |
| virtual | ~NswDcsDbData ()=default |
| void | setDataHv (const DcsTechType tech, const Identifier &chnlId, DcsConstants constants) |
| void | setDataTDaq (const DcsTechType tech, const Identifier &chnlId, uint64_t timeSince, uint64_t timeUntil, unsigned int elink, bool permanentlyDisabled) |
| void | setDataEltx (const DcsTechType tech, const Identifier &chnlId) |
| std::vector< Identifier > | getChannelIdsHv (const DcsTechType tech, const std::string &side) const |
| const DcsConstants * | getDataForChannelHv (const DcsTechType tech, const Identifier &channelId, bool issTgcQ1OuterHv) const |
| Retrieves the calibration constant for a particular readout channel. | |
| bool | isGood (const EventContext &ctx, const Identifier &channelId, bool issTgcQ1OuterHv=false) const |
| Returns whether the channel is alive, i.e. DCS state on, etc... | |
| bool | isGoodHv (const Identifier &channelId, bool issTgcQ1OuterHv=false) const |
| bool | isGoodTDaq (const EventContext &ctx, const Identifier &channelId, bool &permanentlyDisabled) const |
| bool | isGoodEltx (const Identifier &channelId) const |
| bool | isConnectedChannel (const Identifier &channelId) const |
Private Types | |
| using | ChannelDcsMap = std::vector<DcsModule> |
| using | ChannelTDaqMap = std::vector<std::map<Identifier, std::set<TDaqConstants>>> |
| using | ChannelEltxMap = std::vector<std::set<Identifier>> |
Private Member Functions | |
| unsigned int | identToModuleIdx (const Identifier &chan_id) const |
Private Attributes | |
| ChannelDcsMap | m_data_hv_mmg {} |
| ChannelDcsMap | m_data_hv_mmd {} |
| ChannelDcsMap | m_data_hv_stg {} |
| ChannelTDaqMap | m_data_tdaq_mmg {} |
| ChannelTDaqMap | m_data_tdaq_stg {} |
| ChannelEltxMap | m_data_eltx_mmg {} |
| ChannelEltxMap | m_data_eltx_stg {} |
| const Muon::IMuonIdHelperSvc * | m_idHelperSvc {} |
| const MuonGM::MuonDetectorManager * | m_muonGeoMgr {nullptr} |
Definition at line 19 of file NswDcsDbData.h.
|
private |
Definition at line 74 of file NswDcsDbData.h.
|
private |
Definition at line 81 of file NswDcsDbData.h.
|
private |
Definition at line 78 of file NswDcsDbData.h.
Definition at line 29 of file NswDcsDbData.h.
Definition at line 27 of file NswDcsDbData.h.
Definition at line 28 of file NswDcsDbData.h.
|
strong |
| Enumerator | |
|---|---|
| MMG | |
| MMD | |
| STG | |
Definition at line 22 of file NswDcsDbData.h.
| NswDcsDbData::NswDcsDbData | ( | const Muon::IMuonIdHelperSvc * | idHelperSvc, |
| const MuonGM::MuonDetectorManager * | muonGeoMgr ) |
Definition at line 24 of file NswDcsDbData.cxx.
|
virtualdefault |
| std::vector< Identifier > NswDcsDbData::getChannelIdsHv | ( | const DcsTechType | tech, |
| const std::string & | side ) const |
Definition at line 113 of file NswDcsDbData.cxx.
| const NswDcsDbData::DcsConstants * NswDcsDbData::getDataForChannelHv | ( | const DcsTechType | tech, |
| const Identifier & | channelId, | ||
| bool | issTgcQ1OuterHv ) const |
Retrieves the calibration constant for a particular readout channel.
Definition at line 147 of file NswDcsDbData.cxx.
|
private |
Definition at line 33 of file NswDcsDbData.cxx.
| bool NswDcsDbData::isConnectedChannel | ( | const Identifier & | channelId | ) | const |
Definition at line 257 of file NswDcsDbData.cxx.
| bool NswDcsDbData::isGood | ( | const EventContext & | ctx, |
| const Identifier & | channelId, | ||
| bool | issTgcQ1OuterHv = false ) const |
Returns whether the channel is alive, i.e. DCS state on, etc...
Definition at line 180 of file NswDcsDbData.cxx.
| bool NswDcsDbData::isGoodEltx | ( | const Identifier & | channelId | ) | const |
Definition at line 248 of file NswDcsDbData.cxx.
| bool NswDcsDbData::isGoodHv | ( | const Identifier & | channelId, |
| bool | issTgcQ1OuterHv = false ) const |
For the moment do not kill the hit if there's no dcs data
Definition at line 194 of file NswDcsDbData.cxx.
| bool NswDcsDbData::isGoodTDaq | ( | const EventContext & | ctx, |
| const Identifier & | channelId, | ||
| bool & | permanentlyDisabled ) const |
Definition at line 211 of file NswDcsDbData.cxx.
| void NswDcsDbData::setDataEltx | ( | const DcsTechType | tech, |
| const Identifier & | chnlId ) |
Definition at line 100 of file NswDcsDbData.cxx.
| void NswDcsDbData::setDataHv | ( | const DcsTechType | tech, |
| const Identifier & | chnlId, | ||
| DcsConstants | constants ) |
Definition at line 50 of file NswDcsDbData.cxx.
| void NswDcsDbData::setDataTDaq | ( | const DcsTechType | tech, |
| const Identifier & | chnlId, | ||
| uint64_t | timeSince, | ||
| uint64_t | timeUntil, | ||
| unsigned int | elink, | ||
| bool | permanentlyDisabled ) |
Definition at line 87 of file NswDcsDbData.cxx.
|
private |
Definition at line 82 of file NswDcsDbData.h.
|
private |
Definition at line 83 of file NswDcsDbData.h.
|
private |
Definition at line 76 of file NswDcsDbData.h.
|
private |
Definition at line 75 of file NswDcsDbData.h.
|
private |
Definition at line 77 of file NswDcsDbData.h.
|
private |
Definition at line 79 of file NswDcsDbData.h.
|
private |
Definition at line 80 of file NswDcsDbData.h.
|
private |
Definition at line 86 of file NswDcsDbData.h.
|
private |
Definition at line 87 of file NswDcsDbData.h.