/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Emc/EmcRecEventModel/EmcRecEventModel-01-01-18/src/RecEmcTofHit.cxx File Reference

#include "EmcRecEventModel/RecEmcTofHit.h"
#include "Identifier/TofID.h"
#include <iostream>

Go to the source code of this file.

Functions

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


Function Documentation

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

Definition at line 101 of file RecEmcTofHit.cxx.

References RecEmcTofHit::CellId(), RecEmcTofHit::Energy(), RecEmcTofHit::IntCellId(), and RecEmcTofHit::ZPosition().

00102 {
00103   os<<"TofHit: ";
00104   
00105   os<<tofHit.IntCellId()<<", ";
00106   
00107   os.width(12);
00108   os.setf(ios::right);
00109   os<<tofHit.CellId()<<", ";
00110   
00111   os.width(12);
00112   os.setf(ios::right);
00113   os<<tofHit.Energy()<<", ";
00114   
00115   os.width(12);
00116   os.setf(ios::right);
00117   os<<tofHit.ZPosition()<<endl;
00118   
00119   return os;
00120 }


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