BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcTofHit.cxx File Reference
#include "EmcRecEventModel/RecEmcTofHit.h"
#include "Identifier/TofID.h"
#include <iostream>

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const RecEmcTofHit &tofHit)
 

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  os,
const RecEmcTofHit tofHit 
)

Definition at line 101 of file RecEmcTofHit.cxx.

102{
103 os<<"TofHit: ";
104
105 os<<tofHit.IntCellId()<<", ";
106
107 os.width(12);
108 os.setf(ios::right);
109 os<<tofHit.CellId()<<", ";
110
111 os.width(12);
112 os.setf(ios::right);
113 os<<tofHit.Energy()<<", ";
114
115 os.width(12);
116 os.setf(ios::right);
117 os<<tofHit.ZPosition()<<endl;
118
119 return os;
120}
double Energy() const
Definition: RecEmcTofHit.h:44
Identifier CellId() const
Definition: RecEmcTofHit.h:43
int IntCellId() const
double ZPosition() const
Definition: RecEmcTofHit.h:46