|
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/IToolSvc.h"
11 #include "GaudiKernel/ToolHandle.h"
13 #include "GaudiKernel/MsgStream.h"
17 #include "eformat/SourceIdentifier.h"
19 using eformat::helper::SourceIdentifier;
41 return StatusCode::SUCCESS;
54 eformat::SubDetector detid ;
60 SourceIdentifier sid = SourceIdentifier(detid,
m);
71 return StatusCode::SUCCESS;
80 std::cout <<
" H2d2RESrcID invalid COLL ID in hex "<<std::hex<<
id.get_compact()<<std::dec<<std::endl;
112 SourceIdentifier
id = SourceIdentifier(rob_id);
113 SourceIdentifier
id2 = SourceIdentifier(
id.subdetector_id(), 0);
124 SourceIdentifier
id = SourceIdentifier(ros_id);
125 SourceIdentifier
id2 = SourceIdentifier(
id.subdetector_id(), 0);
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
HWIdentifier getReadoutModuleID(const HWIdentifier &id) const
static int subDet(const HWIdentifier &id)
return sub-detector identifier
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
uint32_t getRodID(const LArFebRodMapping &rodMapping, const HWIdentifier &hid) const
make a ROD SrcID for a HWIdentifier
static int rodFragId(const HWIdentifier &id)
return ROD fragment identifier ( == ROL == ROB identifier )
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.
uint32_t getRosID(uint32_t rob_id) const
Make a ROS Source ID from a ROB source ID.
StatusCode initialize(const LArFebRodMapping &rodMapping)
HWIdentifier feb_Id(int barrel_ec, int pos_neg, int feedthrough, int slot) const
Create feb_Id from fields.
const std::vector< HWIdentifier > & getLArRoModIDvec() const
"iterator" on LArReadoutModuleIDs
uint32_t getRodIDFromROM(const COLLECTION_ID &hid) const
make a ROD SrcID for a COLLECTION_ID
uint32_t getDetID(uint32_t ros_id) const
Make a SubDetector ID from ROS source ID.
RodRobIdMap m_rodRobIdMap
const LArOnlineID * m_onlineHelper
LArReadoutModuleService m_readoutModuleSvc