Back to home page

EIC code displayed by LXR

 
 

    


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

0001      =========================================================
0002                   Geant4 - mfp 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 mfp example shows how to calculate mean free path of particles
0017 in liquid water using the Geant4-DNA physics processes and models.
0018 
0019 It has been adapted from the spower and TestEm14 examples.
0020 
0021 This example is provided by the Geant4-DNA collaboration.
0022 
0023 The Geant4-DNA 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. 51 (2024) 5873–5889
0029 Med. Phys. 45 (2018) e722-e739
0030 Phys. Med. 31 (2015) 861-874
0031 Med. Phys. 37 (2010) 4692-4708
0032 Int. J. Model. Simul. Sci. Comput. 1 (2010) 157–178
0033 
0034 ---->1. GEOMETRY SET-UP.
0035 
0036 The geometry is a 1 m radius sphere of liquid water (G4_WATER
0037 material). Particles are shot along x from the sphere centre.
0038 
0039 Radius of the sphere, physics constructor, primary particle type and
0040 energy can be controlled by the mfp.in macro file.
0041 
0042 ---->2. SET-UP
0043 
0044 Make sure G4LEDATA points to the low energy electromagnetic data files.
0045 
0046 The code can be compiled with cmake.
0047 
0048 It works in MT mode.
0049 
0050 ---->3. HOW TO RUN THE EXAMPLE
0051 
0052 Use:
0053 
0054 ./mfp mfp.in
0055 
0056 The mfp.in macro allows a full control of the simulation.
0057 
0058 The computation of MFP and other quantities is performed in the
0059 SteppingAction::UserSteppingAction method.
0060 
0061 The histo.in macro shows how to display several quantities
0062 (energy spectrum, scattering angle along x) of primary and secondaries.
0063 
0064 ---->4. PHYSICS
0065 
0066 G4EmDNAPhysics* constructors are used.
0067 
0068 ---->5. SIMULATION OUTPUT AND RESULT ANALYSIS
0069 
0070 The output results consist in a text file (mfp.txt), containing:
0071 - energy of incident particles (in eV)
0072 - mfp (in nm)
0073 - rms (i.e. standard deviation) on mfp (in nm)
0074 
0075 Otherwise you may use histo.in to generate ROOT histograms of the
0076 other quantities.