13 const char* theName =
filename.c_str();
20 (*theFile) <<
"Event: " << eve <<
" " <<
s <<
" " <<
d <<
" " <<
i <<
" Track " <<
j <<
" " <<
k;
24 (*theFile) <<
"\n Local(cm): " <<
p.x() <<
" " <<
p.y() <<
" " <<
p.z() <<
" ; " <<
e.x() <<
" " <<
e.y() <<
" " 29 (*theFile) <<
"\n Global(mm): " <<
p.x() <<
" " <<
p.y() <<
" " <<
p.z() <<
" ; " <<
e.x() <<
" " <<
e.y() <<
" " 34 (*theFile) <<
"\n " << nam <<
" p(GeV): " <<
p <<
" Edep(GeV): " << de <<
" ToF: " << tof;
37 (*theFile) <<
" Momentum " <<
px <<
" " <<
py <<
" " << pz <<
"\n";
void printHitData(const std::string &, float, float, float) const
static std::ofstream * theFile
void printGlobal(const Local3DPoint &, const Local3DPoint &) const
void printGlobalMomentum(float, float, float) const
TkSimHitPrinter(const std::string &)
void printLocal(const Local3DPoint &, const Local3DPoint &) const
void startNewSimHit(const std::string &, const std::string &, int, int, int, int)