70 std::cout <<
"Particle name : " << GetParticleName() << std::endl;
71 std::cout <<
"Charge : " << GetParticleCharge() << std::endl;
72 std::cout <<
"Energy : " << GetEnergy() <<
" keV" << std::endl;
73 std::cout <<
"Excitation level : " << GetExcitationLevel() << std::endl;
74 std::cout <<
"X : " << GetOrigin().X() <<
"mm Y : " << GetOrigin().Y() <<
"mm Z : " << GetOrigin().Z()
76 std::cout <<
"Px : " << GetMomentumDirection().X() <<
" Py : " << GetMomentumDirection().Y()
77 <<
" Pz : " << GetMomentumDirection().Z() << std::endl;
78 std::cout <<
" ---------------------- " << std::endl;
A class used to store particle properties.
void SetParticle(TRestGeant4Particle particle)
A copy method.
void Print() const
Prints on screen the details about the Geant4 simulation conditions, stored in TRestGeant4Metadata.