#include <RPC_Hid2RESrcID.h>
Definition at line 16 of file RPC_Hid2RESrcID.h.
◆ RPC_Hid2RESrcID() [1/2]
RPC_Hid2RESrcID::RPC_Hid2RESrcID |
( |
| ) |
|
◆ RPC_Hid2RESrcID() [2/2]
RPC_Hid2RESrcID::RPC_Hid2RESrcID |
( |
int |
specialROBNumber | ) |
|
◆ getDetID()
uint32_t RPC_Hid2RESrcID::getDetID |
( |
const uint32_t |
ros_id | ) |
|
|
static |
mapping SrcID from ROS to Det
Definition at line 115 of file RPC_Hid2RESrcID.cxx.
117 SourceIdentifier
id(ros_id);
118 SourceIdentifier
id2(
id.subdetector_id(), 0);
◆ getRobID()
uint32_t RPC_Hid2RESrcID::getRobID |
( |
const uint32_t |
rod_id | ) |
|
|
static |
◆ getRodID() [1/4]
Definition at line 25 of file RPC_Hid2RESrcID.cxx.
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) {
◆ getRodID() [2/4]
uint32_t RPC_Hid2RESrcID::getRodID |
( |
const int & |
sector | ) |
|
|
static |
Definition at line 79 of file RPC_Hid2RESrcID.cxx.
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);
◆ getRodID() [3/4]
Definition at line 64 of file RPC_Hid2RESrcID.cxx.
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);
◆ getRodID() [4/4]
uint32_t RPC_Hid2RESrcID::getRodID |
( |
const uint16_t & |
side, |
|
|
const uint16_t & |
rodIndex |
|
) |
| |
|
static |
Definition at line 92 of file RPC_Hid2RESrcID.cxx.
94 eformat::SubDetector detid = (
side == 1) ? eformat::MUON_RPC_BARREL_A_SIDE : eformat::MUON_RPC_BARREL_C_SIDE;
95 SourceIdentifier sid(detid, rodIndex);
◆ getRosID()
uint32_t RPC_Hid2RESrcID::getRosID |
( |
const uint32_t |
rob_id | ) |
|
|
static |
mapping SrcID from ROB to ROS
Definition at line 106 of file RPC_Hid2RESrcID.cxx.
108 SourceIdentifier
id(rob_id);
109 SourceIdentifier
id2(
id.subdetector_id(), 0);
◆ set()
◆ m_rpcIdHelper
◆ m_specialROBNumber
int RPC_Hid2RESrcID::m_specialROBNumber |
|
private |
The documentation for this class was generated from the following files: