![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONNRPC_CABLING_MUONNRPC_CABLINGMAP_H
6 #define MUONNRPC_CABLING_MUONNRPC_CABLINGMAP_H
10 #include "Identifier/Identifier.h"
40 bool check_valid =
true)
const;
45 bool setSideBit)
const;
58 MsgStream&
log)
const;
61 MsgStream&
log)
const;
66 using OnlToOfflMap = std::map<NrpcCablOnDataByTdc, NrpcCablingOfflineID, std::less<>>;
67 using OfflToOnlMap = std::map<NrpcCablingOfflineID, NrpcCablOnDataByStripSet, std::less<>>;
85 #include "AthenaKernel/CondCont.h"
const std::vector< IdentifierHash > & getChamberHashVec(const uint32_t ROBI, MsgStream &log) const
return a HashId list for a given ROD
bool finalize(MsgStream &log)
Performs consistency checks for the cabling data (I.e.
std::map< NrpcCablingOfflineID, NrpcCablOnDataByStripSet, std::less<> > OfflToOnlMap
OfflToOnlMap m_offToOnline
Map to cache the offline -> online conversions.
Struct to represent all cabling information coming from the cabling database per channel.
ChamberToROBMap m_chambROBs
ListOfROB m_listOfROB
full list of ROBs
std::map< NrpcCablOnDataByTdc, NrpcCablingOfflineID, std::less<> > OnlToOfflMap
std::map< IdentifierHash, uint32_t > ChamberToROBMap
typedef to implement the csm mapping to ROB
bool insertChannels(const NrpcCablingCoolData &cabling_data, MsgStream &log)
Inserts a cabling object into the map.
bool getOnlineId(NrpcCablingData &cabling_data, MsgStream &log) const
return the online id given the offline id
const ListOfROB & getAllROBId() const
return the full list of ROD id
Cabling information shipped around the Digi <-> Rdo conversions.
uint32_t getROBId(const IdentifierHash &stationCode, MsgStream &log) const
return the ROD id of a given chamber, given the hash id
OnlToOfflMap m_onToOffline
Map to cache the online -> offline conversions.
ROBToChamberMap m_ROBHashes
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool getOfflineId(NrpcCablingData &cabling_data, MsgStream &log) const
return the offline id given the online id
std::vector< uint32_t > ListOfROB
const RpcIdHelper * m_rpcIdHelper
Pointer to the RpcIdHelper.
macros to associate a CLID to a type
bool convert(const NrpcCablingData &cabling_data, Identifier &id, bool check_valid=true) const
converts the cabling data into an identifier.
std::map< uint32_t, std::vector< IdentifierHash > > ROBToChamberMap