Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
+36 -23
View File
@@ -7,7 +7,7 @@
CORRESPONDING AUTHOR
S. Incerti (a, *)
S. Incerti, M. Karamitros (a, *)
a. Centre d'Etudes Nucleaires de Bordeaux-Gradignan
(CENBG), IN2P3 / CNRS / Bordeaux 1 University, 33175 Gradignan, France
* e-mail:incerti@cenbg.in2p3.fr
@@ -17,9 +17,15 @@ a. Centre d'Etudes Nucleaires de Bordeaux-Gradignan
The dnaphysics example shows how to simulate track structures in liquid water
using the Geant4-DNA physics processes and models.
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:
Med. Phys. 37 (2010) 4692-4708
---->1. GEOMETRY SET-UP.
The geometry is a 100-micron side cube (World) made of liquid water (G4_WATER
@@ -34,26 +40,28 @@ Make sure G4LEDATA points to the low energy electromagnetic data files.
The variable G4ANALYSIS_USE must be set to 1.
The code can be compiled with gmake.
The code can be compiled with cmake.
It works in MT mode.
---->3. HOW TO RUN THE EXAMPLE
In interactive mode, run:
> $G4WORDIR/bin/$G4SYSTEM/dnahysics
./dnaphysics
The macro dna.mac is executed by default. It shows how to shoot different
particle types.
To get visualization, make sure to uncomment the #/control/execute vis.mac
line in the macro.
line in the macro (not recommended).
---->4. PHYSICS
This example shows:
- how to use the Geant4-DNA processes, using the G4EmDNAPhysics constructor
(look at the PhysicsList.cc file)
- how to affect them a name
- how to affect them a number
(look at the SteppingAction.cc file)
---->5. SIMULATION OUTPUT AND RESULT ANALYZIS
@@ -63,17 +71,22 @@ The output results consists in a dna.root file, containing for each simulation s
- the type of process for the current step
- the track position of the current step (in nanometers)
- the energy deposit along the current step (in eV)
- the step length (in nm)
- the total enery loss along the current step (in eV)
This file can be easily analyzed using for example the provided ROOT macro
file plot.C; to do so :
* be sure to have ROOT installed on your machine
* be sure to be in the dnaphysics directory
* launch ROOT by typing root
* be sure to be in the directory containing the ROOT files created by dnaphysics
* copy plot.C into this directory
* from there, launch ROOT by typing root
* under your ROOT session, type in : .X plot.C to execute the macro file
* alternatively you can type directly under your session : root plot.C
The naming scheme on the displayed ROOT plots is as follows (see SteppingAction.cc):
This is the same naming scheme as in the "microdosimetry" advanced example.
-particles:
e- : 1
@@ -91,26 +104,26 @@ e-_G4DNAIonisation 13
e-_G4DNAAttachment 14
e-_G4DNAVibExcitation 15
proton_G4DNAExcitation 16
proton_G4DNAIonisation 17
proton_G4DNAChargeDecrease 18
proton_G4DNAExcitation 17
proton_G4DNAIonisation 18
proton_G4DNAChargeDecrease 19
hydrogen_G4DNAExcitation 19
hydrogen_G4DNAIonisation 20
hydrogen_G4DNAChargeIncrease 21
hydrogen_G4DNAExcitation 20
hydrogen_G4DNAIonisation 21
hydrogen_G4DNAChargeIncrease 22
alpha_G4DNAExcitation 22
alpha_G4DNAIonisation 23
alpha_G4DNAChargeDecrease 24
alpha_G4DNAExcitation 23
alpha_G4DNAIonisation 24
alpha_G4DNAChargeDecrease 25
alpha+_G4DNAExcitation 25
alpha+_G4DNAIonisation 26
alpha+_G4DNAChargeDecrease 27
alpha+_G4DNAChargeIncrease 28
alpha+_G4DNAExcitation 26
alpha+_G4DNAIonisation 27
alpha+_G4DNAChargeDecrease 28
alpha+_G4DNAChargeIncrease 29
helium_G4DNAExcitation 29
helium_G4DNAIonisation 30
helium_G4DNAChargeIncrease 31
helium_G4DNAExcitation 30
helium_G4DNAIonisation 31
helium_G4DNAChargeIncrease 32
---------------------------------------------------------------------------