|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGT1CALOBYTESTREAM_L1CALOSRCIDMAP_H
6 #define TRIGT1CALOBYTESTREAM_L1CALOSRCIDMAP_H
11 #include "eformat/SourceIdentifier.h"
30 static void useSWROD(
bool in) { s_useSWROD = in; }
34 eformat::SubDetector subdet)
const;
uint16_t minorVersionPreLS1() const
Return last ROD header minor version for pre-LS1 data.
int slink(uint32_t code) const
Return slink from unpacked moduleID.
static void useSWROD(bool in)
Flag to decide if SWROD readout should be used instead of legacy.
This class provides conversion between Lower level Source ID to higher level source ID for L1Calo Byt...
uint32_t getRobID(uint32_t rod_id) const
Make a ROB Source ID from a ROD source ID.
static std::atomic< bool > s_useSWROD ATLAS_THREAD_SAFE
int crate(uint32_t code) const
Return crate from unpacked moduleID.
uint16_t minorVersion() const
Return ROD header minor version to use when writing BS.
eformat::SubDetector subDet(uint32_t code) const
Return sub-detector for given ID.
uint32_t getRosID(uint32_t rob_id) const
Make a ROS Source ID from a ROB source ID.
uint32_t getRodID(int crate, int slink, int daqOrRoi, eformat::SubDetector subdet) const
Make a ROD Source ID.
int maxSlinks() const
Return the maximum possible number of slinks.
Define macros for attributes used to control the static checker.
uint32_t getDetID(uint32_t ros_id) const
Make a SubDetector ID from ROS source ID.
int daqOrRoi(uint32_t code) const
Return daqOrRoi from unpacked moduleID.