 |
ATLAS Offline Software
|
Go to the documentation of this file.
53 static constexpr
int offset = -1;
54 static constexpr
int MAX_N_ROD = 12;
55 return std::make_pair (
offset, MAX_N_ROD);
64 static const std::pair<int, int> offset_max =
initOnlineId();
66 MAX_N_ROD = offset_max.second;
81 template <
class stream>
85 <<
" version=" << coll.
version()
86 <<
", id=" << std::hex << coll.
identify() << std::dec
87 <<
", rodId=" << coll.
rodId()
88 <<
", subDetectorId=" << std::hex << coll.
subDetectorId() << std::dec
90 <<
", bcId=" << coll.
bcId()
91 <<
", l1Id=" << coll.
l1Id()
92 <<
", errors=" << std::hex << std::bit_cast<unsigned>(coll.
errors())
93 <<
", rodStatus=" << std::bit_cast<unsigned>(coll.
rodStatus())
94 <<
", localStatus=" << std::bit_cast<unsigned>(coll.
localStatus()) << std::dec
95 <<
", orbit=" << coll.
orbit()
96 << std::endl <<
"TgcRawData: [" << std::endl;
101 <<
": " << *rd << std::endl;
109 dump(sl, coll) << std::endl;
uint16_t identify() const
static uint16_t identifyRawData(const TgcRawData &rawData)
std::ostream & operator<<(std::ostream &sl, const TgcRdo &coll)
Overload of << operator for std::ostream for debug output.
static uint16_t calculateOnlineId(uint16_t subDetectorId, uint16_t rodId)
uint16_t m_id
ID of this instance.
const LocalStatus & localStatus() const
const RodStatus & rodStatus() const
uint16_t subDetectorId() const
uint16_t triggerType() const
setScaleOne setStatusOne setSaturated int16_t
uint16_t subDetectorId() const
static std::pair< int, int > initOnlineId()
uint16_t bcId(uint32_t data)
stream & dump(stream &sl, const TgcRdo &coll)
const Errors & errors() const
Helpers for checking error return status codes and reporting errors.
void setOnlineId(uint16_t subDetectorId, uint16_t rodId)
TgcRdo()
Default constructor.
An unit object of TGC ROD output.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...