CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcHit.cxx File Reference
#include <iostream>
#include "EmcRecEventModel/RecEmcHit.h"
#include "EmcRecGeoSvc/EmcRecGeoSvc.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 123 of file RecEmcHit.cxx.

124{
125 os<<"Hit: ";
126
127 os<<aHit.getCellId()<<", ";
128
129 os.width(12);
130 os.setf(ios::right);
131 os<<aHit.getEnergy()<<", ";
132
133 os.width(12);
134 os.setf(ios::right);
135 os<<aHit.getTime()<<endl;
136
137 return os;
138}
RecEmcEnergy getEnergy() const
Definition: RecEmcHit.h:48
RecEmcID getCellId() const
Definition: RecEmcHit.h:47
RecEmcTime getTime() const
Definition: RecEmcHit.h:49