#include <TGC_Hid2RESrcID.h>
This class provides conversion between TGC RDO Id and RESrcID. RESrcID is used for identifying each ROD.
- Author
- Susumu Oda Susum.nosp@m.u.Od.nosp@m.a@cer.nosp@m.n.ch
This class was developed by Tadashi Maeno based on MDT_Hid2RESrcID written by Naples.
Definition at line 28 of file TGC_Hid2RESrcID.h.
◆ TGC_Hid2RESrcID()
Muon::TGC_Hid2RESrcID::TGC_Hid2RESrcID |
( |
| ) |
|
|
inline |
◆ ~TGC_Hid2RESrcID()
Muon::TGC_Hid2RESrcID::~TGC_Hid2RESrcID |
( |
| ) |
|
|
inline |
◆ allRobIds()
const std::vector<uint32_t>& Muon::TGC_Hid2RESrcID::allRobIds |
( |
| ) |
const |
|
inline |
◆ fillAllRobIds()
void Muon::TGC_Hid2RESrcID::fillAllRobIds |
( |
| ) |
|
Fill all the ROB IDs.
Definition at line 83 of file TGC_Hid2RESrcID.cxx.
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)),
◆ getDetID()
uint32_t Muon::TGC_Hid2RESrcID::getDetID |
( |
uint32_t |
ros_id | ) |
|
|
static |
Make a SubDetector ID from ROS source ID.
Definition at line 72 of file TGC_Hid2RESrcID.cxx.
75 SourceIdentifier
id(ros_id);
76 SourceIdentifier
id2(
id.subdetector_id(),0);
◆ getRobID()
uint32_t Muon::TGC_Hid2RESrcID::getRobID |
( |
uint32_t |
rod_id | ) |
|
|
static |
◆ getRodID() [1/3]
Make a ROD Source ID for TgcDigitCollection.
Definition at line 37 of file TGC_Hid2RESrcID.cxx.
42 cabling->getReadoutIDfromElementID(offlineId,subDetectorId,rodId);
45 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(subDetectorId),
◆ getRodID() [2/3]
uint32_t Muon::TGC_Hid2RESrcID::getRodID |
( |
const TgcRdo * |
rdo | ) |
|
|
static |
◆ getRodID() [3/3]
uint32_t Muon::TGC_Hid2RESrcID::getRodID |
( |
uint16_t |
subDetectorId, |
|
|
uint16_t |
rodId |
|
) |
| |
|
static |
Make a ROD Source ID for SubDetector ID and ROD ID.
Definition at line 27 of file TGC_Hid2RESrcID.cxx.
30 SourceIdentifier sid(
static_cast<eformat::SubDetector
>(subDetectorId), rodId);
◆ getRosID()
uint32_t Muon::TGC_Hid2RESrcID::getRosID |
( |
uint32_t |
rob_id | ) |
|
|
static |
Make a ROS Source ID from a ROB source ID.
Definition at line 61 of file TGC_Hid2RESrcID.cxx.
64 SourceIdentifier
id(rob_id);
65 SourceIdentifier
id2(
id.subdetector_id(),0);
◆ m_robIDs
std::vector<uint32_t> Muon::TGC_Hid2RESrcID::m_robIDs |
|
private |
The documentation for this class was generated from the following files: