#include "SimG4CMS/FP420/interface/FP420G4Hit.h"
#include <iostream>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const FP420G4Hit &hit) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const FP420G4Hit & | hit | |||
) |
Definition at line 190 of file FP420G4Hit.cc.
References lat::endl(), FP420G4Hit::getEM(), FP420G4Hit::getEnergyDeposit(), FP420G4Hit::getEnergyLoss(), FP420G4Hit::getEntry(), FP420G4Hit::getEntryLocalP(), FP420G4Hit::getExitLocalP(), FP420G4Hit::getHadr(), FP420G4Hit::getIncidentEnergy(), FP420G4Hit::getPabs(), FP420G4Hit::getParentId(), FP420G4Hit::getParticleType(), FP420G4Hit::getPhiAtEntry(), FP420G4Hit::getThetaAtEntry(), FP420G4Hit::getTimeSlice(), FP420G4Hit::getTimeSliceID(), FP420G4Hit::getTof(), FP420G4Hit::getTrackID(), FP420G4Hit::getUnitID(), FP420G4Hit::getVx(), FP420G4Hit::getVy(), FP420G4Hit::getVz(), FP420G4Hit::getX(), FP420G4Hit::getY(), and FP420G4Hit::getZ().
00190 { 00191 os << " Data of this FP420G4Hit are:" << std::endl 00192 << " hitEntryLocalP: " << hit.getEntryLocalP() << std::endl 00193 << " hitExitLocalP: " << hit.getExitLocalP() << std::endl 00194 << " Time slice ID: " << hit.getTimeSliceID() << std::endl 00195 << " Time slice : " << hit.getTimeSlice() << std::endl 00196 << " Tof : " << hit.getTof() << std::endl 00197 << " EnergyDeposit = " << hit.getEnergyDeposit() << std::endl 00198 << " elmenergy = " << hit.getEM() << std::endl 00199 << " hadrenergy = " << hit.getHadr() << std::endl 00200 << " EnergyLoss = " << hit.getEnergyLoss() << std::endl 00201 << " ParticleType = " << hit.getParticleType() << std::endl 00202 << " ParticleType = " << hit.getParticleType() << std::endl 00203 << " Theta at Entry = " << hit.getThetaAtEntry() << std::endl 00204 << " Phi at Entry = " << hit.getPhiAtEntry() << std::endl 00205 << " X at Entry = " << hit.getX() << std::endl 00206 << " Y at Entry = " << hit.getY() << std::endl 00207 << " Z at Entry = " << hit.getZ() << std::endl 00208 << " VtxX = " << hit.getVx() << std::endl 00209 << " VtxY = " << hit.getVy() << std::endl 00210 << " VtxZ = " << hit.getVz() << std::endl 00211 << " parentID = " << hit.getParentId() << std::endl 00212 << " Pabs = " << hit.getPabs() << std::endl 00213 << " Energy of primary particle (ID = " << hit.getTrackID() 00214 << ") = " << hit.getIncidentEnergy() << " (MeV)"<<std::endl 00215 << " Entry point in FP420 unit number " << hit.getUnitID() 00216 << " is: " << hit.getEntry() << " (mm)" << std::endl; 00217 os << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" 00218 << std::endl; 00219 return os; 00220 }