Back to home page

EIC code displayed by LXR

 
 

    


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

0001      =========================================================
0002                   Geant4 - range 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 range example shows how to calculate range of electrons
0017 in liquid water using the Geant4-DNA physics processes and models.
0018 
0019 It is adapted from svalue.
0020 
0021 This example is provided by the Geant4-DNA collaboration.
0022 
0023 These processes and models are further described at:
0024 http://geant4-dna.org
0025 
0026 Any report or published results obtained using the Geant4-DNA software shall
0027 cite the following Geant4-DNA collaboration publications:
0028 Med. Phys. 45, (2018) e722-e739
0029 Phys. Med. 31 (2015) 861-874
0030 Med. Phys. 37 (2010) 4692-4708
0031 Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178
0032 
0033 ---->1. GEOMETRY SET-UP.
0034 
0035 The geometry is a 1 m radius sphere of liquid water (G4_WATER
0036 material). Particles are shot randomly from the sphere centre.
0037 
0038 Radius of the sphere, physics constructor and energy can be
0039 controlled by the range.in macro file.
0040 
0041 ---->2. SET-UP
0042 
0043 Make sure G4LEDATA points to the low energy electromagnetic data files.
0044 
0045 The code can be compiled with cmake.
0046 
0047 It works in MT mode.
0048 
0049 ---->3. HOW TO RUN THE EXAMPLE
0050 
0051 In interactive mode, run:
0052 
0053 ./range range.in
0054 
0055 The range.in macro allows a full control of the simulation.
0056 
0057 The histo.in macro is also provided for the creation of histograms.
0058 
0059 The computation of ranges is performed in the
0060 TrackingAction::PostUserTrackingAction method. The computation
0061 for electrons uses the primary particle track length and the computation
0062 for incident particles undergoing Geant4-DNA charge exchange processes, such
0063 as protons, hydrogen, alpha particles and their charge states, is specific.
0064 
0065 ---->4. PHYSICS
0066 
0067 You can select Geant4-DNA physics constructor in range.in.
0068 
0069 A tracking cut can be applied if requested.
0070 
0071 ---->5. SIMULATION OUTPUT AND RESULT ANALYSIS
0072 
0073 The output results consist in a text file (range.txt), containing :
0074 - energy of incident particles (in eV)
0075 - track length of primary particle (in nm)
0076 - rms of track length of primary particle (in nm)
0077 - projected length of primary particle (in nm)
0078 - rms of projected length of primary particle (in nm)
0079 - penetration of primary particle (in nm)
0080 - rms of penetration of primary particle (in nm)
0081 
0082 Note: rms values correspond to standard deviation.
0083 
0084 Results in this file can be displayed using the ROOT macro plot.C:
0085 root plot.C