ATLAS Offline Software
Loading...
Searching...
No Matches
TgcL1Rdo.cxx File Reference
#include "MuonRDO/TgcL1Rdo.h"
#include "AthenaKernel/errorcheck.h"
#include <bit>
#include <string.h>
Include dependency graph for TgcL1Rdo.cxx:

Go to the source code of this file.

Functions

template<class stream>
stream & dump (stream &sl, const TgcL1Rdo &coll)
std::ostream & operator<< (std::ostream &sl, const TgcL1Rdo &coll)
 Overload of << operator for std::ostream for debug output.

Function Documentation

◆ dump()

template<class stream>
stream & dump ( stream & sl,
const TgcL1Rdo & coll )

Definition at line 75 of file TgcL1Rdo.cxx.

76{
77 sl << "TgcL1Rdo: "
78 << " version=" << coll.version()
79 << ", id=" << std::hex << coll.identify() << std::dec
80 << ", srodId=" << coll.srodId()
81 << ", subDetectorId=" << std::hex << coll.subDetectorId() << std::dec
82 << ", triggerType=" << (int16_t)coll.triggerType()
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;
90 int iRaw = 0;
91 for (const TgcL1RawData* tgc : coll)
92 {
93 sl << ++iRaw
94 << ": " << *tgc << std::endl;
95 }
96 sl << "]";
97 return sl;
98}
An unit object of TGC SROD output.
uint16_t version() const
Definition TgcL1Rdo.h:215
uint16_t triggerType() const
Definition TgcL1Rdo.h:142
uint16_t identify() const
Definition TgcL1Rdo.h:107
uint16_t l1Id() const
Definition TgcL1Rdo.h:150
const Errors & errors() const
Definition TgcL1Rdo.h:158
const SRodStatus & srodStatus() const
Definition TgcL1Rdo.h:174
const LocalStatus & localStatus() const
Definition TgcL1Rdo.h:190
uint16_t srodId() const
Definition TgcL1Rdo.h:138
uint16_t bcId() const
Definition TgcL1Rdo.h:146
uint32_t orbit() const
Definition TgcL1Rdo.h:206
uint16_t subDetectorId() const
Definition TgcL1Rdo.h:134
setScaleOne setStatusOne setSaturated int16_t

◆ operator<<()

std::ostream & operator<< ( std::ostream & sl,
const TgcL1Rdo & coll )

Overload of << operator for std::ostream for debug output.

Definition at line 100 of file TgcL1Rdo.cxx.

101{
102 dump(sl, coll) << std::endl;
103 return sl;
104}
-event-from-file