44 void G4RayShooter::SetInitialValues()
46 particle_definition = 0;
49 particle_energy = 1.0*
GeV;
50 particle_position = zero;
52 particle_polarization = zero;
61 if(!particle_definition)
65 particle_definition = particleTable->
FindParticle(particleName=
"geantino");
66 if(!particle_definition)
69 msg =
" G4RayTracer uses geantino to trace the ray, but your physics list does not\n";
70 msg +=
"define G4Geantino. Please add G4Geantino in your physics list.";
86 particle_polarization.
y(),
87 particle_polarization.
z());