|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONCONDDATA_NSWDCSDBDATA_H
6 #define MUONCONDDATA_NSWDCSDBDATA_H
71 std::vector<std::unique_ptr<DcsConstants>>
channels{};
78 using ChannelTDaqMap = std::vector<std::map<Identifier, std::set<TDaqConstants>>>;
const DcsConstants * getDataForChannelHv(const DcsTechType tech, const Identifier &channelId, bool issTgcQ1OuterHv) const
Retrieves the calibration constant for a particular readout channel.
void setDataEltx(const DcsTechType tech, const Identifier &chnlId)
bool isGood(const EventContext &ctx, const Identifier &channelId, bool issTgcQ1OuterHv=false) const
Returns whether the channel is alive, i.e. DCS state on, etc...
ChannelTDaqMap m_data_tdaq_mmg
Hold mappings of ranges to condition objects.
std::vector< std::unique_ptr< DcsConstants > > channels
CONDCONT_MIXED_DEF(NswDcsDbData, 125092872)
ChannelDcsMap m_data_hv_stg
bool operator<(const NswDcsDbData::TDaqConstants &other) const
std::ostream & operator<<(std::ostream &ostr, const NswDcsDbData::TDaqConstants &obj)
unsigned int identToModuleIdx(const Identifier &chan_id) const
MdtCondDbData::DcsConstants DcsConstants
Provide an interface for finding inheritance information at run time.
bool isGoodHv(const Identifier &channelId, bool issTgcQ1OuterHv=false) const
bool isGoodEltx(const Identifier &channelId) const
Helper struct to cache all dcs constants in a common place of the memory.
std::vector< DcsModule > ChannelDcsMap
CLASS_DEF(NswDcsDbData, 99551304, 1)
ChannelDcsMap m_data_hv_mmd
virtual ~NswDcsDbData()=default
void setDataHv(const DcsTechType tech, const Identifier &chnlId, DcsConstants constants)
std::vector< std::set< Identifier > > ChannelEltxMap
bool isGoodTDaq(const EventContext &ctx, const Identifier &channelId, bool &permanentlyDisabled) const
NswDcsDbData(const Muon::IMuonIdHelperSvc *idHelperSvc, const MuonGM::MuonDetectorManager *muonGeoMgr)
std::vector< Identifier > getChannelIdsHv(const DcsTechType tech, const std::string &side) const
ChannelEltxMap m_data_eltx_mmg
std::vector< std::map< Identifier, std::set< TDaqConstants > >> ChannelTDaqMap
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
ChannelDcsMap m_data_hv_mmg
bool isConnectedChannel(const Identifier &channelId) const
Interface for Helper service that creates muon Identifiers and can be used to print Identifiers.
void setDataTDaq(const DcsTechType tech, const Identifier &chnlId, uint64_t timeSince, uint64_t timeUntil, unsigned int elink, bool permanentlyDisabled)
const MuonGM::MuonDetectorManager * m_muonGeoMgr
const Muon::IMuonIdHelperSvc * m_idHelperSvc
ChannelTDaqMap m_data_tdaq_stg
ChannelEltxMap m_data_eltx_stg