|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/Bootstrap.h"
10 #include "GaudiKernel/IMessageSvc.h"
11 #include "GaudiKernel/ISvcLocator.h"
12 #include "GaudiKernel/MsgStream.h"
14 #include "eformat/SourceIdentifier.h"
16 using eformat::helper::SourceIdentifier;
30 return StatusCode::SUCCESS;
39 log <<
MSG::DEBUG <<
"Getting RODId of the Station " << MSG::hex << offlineId << MSG::dec <<
endmsg;
45 log << MSG::ERROR <<
"Null pointer to the read conditions object" <<
endmsg;
50 log << MSG::ERROR <<
" Invalid identifier given " <<
endmsg;
56 log <<
MSG::DEBUG <<
"ROD Id of the Station " << MSG::hex <<
"0x" << offlineId <<
" not found" <<
endmsg;
63 eformat::SubDetector detid = (eformat::SubDetector)
cabling_data.subdetectorId;
89 SourceIdentifier
id = SourceIdentifier(rod_id);
90 SourceIdentifier
id2 = SourceIdentifier(
id.subdetector_id(),
id.module_id());
105 SourceIdentifier
id(rob_id);
106 SourceIdentifier
id2(
id.subdetector_id(), 0);
115 SourceIdentifier
id(ros_id);
116 SourceIdentifier
id2(
id.subdetector_id(), 0);
singleton-like access to IMessageSvc via open function and helper
MDT_Hid2RESrcID()
constrcutor
static uint32_t getDetID(uint32_t ros_id)
Make a SubDetector ID from ROS source ID.
static uint32_t getRobID(uint32_t rod_id)
Make a ROB Source ID from a ROD source ID.
StatusCode set(const MdtIdHelper *mdtId)
intialize the cabling service
IMessageSvc * getMessageSvc(bool quiet=false)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadCondHandleKey< MuonMDT_CablingMap > m_readKey
uint32_t getRodID(const Identifier &offlineId) const
static uint32_t getRosID(uint32_t rob_id)
Make a ROS Source ID from a ROB source ID.
StatusCode initialize(bool used=true)
const MdtIdHelper * m_mdtIdHelper