BOSS 8.0.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 78 of file RecEmcTofHit.cxx.

78 {
79 os << "TofHit: ";
80
81 os << tofHit.IntCellId() << ", ";
82
83 os.width( 12 );
84 os.setf( ios::right );
85 os << tofHit.CellId() << ", ";
86
87 os.width( 12 );
88 os.setf( ios::right );
89 os << tofHit.Energy() << ", ";
90
91 os.width( 12 );
92 os.setf( ios::right );
93 os << tofHit.ZPosition() << endl;
94
95 return os;
96}
int IntCellId() const