|
ATLAS Offline Software
|
Go to the documentation of this file.
52 static constexpr
int offset = -1;
53 static constexpr
int MAX_N_ROD = 12;
54 return std::make_pair (
offset, MAX_N_ROD);
63 static const std::pair<int, int> offset_max =
initOnlineId();
65 MAX_N_ROD = offset_max.second;
80 template <
class stream>
84 <<
" version=" << coll.
version()
85 <<
", id=" << std::hex << coll.
identify() << std::dec
86 <<
", rodId=" << coll.
rodId()
87 <<
", subDetectorId=" << std::hex << coll.
subDetectorId() << std::dec
89 <<
", bcId=" << coll.
bcId()
90 <<
", l1Id=" << coll.
l1Id()
94 <<
", orbit=" << coll.
orbit()
95 << std::endl <<
"TgcRawData: [" << std::endl;
100 <<
": " << *rd << std::endl;
108 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...