BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcHit.cxx File Reference
#include <iostream>
#include "EmcRecEventModel/RecEmcHit.h"
#include "EmcRecGeoSvc/IEmcRecGeoSvc.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/ISvcLocator.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const RecEmcHit &aHit)

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream & os,
const RecEmcHit & aHit )

Definition at line 107 of file RecEmcHit.cxx.

107 {
108 os << "Hit: ";
109
110 os << aHit.getCellId() << ", ";
111
112 os.width( 12 );
113 os.setf( ios::right );
114 os << aHit.getEnergy() << ", ";
115
116 os.width( 12 );
117 os.setf( ios::right );
118 os << aHit.getTime() << endl;
119
120 return os;
121}