Warning, /geant4/examples/extended/medical/dna/spower/README.md is written in an unsupported language. File is not indexed.
0001 \page Examplespower Example spower
0002
0003 \author S. Incerti et al. (a, *) \n
0004 a. LP2i, IN2P3 / CNRS / Bordeaux University, 33175 Gradignan, France \n
0005 * e-mail: incerti@lp2ib.in2p3.fr \n
0006
0007 ## INTRODUCTION.
0008
0009 The spower example shows how to calculate stopping power of particles
0010 in liquid water using the Geant4-DNA physics processes and models.
0011
0012 This example is provided by the Geant4-DNA collaboration.
0013
0014 These processes and models are further described at:
0015 http://geant4-dna.org
0016
0017 Any report or published results obtained using the Geant4-DNA software shall
0018 cite the following Geant4-DNA collaboration publications: \n
0019 Med. Phys. 51 (2024) 5873–5889 \n
0020 Med. Phys. 45 (2018) e722-e739 \n
0021 Phys. Med. 31 (2015) 861-874 \n
0022 Med. Phys. 37 (2010) 4692-4708 \n
0023 Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178
0024
0025 and for this example: \n
0026 Nucl. Instrum. Meth. B 397 (2017) 45-50.
0027
0028 ## GEOMETRY SET-UP
0029
0030 The geometry is a 1 m radius sphere of liquid water (G4_WATER
0031 material). Particles are shot randomly from the sphere centre.
0032
0033 Radius of the sphere, physics constructor, primary particle and
0034 energy can be controlled by the spower.in macro file.
0035
0036 ## SET-UP
0037
0038 Make sure G4LEDATA points to the low energy electromagnetic data files.
0039
0040 The code can be compiled with cmake.
0041
0042 It works in MT mode.
0043
0044 ## HOW TO RUN THE EXAMPLE
0045
0046 In interactive mode, run:
0047
0048 ```
0049 ./spower spower.in
0050 ```
0051
0052 The spower.in macro allows a full control of the simulation.
0053
0054 The computation of stopping power is performed in the
0055 SteppingAction::UserSteppingAction method.
0056
0057 ## PHYSICS
0058
0059 Specific physics constructors, called G4EmDNAPhysics_stationary*
0060 and adapted from G4EmDNAPhysics* are available to set all inelastic
0061 models in a stationary mode for the computation of the stopping
0062 power.
0063
0064 ## SIMULATION OUTPUT AND RESULT ANALYSIS
0065
0066 The accuracy of results may depend on incident statistics as well as
0067 on number of steps specified in the SteppingAction::UserSteppingAction
0068 method.
0069
0070 The output results consist in a text file (spower.txt), containing :
0071 - energy of incident particles (in eV)
0072 - stopping power (in keV/um)
0073 - rms (i.e. standard deviation) on stopping power (in keV/um)
0074
0075 A ROOT file, spower.root, is also provided for the scoring of secondary electrons.
0076 The Geant4 secondary.in example macro can be used to run the corresponding simulation.
0077 The plot.C ROOT macro can then be used to display their energy spectrum.