#include <stdint.h>
#include <vector>
#include <iostream>
Go to the source code of this file.
|
| MsgStream & | operator<< (MsgStream &sl, const MdtAmtHit &coll) |
| | Overload of << operator for MsgStream for debug output.
|
| std::ostream & | operator<< (std::ostream &sl, const MdtAmtHit &coll) |
| | Overload of << operator for std::ostream for debug output.
|
◆ operator<<() [1/2]
| MsgStream & operator<< |
( |
MsgStream & | sl, |
|
|
const MdtAmtHit & | coll ) |
Overload of << operator for MsgStream for debug output.
Definition at line 45 of file MdtAmtHit.cxx.
46{
47 sl <<
"MdtAmtHit ("<< &
data <<
") "
48 <<
"tdcId=" <<
data.tdcId()
49 <<
", channelId=" <<
data.channelId()
50 <<
", coarse=" <<
data.coarse()
51 <<
", fine=" <<
data.fine()
52 <<
", width=" <<
data.width()
53 <<
", leading=" <<
data.leading()
54 <<
", isMasked=" <<
data.isMasked()
55 << ", dataWords=[";
56 if (
nullptr!=
data.dataWords()) {
57 for(
unsigned i=0;
i<
data.dataWords()->size();
i++ ) {
58 sl << (*
data.dataWords() )[
i] <<
",";
59 }
60 }else{
61 sl << "No datawords";
62 }
63 sl << "]"<<std::endl;
64 return sl;
65}
char data[hepevt_bytes_allocation_ATLAS]
◆ operator<<() [2/2]
| std::ostream & operator<< |
( |
std::ostream & | sl, |
|
|
const MdtAmtHit & | coll ) |
Overload of << operator for std::ostream for debug output.
Definition at line 68 of file MdtAmtHit.cxx.
69{
70 sl << "MdtAmtHit "
71 <<
"tdcId=" <<
data.tdcId()
72 <<
", channelId=" <<
data.channelId()
73 <<
", coarse=" <<
data.coarse()
74 <<
", fine=" <<
data.fine()
75 <<
", width=" <<
data.width()
76 <<
", leading=" <<
data.leading()
77 <<
", isMasked=" <<
data.isMasked()
78 << ", dataWords=[";
79 if (
nullptr!=
data.dataWords()) {
80 for(
unsigned i=0;
i<
data.dataWords()->size();
i++ ) {
81 sl << (*
data.dataWords() )[
i] <<
",";
82 }
83 }else{
84 sl << "No datawords";
85 }
86 sl << "]"<<std::endl;
87 return sl;
88}