|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #include "eformat/SourceIdentifier.h"
13 using eformat::helper::SourceIdentifier;
19 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(rdo->
subDetectorId()),
30 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(subDetectorId), rodId);
42 cabling->getReadoutIDfromElementID(offlineId,subDetectorId,rodId);
45 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(subDetectorId),
64 SourceIdentifier
id(rob_id);
65 SourceIdentifier
id2(
id.subdetector_id(),0);
75 SourceIdentifier
id(ros_id);
76 SourceIdentifier
id2(
id.subdetector_id(),0);
86 int rdoIdHash_max = rdoIdHash.
max();
87 for(
int i=0;
i<rdoIdHash_max;
i++) {
88 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(rdoIdHash.
subDetectorId(
i)),
91 m_robIDs.push_back(getRobID(sid.simple_code()));
static uint32_t getRodID(const TgcRdo *rdo)
Make a ROD Source ID for TGC RDO.
void fillAllRobIds()
Fill all the ROB IDs.
static uint32_t getRosID(uint32_t rob_id)
Make a ROS Source ID from a ROB source ID.
uint16_t subDetectorId(int i) const
reverse conversion for SubDetectorID and ROD ID
uint16_t subDetectorId() const
uint16_t rodId(int i) const
reverse conversion : ROD ID
static uint32_t getRobID(uint32_t rod_id)
Make a ROB Source ID from a ROD source ID.
int max() const
return maximum number of IDs
static uint32_t getDetID(uint32_t ros_id)
Make a SubDetector ID from ROS source ID.