|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "eformat/SourceIdentifier.h"
11 using eformat::helper::SourceIdentifier;
20 return this->
getRodID(subDetectorId, rodId);
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));
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);
53 if (rod_id == 0x0069000a)
55 else if (rod_id == 0x0069000c)
75 if (!
check) onlineRodId = 0xFFFF;
79 int jj =
i * 8 + rodId;
97 SourceIdentifier
id(rob_id);
98 SourceIdentifier
id2(
id.subdetector_id(), 0);
107 SourceIdentifier
id(ros_id);
108 SourceIdentifier
id2(
id.subdetector_id(), 0);
std::vector< uint32_t > m_robIDs
Scalar phi() const
phi method
uint32_t getRosID(uint32_t rob_id) const
Make a ROS Source ID from a ROB source ID.
Scalar eta() const
pseudorapidity method
uint32_t getRodID(const CscRawDataCollection *rdo) const
Make a ROD Source ID for CSC RDO.
unsigned int nSide() const
bool onlineId(const uint16_t subdetectorID, const uint16_t offlineID, uint32_t &rodId) const
map offline ROD identifier to online ID
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
unsigned int nROD() const
bool is_rodId(const uint16_t rodId) const
check that we have the correct online ROD id
uint32_t getDetID(uint32_t ros_id) const
Make a SubDetector ID from ROS source ID.
const CscIdHelper * m_cscIdHelper
Collection of CSC Raw Hits, arranged according to CSC Detector Elements Author: Ketevi A.
int stationPhi(const Identifier &id) const
void fillAllRobIds()
fill all the ROB ids
int stationEta(const Identifier &id) const
uint16_t subDetectorId() const
CSCcablingSvc * m_cabling