#include "MuonRDO/TgcRdo.h"
#include "AthenaKernel/errorcheck.h"
#include <bit>
#include <cstring>
Go to the source code of this file.
|
| template<class stream> |
| stream & | dump (stream &sl, const TgcRdo &coll) |
| std::ostream & | operator<< (std::ostream &sl, const TgcRdo &coll) |
| | Overload of << operator for std::ostream for debug output.
|
◆ dump()
template<class stream>
| stream & dump |
( |
stream & | sl, |
|
|
const TgcRdo & | coll ) |
Definition at line 83 of file TgcRdo.cxx.
84{
85 sl << "TgcRdo: "
86 <<
" version=" << coll.
version()
87 <<
", id=" << std::hex << coll.
identify() << std::dec
88 <<
", rodId=" << coll.
rodId()
89 <<
", subDetectorId=" << std::hex << coll.
subDetectorId() << std::dec
91 <<
", bcId=" << coll.
bcId()
92 <<
", l1Id=" << coll.
l1Id()
93 <<
", errors=" << std::hex << std::bit_cast<unsigned>(coll.
errors())
94 <<
", rodStatus=" << std::bit_cast<unsigned>(coll.
rodStatus())
95 <<
", localStatus=" << std::bit_cast<unsigned>(coll.
localStatus()) << std::dec
96 <<
", orbit=" << coll.
orbit()
97 << std::endl << "TgcRawData: [" << std::endl;
98 int iRaw = 0;
100 {
101 sl << ++iRaw
102 << ": " << *rd << std::endl;
103 }
104 sl << "]";
105 return sl;
106}
An unit object of TGC ROD output.
const RodStatus & rodStatus() const
uint16_t triggerType() const
uint16_t subDetectorId() const
const Errors & errors() const
const LocalStatus & localStatus() const
uint16_t identify() const
setScaleOne setStatusOne setSaturated int16_t
◆ operator<<()
| std::ostream & operator<< |
( |
std::ostream & | sl, |
|
|
const TgcRdo & | coll ) |
Overload of << operator for std::ostream for debug output.
Definition at line 108 of file TgcRdo.cxx.
109{
110 dump(sl, coll) << std::endl;
111 return sl;
112}