Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/medical/dna/spower/README is written in an unsupported language. File is not indexed.

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