The svalue example shows how to calculate monoenergetic S values in liquid water using the Geant4-DNA physics processes and models.
It is adapted from TestEm12.
This example is provided by the Geant4-DNA collaboration.
These processes and models are further described at: http://geant4-dna.org
Any report or published results obtained using the Geant4-DNA software shall cite the following Geant4-DNA collaboration publications: Phys. Med. 31 (2015) 861-874 Med. Phys. 37 (2010) 4692-4708
The geometry is a 10-nm radius sphere of liquid water (G4_WATER material). Particles are shot randomly inside the sphere. Surrounding medium is not considered.
Radius of the sphere, particle type and energy can be controlled by the svalue.in macro file.
The PrimaryGeneratorAction class is adapted (G4 state dependent) in order to enable generic physics list usage (empty modular physics list).
Make sure G4LEDATA points to the low energy electromagnetic data files.
The code can be compiled with cmake.
It works in MT mode.
In interactive mode, run:
./svalue svalue.in
The svalue.in macro allows a full control of the simulation.
You can select Geant4-DNA physics constructor in svalue.in.
A tracking cut can be applied if requested.
The output results consist in a text file (s.txt), containing :
Note: rms values correspond to standard deviation.
Should you have any enquiry, please do not hesitate to contact: incer.nosp@m.ti@c.nosp@m.enbg..nosp@m.in2p.nosp@m.3.fr