#include "MuonRDO/TgcL1Rdo.h"
#include "AthenaKernel/errorcheck.h"
#include <bit>
#include <string.h>
Go to the source code of this file.
|
| 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.
|
◆ 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
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;
92 {
93 sl << ++iRaw
94 << ": " << *tgc << std::endl;
95 }
96 sl << "]";
97 return sl;
98}
An unit object of TGC SROD output.
uint16_t triggerType() const
uint16_t identify() const
const Errors & errors() const
const SRodStatus & srodStatus() const
const LocalStatus & localStatus() const
uint16_t subDetectorId() const
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}