Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
@@ -1,6 +1,9 @@
#---Adding all electromagnetic examples subdirectories explicitly
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
add_subdirectory(TestEm0)
add_subdirectory(TestEm1)
+9 -3
View File
@@ -13,6 +13,12 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
13-11-20 B. Morgan (electromagnetic-V10-06-01)
- Enforce use of Serial RunManager for serial-only examples.
03-11-20 B. Morgan (electromagnetic-V10-06-00)
- Support same CMake version range as core Geant4
01-04-13 A.Dotti (electromagnetic-V09-06-00,electromagnetic-V09-06-01)
- Collect tags needed for new physics list APIs needed for MT
@@ -20,9 +26,9 @@ track of all tags.
- Updated documentation:
- Fixed .README files for artefacts from Markdown support
- Removed obsolete instructions (how to compile & link)
02-11-08 mma (electromagnetic-V09-01-01)
- all PhysListEmStandard: update EM options (~option_3)
- all PhysListEmStandard: update EM options (~option_3)
27-08-08 mma (electromagnetic-V09-01-00)
- create README
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm0)
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -155,7 +155,7 @@
Imean: 470.000 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Ag (Ag) Z = 47.0 N = 108 A = 107.868 g/mole
---> Isotope: Ag107 Z = 47 N = 107 A = 106.90 g/mole abundance: 51.839 %
---> Isotope: Ag107 Z = 47 N = 107 A = 106.91 g/mole abundance: 51.839 %
---> Isotope: Ag109 Z = 47 N = 109 A = 108.91 g/mole abundance: 48.161 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -280,7 +280,9 @@ Number of bins per decade of a table 20
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary is added to the list of secondary 100 TeV
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
@@ -326,6 +328,7 @@ Factor used for dynamic computation of angular
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
@@ -345,7 +348,7 @@ Type of PIXE cross section for e+- Livermore
Index : 0 used in the geometry : Yes
Material : Germanium
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.6831 keV e- 871.363 keV e+ 819.636 keV proton 100 keV
Energy thresholds : gamma 20.7332 keV e- 870.964 keV e+ 825.404 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -361,30 +364,30 @@ Index : 0 used in the geometry : Yes
compCrossSectionPerVolume : 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0338962 cm^-1 0.599999 cm^-1
cross section per volume : 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0338999 cm^-1 0.600002 cm^-1
cross section per mass : 1.43123 mm2/g 9.20379 mm2/g 0 um2/mg 636.857 um2/mg 11.2719 mm2/g
cross section per volume : 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0339035 cm^-1 0.600006 cm^-1
cross section per mass : 1.43123 mm2/g 9.20379 mm2/g 0 um2/mg 636.924 um2/mg 11.2719 mm2/g
mean free path : 13.126 cm 2.04116 cm 5.82593e+288 pc 29.4986 cm 1.66666 cm
(g/cm2) : 69.8699 g/cm2 10.8651 g/cm2 2.88022e+285 kg/cm2 157.021 g/cm2 8.87163 g/cm2
mean free path : 13.126 cm 2.04116 cm 5.82593e+288 pc 29.4955 cm 1.66665 cm
(g/cm2) : 69.8699 g/cm2 10.8651 g/cm2 2.88022e+285 kg/cm2 157.005 g/cm2 8.87158 g/cm2
-----------------------------------------------------------
Run terminated.
Run Summary
Number of events processed : 1
User=0.000000s Real=0.000590s Sys=0.000000s
User=0.000000s Real=0.000471s Sys=0.000000s
========= Table of registered couples ============================
Index : 0 used in the geometry : No
Material : Germanium
Range cuts : gamma 100 um e- 100 um e+ 100 um proton 100 um
Energy thresholds : gamma 5.9441 keV e- 173.461 keV e+ 169.526 keV proton 10 keV
Energy thresholds : gamma 5.93381 keV e- 173.78 keV e+ 169.824 keV proton 10 keV
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 100 um e- 100 um e+ 100 um proton 100 um
Energy thresholds : gamma 1.11304 keV e- 85.1594 keV e+ 83.5462 keV proton 10 keV
Energy thresholds : gamma 1.11344 keV e- 85.1138 keV e+ 83.8172 keV proton 10 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -395,30 +398,30 @@ Index : 1 used in the geometry : Yes
e- (10 MeV) in Water (density: 1 g/cm3 radiation length: 36.0924 cm )
Range cuts : gamma 100 um e- 100 um
Energy cuts : gamma 1.11304 keV e- 85.1594 keV
Energy cuts : gamma 1.11344 keV e- 85.1138 keV
Max_energy _transferable : 5 MeV (2.53529 cm )
processes : eIoni eBrem ePairProd total
compCrossSectionPerVolume : 0.994224 cm^-1 0.325115 cm^-1 0 cm^-1 1.31934 cm^-1
cross section per volume : 0.994224 cm^-1 0.325039 cm^-1 0 cm^-1 1.31926 cm^-1
cross section per mass : 99.4224 mm2/g 32.5039 mm2/g 0 um2/mg 1.31926 cm2/g
compCrossSectionPerVolume : 0.994761 cm^-1 0.325102 cm^-1 0 cm^-1 1.31986 cm^-1
cross section per volume : 0.994761 cm^-1 0.325093 cm^-1 0 cm^-1 1.31985 cm^-1
cross section per mass : 99.4761 mm2/g 32.5093 mm2/g 0 um2/mg 1.31985 cm2/g
mean free path : 1.00581 cm 3.07655 cm 5.82593e+288 pc 7.57999 mm
(g/cm2) : 1.00581 g/cm2 3.07655 g/cm2 2.88022e+285 kg/cm2 757.999 mg/cm2
mean free path : 1.00527 cm 3.07604 cm 5.82593e+288 pc 7.57659 mm
(g/cm2) : 1.00527 g/cm2 3.07604 g/cm2 2.88022e+285 kg/cm2 757.659 mg/cm2
restricted dE/dx : 1.61332 MeV/cm 25.6289 eV/cm 0 eV/cm 1.61335 MeV/cm
(MeV/g/cm2) : 1.61332 MeV*cm2/g 25.6289 eV*cm2/g 0 eV*cm2/g 1.61335 MeV*cm2/g
restricted dE/dx : 1.61328 MeV/cm 25.6439 eV/cm 0 eV/cm 1.6133 MeV/cm
(MeV/g/cm2) : 1.61328 MeV*cm2/g 25.6439 eV*cm2/g 0 eV*cm2/g 1.6133 MeV*cm2/g
unrestricted dE/dx : 1.99147 MeV/cm 181.698 keV/cm 0 eV/cm 2.17317 MeV/cm
(MeV/g/cm2) : 1.99147 MeV*cm2/g 181.698 keV*cm2/g 0 eV*cm2/g 2.17317 MeV*cm2/g
range from restrict dE/dx: 6.07199 cm ( 6.07199 g/cm2 )
range from restrict dE/dx: 6.07217 cm ( 6.07217 g/cm2 )
range from full dE/dx : 4.93182 cm ( 4.93182 g/cm2 )
transport mean free path : 27.7692 cm ( 27.7692 g/cm2 )
transport mean free path : 27.828 cm ( 27.828 g/cm2 )
critical energy (Rossi) : 78.7732 MeV
Moliere radius : 0.269193 X0 = 9.71583 cm
@@ -427,7 +430,7 @@ Index : 1 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1
User=0.000000s Real=0.000435s Sys=0.000000s
User=0.000000s Real=0.000242s Sys=0.000000s
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
@@ -109,7 +109,25 @@ Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- brems.mac: Bremsstrahlung only
- erange.mac: compute the csda range of primary particle
- geantino.mac: geantino as primary particle
- ionis.mac: Ionisation only
- photoelec.mac: 100 keV photon photoelectric effect
- radioactive.mac: use radioactive ion as primary particle
- range.mac: compute the csda range of the primary particle
with or without fluctuations
- runs.mac: electron 100 MeV; all processes
Macros to be run interactively:
- annihil.mac: To visualise 100 MeV e+ annihilation
- decayinfly.mac: To visualise decay in fly of N16
- gammaconversion.mac: To visualise gamma conversion and e+ annihilation
- photon.mac: To visualiza p300 keV photon beam
- vis.mac: To activate visualization
\section TestEm1_s7 TRACKING : StepMax
In order to control the accuracy of the deposition, the user can limit
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm1)
#----------------------------------------------------------------------------
@@ -14,6 +14,16 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
03-09-20 I.Hrivnacova, mma (testem1-V10-06-02)
- Revied macros:
Added macro description in README.
05-08-20 A.Ribon (testem1-V10-06-01)
- radioactive.mac : migrated UI command from "/grdm/nucleusLimits"
to "/process/had/rdm/nucleusLimits"
(this was done for completeness, although not necessary because
the comment is currently commented out).
14-01-20 V.Ivanchenko (testem1-V10-06-00)
- PhysicsList - use G4RadioactiveDecayBase instead of obsolete
G4RadioactiveDecay and minor code cleanup
@@ -106,7 +106,25 @@
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- brems.mac: Bremsstrahlung only
- erange.mac: compute the csda range of primary particle
- geantino.mac: geantino as primary particle
- ionis.mac: Ionisation only
- photoelec.mac: 100 keV photon photoelectric effect
- radioactive.mac: use radioactive ion as primary particle
- range.mac: compute the csda range of the primary particle
with or without fluctuations
- runs.mac: electron 100 MeV; all processes
Macros to be run interactively:
- annihil.mac: To visualise 100 MeV e+ annihilation
- decayinfly.mac: To visualise decay in fly of N16
- gammaconversion.mac: To visualise gamma conversion and e+ annihilation
- photon.mac: To visualiza p300 keV photon beam
- vis.mac: To activate visualization
7 - TRACKING : StepMax
In order to control the accuracy of the deposition, the user can limit
@@ -139,4 +157,4 @@
It is also possible to print selected histograms on an ascii file:
/analysis/h1/setAscii id
All selected histos will be written on a file name.ascii (default testem1)
All selected histos will be written on a file name.ascii (default testem1)
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -54,7 +54,7 @@
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: CO2 density: 0.001 kg/m3 RadL: 361.873 km Nucl.Int.Length: 858.384 km
Material: CO2 density: 0.001 mg/cm3 RadL: 361.873 km Nucl.Int.Length: 858.384 km
Imean: 90.958 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Hydrogen (C) Z = 6.0 N = 12 A = 12.000 g/mole
@@ -69,7 +69,7 @@
ElmMassFraction: 72.73 % ElmAbundance 66.67 %
Material: D2_gas density: 0.036 kg/m3 RadL: 34.993 km Nucl.Int.Length: 9.722 km
Material: D2_gas density: 0.036 mg/cm3 RadL: 34.993 km Nucl.Int.Length: 9.722 km
Imean: 19.200 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Heavy-Hydrogen (D) Z = 1.0 N = 2 A = 2.014 g/mole
@@ -246,7 +246,7 @@
ElmMassFraction: 5.22 % ElmAbundance 57.49 %
Material: Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 113427275.267 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -311,7 +311,9 @@ Number of bins per decade of a table 7
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary is added to the list of secondary 100 TeV
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
@@ -357,6 +359,7 @@ Factor used for dynamic computation of angular
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
@@ -396,7 +399,7 @@ Use Bearden atomic level energies 0
Index : 0 used in the geometry : Yes
Material : Aluminium
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.89704 keV e- 597.831 keV e+ 572.651 keV proton 100 keV
Energy thresholds : gamma 6.89843 keV e- 599.101 keV e+ 573.786 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -422,31 +425,31 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 2000
User=2.660000s Real=2.668387s Sys=0.010000s
User=1.610000s Real=1.619178s Sys=0.000000s
======================== run summary ======================
The run is: 2000 e- of 100 MeV through 10 m of Aluminium (density: 2.7 g/cm3 )
Total energy deposit: 99.819 MeV
Total energy deposit: 99.827 MeV
NIEL energy calculated: 0 eV
Nb tracks/event neutral: 25.23 charged: 137.09
Nb steps/event neutral: 139.79 charged: 202.9
Nb tracks/event neutral: 25.128 charged: 137.12
Nb steps/event neutral: 139.35 charged: 202.9
Process calls frequency :
CoulombScat= 2 Rayl= 18682 Transportation= 1796
annihil= 2699 compt= 210435 conv= 2684
eBrem= 46204 eIoni= 356515 msc= 367
phot= 45985
Rayl= 17745 Transportation= 1796 annihil= 2806
compt= 210700 conv= 2785 eBrem= 45775
eIoni= 356921 msc= 296 phot= 45680
---------------------------------------------------------
Primary particle :
true Range = 11.261 cm rms = 3.7628 cm
proj Range = 9.8133 cm rms = 3.4783 cm
proj/true = 0.87141
transverse dispersion at end = 1.6391 cm
mass true Range from simulation = 30.406 g/cm2
true Range = 11.099 cm rms = 3.8634 cm
proj Range = 9.6568 cm rms = 3.5968 cm
proj/true = 0.87009
transverse dispersion at end = 1.6112 cm
mass true Range from simulation = 29.966 g/cm2
from PhysicsTable (csda range) = 32.101 g/cm2
---------------------------------------------------------
@@ -454,7 +457,7 @@ Run Summary
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={1302914586364516192, 981470369480427572, 2160502346718828356, 429787929074918439, 1808516940691426334, 698748172330148046, 2191967554294380159, 261909875613768565, 98089926860429589, 889034164219562401, 1469965970424315298, 1044070984276865562, 950537578583079633, 443060070319592163, 1678330447352259494, 203574551500751827, 1524677366059732756} counter= 6sumtot= 1996257769669144729
N=17 V[N]={511862276547668598, 1471172288461575206, 1128851390031159049, 986176925366361558, 1714976611656641989, 585612007627498246, 1310561837954673793, 1928477068593323800, 1745855577386704779, 1426413875986992036, 1452014596195759837, 144364650739019718, 1973405502184080304, 364138860850256971, 100193770972482617, 2029412755232034316, 1686421473982614873} counter= 2sumtot= 2113167396059296082
---------------------------------------
#
/gun/particle proton
@@ -465,7 +468,7 @@ N=17 V[N]={1302914586364516192, 981470369480427572, 2160502346718828356, 4297879
Index : 0 used in the geometry : Yes
Material : Aluminium
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.89704 keV e- 597.831 keV e+ 572.651 keV proton 100 keV
Energy thresholds : gamma 6.89843 keV e- 599.101 keV e+ 573.786 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -476,7 +479,7 @@ Index : 0 used in the geometry : Yes
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={1302914586364516192, 981470369480427572, 2160502346718828356, 429787929074918439, 1808516940691426334, 698748172330148046, 2191967554294380159, 261909875613768565, 98089926860429589, 889034164219562401, 1469965970424315298, 1044070984276865562, 950537578583079633, 443060070319592163, 1678330447352259494, 203574551500751827, 1524677366059732756} counter= 6sumtot= 1996257769669144729
N=17 V[N]={511862276547668598, 1471172288461575206, 1128851390031159049, 986176925366361558, 1714976611656641989, 585612007627498246, 1310561837954673793, 1928477068593323800, 1745855577386704779, 1426413875986992036, 1452014596195759837, 144364650739019718, 1973405502184080304, 364138860850256971, 100193770972482617, 2029412755232034316, 1686421473982614873} counter= 2sumtot= 2113167396059296082
---------------------------------------
--> Event 0 starts.
--> Event 200 starts.
@@ -491,42 +494,42 @@ N=17 V[N]={1302914586364516192, 981470369480427572, 2160502346718828356, 4297879
Run terminated.
Run Summary
Number of events processed : 2000
User=0.230000s Real=0.230819s Sys=0.000000s
User=0.070000s Real=0.071886s Sys=0.000000s
======================== run summary ======================
The run is: 2000 proton of 100 MeV through 10 m of Aluminium (density: 2.7 g/cm3 )
Total energy deposit: 100 MeV
NIEL energy calculated: 203.15 eV
NIEL energy calculated: 230.53 eV
Nb tracks/event neutral: 0 charged: 1.0115
Nb steps/event neutral: 0 charged: 19.233
Nb tracks/event neutral: 0 charged: 1.011
Nb steps/event neutral: 0 charged: 19.311
Process calls frequency :
CoulombScat= 57 RadioactiveDecayBase= 23 hIoni= 38364
ionIoni= 23
CoulombScat= 55 RadioactiveDecayBase= 22 hIoni= 38524
ionIoni= 22
---------------------------------------------------------
Primary particle :
true Range = 3.7118 cm rms = 409.95 um
proj Range = 3.7034 cm rms = 431.89 um
proj/true = 0.99773
transverse dispersion at end = 1.1246 mm
mass true Range from simulation = 10.022 g/cm2
from PhysicsTable (csda range) = 10.012 g/cm2
true Range = 3.7132 cm rms = 412.14 um
proj Range = 3.7048 cm rms = 425.83 um
proj/true = 0.99775
transverse dispersion at end = 1.1239 mm
mass true Range from simulation = 10.026 g/cm2
from PhysicsTable (csda range) = 10.013 g/cm2
---------------------------------------------------------
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={417212715860133423, 797475141997434162, 1924011096229498372, 1331368251629480060, 1397920013137059242, 1535453008484133520, 442812139949888600, 2280871965286744316, 202809921529404713, 2184402420635843947, 1908678186735148794, 869640362843451000, 1093219461757191434, 760010657361176867, 732134659819899150, 652372012853418261, 1486860334026738953} counter= 4sumtot= 1570508276427093206
N=17 V[N]={2242478760734191844, 367404330490087245, 45194397492864290, 1268791187056359920, 1662323814748851017, 1464932188731583832, 562075691796711105, 1863622584876278003, 1704574723025588234, 963592955979266590, 543515433432620312, 464598867962878693, 641770506223233834, 2042532019127553785, 346259490809042034, 998315733089559582, 244586720294023349} counter= 8sumtot= 1285668341374836012
---------------------------------------
#
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.036 MB
Dynamic pools deleted: 9 / Total memory freed: 0.037 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -20,7 +20,7 @@
/gun/energy 0 eV
/gun/position 0 0 0 mm
#
###/grdm/nucleusLimits 210 210 82 82
###/process/had/rdm/nucleusLimits 210 210 82 82
#
/analysis/setFileName rdecay
/analysis/h1/set 4 100 0 3 MeV #total edep
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm10)
#----------------------------------------------------------------------------
@@ -14,6 +14,12 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
13-11-20 B. Morgan (testem10-V10-06-01)
- Enforce use of Serial RunManager.
10-11-20 B. Morgan (testem10-V10-06-00)
- Migration to G4RunManagerFactory.
07-04-18 m. maire (testem10-V10-04-01)
- testem10.cc : set visualiation only in interactive mode
@@ -21,7 +27,7 @@ track of all tags.
- testem10.cc : remove G4UI_USE and G4VIS_USE
10-11-16 V.Ivanchenko (testem10-V10-02-03)
- DetectorConstruction, DetectorSimpleALICE - removed run time
- DetectorConstruction, DetectorSimpleALICE - removed run time
warning by proper definition cuts per region
14-10-16 G.Folger (testem10-V10-02-02)
@@ -35,12 +41,12 @@ track of all tags.
- Major example revision & clean-up:
- Removed Em10 prefix from class names to be consistent with other examples
in electromagnetic category
- Refactored detector construction & its messenger classes
- Refactored detector construction & its messenger classes
- Revised scoring: removed unused code and replaced own-defined
histograms with Geant4 analysis
- Added StackingAction which accounts XTR gamma, all gamma and all e-
spectra
- PhysicsList changed to a modular physics list and introduced
spectra
- PhysicsList changed to a modular physics list and introduced
TransitionRadiationPhysics builder
- Clean-up primary generator action
- Added test_suite.sh script
@@ -56,7 +62,7 @@ track of all tags.
01-04-13 A.Dotti (testem10-V09-05-05,testem10-V09-05-06)
- New G4VUserPhysicsList interface
13-02-13 I.Hrivnacova
13-02-13 I.Hrivnacova
- Applied coding guidelines (virtual keyword, data members initialization)
28-11-12 G.Cosmo (testem10-V09-05-04)
@@ -66,54 +72,54 @@ track of all tags.
- Migration to the updated analysis tool
18-08-12 V.Ivant (testem10-V09-05-02)
- Em10SteppingAction - rewritten (old code was very non-optimized and
- Em10SteppingAction - rewritten (old code was very non-optimized and
provides crashes)
11-07-12 V.Ivant (testem10-V09-05-01)
- Em10RunAction - cleanup initialisation
10-07-12 V.Ivant (testem10-V09-05-00)
- Em10RunAction - fixed write outside boundaries of C-array
- Em10RunAction - fixed write outside boundaries of C-array
03-10-11 G.Folger (testem10-V09-04-00)
- Fix gcc46 compilation warning in Em10PrimaryGeneratorAction.cc
- Fix gcc46 compilation warning in Em10PrimaryGeneratorAction.cc
and src/Em10Materials.cc
03-06-10 J.Perl (testem10-V09-03-01)
- Updated vis usage
- Updated vis usage
21-05-10 mma (testem10-V09-03-00)
- TestEm10.cc : introduction of G4UIExecutive
21-11-09 V.Ivant (testem10-V09-02-00)
- update PhysList according to 9.3
- update PhysList according to 9.3
12-06-08 mma (testem10-V09-01-01)
- Remove AIDA from GNUmakefile
- Remove AIDA from GNUmakefile
07-05-08 mma (testem10-V09-01-00)
- README : update Aida informations
27-07-07 V.Ivant (testem10-V09-00-00)
- Create VisManager only for interactive session, improve destructor
of Em10DetectorConstruction class
25-10-06 mma (testem10-V08-01-00)
25-10-06 mma (testem10-V08-01-00)
- GNUmakefile : LOADLIBS
22 May 05: V.Ivant (testem10-V08-00-01)
- Remove extra files
19 May 05: V.Ivant (testem10-V08-00-00)
- V.Grichine cleanup
- V.Grichine cleanup
06 Dec 05: Gabriele Cosmo
- Trivial changes for support of CLHEP-2.0.X series.
29 Oct 05: V.Ivant (testem10-V07-01-01)
- V.Grichine:Production cuts were moved to Physics list providing
independent gamma, electron and positron cuts in radiator
and detector regions.
- V.Grichine:Production cuts were moved to Physics list providing
independent gamma, electron and positron cuts in radiator
and detector regions.
15 Oct 05: V.Ivant (testem10-V07-01-00)
- Updated PhysicsList
@@ -135,7 +141,7 @@ track of all tags.
27-08-03 V.Ivant (testem10-V05-02-00)
- Remove obsolete interfaces
- Substitute in the PhysicsList processes by those of 5.2 realise
- Substitute in the PhysicsList processes by those of 5.2 realise
20 Feb. 2003 Vladimir Ivanchenko (testem10-V05-00-00)
- Migrade to cut per region
@@ -32,7 +32,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4RunManager.hh"
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "Randomize.hh"
@@ -47,8 +47,8 @@
#include "G4VisExecutive.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
int main(int argc,char** argv)
int main(int argc,char** argv)
{
//detect interactive mode (if no arguments) and define UI session
@@ -57,9 +57,9 @@ int main(int argc,char** argv)
//choose the Random engine
CLHEP::HepRandom::setTheEngine(new CLHEP::RanecuEngine);
//construct the default run manager
G4RunManager * runManager = new G4RunManager;
//construct a serial run manager
auto* runManager = G4RunManagerFactory::CreateRunManager(G4RunManagerType::SerialOnly);
//set mandatory initialization classes
DetectorConstruction* detector;
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -59,10 +59,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -87,70 +88,71 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
Lorentz Factor XTR photon number
107.6 0.0003516
123 0.0006162
140.7 0.001063
161 0.001462
184.2 0.002731
210.8 0.004544
241.2 0.005942
276.1 0.00888
316 0.01662
361.6 0.02875
414 0.04088
473.9 0.05028
542.4 0.06057
621 0.07842
710.9 0.1139
813.9 0.1726
931.8 0.2712
1067 0.4029
1221 0.5447
1398 0.6784
1601 0.9513
1833 1.348
2099 1.719
2403 2.032
2752 2.287
3151 2.489
3607 2.646
4131 2.767
4730 2.859
5415 2.929
6201 2.983
7100 3.024
8130 3.055
9309 3.078
1.066e+04 3.097
1.22e+04 3.11
1.397e+04 3.121
1.6e+04 3.129
1.832e+04 3.135
2.098e+04 3.14
2.402e+04 3.143
2.751e+04 3.146
3.15e+04 3.148
3.607e+04 3.15
4.13e+04 3.151
4.729e+04 3.152
5.415e+04 3.153
6.2e+04 3.153
7.099e+04 3.154
8.129e+04 3.154
107.6 0.0003514
123.4 0.0006259
141.5 0.001078
162.3 0.001513
186.2 0.002884
213.7 0.004694
245.2 0.006087
281.3 0.009628
322.9 0.01836
370.5 0.03094
425.3 0.04306
488.2 0.05193
560.3 0.06382
643.2 0.08559
738.3 0.1271
847.6 0.1977
973 0.3108
1117 0.4511
1282 0.5944
1472 0.7402
1690 1.109
1940 1.51
2228 1.864
2558 2.157
2936 2.391
3371 2.574
3871 2.714
4444 2.821
5102 2.902
5858 2.964
6726 3.01
7722 3.046
8866 3.073
1.018e+04 3.093
1.169e+04 3.109
1.342e+04 3.12
1.541e+04 3.129
1.769e+04 3.136
2.031e+04 3.141
2.332e+04 3.145
2.677e+04 3.148
3.074e+04 3.15
3.529e+04 3.152
4.052e+04 3.153
4.652e+04 3.154
5.342e+04 3.155
6.133e+04 3.156
7.042e+04 3.156
8.085e+04 3.156
9.283e+04 3.157
total time for build X-ray TR energy loss tables = 0.15 s
total time for build X-ray TR energy loss tables = 0.13 s
Build angle for energy distribution according the current radiator
Lorentz Factor XTR photon number
total time for build XTR angle for given energy tables = 0.18 s
total time for build XTR angle for given energy tables = 0.12 s
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -179,69 +181,69 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
Lorentz Factor XTR photon number
107.6 0.0003516
123 0.0006162
140.7 0.001063
161 0.001462
184.2 0.002731
210.8 0.004544
241.2 0.005942
276.1 0.00888
316 0.01662
361.6 0.02875
414 0.04088
473.9 0.05028
542.4 0.06057
621 0.07842
710.9 0.1139
813.9 0.1726
931.8 0.2712
1067 0.4029
1221 0.5447
1398 0.6784
1601 0.9513
1833 1.348
2099 1.719
2403 2.032
2752 2.287
3151 2.489
3607 2.646
4131 2.767
4730 2.859
5415 2.929
6201 2.983
7100 3.024
8130 3.055
9309 3.078
1.066e+04 3.097
1.22e+04 3.11
1.397e+04 3.121
1.6e+04 3.129
1.832e+04 3.135
2.098e+04 3.14
2.402e+04 3.143
2.751e+04 3.146
3.15e+04 3.148
3.607e+04 3.15
4.13e+04 3.151
4.729e+04 3.152
5.415e+04 3.153
6.2e+04 3.153
7.099e+04 3.154
8.129e+04 3.154
107.6 0.0003514
123.4 0.0006259
141.5 0.001078
162.3 0.001513
186.2 0.002884
213.7 0.004694
245.2 0.006087
281.3 0.009628
322.9 0.01836
370.5 0.03094
425.3 0.04306
488.2 0.05193
560.3 0.06382
643.2 0.08559
738.3 0.1271
847.6 0.1977
973 0.3108
1117 0.4511
1282 0.5944
1472 0.7402
1690 1.109
1940 1.51
2228 1.864
2558 2.157
2936 2.391
3371 2.574
3871 2.714
4444 2.821
5102 2.902
5858 2.964
6726 3.01
7722 3.046
8866 3.073
1.018e+04 3.093
1.169e+04 3.109
1.342e+04 3.12
1.541e+04 3.129
1.769e+04 3.136
2.031e+04 3.141
2.332e+04 3.145
2.677e+04 3.148
3.074e+04 3.15
3.529e+04 3.152
4.052e+04 3.153
4.652e+04 3.154
5.342e+04 3.155
6.133e+04 3.156
7.042e+04 3.156
8.085e+04 3.156
9.283e+04 3.157
total time for build X-ray TR energy loss tables = 0.14 s
total time for build X-ray TR energy loss tables = 0.13 s
Build angle for energy distribution according the current radiator
Lorentz Factor XTR photon number
total time for build XTR angle for given energy tables = 0.18 s
total time for build XTR angle for given energy tables = 0.12 s
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -255,14 +257,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -271,9 +273,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -285,9 +287,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -298,9 +300,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -314,14 +316,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -330,9 +332,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -346,14 +348,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -362,9 +364,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -378,14 +380,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -394,9 +396,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -411,14 +413,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -427,9 +429,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -444,14 +446,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -460,9 +462,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -476,14 +478,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -492,9 +494,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -508,14 +510,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -535,14 +537,14 @@ Index : 0 used in the geometry : Yes
Index : 1 used in the geometry : Yes
Material : radiatorMat
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 1.07285 keV e- 83.4168 keV e+ 82.3069 keV proton 100 keV
Energy thresholds : gamma 1.07314 keV e- 83.5287 keV e+ 82.4135 keV proton 100 keV
Region(s) which use this couple :
XTRradiator
Index : 2 used in the geometry : Yes
Material : Xe15CO2
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 990 eV e- 2.10545 keV e+ 2.04897 keV proton 100 keV
Energy thresholds : gamma 990 eV e- 2.08861 keV e+ 2.0697 keV proton 100 keV
Region(s) which use this couple :
XTRdEdxDetector
@@ -555,27 +557,28 @@ Index : 2 used in the geometry : Yes
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
... open Root analysis file : testem10.root - done
... create file : testem10.root - done
... open analysis file : testem10.root - done
--> Event 0 starts.
Run terminated.
Run Summary
Number of events processed : 1000
User=0.570000s Real=0.575596s Sys=0.000000s
User=0.230000s Real=0.229898s Sys=0.000000s
================== run summary =====================
End of Run TotNbofEvents = 1000
Mean energy deposit in absorber = 0.0494515 +-0.0190899 MeV
Total number of XTR gammas = 2713
Mean energy deposit in absorber = 0.0488395 +-0.0194561 MeV
Total number of XTR gammas = 2704
Total number of all gammas = 2816
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 2078979988, 399844062
Current couple of seeds = 1047670955, 1936905201
----------------------------------------
... write Root file : testem10.root - done
... close Root file : testem10.root - done
... write file : testem10.root - done
... close file : testem10.root - done
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 10 of which, static: 0
Dynamic pools deleted: 10 / Total memory freed: 0.042 MB
Dynamic pools deleted: 10 / Total memory freed: 0.045 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -119,6 +119,20 @@ Idle> type your commands
Idle> exit
\endverbatim
Macros provided in this example:
- alpha.mac: alpha (400 MeV) on water
- ionC12.mac: ion C12 (2.4 GeV) on water
- multiLayers.mac: gamma (6 MeV) on multi layers
- radioactive.mac: radioactive ion on multi layers
- range.mac: compute csda range of primary particle
- run01.mac: e- (500 keV) on silicon. Step max from histo 1
- run02.mac: e- (500 keV) on silicon. Step max from geometry
- sandia.mac: to compare with Sandia data
- water.mac: e- (4 MeV) on water. No constraint on tracking step
Macros to be run interactively:
- vis.mac: To activate visualization
\section TestEm11_s7 TRACKING and STEP MAX
TestEm11 computes the distribution of energy deposited along the trajectory of
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm11)
#----------------------------------------------------------------------------
@@ -14,6 +14,9 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
27-10-20 mma (testem11-V11-06-01)
- add macros description in Readme
14-01-20 V.Ivanchenko (testem11-V11-06-00)
- PhysicsList - use G4RadioactiveDecayBase instead of obsolete
G4RadioactiveDecay and minor code cleanup
@@ -119,7 +119,21 @@
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- alpha.mac: alpha (400 MeV) on water
- ionC12.mac: ion C12 (2.4 GeV) on water
- multiLayers.mac: gamma (6 MeV) on multi layers
- radioactive.mac: radioactive ion on multi layers
- range.mac: compute csda range of primary particle
- run01.mac: e- (500 keV) on silicon. Step max from histo 1
- run02.mac: e- (500 keV) on silicon. Step max from geometry
- sandia.mac: to compare with Sandia data
- water.mac: e- (4 MeV) on water. No constraint on tracking step
Macros to be run interactively:
- vis.mac: To activate visualization
7- TRACKING and STEP MAX
TestEm11 computes the distribution of energy deposited along the trajectory of
@@ -1,9 +1,11 @@
#
# Macro file for TestEm11
#
# limit the step size from histo 1
#
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/control/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 G4_Si 1 mm
@@ -25,5 +27,4 @@
###/analysis/h1/set 5 100 0. 1. mm #proj range
#
/run/printProgress 10000
#
/run/beamOn 20000
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -12,8 +12,7 @@
WWW : http://geant4.org/
**************************************************************
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/run/reinitializeGeometry
@@ -26,17 +25,12 @@
PhysicsList::AddPhysicsList: <emstandard_opt3>
#
/run/initialize
userDetector->Construct() start.
-------------------------------------------------------------
---> The Absorber is 1 layers of:
G4_Si: 1 mm divided in 1 slices
-------------------------------------------------------------
World is registered to the default region.
physicsList->Construct() start.
physicsList->CheckParticleList() start.
physicsList->setCut() start.
#
/testem/gun/setDefault
/gun/particle e-
@@ -50,7 +44,6 @@ physicsList->setCut() start.
###/analysis/h1/set 5 100 0. 1. mm #proj range
#
/run/printProgress 10000
#
/run/beamOn 20000
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
@@ -80,9 +73,9 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 3, latDisp: 1, skin= 1, geomFactor= 2.5
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=DistanceToBoundary Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -105,12 +98,12 @@ ePairProd: for e- SubType=4
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 25x1001 from 0.1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
ePairProd : Emin= 0 eV Emax= 100 TeV
ePairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 3, latDisp: 1, skin= 1, geomFactor= 2.5
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=DistanceToBoundary Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -133,16 +126,16 @@ ePairProd: for e+ SubType=4
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 25x1001 from 0.1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
ePairProd : Emin= 0 eV Emax= 100 TeV
ePairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
annihil: for e+, integral:1 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 eV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -157,23 +150,23 @@ hBrems: for proton SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
nuclearStopping: for proton SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -202,9 +195,9 @@ Use Bearden atomic level energies 0
======================================================================
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -220,9 +213,9 @@ nuclearStopping: for alpha SubType=8 BuildTable=0
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -237,19 +230,19 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -264,19 +257,19 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -291,19 +284,19 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -319,19 +312,19 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -347,19 +340,19 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -374,19 +367,19 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
@@ -401,27 +394,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume
This region is in the mass world.
Root logical volume(s) : World
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Galactic G4_Si
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
========= Table of registered couples ============================
@@ -435,27 +415,12 @@ Index : 0 used in the geometry : Yes
Index : 1 used in the geometry : Yes
Material : G4_Si
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.90532 keV e- 544.145 keV e+ 526.224 keV proton 100 keV
Energy thresholds : gamma 6.95018 keV e- 548.291 keV e+ 526.624 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
Start closing geometry.
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Total memory consumed for geometry optimisation: 0 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
Voxelisation: top CPU users:
Percent Total CPU System CPU Memory Volume
------- ---------- ---------- -------- ----------
0.00 0.00 0.00 0k G4_Si
Voxelisation: top memory users:
Percent Memory Heads Nodes Pointers Total CPU Volume
------- -------- ------ ------ -------- ---------- ----------
100.00 0k 1 1 1 0.00 G4_Si
### Run 0 starts.
--------- Ranecu engine status ---------
@@ -467,53 +432,31 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 20000
User=4.160000s Real=4.178206s Sys=0.000000s
User=0.670000s Real=0.712145s Sys=0.000000s
======================== run summary =====================
The run is 20000 e- of 500.00 keV through 1 absorbers:
1 1.00 mm of G4_Si (density: 2.33 g/cm3 )
Edep in absorber 1 = 447.251 keV (20.438 keV-->500.000 keV)
Edep in absorber 1 = 448.186 keV (17.351 keV-->500.000 keV)
Track length of primary track = 879.940 um +- 193.456 um
Range from EmCalculator = 942.757 um (from full dE/dx)
Track length of primary track = 883.096 um +- 192.370 um
Range from EmCalculator = 942.776 um (from full dE/dx)
Projected range = 314.035 um +- 198.145 um
Projected range = 321.214 um +- 195.220 um
Nb of steps of primary track = 21.05 +- 4.89 Step size= 42.270 um +- 6.722 um
Nb of steps of primary track = 11.40 +- 2.83 Step size= 80.255 um +- 21.135 um
absorbed = 77.62 % transmit = 5.22 % reflected = 17.16 %
absorbed = 78.10 % transmit = 5.17 % reflected = 16.73 %
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1590892920, 653467453
Current couple of seeds = 431014072, 1945144233
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserActionInitialization deleted.
UserRunAction deleted.
UserPrimaryGenerator deleted.
RunManager is deleting RunManagerKernel.
EventManager deleted.
Units table cleared.
TransportationManager deleted.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.000961 MB
Pool ID '7G4Track', size : 0.000961 MB
Pool ID '18G4TouchableHistory', size : 0.000961 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.014 MB
Dynamic pools deleted: 9 / Total memory freed: 0.015 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted. Good bye :)
@@ -1,8 +1,11 @@
#
# Macro file for TestEm11
#
# limit the step size from histo 1
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 Water 10 cm
@@ -1,10 +1,11 @@
#
# Macro file for "TestEm11.cc"
# Macro file for TestEm11
#
# limit the step size from histo 1
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 Water 20 cm
@@ -1,8 +1,12 @@
#
# Macro file for TestEm11
#
# multiLayers
# limit the step size from histo 1
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 5
/testem/det/setAbsor 1 Water 13 cm
@@ -24,5 +28,4 @@
/analysis/h1/set 1 300 0. 300. mm #edep profile
#
/run/printProgress 100000
#
/run/beamOn 1000000
@@ -1,8 +1,11 @@
#
# multiLayers
# Macro file for TestEm11
#
# radioactive source in multi layers
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 4
/testem/det/setAbsor 1 G4_PLEXIGLASS 5 mm
@@ -26,5 +29,4 @@
/analysis/h1/setAscii 14
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -4,8 +4,9 @@
# compute the csda range of the primary particle
# with or without fluctuations
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 Water 5 mm
@@ -32,5 +33,4 @@
/analysis/h1/set 3 200 0 4 mm # csda range
#
/run/printProgress 2000
#
/run/beamOn 20000
@@ -1,8 +1,11 @@
#
# Macro file for TestEm11
#
# limit the step size from histo 1
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 G4_Si 1 mm
@@ -27,5 +30,4 @@
/testem/applyAutomaticStepMax true
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -1,8 +1,11 @@
#
# Macro file for TestEm11
#
# limit the step size by geometry
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 G4_Si 1 mm
@@ -28,5 +31,4 @@
/testem/applyAutomaticStepMax false
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -1,12 +1,15 @@
#
# Macro file for TestEm11
#
# limit the step size from histo 8
#
# G.J.Lockwood et al.
# Sandia report SAND79-0414.UC-34a, February 1987
# Sandia report SAND79-0414.UC-34a, February 1987
# O.Kadri et al. NIM B 258 (2007) 381
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
###/testem/det/setAbsor 1 G4_Al 1 cm
@@ -25,10 +28,9 @@
/gun/particle e-
/gun/energy 1000 keV
#
/analysis/setFileName sandia/Ta_1000keV_opt3
/analysis/setFileName Ta_1000keV_opt3
###/analysis/h1/set 8 100 0. 1.0 none #normalized Edep profile
/analysis/h1/set 8 100 0. 0.5 none #for Ta
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -1,8 +1,11 @@
#
# Macro file for TestEm11
#
# no constraint on tracking step
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 Water 3 cm
@@ -26,5 +29,4 @@
/analysis/h1/set 6 100 0. 24. mm #track length secondaries
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -110,6 +110,15 @@ Idle> type your commands
Idle> exit
\endverbatim
Macros provided in this example:
- berger.mac: e- (100 keV) on water
- dna.mac: e- (1 keV) on water. DNA physics list
- run01.mac: e- (4 MeV) on water. Step max from histos 1 and 8
- run02.mac: e- (4 MeV) on water. Step max from geometry
Macros to be run interactively:
- vis.mac: To activate visualization
\section TestEm12_s6 TRACKING and STEP MAX
TestDm12 computes the total energy deposited along the trajectory of
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm12)
#----------------------------------------------------------------------------
@@ -13,6 +13,9 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
27-10-20 mma (testem12-V10-06-00)
- add macros description in Readme
09-09-18 SI (testem12-V10-04-04)
- updated dna.mac
@@ -107,6 +107,15 @@
....
Idle> exit
Macros provided in this example:
- berger.mac: e- (100 keV) on water
- dna.mac: e- (1 keV) on water. DNA physics list
- run01.mac: e- (4 MeV) on water. Step max from histos 1 and 8
- run02.mac: e- (4 MeV) on water. Step max from geometry
Macros to be run interactively:
- vis.mac: To activate visualization
6- TRACKING and STEP MAX
TestDm12 computes the total energy deposited along the trajectory of
@@ -1,9 +1,11 @@
#
# Macro file for TestEm12
#
# limit the step size from histos 1 and 8
#
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/control/verbose 2
/run/verbose 1
#
/testem/det/setMat G4_WATER
/testem/det/setRadius 3 cm
@@ -27,5 +29,4 @@
###/analysis/h1/set 8 120 0. 1.2 none #normalized edep profile
#
/run/printProgress 1000
#
/run/beamOn 10000
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -12,8 +12,7 @@
WWW : http://geant4.org/
**************************************************************
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat G4_WATER
/testem/det/setRadius 3 cm
@@ -23,7 +22,6 @@
PhysicsList::AddPhysicsList: <emstandard_opt0>
#
/run/initialize
userDetector->Construct() start.
---------------------------------------------------------
---> The Absorber is a sphere of 3 cm radius of G4_WATER divided in 1 slices of 3 cm
@@ -44,10 +42,6 @@ userDetector->Construct() start.
---------------------------------------------------------
Absorber is registered to the default region.
physicsList->Construct() start.
physicsList->CheckParticleList() start.
physicsList->setCut() start.
#
/run/setCut 10 um
#
@@ -63,38 +57,19 @@ physicsList->setCut() start.
###/analysis/h1/set 8 120 0. 1.2 none #normalized edep profile
#
/run/printProgress 1000
#
/run/beamOn 10000
Region <DefaultRegionForTheWorld> -- -- appears in <Absorber> world volume
This region is in the mass world.
Root logical volume(s) : Absorber
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : G4_WATER
Production cuts : gamma 10 um e- 10 um e+ 10 um proton 10 um
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 10 um e- 10 um e+ 10 um proton 10 um
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : G4_WATER
Range cuts : gamma 10 um e- 10 um e+ 10 um proton 10 um
Energy thresholds : gamma 990 eV e- 14.1795 keV e+ 13.7742 keV proton 1 keV
Energy thresholds : gamma 990 eV e- 14.0874 keV e+ 14.0874 keV proton 1 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
Start closing geometry.
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Total memory consumed for geometry optimisation: 0 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
### Run 0 starts.
--------- Ranecu engine status ---------
@@ -120,7 +95,9 @@ Number of bins per decade of a table 7
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary is added to the list of secondary 100 TeV
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
@@ -166,6 +143,7 @@ Factor used for dynamic computation of angular
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
@@ -182,50 +160,28 @@ Screening factor 1
Run terminated.
Run Summary
Number of events processed : 10000
User=1.790000s Real=1.822103s Sys=0.010000s
User=0.770000s Real=0.834812s Sys=0.000000s
======================== run summary =====================
The run is 10000 e- of 4.00 MeV through 3.00 cm of G4_WATER (density: 1.00 g/cm3 )
Total Energy deposited = 3.939 MeV +- 238.600 keV
Total Energy deposited = 3.943 MeV +- 223.028 keV
Track length of primary track = 2.043 cm +- 2.890 mm
Track length of primary track = 2.047 cm +- 2.831 mm
Range from EmCalculator = 2.045 cm (from full dE/dx)
Projected range = 1.323 cm +- 3.594 mm
Projected range = 1.325 cm +- 3.580 mm
Nb of steps of primary track = 16.17 +- 2.98 Step size= 1.300 mm +- 277.785 um
Nb of steps of primary track = 16.29 +- 3.04 Step size= 1.295 mm +- 282.026 um
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 297159154, 1690055230
Current couple of seeds = 2062153558, 1360634937
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserActionInitialization deleted.
UserRunAction deleted.
UserPrimaryGenerator deleted.
RunManager is deleting RunManagerKernel.
EventManager deleted.
Units table cleared.
TransportationManager deleted.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.00481 MB
Pool ID '7G4Track', size : 0.00865 MB
Pool ID '18G4TouchableHistory', size : 0.000961 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.026 MB
Dynamic pools deleted: 9 / Total memory freed: 0.027 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted. Good bye :)
@@ -4,8 +4,9 @@
# L. Ferrer et al. Cancer Bio. Rad. 22-1 (2007)
# Mainegra et al. Med. Phys. 32, 685-699 (2005)
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat G4_WATER
/testem/det/setRadius 3 cm
@@ -21,9 +22,8 @@
/gun/particle e-
/gun/energy 100 keV
#
/analysis/setFileName berger/100keV_local
/analysis/h1/set 8 120 0. 1.2 none #normalized edep profile
/analysis/setFileName 100keV_local
/analysis/h1/set 8 120 0.0 1.2 none #normalized edep profile
#
/run/printProgress 10000
#
/run/beamOn 160000
@@ -1,4 +1,9 @@
#
# Macro file for TestEm12
#
# limit the step size from histos 1 and 8
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
#
@@ -21,5 +26,4 @@
/testem/applyAutomaticStepMax true
#
/run/printProgress 1000
#
/run/beamOn 5000
@@ -1,8 +1,11 @@
#
# Macro file for TestEm12
#
# limit the step size from histos 1 and 8
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat G4_WATER
/testem/det/setRadius 3 cm
@@ -24,5 +27,4 @@
/testem/applyAutomaticStepMax true
#
/run/printProgress 2000
#
/run/beamOn 20000
@@ -1,8 +1,11 @@
#
# Macro file for TestEm12
#
# limit the step size by geometry
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat G4_WATER
/testem/det/setRadius 3 cm
@@ -25,5 +28,4 @@
/testem/applyAutomaticStepMax false
#
/run/printProgress 2000
#
/run/beamOn 20000
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm13)
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -31,7 +31,9 @@ Number of bins per decade of a table 10
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary is added to the list of secondary 100 TeV
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
@@ -77,6 +79,7 @@ Factor used for dynamic computation of angular
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
@@ -143,7 +146,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94062 keV e- 350.631 keV e+ 340.065 keV proton 100 keV
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -173,15 +176,15 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000000
User=5.640000s Real=5.665050s Sys=0.010000s
User=2.120000s Real=2.315627s Sys=0.000000s
======================== run summary ======================
The run is: 1000000 gamma of 100 keV through 1 cm of Water (density: 1 g/cm3 )
Process calls frequency ---> Transportation = 848094 compt = 149478 phot = 2428
Process calls frequency ---> Transportation = 848096 compt = 149476 phot = 2428
Nb of incident particles unaltered after 1 cm of Water : 848094 over 1000000 incident particles. Ratio = 84.809 %
Nb of incident particles unaltered after 1 cm of Water : 848096 over 1000000 incident particles. Ratio = 84.81 %
---> CrossSection per volume: 0.16476 cm^-1 CrossSection per mass: 16.476 mm2/g
Verification from G4EmCalculator:
@@ -190,7 +193,7 @@ Run Summary
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1862515941, 314949652
Current couple of seeds = 1086040262, 1913236415
----------------------------------------
#
/gun/particle e-
@@ -215,7 +218,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94062 keV e- 350.631 keV e+ 340.065 keV proton 100 keV
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -225,7 +228,7 @@ Index : 0 used in the geometry : Yes
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1862515941, 314949652
Current couple of seeds = 1086040262, 1913236415
----------------------------------------
--> Event 0 starts.
--> Event 100000 starts.
@@ -240,24 +243,24 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000000
User=7.560000s Real=7.629508s Sys=0.000000s
User=2.300000s Real=2.517891s Sys=0.000000s
======================== run summary ======================
The run is: 1000000 e- of 100 MeV through 1 cm of Water (density: 1 g/cm3 )
Process calls frequency ---> Transportation = 537943 eBrem = 281261 eIoni = 180796
Process calls frequency ---> Transportation = 537515 eBrem = 281135 eIoni = 181350
Nb of incident particles unaltered after 1 cm of Water : 537943 over 1000000 incident particles. Ratio = 53.794 %
---> CrossSection per volume: 0.62 cm^-1 CrossSection per mass: 62 mm2/g
Nb of incident particles unaltered after 1 cm of Water : 537515 over 1000000 incident particles. Ratio = 53.751 %
---> CrossSection per volume: 0.6208 cm^-1 CrossSection per mass: 62.08 mm2/g
Verification from G4EmCalculator:
eBrem= 37.785 mm2/g eIoni= 24.252 mm2/g total= 62.037 mm2/g
Expected ratio of transmitted particles= 53.774 %
eBrem= 37.788 mm2/g eIoni= 24.337 mm2/g total= 62.125 mm2/g
Expected ratio of transmitted particles= 53.727 %
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 577334247, 211065605
Current couple of seeds = 685999699, 1687796440
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm14)
#----------------------------------------------------------------------------
@@ -40,7 +43,7 @@ target_link_libraries(TestEm14 ${Geant4_LIBRARIES} ${HBOOK_LIBRARIES})
# relies on these scripts being in the current working directory.
#
set(TestEm14_SCRIPTS
anni.mac compton.mac conv.mac convtomu.mac electron.mac gamma.mac photoelec.mac proton.mac TestEm14.in TestEm14.out vis.mac
anni.mac compton.mac conv.mac convtomu.mac electron.mac gamma.mac photoelec.mac proton.mac atomicDeexcitation.mac TestEm14.in TestEm14.out vis.mac
)
foreach(_script ${TestEm14_SCRIPTS})
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
03-11-20 mma (testem14-V10-06-02)
- add a comment in atomicDeexcitation.mac
12-10-20 mma (testem14-V10-06-01)
- update atomicDeexcitation.mac
06-10-20 mma (testem14-V10-06-00)
- add atomicDeexcitation.mac
26-11-19 I. Hrivnacova (testem14-V10-05-01)
- Fixed Doxygen warnings
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -31,7 +31,9 @@ Number of bins per decade of a table 10
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary is added to the list of secondary 100 TeV
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
@@ -77,6 +79,7 @@ Factor used for dynamic computation of angular
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
@@ -143,7 +146,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94062 keV e- 350.631 keV e+ 340.065 keV proton 100 keV
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -173,26 +176,26 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000000
User=5.750000s Real=5.785304s Sys=0.010000s
User=3.770000s Real=3.872863s Sys=0.000000s
======================== run summary ======================
The run is: 1000000 gamma of 100 keV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> compt = 983651 phot = 16349
Process calls frequency ---> compt = 983656 phot = 16344
MeanFreePath: 6.0662 cm +- 6.0666 cm massic: 6.0662 g/cm2
MeanFreePath: 6.0662 cm +- 6.0668 cm massic: 6.0662 g/cm2
CrossSection: 0.16485 cm^-1 massic: 16.485 mm2/g
mean energy of charged secondaries: 15.197 keV
---> mass_energy_transfer coef: 2.5053 mm2/g
---> mass_energy_transfer coef: 2.5052 mm2/g
Verification : crossSections from G4EmCalculator
compt= 16.23 mm2/g phot= 268.53 um2/mg total= 16.499 mm2/g
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1063437675, 1656850928
Current couple of seeds = 1937641209, 57071983
----------------------------------------
#
/gun/particle e-
@@ -218,7 +221,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94062 keV e- 350.631 keV e+ 340.065 keV proton 100 keV
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -228,7 +231,7 @@ Index : 0 used in the geometry : Yes
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1063437675, 1656850928
Current couple of seeds = 1937641209, 57071983
----------------------------------------
--> Event 0 starts.
--> Event 100000 starts.
@@ -243,26 +246,26 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000000
User=6.930000s Real=6.987780s Sys=0.000000s
User=2.920000s Real=2.958576s Sys=0.000000s
======================== run summary ======================
The run is: 1000000 e- of 100 MeV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> eBrem = 609357 eIoni = 390643
Process calls frequency ---> eBrem = 608555 eIoni = 391445
MeanFreePath: 1.6123 cm +- 1.6126 cm massic: 1.6123 g/cm2
CrossSection: 0.62024 cm^-1 massic: 62.024 mm2/g
MeanFreePath: 1.6102 cm +- 1.6103 cm massic: 1.6102 g/cm2
CrossSection: 0.62103 cm^-1 massic: 62.103 mm2/g
mean energy of charged secondaries: 744.15 keV
---> mass_energy_transfer coef: 461.55 um2/mg
mean energy of charged secondaries: 743.85 keV
---> mass_energy_transfer coef: 461.95 um2/mg
Verification : crossSections from G4EmCalculator
eBrem= 37.785 mm2/g eIoni= 24.252 mm2/g total= 62.037 mm2/g
eBrem= 37.788 mm2/g eIoni= 24.337 mm2/g total= 62.125 mm2/g
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 819625488, 312387976
Current couple of seeds = 419401041, 1685305101
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -0,0 +1,41 @@
#
# Macro file for "TestEm14.cc"
#
# to plot atomic deexcitation following an hole
# see equivalent macro in rdecay01
# see S.Bakr et al. Geant4 collaboration meeting 2020
#
/control/verbose 1
/run/verbose 1
#
/testem/det/setMat G4_Te
/testem/phys/addPhysics standard
/run/setCut 0.1 um
#
/run/initialize
#
# create an hole by photoelectric interaction
#
/process/inactivate compt
/process/inactivate conv
#
# to (de)activate atomic deexcitation
# play with the 2 following commands
#
/process/em/augerCascade true
/process/em/deexcitationIgnoreCut true
#
/gun/particle gamma
/gun/energy 80 keV
#
### to print few events
###/tracking/verbose 2
###/run/beamOn 3
###/tracking/verbose 0
#
/analysis/setFileName atomicDeexc
/analysis/h1/set 3 50000 0.001 50. keV #energy of e-
/analysis/h1/set 5 50000 0.001 50. keV #energy of gamma
#
/run/printProgress 100000
/run/beamOn 1000000
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm15)
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -189,7 +189,7 @@
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 113427275.267 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -242,9 +242,9 @@ conv: for gamma SubType=14 BuildTable=1
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -262,9 +262,9 @@ eBrem: for e- SubType=3
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -286,9 +286,9 @@ annihil: for e+, integral:1 SubType=5 BuildTable=0
eplus2gg : Emin= 0 eV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -299,9 +299,9 @@ hIoni: for proton SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -313,9 +313,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -326,9 +326,9 @@ hIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -339,9 +339,9 @@ hIoni: for anti_proton SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -352,9 +352,9 @@ hIoni: for kaon+ SubType=2
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -365,9 +365,9 @@ hIoni: for kaon- SubType=2
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -382,19 +382,19 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -409,19 +409,19 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -432,9 +432,9 @@ hIoni: for pi+ SubType=2
BetheBloch : Emin=297.505 keV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -469,7 +469,7 @@ Index : 0 used in the geometry : Yes
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.92994 keV e- 349.731 keV e+ 342.774 keV proton 100 keV
Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -490,14 +490,14 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=0.070000s Real=0.066523s Sys=0.000000s
User=0.040000s Real=0.039196s Sys=0.000000s
The run consists of 10000 e- of 5 MeV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> msc = 10000
truePathLength : 2.7539 cm +- 9.7431 nm
geomPathLength : 2.0692 cm +- 7.6962 nm
truePathLength : 2.7529 cm +- 14.253 nm
geomPathLength : 2.0688 cm +- 12.537 nm
lateralDisplac : 0 fm +- 0 fm
Psi : 0 mrad +- 0 mrad (0 deg +- 0 deg)
@@ -506,11 +506,11 @@ Run Summary
Verification from G4EmCalculator.
transport mean free path : 8.3229 cm
range from restrict dE/dx: 2.7539 cm
transport mean free path : 8.3246 cm
range from restrict dE/dx: 2.7529 cm
---> effective facRange : 1
compute theta0 from Highland : 620.35 mrad (35.543 deg)
compute theta0 from Highland : 620.23 mrad (35.536 deg)
------- MixMaxRng engine status -------
Current state vector is:
@@ -546,7 +546,7 @@ Index : 0 used in the geometry : Yes
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.92994 keV e- 349.731 keV e+ 342.774 keV proton 100 keV
Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -562,19 +562,19 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=0.080000s Real=0.086798s Sys=0.000000s
User=0.050000s Real=0.057450s Sys=0.000000s
The run consists of 10000 e- of 100 keV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> msc = 10000
truePathLength : 6.1493 um +- 591.2 nm
geomPathLength : 6.0265 um +- 567.7 nm
lateralDisplac : 891.67 nm +- 128 nm
truePathLength : 6.1496 um +- 591.23 nm
geomPathLength : 6.0268 um +- 567.72 nm
lateralDisplac : 891.71 nm +- 128.01 nm
Psi : 146.21 mrad +- 7.2125 mrad (8.377 deg +- 0.41325 deg)
Theta_plane : 236.21 mrad (13.534 deg)
phi correlation: 0.17482 +- 0.13949 (std::cos(phi_pos - phi_dir))
phi correlation: 0.17482 +- 0.1395 (std::cos(phi_pos - phi_dir))
Verification from G4EmCalculator.
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm16)
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -43,7 +43,7 @@
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Vacuum density: 0.000 kg/m3 RadL: 25045177733.504 km Nucl.Int.Length: 55623326898.435 km
Material: Vacuum density: 0.000 mg/cm3 RadL: 25045177323.588 km Nucl.Int.Length: 55623331308.548 km
Imean: 82.000 eV temperature: 296.15 K pressure: 0.00 atm
---> Element: N (N) Z = 7.0 N = 14 A = 14.007 g/mole
@@ -117,9 +117,9 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -140,9 +140,9 @@ SynRad: Incoherent Synchrotron Radiation
good description for long magnets at all energies
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -164,9 +164,9 @@ annihil: for e+, integral:1 SubType=5 BuildTable=0
eplus2gg : Emin= 0 eV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -180,19 +180,19 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -207,19 +207,19 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -234,14 +234,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
========= Table of registered couples ============================
@@ -270,13 +270,13 @@ G4SynchrotronRadiation::GetRandomEnergySR :
Run terminated.
Run Summary
Number of events processed : 100
User=0.350000s Real=0.352616s Sys=0.000000s
User=0.200000s Real=0.238092s Sys=0.000000s
Summary for synchrotron radiation :
Number of photons = 65086
Emean = 20.39 +/- 0.1444 keV
E_rms = 36.83 keV
Energy Max / Mean = 27.54
MeanFreePath = 16.06 cm
MeanFreePath = 16.07 cm
------- MixMaxRng engine status -------
Current state vector is:
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm17)
#----------------------------------------------------------------------------
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -15,7 +15,7 @@
***** Table : Nb of materials = 7 *****
Material: galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 113427275.267 pc
Material: galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -87,7 +87,7 @@
Imean: 488.000 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Sn (Sn) Z = 50.0 N = 119 A = 118.710 g/mole
---> Isotope: Sn112 Z = 50 N = 112 A = 111.90 g/mole abundance: 0.970 %
---> Isotope: Sn112 Z = 50 N = 112 A = 111.91 g/mole abundance: 0.970 %
---> Isotope: Sn114 Z = 50 N = 114 A = 113.90 g/mole abundance: 0.660 %
---> Isotope: Sn115 Z = 50 N = 115 A = 114.90 g/mole abundance: 0.340 %
---> Isotope: Sn116 Z = 50 N = 116 A = 115.90 g/mole abundance: 14.540 %
@@ -157,7 +157,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Iron
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.7122 keV e- 1.28245 MeV e+ 1.21554 MeV proton 100 keV
Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -189,14 +189,14 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=3.640000s Real=3.666902s Sys=0.010000s
User=1.530000s Real=1.635862s Sys=0.010000s
The run consists of 10000 mu+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> CoulombScat : 5627 muIoni : 468416 muPairProd : 64240 muBrems : 671
Number of process calls ---> CoulombScat : 5678 muIoni : 464109 muPairProd : 63342 muBrems : 681
Simulation: total CrossSection = 0.53895 /cm MeanFreePath = 1.8554 cm massicCrossSection = 0.068482 cm2/g
Theory: total CrossSection = 0.53155 /cm MeanFreePath = 1.8813 cm massicCrossSection = 0.067542 cm2/g
Simulation: total CrossSection = 0.53381 /cm MeanFreePath = 1.8733 cm massicCrossSection = 0.067828 cm2/g
Theory: total CrossSection = 0.52677 /cm MeanFreePath = 1.8984 cm massicCrossSection = 0.066934 cm2/g
#
/gun/particle pi+
/run/beamOn 10000
@@ -219,7 +219,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Iron
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.7122 keV e- 1.28245 MeV e+ 1.21554 MeV proton 100 keV
Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -231,7 +231,7 @@ Index : 0 used in the geometry : Yes
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={1232246224341559076, 502994183317362875, 827325684979959417, 1720626337570558479, 1497012769436038540, 8037863595463596, 1888147439567773511, 974628579536266092, 1560956143404819913, 1711028131601079341, 799316675237868649, 1523084131378296775, 630030747462457124, 1670125680287411096, 46032566829546818, 500464967571540463, 1478391931196980061} counter= 9sumtot= 123705983605430218
N=17 V[N]={390989001462590597, 2165133204863311347, 854974819548217897, 2126485118342897292, 1043827090844452939, 1153945593924229687, 1492456639939297216, 170725670497924326, 271262107949827517, 605115632054846954, 986185566339304190, 439176016835494735, 879520380644875766, 793553958454628956, 1863967334887151092, 1831154685294334696, 265599519600268147} counter= 12sumtot= 1193171276987795697
---------------------------------------
--> Event 0 starts.
--> Event 1000 starts.
@@ -246,13 +246,13 @@ N=17 V[N]={1232246224341559076, 502994183317362875, 827325684979959417, 17206263
Run terminated.
Run Summary
Number of events processed : 10000
User=3.520000s Real=3.563774s Sys=0.000000s
User=1.330000s Real=1.421897s Sys=0.000000s
The run consists of 10000 pi+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> hIoni : 431759 hPairProd : 59692 CoulombScat : 5632 hBrems : 313
Number of process calls ---> hIoni : 428839 hPairProd : 59634 CoulombScat : 5677 hBrems : 339
Simulation: total CrossSection = 0.4974 /cm MeanFreePath = 2.0105 cm massicCrossSection = 0.063202 cm2/g
Simulation: total CrossSection = 0.49449 /cm MeanFreePath = 2.0223 cm massicCrossSection = 0.062832 cm2/g
#
/gun/particle proton
/run/beamOn 10000
@@ -275,7 +275,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Iron
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.7122 keV e- 1.28245 MeV e+ 1.21554 MeV proton 100 keV
Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -287,7 +287,7 @@ Index : 0 used in the geometry : Yes
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={1239851013584323680, 1884047011881242256, 1962019013740758705, 529750077334794390, 1730160679914441292, 936631940651041969, 217936981083359606, 76083804081386717, 1434765033052734404, 62677456950250436, 2136979579980948469, 664220050613025748, 961100655912898099, 2103494065683219891, 1748134006090445015, 1431415384565954, 1719132720252111699} counter= 12sumtot= 961671432481996722
N=17 V[N]={189834841800119698, 933698143446158285, 303366963357487890, 1657727968765643003, 1931848314084735928, 528222828093349202, 2266763837204729526, 844778916719660478, 1553452260019614839, 701305615943610690, 1877080332352109664, 482776174036698067, 1692678699103286550, 1672171112634157092, 1348922200906541837, 2269046978341506103, 1319329630900893632} counter= 17sumtot= 820417734787056925
---------------------------------------
--> Event 0 starts.
--> Event 1000 starts.
@@ -302,13 +302,13 @@ N=17 V[N]={1239851013584323680, 1884047011881242256, 1962019013740758705, 529750
Run terminated.
Run Summary
Number of events processed : 10000
User=2.480000s Real=2.485581s Sys=0.000000s
User=1.240000s Real=1.400102s Sys=0.000000s
The run consists of 10000 proton of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> hIoni : 431613 CoulombScat : 5617 hPairProd : 33976 hBrems : 12 msc : 1
Number of process calls ---> hIoni : 427382 hPairProd : 33807 CoulombScat : 5516 hBrems : 10
Simulation: total CrossSection = 0.47122 /cm MeanFreePath = 2.1222 cm massicCrossSection = 0.059875 cm2/g
Simulation: total CrossSection = 0.46671 /cm MeanFreePath = 2.1426 cm massicCrossSection = 0.059303 cm2/g
#
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -326,12 +326,12 @@ Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.0154 MB
Pool ID '7G4Track', size : 0.0308 MB
Pool ID '17G4DynamicParticle', size : 0.0163 MB
Pool ID '7G4Track', size : 0.0327 MB
Pool ID '18G4TouchableHistory', size : 0.000961 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.059 MB
Dynamic pools deleted: 9 / Total memory freed: 0.062 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -83,7 +83,8 @@
It is possible to choose the format of the histogram file : root (default),
xml, csv, by using namespace in HistoManager.hh
For convenience, few simple Root macros are provided : plotHisto.C pixe.C
It is also possible to print selected histograms on an ascii file:
\verbatim
/analysis/h1/sweAscii id
@@ -118,5 +119,17 @@ Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- csda.mac: test independance of user step max
- edep.mac: track secondary particles and plot energy deposited
- electron.mac: e- (10 MeV) on 1 cm of water
- ion.mac: ion C12 (4 GeV) on 1 cm of water
- muon.mac: mu+ (1 TeV) on 1 m of water
- pixe.mac: proton (20 MeV) on 50 um of gold. Plot gamma pixe
- proton.mac: proton (1 GeV) on 10 cm of water
- plotHisto.C, pixe.C: Root macros
Macros to be run interactively:
- vis.mac: To activate visualization
*/
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm18)
#----------------------------------------------------------------------------
@@ -41,7 +44,7 @@ target_link_libraries(TestEm18 ${Geant4_LIBRARIES} )
#
set(TestEm18_SCRIPTS
csda.mac edep.mac electron.mac ion.mac muon.mac pixe.mac proton.mac
TestEm18.in TestEm18.out vis.mac
TestEm18.in vis.mac plotHisto.C pixe.C
)
foreach(_script ${TestEm18_SCRIPTS})
@@ -14,6 +14,10 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
09-11-20 mma (testem18-V10-06-00)
- cleanup macros
- add macros description in Readme
26-11-19 I. Hrivnacova (testem18-V10-05-00)
- Fixed Doxygen warnings
@@ -80,8 +80,8 @@
/analysis/setFileName name (default testem18)
It is possible to choose the format of the histogram file : root (default),
xml, csv, by using namespace in HistoManager.hh
xml, csv, by using namespace in HistoManager.hh
For convenience, few simple Root macros are provided : plotHisto.C pixe.C
It is also possible to print selected histograms on an ascii file:
/analysis/h1/setAscii id
All selected histos will be written on a file name.ascii (default testem18)
@@ -108,3 +108,16 @@
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- csda.mac: test independance of user step max
- edep.mac: track secondary particles and plot energy deposited
- electron.mac: e- (10 MeV) on 1 cm of water
- ion.mac: ion C12 (4 GeV) on 1 cm of water
- muon.mac: mu+ (1 TeV) on 1 m of water
- pixe.mac: proton (20 MeV) on 50 um of gold. Plot gamma pixe
- proton.mac: proton (1 GeV) on 10 cm of water
- plotHisto.C, pixe.C: Root macros
Macros to be run interactively:
- vis.mac: To activate visualization
@@ -1,8 +1,9 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
/testem/det/setSize 1 cm
@@ -11,8 +12,10 @@
#
/run/setCut 1 mm
#
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
/process/list
#
/gun/particle e-
/gun/energy 100 MeV
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -32,7 +32,9 @@ Number of bins per decade of a table 10
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary is added to the list of secondary 100 TeV
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
@@ -78,10 +80,11 @@ Factor used for dynamic computation of angular
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
/testem/det/setSize 1 cm
@@ -91,8 +94,82 @@ Screening factor 1
#
/run/setCut 1 mm
#
/process/em/verbose 0
/run/physicsModified
/process/em/printParameters
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Spline of EM tables enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use integral approach for tracking 1
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 10 eV
Max kinetic energy for tables 10 TeV
Number of bins in tables 120
Number of bins per decade of a table 10
Verbose level 0
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (0.2, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 1
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 1
Use cut as a final range enabled 0
Enable angular generator interface 0
Factor of cut reduction for sub-cutoff method 1
Max kinetic energy for CSDA tables 10 TeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
#
/run/initialize
userDetector->Construct() start.
The Box is 1 cm of Water
Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
@@ -109,57 +186,23 @@ userDetector->Construct() start.
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Water is registered to the default region.
physicsList->Construct() start.
physicsList->CheckParticleList() start.
physicsList->setCut() start.
/process/list
Transportation, ionIoni, nuclearStopping, ionIoni
nuclearStopping, ionIoni, nuclearStopping, hIoni
hIoni, hIoni, hIoni, hIoni
hIoni, eIoni, eBrem, annihil
eIoni, eBrem, phot, compt
conv, hIoni, hIoni, muIoni
muBrems, muPairProd, muIoni, muBrems
muPairProd, hIoni, hBrems, hPairProd
hIoni, hBrems, hPairProd, hIoni
hBrems, hPairProd, hIoni, UserStepMax
#
/gun/particle e-
/gun/energy 100 MeV
#
/run/beamOn 100000
Region <DefaultRegionForTheWorld> -- -- appears in <Water> world volume
This region is in the mass world.
Root logical volume(s) : Water
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials : Water
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.92994 keV e- 349.731 keV e+ 342.774 keV proton 100 keV
Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
Start closing geometry.
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Total memory consumed for geometry optimisation: 0 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
### Run 0 starts.
--------- Ranecu engine status ---------
@@ -169,67 +212,46 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 100000
User=1.090000s Real=1.090814s Sys=0.000000s
User=0.490000s Real=0.560180s Sys=0.000000s
======================== run summary ======================
The run was 100000 e- of 100 MeV through 1 cm of Water (density: 1 g/cm3 )
Process defining step :
Edep alone= 50 Transportation= 99996 eBrem= 37605 eIoni= 24068
Edep alone= 53 Transportation= 99993 eBrem= 37462 eIoni= 23966
TrackLength = 1 cm nb of steps = 1.617 stepSize = 6.184 mm (26.92 nm --> 1 cm )
TrackLength = 1 cm nb of steps = 1.615 stepSize = 6.193 mm (27.09 nm --> 1 cm )
Energy continuously deposited along primary track (restricted dE/dx) dE1 = 1.744 MeV (754.1 keV --> 2.971 MeV)
Energy continuously deposited along primary track (restricted dE/dx) dE1 = 1.744 MeV (754 keV --> 2.993 MeV)
Evaluation of dE1 from reading restricted Range table : dE1_table = 1.744 MeV ---> dE1/dE1_table = 1
Energy transfered to secondary particles :
due to eBrem: dE2 = 2.338 MeV (2.932 keV --> 99.25 MeV)
due to eIoni: dE2 = 447 keV (349.7 keV --> 49.39 MeV)
due to eBrem: dE2 = 2.324 MeV (2.943 keV --> 99.25 MeV)
due to eIoni: dE2 = 443.1 keV (351.9 keV --> 49.39 MeV)
Total energy transfered to secondaries : dE3 = sum of dE2 = 2.785 MeV (2.932 keV --> 99.25 MeV)
Total energy transfered to secondaries : dE3 = sum of dE2 = 2.767 MeV (2.943 keV --> 99.25 MeV)
Total energy lost by incident particle : dE4 = dE1 + dE3 = 4.529 MeV (1.33 MeV --> 100 MeV)
Total energy lost by incident particle : dE4 = dE1 + dE3 = 4.511 MeV (1.33 MeV --> 100 MeV)
calcul of dE4 from energy balance : dE4_bal = E_in - E_out = 4.529 MeV (1.33 MeV --> 100 MeV)
calcul of dE4 from energy balance : dE4_bal = E_in - E_out = 4.511 MeV (1.33 MeV --> 100 MeV)
Evaluation of dE4 from reading full Range table : dE4_table = 4.577 MeV ---> dE4/dE4_table = 0.9895
Evaluation of dE4 from reading full Range table : dE4_table = 4.578 MeV ---> dE4/dE4_table = 0.9854
Energy spectrum of secondary particles :
e-: 24068 Emean = 1.857 MeV (349.7 keV --> 49.39 MeV)
gamma: 37591 Emean = 6.22 MeV (2.932 keV --> 99.25 MeV)
e-: 23966 Emean = 1.849 MeV (351.9 keV --> 49.39 MeV)
gamma: 37451 Emean = 6.205 MeV (2.943 keV --> 99.25 MeV)
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 209994030, 1973556145
Current couple of seeds = 1416005071, 1830164595
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
UserPhysicsList deleted.
UserRunAction deleted.
UserPrimaryGenerator deleted.
RunManager is deleting RunManagerKernel.
EventManager deleted.
Units table cleared.
TransportationManager deleted.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.00192 MB
Pool ID '7G4Track', size : 0.00288 MB
Pool ID '18G4TouchableHistory', size : 0.000961 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.017 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
StateManager deleted.
RunManagerKernel is deleted. Good bye :)
@@ -1,15 +1,20 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
###/testem/det/setMat Water_vapor
/testem/det/setSize 1 cm
#
# prevent any delta rays production
/run/setCut 100 km
#
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
#
/process/eLoss/fluct false
@@ -1,8 +1,9 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
/testem/det/setSize 5 cm
@@ -11,6 +12,9 @@
#
/run/setCut 1 mm
#
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
#
/gun/particle e-
@@ -1,8 +1,9 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
/testem/det/setSize 1 cm
@@ -11,6 +12,9 @@
#
/run/setCut 100 um
#
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
#
/gun/particle e-
@@ -29,6 +33,5 @@
/analysis/h1/set 12 100 0 10 MeV #e- energy spectrum
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -1,8 +1,9 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
/testem/det/setSize 1 cm
@@ -11,8 +12,10 @@
#
/run/setCut 1 mm
#
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
/process/list
#
/gun/particle ion
/gun/ion 6 12
@@ -1,5 +1,10 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 1
#
/testem/det/setMat G4_Cu
/testem/det/setSize 1 m
#
@@ -8,7 +13,6 @@
/run/setCut 1 mm
#
/run/initialize
/process/list
#
/gun/particle mu+
/gun/energy 1 TeV
@@ -28,5 +32,4 @@
/analysis/h1/set 13 100 0 1000 GeV #e+ energy spectrum
#
/run/printProgress 10000
/run/beamOn 100000
@@ -0,0 +1,20 @@
{
gROOT->Reset();
// Draw histos filled by Geant4 simulation
//
TCanvas* c1 = new TCanvas("c1", " ");
c1->SetLogx(1);
c1->SetLogy(1);
c1->SetGridy(1);
c1->cd();
c1->Update();
TFile fa("pixe.root");
TH1D* ha1 = (TH1D*)fa.Get("11");
ha1->SetLineColor(kBlue);
ha1->Draw("HIST");
}
@@ -1,25 +1,45 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Tungsten
/testem/det/setSize 100 um
/testem/det/setMat G4_Au
/testem/det/setSize 50 um
#
/testem/phys/addPhysics standard
###/testem/phys/addPhysics livermore
#
# prevent any delta rays production
/run/setCut 1 km
/run/setCutForAGivenParticle gamma 0.5 um
#
# to (de)activate pixe or atomic deexcitation
/process/em/pixe true
/process/em/augerCascade false
/process/em/deexcitationIgnoreCut false
#
/run/setCut 1 um
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
#
/gun/particle proton
/gun/energy 10 MeV
/gun/energy 20 MeV
#
/testem/trackSecondaries true
#
# to be run interactively
###/control/execute vis.mac
###/tracking/verbose 2
###/run/beamOn 100
#
/analysis/setFileName pixe
/analysis/h1/set 7 100 0 10 MeV #total eLoss
/analysis/h1/set 11 100 0 100 keV #gamma energy spectrum
/analysis/h1/set 7 100 0 2 MeV #total eLoss
/analysis/h1/set 11 1000 0 100 keV #gamma energy spectrum
/analysis/h1/set 12 1000 0 20 keV #e- energy spectrum
#
/tracking/verbose 0
/run/printProgress 10000
#
/run/beamOn 100000
@@ -3,21 +3,21 @@
// Draw histos filled by Geant4 simulation
//
TFile f("C12.root");
TFile f("pixe.root");
TCanvas* c1 = new TCanvas("c1", " ");
c1->SetLogy(1);
c1->cd();
c1->Update();
TH1D* hist1 = (TH1D*)f.Get("1");
hist1->Draw("HIST");
///TH1D* hist1 = (TH1D*)f.Get("1");
///hist1->Draw("HIST");
TH1D* hist2 = (TH1D*)f.Get("2");
hist2->Draw("HIST");
///TH1D* hist2 = (TH1D*)f.Get("2");
///hist2->Draw("HIST");
TH1D* hist3 = (TH1D*)f.Get("3");
hist3->Draw("HIST");
///TH1D* hist3 = (TH1D*)f.Get("3");
///hist3->Draw("HIST");
///TH1D* hist4 = (TH1D*)f.Get("4");
///hist4->Draw("HIST");
@@ -25,8 +25,8 @@
///TH1D* hist5 = (TH1D*)f.Get("5");
///hist5->Draw("HIST");
TH1D* hist6 = (TH1D*)f.Get("6");
hist6->Draw("HIST");
///TH1D* hist6 = (TH1D*)f.Get("6");
///hist6->Draw("HIST");
TH1D* hist7 = (TH1D*)f.Get("7");
hist7->Draw("HIST");
@@ -37,9 +37,12 @@
///TH1D* hist9 = (TH1D*)f.Get("9");
///hist9->Draw("HIST");
TH1D* hist10 = (TH1D*)f.Get("10");
hist10->Draw("HIST");
///TH1D* hist10 = (TH1D*)f.Get("10");
///hist10->Draw("HIST SAME");
///TH1D* hist11 = (TH1D*)f.Get("11");
///hist11->Draw("HIST");
TH1D* hist11 = (TH1D*)f.Get("11");
hist11->Draw("HIST");
TH1D* hist12 = (TH1D*)f.Get("12");
hist12->Draw("HIST");
}
@@ -1,16 +1,19 @@
#
# macro file for TestEm18.cc
#
/control/cout/ignoreThreadsExcept 0
/control/verbose 2
/run/verbose 2
/run/verbose 1
#
/testem/det/setMat Water
/testem/det/setSize 10 cm
#
/run/setCut 100 um
#
/process/em/verbose 0
/process/em/printParameters
#
/run/initialize
/process/list
#
/gun/particle proton
/gun/energy 1 GeV
@@ -26,5 +29,4 @@
/analysis/h1/set 12 100 0 5 MeV #e- energy spectrum
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -132,6 +132,18 @@ Idle> type your commands
Idle> exit
\endverbatim
Macros provided in this example:
- egs4.mac:
Fe; L = 20 radl; R = 5 radl; electron 30 GeV
(EGS4 simulation: Particle Data Group - Phys.Rev.D 50-3 - August94)
- run01.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- run02.mac: Al; L = 13.5 radl; R = 1.35 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- run03.mac: H2O; L = 9.97 radl; R = 0.665 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- test.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- vis.mac: to activate visualization
\section TestEm2_s7 HISTOGRAMS
TestEm2 produces several histograms:
@@ -154,7 +166,7 @@ Idle> exit
To define the output file name with histograms, use the UI command :
\verbatim
/testem/histo/setFileName name
/analysis/setFileName name
\endverbatim
The format of the histogram file can be : root (default),
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm2)
#----------------------------------------------------------------------------
@@ -14,6 +14,16 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
28-08-20 I. Hrivnacova (testem2-V10-06-00)
- Macro & commands review:
- Added macro descriptions in README
- Removed implementation of /testem/histo/setFileName and replaced its usage
with /analysis/setFileName
- Fixed file name in egs4.mac (do nous use egs4 directory which is not defined
in build area)
- Extended TestEm2.in with a command (missing in testing):
/testem/run/verbose 1
26-11-19 I. Hrivnacova (testem2-V10-05-01)
- Fixed Doxygen warnings
@@ -123,6 +123,19 @@
....
Idle> exit
Macros provided in this example:
- egs4.mac:
Fe; L = 20 radl; R = 5 radl; electron 30 GeV
(EGS4 simulation: Particle Data Group - Phys.Rev.D 50-3 - August94)
- run01.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- run02.mac: Al; L = 13.5 radl; R = 1.35 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- run03.mac: H2O; L = 9.97 radl; R = 0.665 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- test.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- vis.mac: to activate visualization
7- HISTOGRAMS
TestEm2 produces several histograms:
@@ -145,7 +158,7 @@
To define the output file name with histograms, use the UI command :
"/testem/histo/setFileName name"
"/analysis/setFileName name"
The format of the histogram file can be : root (default),
xml, csv, by selecting g4nnn.hh in RunAction.hh
@@ -28,5 +28,6 @@
/gun/energy 5 GeV
#
/run/printProgress 20
/testem/run/verbose 1
#
/run/beamOn 100
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -144,6 +144,7 @@ Absorber is 17.8491 cm of G4_PbWO4 R= 4.46227 cm
/gun/particle e-
/gun/energy 5 GeV
/run/printProgress 20
/testem/run/verbose 1
/run/beamOn 100
phot: for gamma SubType=12 BuildTable=0
@@ -169,10 +170,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -196,10 +198,11 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -227,9 +230,9 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -243,14 +246,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -259,9 +262,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -273,9 +276,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -286,9 +289,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -302,14 +305,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -318,9 +321,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -334,14 +337,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -350,9 +353,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -366,14 +369,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -382,9 +385,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -399,14 +402,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -415,9 +418,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -432,14 +435,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -448,9 +451,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -464,14 +467,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -480,9 +483,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -496,14 +499,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -516,7 +519,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Index : 0 used in the geometry : Yes
Material : G4_PbWO4
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 89.7946 keV e- 1.13679 MeV e+ 1.06315 MeV proton 100 keV
Energy thresholds : gamma 89.3347 keV e- 1.12535 MeV e+ 1.05931 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -539,37 +542,138 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 100
User=8.560000s Real=8.773186s Sys=0.010000s
User=2.420000s Real=2.458125s Sys=0.000000s
LOGITUDINAL PROFILE CUMULATIVE LOGITUDINAL PROFILE
bin Mean rms bin Mean rms
0.00-> 0.50 radl: 0.19% 0.10% 0-> 0.50 radl: 0.19% 0.10%
0.50-> 1.00 radl: 0.43% 0.25% 0-> 1.00 radl: 0.62% 0.31%
1.00-> 1.50 radl: 0.94% 0.47% 0-> 1.50 radl: 1.56% 0.72%
1.50-> 2.00 radl: 1.69% 0.76% 0-> 2.00 radl: 3.25% 1.34%
2.00-> 2.50 radl: 2.70% 1.19% 0-> 2.50 radl: 5.95% 2.39%
2.50-> 3.00 radl: 3.50% 1.39% 0-> 3.00 radl: 9.45% 3.53%
3.00-> 3.50 radl: 4.38% 1.45% 0-> 3.50 radl: 13.83% 4.71%
3.50-> 4.00 radl: 5.00% 1.52% 0-> 4.00 radl: 18.83% 5.86%
4.00-> 4.50 radl: 5.48% 1.53% 0-> 4.50 radl: 24.31% 6.93%
4.50-> 5.00 radl: 5.79% 1.39% 0-> 5.00 radl: 30.10% 7.81%
5.00-> 5.50 radl: 6.02% 1.37% 0-> 5.50 radl: 36.13% 8.48%
5.50-> 6.00 radl: 5.83% 1.33% 0-> 6.00 radl: 41.95% 8.92%
6.00-> 6.50 radl: 5.65% 1.18% 0-> 6.50 radl: 47.61% 9.19%
6.50-> 7.00 radl: 5.23% 1.14% 0-> 7.00 radl: 52.84% 9.24%
7.00-> 7.50 radl: 4.89% 1.06% 0-> 7.50 radl: 57.73% 9.13%
7.50-> 8.00 radl: 4.51% 1.02% 0-> 8.00 radl: 62.24% 8.90%
8.00-> 8.50 radl: 4.13% 1.11% 0-> 8.50 radl: 66.37% 8.47%
8.50-> 9.00 radl: 3.72% 0.97% 0-> 9.00 radl: 70.09% 8.04%
9.00-> 9.50 radl: 3.32% 1.00% 0-> 9.50 radl: 73.41% 7.52%
9.50->10.00 radl: 2.97% 0.95% 0->10.00 radl: 76.38% 7.00%
10.00->10.50 radl: 2.66% 0.94% 0->10.50 radl: 79.04% 6.50%
10.50->11.00 radl: 2.39% 1.01% 0->11.00 radl: 81.43% 5.94%
11.00->11.50 radl: 2.02% 0.83% 0->11.50 radl: 83.45% 5.42%
11.50->12.00 radl: 1.73% 0.76% 0->12.00 radl: 85.17% 4.93%
12.00->12.50 radl: 1.44% 0.69% 0->12.50 radl: 86.61% 4.50%
12.50->13.00 radl: 1.31% 0.61% 0->13.00 radl: 87.92% 4.08%
13.00->13.50 radl: 1.15% 0.58% 0->13.50 radl: 89.07% 3.66%
13.50->14.00 radl: 1.01% 0.58% 0->14.00 radl: 90.08% 3.26%
14.00->14.50 radl: 0.86% 0.58% 0->14.50 radl: 90.94% 2.83%
14.50->15.00 radl: 0.77% 0.55% 0->15.00 radl: 91.71% 2.42%
15.00->15.50 radl: 0.62% 0.42% 0->15.50 radl: 92.33% 2.09%
15.50->16.00 radl: 0.54% 0.36% 0->16.00 radl: 92.87% 1.85%
16.00->16.50 radl: 0.48% 0.36% 0->16.50 radl: 93.35% 1.61%
16.50->17.00 radl: 0.39% 0.30% 0->17.00 radl: 93.74% 1.42%
17.00->17.50 radl: 0.33% 0.26% 0->17.50 radl: 94.07% 1.28%
17.50->18.00 radl: 0.30% 0.26% 0->18.00 radl: 94.37% 1.12%
18.00->18.50 radl: 0.29% 0.21% 0->18.50 radl: 94.66% 1.00%
18.50->19.00 radl: 0.20% 0.17% 0->19.00 radl: 94.85% 0.93%
19.00->19.50 radl: 0.18% 0.16% 0->19.50 radl: 95.03% 0.85%
19.50->20.00 radl: 0.14% 0.16% 0->20.00 radl: 95.17% 0.79%
RADIAL PROFILE CUMULATIVE RADIAL PROFILE
bin Mean rms bin Mean rms
0.00-> 0.10 radl: 17.79% 2.18% 0-> 0.10 radl: 17.79% 2.18%
0.10-> 0.20 radl: 13.38% 1.36% 0-> 0.20 radl: 31.16% 2.60%
0.20-> 0.30 radl: 10.13% 1.07% 0-> 0.30 radl: 41.30% 2.68%
0.30-> 0.40 radl: 7.81% 0.88% 0-> 0.40 radl: 49.11% 2.69%
0.40-> 0.50 radl: 5.96% 0.72% 0-> 0.50 radl: 55.07% 2.57%
0.50-> 0.60 radl: 4.83% 0.69% 0-> 0.60 radl: 59.91% 2.31%
0.60-> 0.70 radl: 3.89% 0.70% 0-> 0.70 radl: 63.80% 2.18%
0.70-> 0.80 radl: 3.21% 0.54% 0-> 0.80 radl: 67.01% 2.04%
0.80-> 0.90 radl: 2.73% 0.52% 0-> 0.90 radl: 69.74% 1.91%
0.90-> 1.00 radl: 2.32% 0.45% 0-> 1.00 radl: 72.06% 1.87%
1.00-> 1.10 radl: 2.03% 0.38% 0-> 1.10 radl: 74.08% 1.81%
1.10-> 1.20 radl: 1.81% 0.41% 0-> 1.20 radl: 75.90% 1.74%
1.20-> 1.30 radl: 1.57% 0.35% 0-> 1.30 radl: 77.46% 1.72%
1.30-> 1.40 radl: 1.46% 0.38% 0-> 1.40 radl: 78.92% 1.65%
1.40-> 1.50 radl: 1.32% 0.31% 0-> 1.50 radl: 80.24% 1.58%
1.50-> 1.60 radl: 1.21% 0.26% 0-> 1.60 radl: 81.46% 1.53%
1.60-> 1.70 radl: 1.05% 0.25% 0-> 1.70 radl: 82.51% 1.47%
1.70-> 1.80 radl: 1.00% 0.26% 0-> 1.80 radl: 83.51% 1.42%
1.80-> 1.90 radl: 0.88% 0.21% 0-> 1.90 radl: 84.39% 1.37%
1.90-> 2.00 radl: 0.78% 0.19% 0-> 2.00 radl: 85.17% 1.33%
2.00-> 2.10 radl: 0.78% 0.23% 0-> 2.10 radl: 85.95% 1.31%
2.10-> 2.20 radl: 0.67% 0.20% 0-> 2.20 radl: 86.63% 1.26%
2.20-> 2.30 radl: 0.63% 0.18% 0-> 2.30 radl: 87.25% 1.21%
2.30-> 2.40 radl: 0.58% 0.18% 0-> 2.40 radl: 87.84% 1.17%
2.40-> 2.50 radl: 0.55% 0.18% 0-> 2.50 radl: 88.39% 1.14%
2.50-> 2.60 radl: 0.51% 0.15% 0-> 2.60 radl: 88.89% 1.13%
2.60-> 2.70 radl: 0.49% 0.15% 0-> 2.70 radl: 89.38% 1.10%
2.70-> 2.80 radl: 0.45% 0.14% 0-> 2.80 radl: 89.83% 1.09%
2.80-> 2.90 radl: 0.41% 0.14% 0-> 2.90 radl: 90.24% 1.07%
2.90-> 3.00 radl: 0.39% 0.13% 0-> 3.00 radl: 90.63% 1.06%
3.00-> 3.10 radl: 0.38% 0.14% 0-> 3.10 radl: 91.01% 1.01%
3.10-> 3.20 radl: 0.35% 0.14% 0-> 3.20 radl: 91.36% 0.97%
3.20-> 3.30 radl: 0.33% 0.12% 0-> 3.30 radl: 91.69% 0.94%
3.30-> 3.40 radl: 0.32% 0.11% 0-> 3.40 radl: 92.01% 0.92%
3.40-> 3.50 radl: 0.29% 0.11% 0-> 3.50 radl: 92.29% 0.90%
3.50-> 3.60 radl: 0.26% 0.10% 0-> 3.60 radl: 92.56% 0.88%
3.60-> 3.70 radl: 0.25% 0.10% 0-> 3.70 radl: 92.81% 0.86%
3.70-> 3.80 radl: 0.25% 0.10% 0-> 3.80 radl: 93.06% 0.84%
3.80-> 3.90 radl: 0.23% 0.09% 0-> 3.90 radl: 93.29% 0.84%
3.90-> 4.00 radl: 0.22% 0.10% 0-> 4.00 radl: 93.51% 0.82%
4.00-> 4.10 radl: 0.20% 0.08% 0-> 4.10 radl: 93.72% 0.81%
4.10-> 4.20 radl: 0.20% 0.09% 0-> 4.20 radl: 93.92% 0.80%
4.20-> 4.30 radl: 0.21% 0.10% 0-> 4.30 radl: 94.13% 0.78%
4.30-> 4.40 radl: 0.18% 0.08% 0-> 4.40 radl: 94.31% 0.79%
4.40-> 4.50 radl: 0.16% 0.08% 0-> 4.50 radl: 94.48% 0.78%
4.50-> 4.60 radl: 0.16% 0.08% 0-> 4.60 radl: 94.64% 0.79%
4.60-> 4.70 radl: 0.16% 0.08% 0-> 4.70 radl: 94.80% 0.80%
4.70-> 4.80 radl: 0.14% 0.07% 0-> 4.80 radl: 94.94% 0.79%
4.80-> 4.90 radl: 0.13% 0.06% 0-> 4.90 radl: 95.06% 0.79%
4.90-> 5.00 radl: 0.11% 0.05% 0-> 5.00 radl: 95.17% 0.79%
===== SUMMARY =====
Total number of events: 100
Mean number of charged steps: 7240.02
Mean number of neutral steps: 4092.36
Mean number of charged steps: 7276.64
Mean number of neutral steps: 4120.93
energy deposit : 95.16 % E0 +- 0.97 % E0
charged traklen: 485.13 radl +- 5.13 radl
neutral traklen: 4180.14 radl +- 123.39 radl
energy deposit : 95.17 % E0 +- 0.79 % E0
charged traklen: 484.99 radl +- 4.47 radl
neutral traklen: 4227.07 radl +- 115.66 radl
90.00 % confinement: radius = 2.87 radl (2.56 cm )
90.00 % confinement: radius = 2.84 radl (2.53 cm )
<<<<ACCEPTANCE>>>> 100 events for Total Energy in Absorber
Edep: 0.951576 delEdep= 0.00257597 nrms= 3.14142
Erms: 0.00969668 delErms= 0.00149668 nrms= 1.82522
Edep: 0.951746 delEdep= 0.0027458 nrms= 3.34853
Erms: 0.00785038 delErms= -0.000349624 nrms= -0.426371
<<<<END>>>> IS NOT ACCEPTED
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={1988256241637042433, 1290128793852102062, 741993723810955011, 88626892286938908, 925842433676995178, 2027261143151211294, 1103835360358955530, 1225691208052109603, 2166253751576666731, 1752302890925742466, 22334852124403215, 2106258793908074719, 761035665999996224, 164180213923982943, 1383706058027854732, 2161396677910274468, 368251014461497353} counter= 17sumtot= 1830611641975251262
N=17 V[N]={851434535752920704, 888539176679964768, 315678774786267687, 921965249393603455, 431656495543229842, 1479312182916538139, 638552150678385958, 388339336885198511, 382715861733027773, 2262160206525218158, 832818704021629363, 139561543447700225, 1422938963155495486, 118603380232983629, 2056990588665516613, 841707889787774152, 236456093093737758} counter= 9sumtot= 374373078017028515
---------------------------------------
... write Root file : testem2.root - done
... close Root file : testem2.root - done
... write file : testem2.root - done
... close file : testem2.root - done
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.059 MB
Dynamic pools deleted: 9 / Total memory freed: 0.067 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -18,7 +18,7 @@
/run/setCut 0.7 mm
#
# histogram file
/testem/histo/setFileName egs4/93ref0
/analysis/setFileName egs4_93ref0
#
/run/initialize
#
@@ -59,10 +59,7 @@ public:
virtual void EndOfRunAction(const G4Run*);
void SetVerbose(G4int val);
// Histogram name
void SetHistoName(G4String& val);
// Acceptance parameters
void SetEdepAndRMS(G4ThreeVector);
@@ -78,8 +75,6 @@ private:
G4int fVerbose;
G4String fHistoName[2];
G4double fEdeptrue;
G4double fRmstrue;
G4double fLimittrue;
@@ -58,9 +58,6 @@ private:
G4UIdirectory* fRunDir;
G4UIcmdWith3Vector* fAccCmd;
G4UIcmdWithAnInteger* fVerbCmd;
G4UIdirectory* fHistoDir;
G4UIcmdWithAString* fHFileCmd;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -21,7 +21,7 @@
/gun/energy 5 GeV
#
# histogram file
/testem/histo/setFileName run01
/analysis/setFileName run01
#
/run/printProgress 50
/testem/run/verbose 1
@@ -52,7 +52,13 @@ RunAction::RunAction(DetectorConstruction* det, PrimaryGeneratorAction* kin)
fVerbose(0), fEdeptrue(1.), fRmstrue(1.), fLimittrue(DBL_MAX)
{
fRunMessenger = new RunActionMessenger(this);
fHistoName[0] = "testem2";
// Create analysis manager
// The choice of analysis technology is done via selection of a namespace
fAnalysisManager = G4AnalysisManager::Instance();
// Set the default file name "testem2"
// which can be then redefine in a macro via UI command
fAnalysisManager->SetFileName("testem2");
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -66,21 +72,12 @@ RunAction::~RunAction()
void RunAction::BookHisto()
{
// Create analysis manager
// The choice of analysis technology is done via selection of a namespace
//
// Get analysis manager
fAnalysisManager = G4AnalysisManager::Instance();
// Open an output file
//
///fHistoName[0] = "testem2";
fAnalysisManager->OpenFile(fHistoName[0]);
fAnalysisManager->OpenFile();
fAnalysisManager->SetVerboseLevel(1);
G4String extension = fAnalysisManager->GetFileType();
fHistoName[1] = fHistoName[0] + "." + extension;
// Creating histograms
//
@@ -132,14 +129,10 @@ void RunAction::BookHisto()
fAnalysisManager->CreateH1("h11","rms on cumul radial Edep (% of E inc)",
nRbin,Rmin,Rmax);
G4cout << "\n----> Histogram file is opened in " << fHistoName[1] << G4endl;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void RunAction::SetHistoName(G4String& val)
{
fHistoName[0] = val;
G4String fileName = fAnalysisManager->GetFileName();
G4String extension = fAnalysisManager->GetFileType();
G4String fullFileName = fileName + "." + extension;
G4cout << "\n----> Histogram file is opened in " << fullFileName << G4endl;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -44,9 +44,7 @@ RunActionMessenger::RunActionMessenger(RunAction* run)
:G4UImessenger(),fRun(run),
fRunDir(0),
fAccCmd(0),
fVerbCmd(0),
fHistoDir(0),
fHFileCmd(0)
fVerbCmd(0)
{
fRunDir = new G4UIdirectory("/testem/run/");
fRunDir->SetGuidance("run control");
@@ -61,12 +59,6 @@ RunActionMessenger::RunActionMessenger(RunAction* run)
fVerbCmd = new G4UIcmdWithAnInteger("/testem/run/verbose",this);
fVerbCmd->SetGuidance("set verbose level for runAction");
fVerbCmd->SetParameterName("verbose",false);
fHistoDir = new G4UIdirectory("/testem/histo/");
fHistoDir->SetGuidance("histograms control");
fHFileCmd = new G4UIcmdWithAString("/testem/histo/setFileName",this);
fHFileCmd->SetGuidance("set name for the histograms file");
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -76,8 +68,6 @@ RunActionMessenger::~RunActionMessenger()
delete fVerbCmd;
delete fAccCmd;
delete fRunDir;
delete fHFileCmd;
delete fHistoDir;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -89,9 +79,6 @@ void RunActionMessenger::SetNewValue(G4UIcommand* command,G4String newValue)
if (command == fVerbCmd )
{ fRun->SetVerbose(fVerbCmd->GetNewIntValue(newValue));}
if (command == fHFileCmd)
{ fRun->SetHistoName(newValue);}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -81,11 +81,7 @@
- "emlowenergy" low-energy EM physics implementing experimental
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
Physics lists and options can be (re)set with UI commands.
\section TestEm3_s3 AN EVENT : THE PRIMARY GENERATOR
@@ -131,8 +127,8 @@
As a homework try to visualize a gamma conversion alone,
or the effect of the multiple scattering.
Notice that one can control the maximum step size in each absorber, via the
StepMax process and the command
Notice that one can control the maximum step size, via the
StepMax process and the command /testem/stepMax
\verbatim
/testem/stepMax/absorber
\endverbatim
@@ -154,7 +150,22 @@ Idle> /control/execute run01.mac
....
Idle> exit
\endverbatim
Macros provided in this example:
- atlashec.mac: ATLAS HEC model
- dedx.mac: to control dE/dx calculation: 1 layer; minimum ionizing particle
- emtutor.mac: for tutorial; interactivity + visualisation
- geom.mac: to play with geometry
- ionC12.mac: ion C12, 1 layer
- lhcb.mac: LHCB ECAL model
- linac.mac: Linac/Ecal from Graham Wilson
- lockwood.mac: Al-Au-Al 1 layer (G.L.Lockwood et al. SAND79-0414 (1980))
- run01.mac: Lead-liquidArgon 50 layers; electron 1 GeV
- run02.mac: Tungsten-Silicon 50 layers; electron 1 GeV
- storeTables.mac: show how to store and retrieve physics tables
- tileCal.mac: ATLAS tileCal
- vis.mac: to activate visualization
\section TestEm3_s7 HISTOGRAMS
Testem3 can produce histograms :
@@ -162,6 +173,18 @@ Idle> exit
- histo 2 : energy deposit in absorber 2
- etc.
- histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
- histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event)
- etc.
- histo 21 : energy flow (MeV/event)
- histo 22 : lateral energy leak (MeV/event)
NB. Numbering scheme for histograms:
- layer : from 1 to NbOfLayers (included)
- absorbers : from 1 to NbOfAbsor (included)
- planes : from 1 to NbOfLayers*NbOfAbsor + 1 (included)
One can control the binning of the histo with the command:
\verbatim
/analysis/h1/set idAbsor nbin Emin Emax unit
@@ -169,36 +192,18 @@ Idle> exit
etc.,
where unit is the desired energy unit for that histo (see TestEm3.in).
- histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
- histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event)
- etc.
histo 21 : energy flow (MeV/event)
histo 22 : lateral energy leak (MeV/event)
NB. Numbering scheme for histograms:
- layer : from 1 to NbOfLayers (inclued)
- absorbers : from 1 to NbOfAbsor (inclued)
- planes : from 1 to NbOfLayers*NbOfAbsor + 1 (inclued)
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem3)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
hbook, xml, csv, by using namespace in HistoManager.hh
xml, csv, by using namespace in HistoManager.hh
It is also possible to print selected histograms on an ascii file:
\verbatim
/analysis/h1/setAscii id
\endverbatim
All selected histos will be written on a file name.ascii (default testem3)
\subsection TestEm3_subs1 Using hbook format
Need a special treatement : the Cern Library must be installed and the
environment variable CERNLIB correctly set. Then, *before* compiling,
activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in HistoManager.hh
*/
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm3)
#----------------------------------------------------------------------------
@@ -40,7 +43,7 @@ target_link_libraries(TestEm3 ${Geant4_LIBRARIES})
# relies on these scripts being in the current working directory.
#
set(TestEm3_SCRIPTS
atlashec.mac dedx.mac emtutor.mac ionC12.mac lhcb.mac linac.mac lockwood.mac retrieveTables.mac
atlashec.mac dedx.mac emtutor.mac geom.mac ionC12.mac lhcb.mac linac.mac lockwood.mac
run01.mac run02.mac storeTables.mac TestEm3.in TestEm3.out tileCal.mac vis.mac
)
@@ -14,6 +14,16 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
14-09-20 I. Hrivnacova (testem3-V10-06-01)
- Renamed TestEm3_2.in in geom.mac
01-09-20 mma, I. Hrivnacova (testem3-V10-06-00)
- Macro & commands review:
- Added macro descriptions in README
- Added TestEm3_2.in with commands not used in TestEm3.in
- Fixed not working macros: ionC12.mac, lockwood.mac, storeTables.mac
- Removed obsolete macro retrieveTables.mac
26-11-19 I. Hrivnacova (testem3-V10-05-00)
- Fixed Doxygen warnings
@@ -83,11 +83,7 @@
- "emlowenergy" low-energy EM physics implementing experimental
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
Physics lists and options can be (re)set with UI commands.
3- AN EVENT : THE PRIMARY GENERATOR
@@ -131,8 +127,8 @@
As a homework try to visualize a gamma conversion alone,
or the effect of the multiple scattering.
Notice that one can control the maximum step size in each absorber, via the
StepMax process and the command /testem/stepMax/absorber
Notice that one can control the maximum step size, via the
StepMax process and the command /testem/stepMax
(see StepMax and PhysicsList classes)
6- HOW TO START ?
@@ -147,7 +143,22 @@
Idle> /control/execute run01.mac
....
Idle> exit
Macros provided in this example:
- atlashec.mac: ATLAS HEC model
- dedx.mac: to control dE/dx calculation: 1 layer; minimum ionizing particle
- emtutor.mac: for tutorial; interactivity + visualisation
- geom.mac: to play with geometry
- ionC12.mac: ion C12, 1 layer
- lhcb.mac: LHCB ECAL model
- linac.mac: Linac/Ecal from Graham Wilson
- lockwood.mac: Al-Au-Al 1 layer (G.L.Lockwood et al. SAND79-0414 (1980))
- run01.mac: Lead-liquidArgon 50 layers; electron 1 GeV
- run02.mac: Tungsten-Silicon 50 layers; electron 1 GeV
- storeTables.mac: show how to store and retrieve physics tables
- tileCal.mac: ATLAS tileCal
- vis.mac: to activate visualization
7- HISTOGRAMS
Testem3 can produce histograms :
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -31,7 +31,7 @@ userDetector->Construct() start.
G4_lAr: 5.7 mm
-------------------------------------------------------------
Material: Galactic density: 0.000 kg/m3 RadL: 204310101.835 pc Nucl.Int.Length: 113427275.267 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -105,10 +105,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -132,10 +133,11 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -163,9 +165,9 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -179,14 +181,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -195,9 +197,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -209,9 +211,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -222,9 +224,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -238,14 +240,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -254,9 +256,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -270,14 +272,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -286,9 +288,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -302,14 +304,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -318,9 +320,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -335,14 +337,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -351,9 +353,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -368,14 +370,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -384,9 +386,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -400,14 +402,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -416,9 +418,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -432,14 +434,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -472,14 +474,14 @@ Index : 0 used in the geometry : Yes
Index : 1 used in the geometry : Yes
Material : G4_Pb
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 101.981 keV e- 1.36213 MeV e+ 1.28245 MeV proton 100 keV
Energy thresholds : gamma 101.843 keV e- 1.36749 MeV e+ 1.27862 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 2 used in the geometry : Yes
Material : G4_lAr
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.2036 keV e- 345.078 keV e+ 335.956 keV proton 100 keV
Energy thresholds : gamma 6.19986 keV e- 349.521 keV e+ 337.972 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -488,48 +490,48 @@ Index : 2 used in the geometry : Yes
Start closing geometry.
G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Total memory consumed for geometry optimisation: 4 kByte
Total memory consumed for geometry optimisation: 3 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
Voxelisation: top CPU users:
Percent Total CPU System CPU Memory Volume
------- ---------- ---------- -------- ----------
0.00 0.00 0.00 4k Calorimeter
0.00 0.00 0.00 3k Calorimeter
0.00 0.00 0.00 0k Layer
Voxelisation: top memory users:
Percent Memory Heads Nodes Pointers Total CPU Volume
------- -------- ------ ------ -------- ---------- ----------
92.30 4k 1 50 50 0.00 Calorimeter
7.70 0k 1 3 4 0.00 Layer
92.05 2k 1 50 50 0.00 Calorimeter
7.95 0k 1 3 4 0.00 Layer
### Run 0 starts.
--> Event 0 starts.
--> Event 50 starts.
Run terminated.
Run Summary
Number of events processed : 100
User=3.320000s Real=3.354409s Sys=0.000000s
User=1.570000s Real=1.583600s Sys=0.000000s
------------------------------------------------------------
material Edep RMS sqrt(E0(GeV))*rmsE/Emean total tracklen
G4_Pb: 775.48 MeV : 17.96 MeV 2.316 +- 0.2316 % 54.8 cm +- 1.33 cm
G4_lAr: 214.69 MeV : 17.13 MeV 7.98 +- 0.798 % 1.05 m +- 8.56 cm
G4_Pb: 776.48 MeV : 16.85 MeV 2.17 +- 0.217 % 54.8 cm +- 1.39 cm
G4_lAr: 213.5 MeV : 15.49 MeV 7.253 +- 0.7253 % 1.05 m +- 7.97 cm
------------------------------------------------------------
Beam particle e- E = 1 GeV
Mean number of gamma 508
Mean number of e- 872
Mean number of e+ 53.2
Mean number of charged steps 3604.6
Mean number of neutral steps 3669.14
Mean number of e- 873
Mean number of e+ 53.7
Mean number of charged steps 3670.22
Mean number of neutral steps 3720.94
------------------------------------------------------------
Energy deposition from Energy flow balance :
material Total Edep
G4_Pb: 775.483 MeV
G4_lAr: 214.664 MeV
G4_Pb: 776.475 MeV
G4_lAr: 213.498 MeV
------------------------------------------------------------
@@ -572,10 +574,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -599,10 +602,11 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -630,9 +634,9 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -646,14 +650,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -662,9 +666,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -676,9 +680,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -689,9 +693,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -705,14 +709,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -721,9 +725,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -737,14 +741,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -753,9 +757,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -769,14 +773,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -785,9 +789,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -802,14 +806,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -818,9 +822,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -835,14 +839,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -851,9 +855,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -867,14 +871,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -883,9 +887,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -899,14 +903,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -939,14 +943,14 @@ Index : 0 used in the geometry : Yes
Index : 1 used in the geometry : Yes
Material : G4_Pb
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 101.981 keV e- 1.36213 MeV e+ 1.28245 MeV proton 100 keV
Energy thresholds : gamma 101.843 keV e- 1.36749 MeV e+ 1.27862 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 2 used in the geometry : Yes
Material : G4_lAr
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.2036 keV e- 345.078 keV e+ 335.956 keV proton 100 keV
Energy thresholds : gamma 6.19986 keV e- 349.521 keV e+ 337.972 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -958,28 +962,28 @@ Index : 2 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 100
User=2.670000s Real=2.690025s Sys=0.000000s
User=1.250000s Real=1.255681s Sys=0.000000s
------------------------------------------------------------
material Edep RMS sqrt(E0(GeV))*rmsE/Emean total tracklen
G4_Pb: 775.92 MeV : 21.72 MeV 2.799 +- 0.2799 % 52.2 cm +- 1.27 cm
G4_lAr: 214.13 MeV : 15.31 MeV 7.149 +- 0.7149 % 1.01 m +- 7.82 cm
G4_Pb: 773.85 MeV : 25 MeV 3.231 +- 0.3231 % 52.1 cm +- 1.36 cm
G4_lAr: 215.01 MeV : 16.84 MeV 7.83 +- 0.783 % 1.01 m +- 8.21 cm
------------------------------------------------------------
Beam particle e- E = 1 GeV
Mean number of gamma 291
Mean number of e- 558
Mean number of e+ 52.7
Mean number of charged steps 3096.93
Mean number of neutral steps 2918.06
Mean number of e- 556
Mean number of e+ 53.5
Mean number of charged steps 3107.22
Mean number of neutral steps 2931.41
------------------------------------------------------------
Energy deposition from Energy flow balance :
material Total Edep
G4_Pb: 774.622 MeV
G4_lAr: 216.487 MeV
G4_Pb: 774.371 MeV
G4_lAr: 216.613 MeV
------------------------------------------------------------
@@ -994,19 +998,19 @@ RunManager is deleting RunManagerKernel.
EventManager deleted.
Units table cleared.
TransportationManager deleted.
Total navigation history collections cleaned: 33
Total navigation history collections cleaned: 32
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.049 MB
Pool ID '20G4NavigationLevelRep', size : 0.0481 MB
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.0135 MB
Pool ID '7G4Track', size : 0.026 MB
Pool ID '17G4DynamicParticle', size : 0.0115 MB
Pool ID '7G4Track', size : 0.0231 MB
Pool ID '18G4TouchableHistory', size : 0.00385 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.097 MB
Dynamic pools deleted: 9 / Total memory freed: 0.091 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
View File
View File
View File
View File
@@ -0,0 +1,26 @@
#
# Macro file for "TestEm3.cc"
#
# to play with geometry
# 1 layer; magnetic field
#
/control/verbose 2
#
/testem/det/setNbOfLayers 1
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 Aluminium 10 cm
/testem/det/setSizeYZ 10 cm
#
/run/setCut 2 cm
#
/run/initialize
#
/globalField/setValue 0 0 10 tesla
#
/testem/gun/setDefault
/testem/gun/rndm 0.1
/gun/particle proton
/gun/energy 300 MeV
#
/run/printProgress 0
/run/beamOn 10
@@ -1,6 +1,5 @@
#
# Macro file for "TestEm3.cc"
# (can be run in batch, without graphic)
#
# CsI 1 layer;
#
@@ -19,8 +18,6 @@
/testem/det/setAbsor 1 CsI 1.99 cm
/testem/det/setSizeYZ 3 cm
#
/gun/particle ion
/gun/ion 6 12
/run/initialize
#
/testem/gun/setDefault
@@ -1,6 +1,5 @@
#
# Macro file for "TestEm3.cc"
# (can be run in batch, without graphic)
#
# Al-Au-Al 1 layer;
#
@@ -27,8 +26,7 @@
/gun/energy 1 MeV
/testem/gun/rndm 0.8
#
/testem/stepMax/absorber 2 5 um
/testem/stepMax 5 um
#
/run/printProgress 1000
#
/run/beamOn 10
/run/beamOn 10000
@@ -1,24 +0,0 @@
#
# Macro file for "exampleN03.cc"
#
# can be run in batch, without graphic
# or interactively: Idle> /control/execute run1.mac
#
/control/verbose 2
#
# select EM PhysicsList
#
/testem/phys/addPhysics emstandard_opt0
#
/run/particle/retrievePhysicsTable physdata
/run/initialize
/process/eLoss/verbose 1
/process/eLoss/CSDARange true
#
/gun/particle e-
/gun/energy 1 GeV
#
/run/beamOn 3
#
/run/particle/storePhysicsTable physdata1
#
@@ -1,20 +1,20 @@
#
# Macro file for "testEm3.cc"
#
# can be run in batch, without graphic
# or interactively: Idle> /control/execute run1.mac
#
# show how to store and retrieve Physics Tables
#
/control/verbose 2
#
/testem/phys/addPhysics emstandard_opt0
#
#/run/initialize
/process/eLoss/verbose 1
/process/eLoss/verbose 0
/process/eLoss/CSDARange true
/run/initialize
/random/setSavingFlag 1
#
/run/beamOn 3
#
/run/particle/dumpCutValues
/control/shell mkdir physdata
/run/particle/storePhysicsTable physdata
#
/gun/particle e-
@@ -24,6 +24,6 @@
#
/run/particle/retrievePhysicsTable physdata
#
#/random/resetEngineFrom currentRun.rndm
/random/resetEngineFrom currentRun.rndm
/run/beamOn 3
#
@@ -54,26 +54,11 @@ Idle> type your commands
Idle> exit
\endverbatim
- Visualize the histogram (paw)
\verbatim
paw> h/file 1 testem4.hbook
paw> option stat
paw> option logy
paw> h/pl 1
\endverbatim
\section TestEm4_s7 USING HISTOGRAMS
The format of the histogram file can be : root (default),
hbook, xml, csv, by selecting g4nnn.hh in RunAction.hh
\subsection TestEm4_subs1 Using hbook format
Need a special treatement : the Cern Library must be installed and the
environment variable CERNLIB correctly set. Then, *before* compiling,
activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in RunAction.hh
xml, csv, by selecting g4nnn.hh in RunAction.hh
\section TestEm4_s8- RANDOM NUMBERS HANDLING
CLHEP provides several random number engines. In this example the Ranecu
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm4)
#----------------------------------------------------------------------------
@@ -14,6 +14,10 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
28-08-20 I. Hrivnacova (testem4-V10-06-01)
- Updated README: removed paw instructions (as the HBOOK output
is not supported anymore)
07-04-20 V.Ivantchenko (testem4-V10-06-00)
- do not call vis.mac automatically in interactive mode
@@ -52,26 +52,12 @@
Idle> type your commands
....
Idle> exit
- visualize the histogram (paw)
paw> h/file 1 testem4.hbook
paw> option stat
paw> option logy
paw> h/pl 1
7- USING HISTOGRAMS
The format of the histogram file can be : root (default),
hbook, xml, csv, by selecting g4nnn.hh in RunAction.hh
Using hbook format
------------------
Need a special treatement : the Cern Library must be installed and the
environment variable CERNLIB correctly set. Then, *before* compiling,
activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in RunAction.hh
xml, csv, by selecting g4nnn.hh in RunAction.hh
8- RANDOM NUMBERS HANDLING
CLHEP provides several random number engines. In this example the Ranecu
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -49,9 +49,9 @@ conv: for gamma SubType=14 BuildTable=1
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -69,9 +69,9 @@ eBrem: for e- SubType=3
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -110,7 +110,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : FluorCarbonate
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 3.65468 keV e- 427.561 keV e+ 416.259 keV proton -1 MeV
Energy thresholds : gamma 3.64604 keV e- 433.376 keV e+ 419.056 keV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -127,7 +127,8 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
... open Root analysis file : testem4.root - done
... create file : testem4.root - done
... open analysis file : testem4.root - done
--> Event 0 starts.
--> Event 10000 starts.
--> Event 20000 starts.
@@ -141,14 +142,14 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 100000
User=1.750000s Real=1.759677s Sys=0.000000s
User=0.650000s Real=0.655895s Sys=0.000000s
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1073488776, 806556264
Current couple of seeds = 2061705805, 1607203597
----------------------------------------
... write Root file : testem4.root - done
... close Root file : testem4.root - done
... write file : testem4.root - done
... close file : testem4.root - done
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
UserPhysicsList deleted.
@@ -154,8 +154,6 @@
- 60 : "energy of G4DNA Auger e- at creation (log scale)"
- 61 : "energy of G4DNA gamma at creation (log scale)"
The histograms can be viewed using ROOT or PAW.
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem5)
@@ -196,8 +194,6 @@
| | gottsch.mac | tramu.mac
--------------------------------------------------------
</pre>
The relevant part of the GEANT3 code is in the subdirectory geant3 together
with the xxxx.dat input files.
\section TestEm5_s9 HOW TO START ?
@@ -216,5 +212,53 @@ Idle> control/execute vis.mac
Idle> run/beamOn 5
....
\endverbatim
Macros provided in this example:
- acosta.mac: Back x-ray emission by 20 keV electrons in Silver.
(E. Acosta et al. Journal of Applied Physics 83(11) 1998 page 6038,
Fig. 4-5-6)
- anthony.mac: LPM and dielectric effect measurement: 25 GeV electrons
through thin foils.
(P.L. Anthony et al. Phys.Rev. D 56 (1997) page 1373.)
- atima.mac: to test PhysListEm19DStandard for ions
- berger.mac: Energy deposit by 1 MeV electrons in silicon counters.
(M.J.Berger et al. NIM 69 (1969) page 181.)
- bichsel.mac: 0.766 MeV protons, transmitted through 1.37 mg/cm2 Al
(H.Bichsel Phys.Rev. 112 (1958) page 182.)
- dedx1.mac: to control dE/dx calculation.
- dedx2.mac: to control dE/dx calculation. High statistic and plot
- dna.mac: to illustrate DNA physics
- fluo.mac: to illustrate atomic deexcitation options
- gammaSpectrum.mac: to plot gamma spectrum with/without atomic deexcitation.
- geom.mac: to play with geometry (can be run interactively with visualization)
- gottsch.mac: 158.6 MeV protons, transmitted through 0.2160 g/cm2 Al
(B.Gottschalk et al. NIM B74 (1993) page 467.)
- hanson.mac: Angle distribution of 15.7 MeV electrons transmitted through
thin gold foils.
(A.O.Hanson et al. Phys.Rev.84 (1951) page 634.)
- hunger.mac: Back scattering of 41 keV electrons.
(H.J. Hunger and L. Kuchler Phys. Stat. Sol.(a) 56, K45 (1979))
- ion.mac: ion C12 in 1m Iron
- kulchi.mac: 2.25 MeV e-, transmitted through 26.60 mg/cm2 Al
(L.Kulchitsky Phys.Rev. 61 (1941) page 254.)
- mumsc.mac: 100 GeV mu+, transmitted through 1 m of iron
- mutev.mac: 1 TeV mu+, transmitted through 1 m of iron
- pixe.mac: to illustrate atomic deexcitation options
- posi.mac: to test PhysListEm19DStandard for positron
- shen1.mac: Angle distribution of high energy (50-200 GeV/c) protons
transmitted through different targets.
(G. Shen et al. Phys.Rev. D20 (1979) page 1584.)
- shen2.mac: proton 175 GeV/c, transmitted through 8.004 mm Al
(G. Shen et al. Phys.Rev. D20 (1979) page 1584.)
- tavora.mac: Back scattering of 35 keV electrons in Silver.
(L.M. Tavora et al. J.Phys.D: Appl. Phys. 33 (2000) page 2497,
Fig. 7)
- tramu.mac: 1 TeV mu+, transmitted through 3 m of iron
(Rev. of Particle Physics Eur. Phys. Jour. C (2000) page 172.
Rev. of Particle Physics Letters B 592 (2004) page 251.)
- vincour.mac: Angle distribution of 6.56 MeV protons transmitted through
thin silicon targets.
(J.Vincour,P.Bem NIM 148 (1978) page 396.)
- vis.mac - to activate visualization
*/
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(TestEm5)
#----------------------------------------------------------------------------
@@ -40,8 +43,7 @@ target_link_libraries(TestEm5 ${Geant4_LIBRARIES} ${HBOOK_LIBRARIES})
# relies on these scripts being in the current working directory.
#
set(TestEm5_SCRIPTS
acosta.mac anthony.mac atima.mac berger.mac bichsel.mac dedx1.mac dedx2.mac dna.mac fluo.mac gammaSpectrum.mac gottsch.mac hanson.mac hunger.mac ion.mac kulchi.mac mumsc.mac mutev.mac pixe.mac shen1.mac shen2.mac tavora.mac TestEm5.in TestEm5.out tramu.mac vincour.mac vis.mac
)
acosta.mac anthony.mac atima.mac berger.mac bichsel.mac dedx1.mac dedx2.mac dna.mac gammaSpectrum.mac geom.mac gottsch.mac hanson.mac hunger.mac ion.mac kulchi.mac mumsc.mac mutev.mac pixe.mac shen1.mac shen2.mac tavora.mac TestEm5.in tramu.mac vincour.mac vis.mac pixe.C plotHisto.C)
foreach(_script ${TestEm5_SCRIPTS})
configure_file(
@@ -13,7 +13,40 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
05-10-20 mma (testem5-V10-06-04)
- StackingAction - log histograms : revert to previous version
- clean up of pixe.mac and pixe.C
- remove obsolete fluo.mac
07-09-20 mma (testem5-V10-06-03)
- Finalize macro & commands review:
- Added remaining macro descriptions
- Added geom.mac for testing remaining commands
and reverted previous modifications in TestEm5.in
31-08-20 I.Hrivnacova (testem5-V10-06-02)
- Macro & commands review:
- Added macro descriptions in README; removed info about geant3 directory
which was removed in the past
- Extended TestEm5.in with commands (missing in testing):
/testem/det/setAbsXpos
/testem/det/setWorldX
/testem/det/setWorldYZ
/testem/det/setWorldMat
/testem/gun/rndm 0.1
03-07-20 mma (testem5-V10-06-01)
- update hanson/hanson.C
- add hanson/19um-wwols.ascii and 9um too
Proposed by Weronika Wolszczak (TU Delft University)
- update berger/berger.C
27-06-20 mma (testem5-V10-06-00)
- TrackingAction - correct weight for solid angle histograms
- update hanson.mac and hanson/hanson.C
- idem for berger.mac
15-01-19 V.Ivant (testem5-V10-05-00)
- StackinAction - fixed all log histograms, which where filled in a wrong
way

Some files were not shown because too many files have changed in this diff Show More