#include <CSC_Hid2RESrcID.h>
Definition at line 24 of file CSC_Hid2RESrcID.h.
◆ CSC_Hid2RESrcID() [1/2]
CSC_Hid2RESrcID::CSC_Hid2RESrcID |
( |
| ) |
|
|
inline |
default constrcutor you must then use the set method to set the cabling service and the id helper
Definition at line 29 of file CSC_Hid2RESrcID.h.
◆ CSC_Hid2RESrcID() [2/2]
◆ ~CSC_Hid2RESrcID()
CSC_Hid2RESrcID::~CSC_Hid2RESrcID |
( |
| ) |
|
|
default |
◆ allRobIds()
const std::vector<uint32_t>& CSC_Hid2RESrcID::allRobIds |
( |
| ) |
const |
|
inline |
◆ fillAllRobIds()
void CSC_Hid2RESrcID::fillAllRobIds |
( |
| ) |
|
|
private |
fill all the ROB ids
fill all the ROB IDs
Definition at line 63 of file CSC_Hid2RESrcID.cxx.
75 if (!
check) onlineRodId = 0xFFFF;
79 int jj =
i * 8 + rodId;
◆ getDetID()
uint32_t CSC_Hid2RESrcID::getDetID |
( |
uint32_t |
ros_id | ) |
const |
Make a SubDetector ID from ROS source ID.
mapping SrcID from ROS to Det
Definition at line 105 of file CSC_Hid2RESrcID.cxx.
107 SourceIdentifier
id(ros_id);
108 SourceIdentifier
id2(
id.subdetector_id(), 0);
◆ getRobID()
uint32_t CSC_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 49 of file CSC_Hid2RESrcID.cxx.
53 if (rod_id == 0x0069000a)
55 else if (rod_id == 0x0069000c)
◆ getRodID() [1/3]
Make a ROD Source ID for CSC RDO.
get source ID for a RDO
Definition at line 16 of file CSC_Hid2RESrcID.cxx.
20 return this->
getRodID(subDetectorId, rodId);
◆ getRodID() [2/3]
Make a ROD Source ID for CscDigitCollection.
get source ID for a CscRdoCollection
Definition at line 35 of file CSC_Hid2RESrcID.cxx.
38 uint16_t subDetectorId = (
eta == -1) ? eformat::MUON_CSC_ENDCAP_C_SIDE : eformat::MUON_CSC_ENDCAP_A_SIDE;
44 if (!
check) onlineRodId = 0xFFFF;
45 return this->
getRodID(subDetectorId, onlineRodId);
◆ getRodID() [3/3]
uint32_t CSC_Hid2RESrcID::getRodID |
( |
uint16_t |
subId, |
|
|
uint16_t |
rodId |
|
) |
| const |
get source ID for a RDO
Definition at line 24 of file CSC_Hid2RESrcID.cxx.
26 assert(subDetectorId == eformat::MUON_CSC_ENDCAP_C_SIDE || subDetectorId == eformat::MUON_CSC_ENDCAP_A_SIDE);
30 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(subDetectorId),
static_cast<uint16_t>(rodId));
◆ getRosID()
uint32_t CSC_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 95 of file CSC_Hid2RESrcID.cxx.
97 SourceIdentifier
id(rob_id);
98 SourceIdentifier
id2(
id.subdetector_id(), 0);
◆ set()
◆ set_isCosmic()
void CSC_Hid2RESrcID::set_isCosmic |
( |
| ) |
|
|
inline |
◆ set_isOldCosmic()
void CSC_Hid2RESrcID::set_isOldCosmic |
( |
| ) |
|
|
inline |
to read the old cosmic data before the ROB id = ROD id fix
Definition at line 60 of file CSC_Hid2RESrcID.h.
◆ m_cabling
◆ m_cscIdHelper
◆ m_isCosmic
bool CSC_Hid2RESrcID::m_isCosmic |
|
private |
◆ m_isOldCosmic
bool CSC_Hid2RESrcID::m_isOldCosmic |
|
private |
◆ m_robIDs
std::vector<uint32_t> CSC_Hid2RESrcID::m_robIDs |
|
private |
The documentation for this class was generated from the following files: