 |
ATLAS Offline Software
|
Go to the documentation of this file.
53 static constexpr
int offset = -1;
54 static constexpr
int MAX_N_SROD = 3;
55 return std::make_pair(
offset, MAX_N_SROD);
61 static const std::pair<int, int> offset_max =
initOnlineId();
62 int offset = offset_max.first;
63 int MAX_N_SROD = offset_max.second;
74 template <
class stream>
78 <<
" version=" << coll.
version()
79 <<
", id=" << std::hex << coll.
identify() << std::dec
80 <<
", srodId=" << coll.
srodId()
81 <<
", subDetectorId=" << std::hex << coll.
subDetectorId() << std::dec
83 <<
", bcId=" << coll.
bcId()
84 <<
", l1Id=" << coll.
l1Id()
85 <<
", errors=" << std::hex << std::bit_cast<unsigned>(coll.
errors())
86 <<
", srodStatus=" << std::bit_cast<unsigned>(coll.
srodStatus())
87 <<
", localStatus=" << std::bit_cast<unsigned>(coll.
localStatus()) << std::dec
88 <<
", orbit=" << coll.
orbit()
89 << std::endl <<
"TgcL1RawData: [" << std::endl;
94 <<
": " << *tgc << std::endl;
102 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