5#ifndef MUONCSC_CNVTOOLS_CSC_HID2RESRCID
6#define MUONCSC_CNVTOOLS_CSC_HID2RESRCID
66 uint32_t
getRodID(uint16_t subId, uint16_t rodId)
const;
74 uint32_t
getRobID(uint32_t rod_id)
const;
78 uint32_t
getRosID(uint32_t rob_id)
const;
82 uint32_t
getDetID(uint32_t ros_id)
const;
CSC_Hid2RESrcID(CSCcablingSvc *p_cabling, const CscIdHelper *cscId)
the full constructor
std::vector< uint32_t > m_robIDs
uint32_t getRosID(uint32_t rob_id) const
Make a ROS Source ID from a ROB source ID.
CSCcablingSvc * m_cabling
CSC_Hid2RESrcID()
default constrcutor you must then use the set method to set the cabling service and the id helper
const std::vector< uint32_t > & allRobIds() const
return all the ROB IDs
const CscIdHelper * m_cscIdHelper
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
uint32_t getRodID(const CscRawDataCollection *rdo) const
Make a ROD Source ID for CSC RDO.
void set(CSCcablingSvc *p_cabling, const CscIdHelper *cscId)
initialize the identifier helper
~CSC_Hid2RESrcID()=default
destructor
uint32_t getDetID(uint32_t ros_id) const
Make a SubDetector ID from ROS source ID.
void set_isCosmic()
this is cosmic data
void fillAllRobIds()
fill all the ROB ids
void set_isOldCosmic()
to read the old cosmic data before the ROB id = ROD id fix
Collection of CSC Raw Hits, arranged according to CSC Detector Elements Author: Ketevi A.