The wvalue example shows how to calculate w in liquid water for e- using the Geant4-DNA physics processes and models.
w is computed as the ratio of the incident particle energy and the total number of ionisations.
It is adapted from svalue.
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 publication: Phys. Med. 31 (2015) 861-874 Med. Phys. 37 (2010) 4692-4708
This example is presented in the following paper, which shall also be cited: Med. Phys. 42 (2015) 3870-3876
The geometry is a 1 m radius sphere of liquid water (G4_WATER material). Particles are shot randomly from the sphere centre.
Radius of the sphere, physics constructor and energy can be controlled by the wvalue.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:
./wvalue wvalue.in
The wvalue.in macro allows a full control of the simulation.
You can select Geant4-DNA physics constructor in wvalue.in.
A tracking cut can be applied if requested.
The output results consist in a text file (wvalue.txt), containing :
Note: rms values correspond to standard deviation.
In addition, another macro (histo.in) is also provided including a series of histograms :
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