|
ATLAS Offline Software
|
Go to the documentation of this file.
51 static constexpr
int offset = -1;
52 static constexpr
int MAX_N_SROD = 3;
53 return std::make_pair(
offset, MAX_N_SROD);
59 static const std::pair<int, int> offset_max =
initOnlineId();
60 int offset = offset_max.first;
61 int MAX_N_SROD = offset_max.second;
72 template <
class stream>
76 <<
" version=" << coll.
version()
77 <<
", id=" << std::hex << coll.
identify() << std::dec
78 <<
", srodId=" << coll.
srodId()
79 <<
", subDetectorId=" << std::hex << coll.
subDetectorId() << std::dec
81 <<
", bcId=" << coll.
bcId()
82 <<
", l1Id=" << coll.
l1Id()
86 <<
", orbit=" << coll.
orbit()
87 << std::endl <<
"TgcL1RawData: [" << std::endl;
92 <<
": " << *tgc << std::endl;
100 dump(sl, coll) << std::endl;
uint16_t triggerType() const
uint16_t subDetectorId() const
setScaleOne setStatusOne setSaturated int16_t
stream & dump(stream &sl, const TgcL1Rdo &coll)
uint16_t identify() const
static uint16_t identifyRawData(const TgcL1RawData &rawData)
An unit object of TGC SROD output.
const LocalStatus & localStatus() const
static std::pair< int, int > initOnlineId()
uint16_t subDetectorId() const
void setOnlineId(uint16_t subDetectorId, uint16_t srodId)
TgcL1Rdo()
Default constructor.
uint16_t bcId(uint32_t data)
Helpers for checking error return status codes and reporting errors.
uint16_t m_id
ID of this instance.
static uint16_t calculateOnlineId(uint16_t subDetectorId, uint16_t rodId)
std::ostream & operator<<(std::ostream &sl, const TgcL1Rdo &coll)
Overload of << operator for std::ostream for debug output.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const SRodStatus & srodStatus() const
const Errors & errors() const