Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const BscG4Hit & |
hit |
|
) |
| |
Definition at line 189 of file BSCG4Hit.cc.
References BscG4Hit::getEM(), BscG4Hit::getEnergyDeposit(), BscG4Hit::getEnergyLoss(), BscG4Hit::getEntry(), BscG4Hit::getEntryLocalP(), BscG4Hit::getExitLocalP(), BscG4Hit::getHadr(), BscG4Hit::getIncidentEnergy(), BscG4Hit::getPabs(), BscG4Hit::getParticleType(), BscG4Hit::getTimeSlice(), BscG4Hit::getTimeSliceID(), BscG4Hit::getTof(), BscG4Hit::getTrackID(), and BscG4Hit::getUnitID().
190 os <<
" Data of this BscG4Hit are:" << std::endl
195 <<
" Tof : " << hit.
getTof() << std::endl
197 <<
" elmenergy = " << hit.
getEM() << std::endl
198 <<
" hadrenergy = " << hit.
getHadr() << std::endl
201 <<
" Pabs = " << hit.
getPabs() << std::endl
202 <<
" Energy of primary particle (ID = " << hit.
getTrackID()
204 <<
" Entry point in Bsc unit number " << hit.
getUnitID()
205 <<
" is: " << hit.
getEntry() <<
" (mm)" << std::endl;
206 os <<
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
G4ThreeVector getEntryLocalP() const
int getParticleType() const
unsigned int getUnitID() const
int getTimeSliceID() const
G4ThreeVector getExitLocalP() const
double getEnergyDeposit() const
G4ThreeVector getEntry() const
double getIncidentEnergy() const
double getTimeSlice() const
float getEnergyLoss() const