#include <Hid2RESrcID.h>
Definition at line 38 of file Hid2RESrcID.h.
◆ COLL_MAP
◆ COLLECTION_ID
◆ Hid2RESrcID()
| Hid2RESrcID::Hid2RESrcID |
( |
| ) |
|
constructor
Definition at line 31 of file Hid2RESrcID.cxx.
31 :
34{
35
36}
const LArOnlineID * m_onlineHelper
◆ getDetID()
| uint32_t Hid2RESrcID::getDetID |
( |
uint32_t | ros_id | ) |
const |
Make a SubDetector ID from ROS source ID.
mapping SrcID from ROS to Det
Definition at line 120 of file Hid2RESrcID.cxx.
121{
122
123
124 SourceIdentifier id = SourceIdentifier(ros_id);
125 SourceIdentifier
id2 = SourceIdentifier(
id.subdetector_id(), 0);
127}
◆ getRobID()
| uint32_t Hid2RESrcID::getRobID |
( |
uint32_t | rod_id | ) |
const |
Make a ROB Source ID from a ROD source ID.
mapping SrcID from ROD to ROB
Definition at line 100 of file Hid2RESrcID.cxx.
101{
103}
RodRobIdMap m_rodRobIdMap
◆ getRodID()
make a ROD SrcID for a HWIdentifier
Definition at line 88 of file Hid2RESrcID.cxx.
90{
91
94
96}
uint32_t getRodIDFromROM(const COLLECTION_ID &hid) const
make a ROD SrcID for a COLLECTION_ID
HWIdentifier getReadoutModuleID(const HWIdentifier &id) const
◆ getRodIDFromROM()
| uint32_t Hid2RESrcID::getRodIDFromROM |
( |
const COLLECTION_ID & | hid | ) |
const |
make a ROD SrcID for a COLLECTION_ID
Definition at line 75 of file Hid2RESrcID.cxx.
76{
77
80 std::cout <<" H2d2RESrcID invalid COLL ID in hex "<<std::hex<<id.get_compact()<<std::dec<<std::endl;
81 std::abort();
82 }
83
84 return (*it).second ;
85}
◆ getRosID()
| uint32_t Hid2RESrcID::getRosID |
( |
uint32_t | rob_id | ) |
const |
Make a ROS Source ID from a ROB source ID.
mapping SrcID from ROB to ROS
Definition at line 108 of file Hid2RESrcID.cxx.
109{
110
111
112 SourceIdentifier id = SourceIdentifier(rob_id);
113 SourceIdentifier
id2 = SourceIdentifier(
id.subdetector_id(), 0);
115
116}
◆ initialize() [1/2]
Definition at line 38 of file Hid2RESrcID.cxx.
39{
41 return StatusCode::SUCCESS;
42}
#define ATH_CHECK
Evaluate an expression and check for errors.
StatusCode initialize(const LArFebRodMapping &rodMapping)
const std::vector< HWIdentifier > & getLArRoModIDvec() const
"iterator" on LArReadoutModuleIDs
◆ initialize() [2/2]
| StatusCode Hid2RESrcID::initialize |
( |
const std::vector< HWIdentifier > & | roms | ) |
|
|
private |
Definition at line 45 of file Hid2RESrcID.cxx.
46{
47
48 ServiceHandle<StoreGateSvc>
detStore (
"DetectorStore",
"Hid2RESrcID");
51
52
53
54 eformat::SubDetector detid ;
55 for (const HWIdentifier& mId : roms)
56 {
59
60 SourceIdentifier sid = SourceIdentifier(detid,m);
62
65
66 }
67
68
70
71 return StatusCode::SUCCESS;
72}
LArReadoutModuleService m_readoutModuleSvc
◆ isInitialized()
| bool Hid2RESrcID::isInitialized |
( |
| ) |
const |
|
inline |
◆ m_coll2ROD
◆ m_initialized
| bool Hid2RESrcID::m_initialized |
|
private |
◆ m_onlineHelper
◆ m_readoutModuleSvc
◆ m_rodRobIdMap
The documentation for this class was generated from the following files: