ATLAS Offline Software
Classes | Functions
MdtAmtHit.h File Reference
#include <stdint.h>
#include <vector>
#include <iostream>
Include dependency graph for MdtAmtHit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MdtAmtHit
 MDT RDO's : data from a single channel of an AMT Atlas Muon TDC. More...
 

Functions

MsgStream & operator<< (MsgStream &sl, const MdtAmtHit &coll)
 Overload of << operator for MsgStream for debug output. More...
 
std::ostream & operator<< (std::ostream &sl, const MdtAmtHit &coll)
 Overload of << operator for std::ostream for debug output. More...
 

Function Documentation

◆ 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 }

◆ 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 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
lumiFormat.i
int i
Definition: lumiFormat.py:85