Import Geant4 11.2.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2023-06-30 09:09:57 +02:00
parent aef78ca386
commit dd1f179cda
3780 changed files with 212808 additions and 142780 deletions
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-01-patch-02 (15-June-2023)
Geant4 version Name: geant4-11-01-ref-06 (30-June-2023)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -175,7 +175,7 @@ eBrem: for e- XStype:4 SubType=3
CoulombScat: for e- XStype:1 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
@@ -207,7 +207,7 @@ annihil: for e+ XStype:2 SubType=5 BuildTable=0
CoulombScat: for e+ XStype:1 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
@@ -239,7 +239,7 @@ hPairProd: for proton XStype:1 SubType=4
CoulombScat: for proton XStype:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -252,7 +252,6 @@ ionIoni: for GenericIon XStype:3 SubType=2
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
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
@@ -298,7 +297,7 @@ hPairProd: for anti_proton XStype:1 SubType=4
CoulombScat: for anti_proton XStype:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -330,7 +329,7 @@ hPairProd: for kaon+ XStype:1 SubType=4
CoulombScat: for kaon+ XStype:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -362,7 +361,7 @@ hPairProd: for kaon- XStype:1 SubType=4
CoulombScat: for kaon- XStype:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -394,7 +393,7 @@ muPairProd: for mu+ XStype:1 SubType=4
CoulombScat: for mu+ XStype:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -426,7 +425,7 @@ muPairProd: for mu- XStype:1 SubType=4
CoulombScat: for mu- XStype:1 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -458,7 +457,7 @@ hPairProd: for pi+ XStype:1 SubType=4
CoulombScat: for pi+ XStype:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -490,7 +489,7 @@ hPairProd: for pi- XStype:1 SubType=4
CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
@@ -876,12 +875,21 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
================================================================
### G4LevelReader: broken transition 0 from level 24 to 24 for isotope Z= 89 A= 219 - use ground level
=======================================================================
====== Pre-compound/De-excitation Physics Parameters ========
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
Angular generator for pre-compound model 1
Use NeverGoBack option for pre-compound model 0
Use SoftCutOff option for pre-compound model 0
Use CEM transitions for pre-compound model 1
Use GNASH transitions for pre-compound model 0
Use HETC submodel for pre-compound model 0
=======================================================================
====== Nuclear De-excitation Module Parameters ========
=======================================================================
Type of de-excitation inverse x-section 3
Type of de-excitation factory Evaporation+GEM
Number of de-excitation channels 68
@@ -946,7 +954,7 @@ Index : 3 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 100
User=53.000000s Real=53.429357s Sys=0.030000s
User=44.760000s Real=45.256144s Sys=0.020000s
=============== Run::PrintInfo() =============== RunID = 0
@@ -960,143 +968,143 @@ Run Summary
Number of events = 100
Conversion factor: fluence from mm^-2 to cm^-2 = 100
Particle fluence in unit of cm^-2 :
case= 0 downstream all 0.000442131
case= 1 downstream electron 2.10248e-06
case= 2 downstream gamma 0.000142605
case= 3 downstream muon 0
case= 4 downstream neutrino 6.52107e-05
case= 5 downstream pion 6.6959e-07
case= 6 downstream neutron 0.000230249
case= 7 downstream proton 7.03382e-07
case= 0 downstream all 0.000534531
case= 1 downstream electron 3.26208e-06
case= 2 downstream gamma 0.000135739
case= 3 downstream muon 6.2069e-07
case= 4 downstream neutrino 6.22869e-05
case= 5 downstream pion 2.66425e-06
case= 6 downstream neutron 0.000327911
case= 7 downstream proton 2.04657e-06
case= 8 downstream ion 0
case= 9 downstream otherMeson 5.91033e-07
case= 9 downstream otherMeson 0
case= 10 downstream otherBaryon 0
case= 11 downstream below 20 MeV all 0.000362245
case= 12 downstream below 20 MeV electron 2.10248e-06
case= 13 downstream below 20 MeV gamma 0.000142027
case= 11 downstream below 20 MeV all 0.000429067
case= 12 downstream below 20 MeV electron 3.26208e-06
case= 13 downstream below 20 MeV gamma 0.000135059
case= 14 downstream below 20 MeV muon 0
case= 15 downstream below 20 MeV neutrino 7.49331e-06
case= 15 downstream below 20 MeV neutrino 3.57828e-06
case= 16 downstream below 20 MeV pion 0
case= 17 downstream below 20 MeV neutron 0.000210622
case= 17 downstream below 20 MeV neutron 0.000287168
case= 18 downstream below 20 MeV proton 0
case= 19 downstream below 20 MeV ion 0
case= 20 downstream below 20 MeV otherMeson 0
case= 21 downstream below 20 MeV otherBaryon 0
case= 22 downstream above 20 MeV all 7.98859e-05
case= 22 downstream above 20 MeV all 0.000105463
case= 23 downstream above 20 MeV electron 0
case= 24 downstream above 20 MeV gamma 5.77292e-07
case= 25 downstream above 20 MeV muon 0
case= 26 downstream above 20 MeV neutrino 5.77174e-05
case= 27 downstream above 20 MeV pion 6.6959e-07
case= 28 downstream above 20 MeV neutron 1.96272e-05
case= 29 downstream above 20 MeV proton 7.03382e-07
case= 24 downstream above 20 MeV gamma 6.79929e-07
case= 25 downstream above 20 MeV muon 6.2069e-07
case= 26 downstream above 20 MeV neutrino 5.87086e-05
case= 27 downstream above 20 MeV pion 2.66425e-06
case= 28 downstream above 20 MeV neutron 4.07432e-05
case= 29 downstream above 20 MeV proton 2.04657e-06
case= 30 downstream above 20 MeV ion 0
case= 31 downstream above 20 MeV otherMeson 5.91033e-07
case= 31 downstream above 20 MeV otherMeson 0
case= 32 downstream above 20 MeV otherBaryon 0
case= 33 side all 0.0006658
case= 34 side electron 4.13627e-06
case= 35 side gamma 0.000117138
case= 33 side all 0.000595201
case= 34 side electron 1.70985e-06
case= 35 side gamma 0.000100359
case= 36 side muon 0
case= 37 side neutrino 0.000127658
case= 37 side neutrino 0.000113819
case= 38 side pion 0
case= 39 side neutron 0.000416266
case= 40 side proton 6.01308e-07
case= 39 side neutron 0.000378833
case= 40 side proton 4.80419e-07
case= 41 side ion 0
case= 42 side otherMeson 0
case= 43 side otherBaryon 0
case= 44 side below 20 MeV all 0.000514693
case= 45 side below 20 MeV electron 4.13627e-06
case= 46 side below 20 MeV gamma 0.000117138
case= 44 side below 20 MeV all 0.000462175
case= 45 side below 20 MeV electron 1.70985e-06
case= 46 side below 20 MeV gamma 0.000100253
case= 47 side below 20 MeV muon 0
case= 48 side below 20 MeV neutrino 9.95571e-06
case= 48 side below 20 MeV neutrino 1.02201e-05
case= 49 side below 20 MeV pion 0
case= 50 side below 20 MeV neutron 0.000383308
case= 51 side below 20 MeV proton 1.55278e-07
case= 50 side below 20 MeV neutron 0.000349731
case= 51 side below 20 MeV proton 2.60861e-07
case= 52 side below 20 MeV ion 0
case= 53 side below 20 MeV otherMeson 0
case= 54 side below 20 MeV otherBaryon 0
case= 55 side above 20 MeV all 0.000151106
case= 55 side above 20 MeV all 0.000133026
case= 56 side above 20 MeV electron 0
case= 57 side above 20 MeV gamma 0
case= 57 side above 20 MeV gamma 1.05538e-07
case= 58 side above 20 MeV muon 0
case= 59 side above 20 MeV neutrino 0.000117702
case= 59 side above 20 MeV neutrino 0.000103599
case= 60 side above 20 MeV pion 0
case= 61 side above 20 MeV neutron 3.29584e-05
case= 62 side above 20 MeV proton 4.4603e-07
case= 61 side above 20 MeV neutron 2.91019e-05
case= 62 side above 20 MeV proton 2.19558e-07
case= 63 side above 20 MeV ion 0
case= 64 side above 20 MeV otherMeson 0
case= 65 side above 20 MeV otherBaryon 0
case= 66 upstream all 0.00522814
case= 67 upstream electron 2.57165e-05
case= 68 upstream gamma 0.00151163
case= 66 upstream all 0.00445826
case= 67 upstream electron 5.08463e-06
case= 68 upstream gamma 0.0011685
case= 69 upstream muon 0
case= 70 upstream neutrino 0.000297924
case= 71 upstream pion 2.89588e-06
case= 72 upstream neutron 0.00338517
case= 73 upstream proton 4.80436e-06
case= 70 upstream neutrino 0.000283777
case= 71 upstream pion 2.83511e-06
case= 72 upstream neutron 0.00299617
case= 73 upstream proton 1.89644e-06
case= 74 upstream ion 0
case= 75 upstream otherMeson 0
case= 76 upstream otherBaryon 0
case= 77 upstream below 20 MeV all 0.00471685
case= 78 upstream below 20 MeV electron 2.26541e-05
case= 79 upstream below 20 MeV gamma 0.00150161
case= 77 upstream below 20 MeV all 0.00403448
case= 78 upstream below 20 MeV electron 5.08463e-06
case= 79 upstream below 20 MeV gamma 0.00116106
case= 80 upstream below 20 MeV muon 0
case= 81 upstream below 20 MeV neutrino 1.70106e-05
case= 81 upstream below 20 MeV neutrino 2.35117e-05
case= 82 upstream below 20 MeV pion 0
case= 83 upstream below 20 MeV neutron 0.00317558
case= 83 upstream below 20 MeV neutron 0.00284482
case= 84 upstream below 20 MeV proton 0
case= 85 upstream below 20 MeV ion 0
case= 86 upstream below 20 MeV otherMeson 0
case= 87 upstream below 20 MeV otherBaryon 0
case= 88 upstream above 20 MeV all 0.000511289
case= 89 upstream above 20 MeV electron 3.06234e-06
case= 90 upstream above 20 MeV gamma 1.00233e-05
case= 88 upstream above 20 MeV all 0.00042378
case= 89 upstream above 20 MeV electron 0
case= 90 upstream above 20 MeV gamma 7.43497e-06
case= 91 upstream above 20 MeV muon 0
case= 92 upstream above 20 MeV neutrino 0.000280913
case= 93 upstream above 20 MeV pion 2.89588e-06
case= 94 upstream above 20 MeV neutron 0.00020959
case= 95 upstream above 20 MeV proton 4.80436e-06
case= 92 upstream above 20 MeV neutrino 0.000260265
case= 93 upstream above 20 MeV pion 2.83511e-06
case= 94 upstream above 20 MeV neutron 0.000151348
case= 95 upstream above 20 MeV proton 1.89644e-06
case= 96 upstream above 20 MeV ion 0
case= 97 upstream above 20 MeV otherMeson 0
case= 98 upstream above 20 MeV otherBaryon 0
-------------------------------------------------------------
Extra information: particle production <N> <E_kin> <Sum_Ekin> [MeV]
case= 0 calorimeter all 65658.4 4.02455 264245
case= 1 calorimeter electron 48622.3 1.56913 76294.7
case= 2 calorimeter gamma 14259.1 5.24169 74742.1
case= 3 calorimeter muon 4.91 24.0334 118.004
case= 4 calorimeter neutrino 14.66 39.5879 580.358
case= 5 calorimeter pion 51.24 1266.54 64897.6
case= 6 calorimeter neutron 1049 18.7997 19720.9
case= 7 calorimeter proton 239.36 62.1747 14882.1
case= 8 calorimeter ion 1411.99 0.92985 1312.94
case= 9 calorimeter otherMeson 4.55 2399.64 10918.4
case= 10 calorimeter otherBaryon 1.17 664.954 777.997
case= 11 calorimeter below 20 MeV all 64545.6 0.662423 42756.5
case= 12 calorimeter below 20 MeV electron 48200.7 0.447886 21588.4
case= 13 calorimeter below 20 MeV gamma 13879.5 1.21431 16854
case= 14 calorimeter below 20 MeV muon 4.37 4.14233 18.102
case= 15 calorimeter below 20 MeV neutrino 1.2 14.7559 17.7071
case= 16 calorimeter below 20 MeV pion 0.95 12.6206 11.9895
case= 17 calorimeter below 20 MeV neutron 906.44 2.65102 2402.99
case= 18 calorimeter below 20 MeV proton 153.6 8.14966 1251.79
case= 19 calorimeter below 20 MeV ion 1398.62 0.435755 609.455
case= 20 calorimeter below 20 MeV otherMeson 0.2 7.93814 1.58763
case= 21 calorimeter below 20 MeV otherBaryon 0.04 12.2879 0.491514
case= 22 calorimeter above 20 MeV all 1112.79 199.039 221489
case= 23 calorimeter above 20 MeV electron 421.69 129.731 54706.3
case= 24 calorimeter above 20 MeV gamma 379.64 152.481 57888.1
case= 25 calorimeter above 20 MeV muon 0.54 185.004 99.902
case= 26 calorimeter above 20 MeV neutrino 13.46 41.8017 562.651
case= 27 calorimeter above 20 MeV pion 50.29 1290.23 64885.6
case= 28 calorimeter above 20 MeV neutron 142.56 121.478 17317.9
case= 29 calorimeter above 20 MeV proton 85.76 158.936 13630.4
case= 30 calorimeter above 20 MeV ion 13.37 52.6166 703.484
case= 31 calorimeter above 20 MeV otherMeson 4.35 2509.61 10916.8
case= 32 calorimeter above 20 MeV otherBaryon 1.13 688.058 777.505
case= 0 calorimeter all 66343.9 4.11798 273203
case= 1 calorimeter electron 49233.1 1.66854 82147.4
case= 2 calorimeter gamma 14488.2 5.5621 80584.9
case= 3 calorimeter muon 4.51 30.8084 138.946
case= 4 calorimeter neutrino 13.42 40.0476 537.439
case= 5 calorimeter pion 48.2 1302.35 62773.4
case= 6 calorimeter neutron 988.92 18.8879 18678.6
case= 7 calorimeter proton 226.71 57.029 12929
case= 8 calorimeter ion 1334.87 0.957437 1278.05
case= 9 calorimeter otherMeson 4.8 2694.8 12935.1
case= 10 calorimeter otherBaryon 1.2 999.876 1199.85
case= 11 calorimeter below 20 MeV all 65212.5 0.663331 43257.5
case= 12 calorimeter below 20 MeV electron 48792.6 0.452265 22067.2
case= 13 calorimeter below 20 MeV gamma 14091.8 1.21489 17119.9
case= 14 calorimeter below 20 MeV muon 4 4.1591 16.6364
case= 15 calorimeter below 20 MeV neutrino 1.16 14.9349 17.3245
case= 16 calorimeter below 20 MeV pion 0.9 12.2925 11.0632
case= 17 calorimeter below 20 MeV neutron 853.18 2.65097 2261.75
case= 18 calorimeter below 20 MeV proton 146.23 8.08978 1182.97
case= 19 calorimeter below 20 MeV ion 1322.39 0.437 577.885
case= 20 calorimeter below 20 MeV otherMeson 0.14 10.203 1.42843
case= 21 calorimeter below 20 MeV otherBaryon 0.1 12.6395 1.26395
case= 22 calorimeter above 20 MeV all 1131.42 203.236 229945
case= 23 calorimeter above 20 MeV electron 440.42 136.416 60080.2
case= 24 calorimeter above 20 MeV gamma 396.47 160.075 63465
case= 25 calorimeter above 20 MeV muon 0.51 239.822 122.309
case= 26 calorimeter above 20 MeV neutrino 12.26 42.4237 520.114
case= 27 calorimeter above 20 MeV pion 47.3 1326.9 62762.4
case= 28 calorimeter above 20 MeV neutron 135.74 120.943 16416.9
case= 29 calorimeter above 20 MeV proton 80.48 145.95 11746.1
case= 30 calorimeter above 20 MeV ion 12.48 56.1033 700.17
case= 31 calorimeter above 20 MeV otherMeson 4.66 2775.46 12933.6
case= 32 calorimeter above 20 MeV otherBaryon 1.1 1089.62 1198.59
=============================================================
================== Deleting memory pools ===================
Number of memory pools allocated: 13 of which, static: 0
Dynamic pools deleted: 13 / Total memory freed: 0.24 MB
Dynamic pools deleted: 13 / Total memory freed: 0.25 MB
============================================================
@@ -5,6 +5,13 @@ which **must** added in reverse chronological order (newest at the top). It must
be used as a substitute for writing good git commit messages!
## 2023-05-08 Alberto Ribon (exhadrParticleFluenceCalo-V11-01-00)
- Run, TrackingAction : replaced G4int with G4long for keeping the information
on the multiplicity of particle production.
(This avoids rare cases of negative multiplicities due to integer overflow,
seen for runs with at least 4000 events, in particular with heavy materials,
such as Tungsten and Lead.)
## 2022-09-07 Alberto Ribon (exhadrParticleFluenceCalo-V11-00-02)
- Added complementary information on particle production (multiplicity,
kinetic energy, and total energy flow) in the calorimeter.
@@ -100,9 +100,9 @@ class Run : public G4Run {
// Accessor methods useful to transfer information collected by the stepping-action
// into this Run class
void SetTrackingArray1( const std::array< G4int,
void SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray );
std::array< G4int, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
std::array< G4long, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
{ return fTrackingArray1; }
void SetTrackingArray2( const std::array< G4double,
TrackingAction::fkNumberCombinations >& inputArray );
@@ -121,7 +121,7 @@ class Run : public G4Run {
G4double fCubicVolumeScoringUpDown;
G4double fCubicVolumeScoringSide;
std::array< G4double, SteppingAction::fkNumberCombinations > fSteppingArray;
std::array< G4int, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4long, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4double, TrackingAction::fkNumberCombinations > fTrackingArray2;
};
@@ -81,7 +81,7 @@ class TrackingAction : public G4UserTrackingAction {
private:
Run* fRunPtr; // Pointer to the Run object
std::array< G4int, fkNumberCombinations > fArrayMultiplicities;
std::array< G4long, fkNumberCombinations > fArrayMultiplicities;
std::array< G4double, fkNumberCombinations > fArraySumKineticEnergies;
// Keep record of the fkNumber of particles and their kinetic energy at production,
// according to the particle type and their kinetic energy range (below/above 20 MeV).
@@ -161,7 +161,7 @@ void Run::SetSteppingArray( const std::array< G4double,
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Run::SetTrackingArray1( const std::array< G4int,
void Run::SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray ) {
for ( G4int i = 0; i < TrackingAction::fkNumberCombinations; ++i ) {
fTrackingArray1[i] = inputArray[i];
File diff suppressed because it is too large Load Diff
@@ -5,6 +5,13 @@ which **must** added in reverse chronological order (newest at the top). It must
be used as a substitute for writing good git commit messages!
## 2023-05-08 Alberto Ribon (exhadrParticleFluenceConcentricSpheres-V11-01-00)
- Run, TrackingAction : replaced G4int with G4long for keeping the information
on the multiplicity of particle production.
(This avoids rare cases of negative multiplicities due to integer overflow,
seen for runs with at least 4000 events, in particular with heavy materials,
such as Tungsten and Lead.)
## 2022-09-07 Alberto Ribon (exhadrParticleFluenceConcentricSpheres-V11-00-02)
- Added complementary information on particle production (multiplicity,
kinetic energy, and total energy flow) in each of the three targets.
@@ -107,9 +107,9 @@ class Run : public G4Run {
// Accessor methods useful to transfer information collected by the stepping-action
// into this Run class
void SetTrackingArray1( const std::array< G4int,
void SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray );
std::array< G4int, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
std::array< G4long, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
{ return fTrackingArray1; }
void SetTrackingArray2( const std::array< G4double,
TrackingAction::fkNumberCombinations >& inputArray );
@@ -130,7 +130,7 @@ class Run : public G4Run {
G4double fCubicVolumeScoringEmCaloShell;
G4double fCubicVolumeScoringHadCaloShell;
std::array< G4double, SteppingAction::fkNumberCombinations > fSteppingArray;
std::array< G4int, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4long, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4double, TrackingAction::fkNumberCombinations > fTrackingArray2;
};
@@ -82,7 +82,7 @@ class TrackingAction : public G4UserTrackingAction {
private:
Run* fRunPtr; // Pointer to the Run object
std::array< G4int, fkNumberCombinations > fArrayMultiplicities;
std::array< G4long, fkNumberCombinations > fArrayMultiplicities;
std::array< G4double, fkNumberCombinations > fArraySumKineticEnergies;
// Keep record of the number of particles and their kinetic energy at production,
// according to the particle type and their kinetic energy range (below/above 20 MeV).
@@ -177,7 +177,7 @@ void Run::SetSteppingArray( const std::array< G4double,
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Run::SetTrackingArray1( const std::array< G4int,
void Run::SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray ) {
for ( G4int i = 0; i < TrackingAction::fkNumberCombinations; ++i ) {
fTrackingArray1[i] = inputArray[i];
@@ -4,6 +4,12 @@ See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top). It must **not**
be used as a substitute for writing good git commit messages!
## 2023-05-08 Alberto Ribon (exhadrParticleFluenceLayer-V11-01-00)
- Run, TrackingAction : replaced G4int with G4long for keeping the information
on the multiplicity of particle production.
(This avoids rare cases of negative multiplicities due to integer overflow,
seen for runs with at least 4000 events, in particular with heavy materials,
such as Tungsten and Lead.)
## 2022-09-07 Alberto Ribon (exhadrParticleFluenceLayer-V11-00-02)
- Added complementary information on particle production (multiplicity,
File diff suppressed because it is too large Load Diff
@@ -97,9 +97,9 @@ class Run : public G4Run {
// Accessor methods useful to transfer information collected by the stepping-action
// into this Run class
void SetTrackingArray1( const std::array< G4int,
void SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray );
std::array< G4int, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
std::array< G4long, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
{ return fTrackingArray1; }
void SetTrackingArray2( const std::array< G4double,
TrackingAction::fkNumberCombinations >& inputArray );
@@ -117,7 +117,7 @@ class Run : public G4Run {
G4double fCubicVolumeScoringUpDown;
G4double fCubicVolumeScoringSide;
std::array< G4double, SteppingAction::fkNumberCombinations > fSteppingArray;
std::array< G4int, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4long, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4double, TrackingAction::fkNumberCombinations > fTrackingArray2;
};
@@ -81,7 +81,7 @@ class TrackingAction : public G4UserTrackingAction {
private:
Run* fRunPtr; // Pointer to the Run object
std::array< G4int, fkNumberCombinations > fArrayMultiplicities;
std::array< G4long, fkNumberCombinations > fArrayMultiplicities;
std::array< G4double, fkNumberCombinations > fArraySumKineticEnergies;
// Keep record of the fkNumber of particles and their kinetic energy at production,
// according to the particle type and their kinetic energy range (below/above 20 MeV).
@@ -159,7 +159,7 @@ void Run::SetSteppingArray( const std::array< G4double,
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Run::SetTrackingArray1( const std::array< G4int,
void Run::SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray ) {
for ( G4int i = 0; i < TrackingAction::fkNumberCombinations; ++i ) {
fTrackingArray1[i] = inputArray[i];
@@ -4,6 +4,12 @@ See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top). It must **not**
be used as a substitute for writing good git commit messages!
## 2023-05-08 Alberto Ribon (exhadrParticleFluenceSphere-V11-01-00)
- Run, TrackingAction : replaced G4int with G4long for keeping the information
on the multiplicity of particle production.
(This avoids rare cases of negative multiplicities due to integer overflow,
seen for runs with at least 4000 events, in particular with heavy materials,
such as Tungsten and Lead.)
## 2022-09-07 Alberto Ribon (exhadrParticleFluenceSphere-V11-00-02)
- Added complementary information on particle production (multiplicity,
File diff suppressed because it is too large Load Diff
@@ -94,9 +94,9 @@ class Run : public G4Run {
// Accessor methods useful to transfer information collected by the stepping-action
// into this Run class
void SetTrackingArray1( const std::array< G4int,
void SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray );
std::array< G4int, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
std::array< G4long, TrackingAction::fkNumberCombinations > GetTrackingArray1() const
{ return fTrackingArray1; }
void SetTrackingArray2( const std::array< G4double,
TrackingAction::fkNumberCombinations >& inputArray );
@@ -113,7 +113,7 @@ class Run : public G4Run {
G4String fTargetMaterialName;
G4double fCubicVolumeScoringShell;
std::array< G4double, SteppingAction::fkNumberCombinations > fSteppingArray;
std::array< G4int, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4long, TrackingAction::fkNumberCombinations > fTrackingArray1;
std::array< G4double, TrackingAction::fkNumberCombinations > fTrackingArray2;
};
@@ -81,7 +81,7 @@ class TrackingAction : public G4UserTrackingAction {
private:
Run* fRunPtr; // Pointer to the Run object
std::array< G4int, fkNumberCombinations > fArrayMultiplicities;
std::array< G4long, fkNumberCombinations > fArrayMultiplicities;
std::array< G4double, fkNumberCombinations > fArraySumKineticEnergies;
// Keep record of the number of particles and their kinetic energy at production,
// according to the particle type and their kinetic energy range (below/above 20 MeV).
@@ -153,7 +153,7 @@ void Run::SetSteppingArray( const std::array< G4double,
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Run::SetTrackingArray1( const std::array< G4int,
void Run::SetTrackingArray1( const std::array< G4long,
TrackingAction::fkNumberCombinations >& inputArray ) {
for ( G4int i = 0; i < TrackingAction::fkNumberCombinations; ++i ) {
fTrackingArray1[i] = inputArray[i];