/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/src/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

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


Function Documentation

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

Definition at line 123 of file RecEmcHit.cxx.

References RecEmcHit::getCellId(), RecEmcHit::getEnergy(), and RecEmcHit::getTime().

00124 {
00125    os<<"Hit: ";
00126 
00127    os<<aHit.getCellId()<<", ";
00128 
00129    os.width(12);
00130    os.setf(ios::right);
00131    os<<aHit.getEnergy()<<", ";
00132 
00133    os.width(12);
00134    os.setf(ios::right);
00135    os<<aHit.getTime()<<endl;
00136 
00137    return os;
00138 }


Generated on Tue Nov 29 23:15:01 2016 for BOSS_7.0.2 by  doxygen 1.4.7