10 #include "eformat/SourceIdentifier.h"
12 using eformat::helper::SourceIdentifier;
29 unsigned short int RODid;
30 unsigned short int Iside;
31 unsigned short int SLid;
37 eformat::SubDetector detid =
38 (
side == eformat::MUON_RPC_BARREL_A_SIDE) ? eformat::MUON_RPC_BARREL_A_SIDE : eformat::MUON_RPC_BARREL_C_SIDE;
40 SourceIdentifier sid(detid, rodIndex);
45 if (
side == 0x65 && (SLid == 23 || SLid == 24)) {
48 }
else if (
side == 0x65 && SLid == 7) {
50 }
else if (
side == 0x65 && SLid == 8) {
67 int key =
side * 10000 + slogic * 100 + padId;
71 eformat::SubDetector detid = (
side == 1) ? eformat::MUON_RPC_BARREL_A_SIDE : eformat::MUON_RPC_BARREL_C_SIDE;
73 SourceIdentifier sid(detid, rodIndex);
82 int side = (sector < 32) ? 0 : 1;
84 eformat::SubDetector detid = (
side == 1) ? eformat::MUON_RPC_BARREL_A_SIDE : eformat::MUON_RPC_BARREL_C_SIDE;
86 SourceIdentifier sid(detid, rodIndex);
94 eformat::SubDetector detid = (
side == 1) ? eformat::MUON_RPC_BARREL_A_SIDE : eformat::MUON_RPC_BARREL_C_SIDE;
95 SourceIdentifier sid(detid, rodIndex);
108 SourceIdentifier
id(rob_id);
109 SourceIdentifier
id2(
id.subdetector_id(), 0);
117 SourceIdentifier
id(ros_id);
118 SourceIdentifier
id2(
id.subdetector_id(), 0);