![]() |
ATLAS Offline Software
|
This class provides conversion between Lower level Source ID to higher level source ID for L1Calo ByteStream fragments. More...
#include <L1CaloSrcIdMap.h>
Public Member Functions | |
L1CaloSrcIdMap () | |
uint32_t | getRodID (int crate, int slink, int daqOrRoi, eformat::SubDetector subdet) const |
Make a ROD Source ID. More... | |
uint32_t | getRobID (uint32_t rod_id) const |
Make a ROB Source ID from a ROD source ID. More... | |
uint32_t | getRosID (uint32_t rob_id) const |
Make a ROS Source ID from a ROB source ID. More... | |
uint32_t | getDetID (uint32_t ros_id) const |
Make a SubDetector ID from ROS source ID. More... | |
int | crate (uint32_t code) const |
Return crate from unpacked moduleID. More... | |
int | daqOrRoi (uint32_t code) const |
Return daqOrRoi from unpacked moduleID. More... | |
int | slink (uint32_t code) const |
Return slink from unpacked moduleID. More... | |
int | maxSlinks () const |
Return the maximum possible number of slinks. More... | |
eformat::SubDetector | subDet (uint32_t code) const |
Return sub-detector for given ID. More... | |
uint16_t | minorVersion () const |
Return ROD header minor version to use when writing BS. More... | |
uint16_t | minorVersionPreLS1 () const |
Return last ROD header minor version for pre-LS1 data. More... | |
This class provides conversion between Lower level Source ID to higher level source ID for L1Calo ByteStream fragments.
This is to be used in assembling the fragments from ROD fragments
Definition at line 22 of file L1CaloSrcIdMap.h.
LVL1BS::L1CaloSrcIdMap::L1CaloSrcIdMap | ( | ) |
Definition at line 10 of file L1CaloSrcIdMap.cxx.
int LVL1BS::L1CaloSrcIdMap::crate | ( | uint32_t | code | ) | const |
Return crate from unpacked moduleID.
Definition at line 52 of file L1CaloSrcIdMap.cxx.
int LVL1BS::L1CaloSrcIdMap::daqOrRoi | ( | uint32_t | code | ) | const |
Return daqOrRoi from unpacked moduleID.
Definition at line 60 of file L1CaloSrcIdMap.cxx.
uint32_t LVL1BS::L1CaloSrcIdMap::getDetID | ( | uint32_t | ros_id | ) | const |
Make a SubDetector ID from ROS source ID.
Definition at line 43 of file L1CaloSrcIdMap.cxx.
uint32_t LVL1BS::L1CaloSrcIdMap::getRobID | ( | uint32_t | rod_id | ) | const |
Make a ROB Source ID from a ROD source ID.
Definition at line 27 of file L1CaloSrcIdMap.cxx.
uint32_t LVL1BS::L1CaloSrcIdMap::getRodID | ( | int | crate, |
int | slink, | ||
int | daqOrRoi, | ||
eformat::SubDetector | subdet | ||
) | const |
uint32_t LVL1BS::L1CaloSrcIdMap::getRosID | ( | uint32_t | rob_id | ) | const |
Make a ROS Source ID from a ROB source ID.
Definition at line 34 of file L1CaloSrcIdMap.cxx.
int LVL1BS::L1CaloSrcIdMap::maxSlinks | ( | ) | const |
Return the maximum possible number of slinks.
Definition at line 77 of file L1CaloSrcIdMap.cxx.
|
inline |
Return ROD header minor version to use when writing BS.
Definition at line 56 of file L1CaloSrcIdMap.h.
|
inline |
Return last ROD header minor version for pre-LS1 data.
Definition at line 59 of file L1CaloSrcIdMap.h.
int LVL1BS::L1CaloSrcIdMap::slink | ( | uint32_t | code | ) | const |
Return slink from unpacked moduleID.
Definition at line 68 of file L1CaloSrcIdMap.cxx.
eformat::SubDetector LVL1BS::L1CaloSrcIdMap::subDet | ( | uint32_t | code | ) | const |
Return sub-detector for given ID.
Definition at line 84 of file L1CaloSrcIdMap.cxx.