20 eformat::SubDetector subdet)
24 eformat::helper::SourceIdentifier helpID(subdet, moduleId);
39 eformat::helper::SourceIdentifier id(rob_id);
40 eformat::helper::SourceIdentifier
id2(
id.subdetector_id(), 0);
48 eformat::helper::SourceIdentifier id(ros_id);
49 eformat::helper::SourceIdentifier
id2(
id.subdetector_id(), 0);
57 eformat::helper::SourceIdentifier id(code);
58 return id.module_id() & 0xf;
65 eformat::helper::SourceIdentifier id(code);
66 return (
id.module_id() >> 7) & 0x1;
73 eformat::helper::SourceIdentifier id(code);
74 return (
id.module_id() >> 4) & 0x3;
88 eformat::helper::SourceIdentifier id(code);
89 return id.subdetector_id();
static uint32_t getRosID(uint32_t rob_id)
ROB -> ROS.
static eformat::SubDetector subDet(uint32_t code)
ID -> sub-detector.
static uint32_t getDetID(uint32_t ros_id)
ROS -> SubDetector.
static uint32_t getRobID(uint32_t rod_id)
ROD -> ROB.
static int crate(uint32_t code)
moduleID -> crate
static uint32_t getRodID(int crate, int slink, int daqOrRoi, eformat::SubDetector subdet)
Make a ROD Source ID.
static int maxSlinks()
Return the maximum possible number of slinks.
static int daqOrRoi(uint32_t code)
moduleID -> daqOrRoi
static int slink(uint32_t code)
moduleID -> slink