test58 is the reference example for NIEL and nuclear stopping power calculations in Geant4. The implemented single scattering physics models (G4IonCoulombScatteringModel for protons and ions, G4eSingleScatteringModel for electrons) calculate NIEL by explicitly simulating Coulomb scattering interactions between incident particles and target nuclei. The accuracy opf this approach is discussed in Accuracy of test58 for NIEL deposition using single scattering models in GEANT4 simulations.
The physical values returned, computed as an average over the number of impinging particles, are:
- Total track lenght:
X0 , the effective lenght of the path traversed by the incoming particle inside the absorber. - Mean Number of Step:
NS , the number of interactions that were produced along the path. - Mean free path:
λ=X0/NS , the path traversed between two consecutive interactions. - Interaction Cross Section:
σ=(λ*n)-1 , where n is the number density of the target material. - Mean scattering angle:
the total deflection angle upon exiting the detector - Total Energy deposited:
the energy deposited by the physics processes defined in the physics list (e.g., ionization, displacement, ...) - Nuclear Recoil Energy deposited:
the energy deposited by nuclear recoil per unit length (MeV/cm or MeV·cm²/g). - NIEL:
the non-ionizing energy loss computed with the selected threshold energy. - Total Number of primary knock-on atoms (PKA):
the number of primary displaced atoms. - Mean Kinetic Energy of PKA:
the average kinetic energy of the primary knock-on atoms. - Total Frenkel-pairs concentration:
FP=Edis/(2.5*Th) , the concentration of stable defects, where Edis is the energy that goes into displacement and Th is the selected threshold energy for displacement.
Two examples, with protons and electrons as incident particles are provided.
Protons
A single proton with an energy of 10 MeV impinges on a silicon cube (1 × 1 × 1 cm³). The threshold energy for displacement is set to 21 eV. The only physical process selected in the physics list is single Coulomb scattering. The resulting output is as follows:
The visualization of the event is also provided. The big external box is the world where the event took place. The internal box is the Silicon absorber (1 × 1 × 1 cm³). The impinging proton track is in cyan and the projected direction of the displaced Silicon atoms are in light grey.

Electrons
A single electron of 10 MeV energy is impinging on a Silicon cube (1 × 1 × 1 cm³). The threshold energy for displacement is set to 21 eV. The only physical process selected in the physic list is the single coulomb scattering. The output result is given:

The visualization of the event is also provided. The big external box is the world where the event took place. The internal box is the Silicon absorber (1 × 1 × 1 cm³). The impinging electron track is in red and the projected direction of the displaced silicon atoms are in light grey.





