Go to the source code of this file.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const BscG4Hit & |
hit |
|
) |
| |
Definition at line 130 of file BSCG4Hit.cc.
131 os <<
" Data of this BscG4Hit are:" << std::endl
132 <<
" hitEntryLocalP: " <<
hit.getEntryLocalP() << std::endl
133 <<
" hitExitLocalP: " <<
hit.getExitLocalP() << std::endl
134 <<
" Time slice ID: " <<
hit.getTimeSliceID() << std::endl
135 <<
" Time slice : " <<
hit.getTimeSlice() << std::endl
136 <<
" Tof : " <<
hit.getTof() << std::endl
137 <<
" EnergyDeposit = " <<
hit.getEnergyDeposit() << std::endl
138 <<
" elmenergy = " <<
hit.getEM() << std::endl
139 <<
" hadrenergy = " <<
hit.getHadr() << std::endl
140 <<
" EnergyLoss = " <<
hit.getEnergyLoss() << std::endl
141 <<
" ParticleType = " <<
hit.getParticleType() << std::endl
142 <<
" Pabs = " <<
hit.getPabs() << std::endl
143 <<
" Energy of primary particle (ID = " <<
hit.getTrackID() <<
") = " <<
hit.getIncidentEnergy() <<
" (MeV)"
145 <<
" Entry point in Bsc unit number " <<
hit.getUnitID() <<
" is: " <<
hit.getEntry() <<
" (mm)" << std::endl;
146 os <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << std::endl;