Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
@@ -23,13 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file Layer.cc
/// \brief Main program of the hadronic/ParticleFluence/Layer example
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
/// \file Calo.cc
/// \brief Main program of the ParticleFluence/Calo example
#include "ActionInitialization.hh"
#include "DetectorConstruction.hh"
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-03-ref-06 (30-June-2025)
Geant4 version Name: geant4-11-04-ref-00 (5-December-2025)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -21,7 +21,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
### G4PhysListFactory WARNING: environment variable PHYSLIST is not defined
Default Physics Lists FTFP_BERT is instantiated
G4PhysListFactory::GetReferencePhysList <FTFP_BERT> EMoption= 0
G4PhysListFactory::GetReferencePhysList <FTFP_BERT>
<<< Geant4 Physics List simulation engine: FTFP_BERT
@@ -99,7 +99,7 @@ Lowest muon/hadron kinetic energy 1 keV
Use ICRU90 data 0
Fluctuations of dE/dx are enabled 1
Type of fluctuation model for leptons and hadrons Urban
Use built-in Birks satuaration 0
Use built-in Birks saturation 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
@@ -236,7 +236,7 @@ hBrems: for proton XStype:1 SubType=3
hPairProd: for proton XStype:1 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
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -294,7 +294,7 @@ hBrems: for anti_proton XStype:1 SubType=3
hPairProd: for anti_proton XStype:1 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
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -326,7 +326,7 @@ hBrems: for kaon+ XStype:1 SubType=3
hPairProd: for kaon+ XStype:1 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
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -358,7 +358,7 @@ hBrems: for kaon- XStype:1 SubType=3
hPairProd: for kaon- XStype:1 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
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -390,7 +390,7 @@ muBrems: for mu+ XStype:1 SubType=3
muPairProd: for mu+ XStype:1 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 0.85 GeV to 100 TeV
Sampling table 21x1001, from 0.85 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -422,7 +422,7 @@ muBrems: for mu- XStype:1 SubType=3
muPairProd: for mu- XStype:1 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 0.85 GeV to 100 TeV
Sampling table 21x1001, from 0.85 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -454,7 +454,7 @@ hBrems: for pi+ XStype:1 SubType=3
hPairProd: for pi+ XStype:1 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
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -486,7 +486,7 @@ hBrems: for pi- XStype:1 SubType=3
hPairProd: for pi- XStype:1 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
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
@@ -741,8 +741,8 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Type of pre-compound model 0
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
Pre-compound excitation low energy 0.1 MeV
Pre-compound excitation high energy 15 MeV
Angular generator for pre-compound model 1
Use NeverGoBack option for pre-compound model 0
Use SoftCutOff option for pre-compound model 0
@@ -756,9 +756,8 @@ Type of de-excitation inverse x-section 3
Type of de-excitation factory Evaporation+GEM
Number of de-excitation channels 68
Type of Fermi BreakUp model ModelVI
Min excitation energy 10 eV
Min energy per nucleon for multifragmentation 200 GeV
Limit excitation energy for Fermi BreakUp 20 MeV
Min excitation energy 0.01 keV
Min energy per nucleon for multifragmentation 2e+05 MeV
Level density (1/MeV) 0.075
Use simple level density model 1
Use discrete excitation energy of the residual 0
@@ -817,7 +816,7 @@ Index : 3 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 100
User=26.030000s Real=26.178654s Sys=0.020000s
User=24.160000s Real=24.252619s Sys=0.020000s
=============== Run::PrintInfo() =============== RunID = 0
@@ -831,143 +830,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.000421958
case= 1 downstream electron 4.66646e-06
case= 2 downstream gamma 0.000119948
case= 3 downstream muon 5.71912e-07
case= 4 downstream neutrino 9.66803e-05
case= 5 downstream pion 1.93015e-06
case= 6 downstream neutron 0.000197517
case= 7 downstream proton 0
case= 0 downstream all 0.000861012
case= 1 downstream electron 1.44191e-05
case= 2 downstream gamma 0.000299596
case= 3 downstream muon 5.75733e-07
case= 4 downstream neutrino 9.15079e-05
case= 5 downstream pion 8.11422e-06
case= 6 downstream neutron 0.00043723
case= 7 downstream proton 8.95858e-06
case= 8 downstream ion 0
case= 9 downstream otherMeson 6.43791e-07
case= 9 downstream otherMeson 6.10808e-07
case= 10 downstream otherBaryon 0
case= 11 downstream below 20 MeV all 0.00030519
case= 12 downstream below 20 MeV electron 1.76557e-06
case= 13 downstream below 20 MeV gamma 0.000118162
case= 11 downstream below 20 MeV all 0.000706076
case= 12 downstream below 20 MeV electron 1.44191e-05
case= 13 downstream below 20 MeV gamma 0.000297041
case= 14 downstream below 20 MeV muon 0
case= 15 downstream below 20 MeV neutrino 5.50827e-06
case= 15 downstream below 20 MeV neutrino 1.16258e-05
case= 16 downstream below 20 MeV pion 0
case= 17 downstream below 20 MeV neutron 0.000179754
case= 17 downstream below 20 MeV neutron 0.000382378
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= 20 downstream below 20 MeV otherMeson 6.10808e-07
case= 21 downstream below 20 MeV otherBaryon 0
case= 22 downstream above 20 MeV all 0.000116768
case= 23 downstream above 20 MeV electron 2.90089e-06
case= 24 downstream above 20 MeV gamma 1.78657e-06
case= 25 downstream above 20 MeV muon 5.71912e-07
case= 26 downstream above 20 MeV neutrino 9.1172e-05
case= 27 downstream above 20 MeV pion 1.93015e-06
case= 28 downstream above 20 MeV neutron 1.7763e-05
case= 29 downstream above 20 MeV proton 0
case= 22 downstream above 20 MeV all 0.000154936
case= 23 downstream above 20 MeV electron 0
case= 24 downstream above 20 MeV gamma 2.55431e-06
case= 25 downstream above 20 MeV muon 5.75733e-07
case= 26 downstream above 20 MeV neutrino 7.9882e-05
case= 27 downstream above 20 MeV pion 8.11422e-06
case= 28 downstream above 20 MeV neutron 5.48516e-05
case= 29 downstream above 20 MeV proton 8.95858e-06
case= 30 downstream above 20 MeV ion 0
case= 31 downstream above 20 MeV otherMeson 6.43791e-07
case= 31 downstream above 20 MeV otherMeson 0
case= 32 downstream above 20 MeV otherBaryon 0
case= 33 side all 0.000658582
case= 34 side electron 8.26828e-07
case= 35 side gamma 9.21687e-05
case= 33 side all 0.000666866
case= 34 side electron 7.99204e-07
case= 35 side gamma 9.41283e-05
case= 36 side muon 0
case= 37 side neutrino 0.000164989
case= 38 side pion 1.0486e-07
case= 39 side neutron 0.000399989
case= 40 side proton 5.02678e-07
case= 37 side neutrino 0.000166941
case= 38 side pion 0
case= 39 side neutron 0.000404998
case= 40 side proton 0
case= 41 side ion 0
case= 42 side otherMeson 0
case= 43 side otherBaryon 0
case= 44 side below 20 MeV all 0.00048243
case= 45 side below 20 MeV electron 8.26828e-07
case= 46 side below 20 MeV gamma 9.21687e-05
case= 44 side below 20 MeV all 0.000489848
case= 45 side below 20 MeV electron 7.99204e-07
case= 46 side below 20 MeV gamma 9.41283e-05
case= 47 side below 20 MeV muon 0
case= 48 side below 20 MeV neutrino 1.35427e-05
case= 48 side below 20 MeV neutrino 1.49228e-05
case= 49 side below 20 MeV pion 0
case= 50 side below 20 MeV neutron 0.000375892
case= 50 side below 20 MeV neutron 0.000379997
case= 51 side below 20 MeV proton 0
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.000176152
case= 55 side above 20 MeV all 0.000177019
case= 56 side above 20 MeV electron 0
case= 57 side above 20 MeV gamma 0
case= 58 side above 20 MeV muon 0
case= 59 side above 20 MeV neutrino 0.000151446
case= 60 side above 20 MeV pion 1.0486e-07
case= 61 side above 20 MeV neutron 2.40977e-05
case= 62 side above 20 MeV proton 5.02678e-07
case= 59 side above 20 MeV neutrino 0.000152018
case= 60 side above 20 MeV pion 0
case= 61 side above 20 MeV neutron 2.50006e-05
case= 62 side above 20 MeV proton 0
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.00521911
case= 67 upstream electron 2.10759e-05
case= 68 upstream gamma 0.00135571
case= 66 upstream all 0.00542929
case= 67 upstream electron 1.13701e-05
case= 68 upstream gamma 0.00148201
case= 69 upstream muon 0
case= 70 upstream neutrino 0.000414549
case= 71 upstream pion 5.77315e-06
case= 72 upstream neutron 0.00342059
case= 73 upstream proton 1.40764e-06
case= 74 upstream ion 0
case= 70 upstream neutrino 0.000381931
case= 71 upstream pion 3.65031e-06
case= 72 upstream neutron 0.00353845
case= 73 upstream proton 1.12796e-05
case= 74 upstream ion 5.97524e-07
case= 75 upstream otherMeson 0
case= 76 upstream otherBaryon 0
case= 77 upstream below 20 MeV all 0.00466914
case= 78 upstream below 20 MeV electron 1.64199e-05
case= 79 upstream below 20 MeV gamma 0.00134996
case= 77 upstream below 20 MeV all 0.00488936
case= 78 upstream below 20 MeV electron 1.00719e-05
case= 79 upstream below 20 MeV gamma 0.00147788
case= 80 upstream below 20 MeV muon 0
case= 81 upstream below 20 MeV neutrino 3.77283e-05
case= 81 upstream below 20 MeV neutrino 2.87451e-05
case= 82 upstream below 20 MeV pion 0
case= 83 upstream below 20 MeV neutron 0.00326503
case= 84 upstream below 20 MeV proton 0
case= 85 upstream below 20 MeV ion 0
case= 83 upstream below 20 MeV neutron 0.00336984
case= 84 upstream below 20 MeV proton 2.21936e-06
case= 85 upstream below 20 MeV ion 5.97524e-07
case= 86 upstream below 20 MeV otherMeson 0
case= 87 upstream below 20 MeV otherBaryon 0
case= 88 upstream above 20 MeV all 0.000549973
case= 89 upstream above 20 MeV electron 4.65597e-06
case= 90 upstream above 20 MeV gamma 5.75373e-06
case= 88 upstream above 20 MeV all 0.000539929
case= 89 upstream above 20 MeV electron 1.29818e-06
case= 90 upstream above 20 MeV gamma 4.12509e-06
case= 91 upstream above 20 MeV muon 0
case= 92 upstream above 20 MeV neutrino 0.000376821
case= 93 upstream above 20 MeV pion 5.77315e-06
case= 94 upstream above 20 MeV neutron 0.000155562
case= 95 upstream above 20 MeV proton 1.40764e-06
case= 92 upstream above 20 MeV neutrino 0.000353186
case= 93 upstream above 20 MeV pion 3.65031e-06
case= 94 upstream above 20 MeV neutron 0.000168609
case= 95 upstream above 20 MeV proton 9.06024e-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 65538.5 4.04746 265265
case= 1 calorimeter electron 48542.4 1.59381 77367.5
case= 2 calorimeter gamma 14286.5 5.28321 75478.7
case= 3 calorimeter muon 6.54 27.7394 181.416
case= 4 calorimeter neutrino 19.56 37.9177 741.671
case= 5 calorimeter pion 61.69 1058.43 65294.6
case= 6 calorimeter neutron 1013.15 17.4751 17704.9
case= 7 calorimeter proton 229.3 57.4283 13168.3
case= 8 calorimeter ion 1373.23 0.931055 1278.55
case= 9 calorimeter otherMeson 4.77 2700.15 12879.7
case= 10 calorimeter otherBaryon 1.39 841.273 1169.37
case= 11 calorimeter below 20 MeV all 64414.8 0.663743 42754.8
case= 12 calorimeter below 20 MeV electron 48112.5 0.450821 21690.1
case= 13 calorimeter below 20 MeV gamma 13901.1 1.21049 16827.1
case= 14 calorimeter below 20 MeV muon 5.96 4.11609 24.5319
case= 15 calorimeter below 20 MeV neutrino 1.57 15.1843 23.8394
case= 16 calorimeter below 20 MeV pion 1.22 11.814 14.4131
case= 17 calorimeter below 20 MeV neutron 880.04 2.6531 2334.84
case= 18 calorimeter below 20 MeV proton 150.97 8.09173 1221.61
case= 19 calorimeter below 20 MeV ion 1361.16 0.451689 614.821
case= 20 calorimeter below 20 MeV otherMeson 0.2 8.30756 1.66151
case= 21 calorimeter below 20 MeV otherBaryon 0.13 14.734 1.91541
case= 22 calorimeter above 20 MeV all 1123.71 198.014 222510
case= 23 calorimeter above 20 MeV electron 429.91 129.509 55677.4
case= 24 calorimeter above 20 MeV gamma 385.42 152.176 58651.6
case= 25 calorimeter above 20 MeV muon 0.58 270.49 156.884
case= 26 calorimeter above 20 MeV neutrino 17.99 39.9017 717.831
case= 27 calorimeter above 20 MeV pion 60.47 1079.55 65280.1
case= 28 calorimeter above 20 MeV neutron 133.11 115.469 15370.1
case= 29 calorimeter above 20 MeV proton 78.33 152.517 11946.7
case= 30 calorimeter above 20 MeV ion 12.07 54.9902 663.732
case= 31 calorimeter above 20 MeV otherMeson 4.57 2817.95 12878
case= 32 calorimeter above 20 MeV otherBaryon 1.26 926.55 1167.45
case= 0 calorimeter all 66093.4 4.11109 271716
case= 1 calorimeter electron 49012.6 1.65221 80979.1
case= 2 calorimeter gamma 14503 5.4778 79444.4
case= 3 calorimeter muon 6.39 16.9566 108.353
case= 4 calorimeter neutrino 19.1 36.9471 705.689
case= 5 calorimeter pion 57.72 1155.82 66713.8
case= 6 calorimeter neutron 967.86 17.7753 17204
case= 7 calorimeter proton 218.59 59.7709 13065.3
case= 8 calorimeter ion 1302.61 0.948053 1234.94
case= 9 calorimeter otherMeson 4.39 2629.78 11544.7
case= 10 calorimeter otherBaryon 1.18 606.275 715.404
case= 11 calorimeter below 20 MeV all 64948.6 0.66602 43257.1
case= 12 calorimeter below 20 MeV electron 48566 0.455554 22124.4
case= 13 calorimeter below 20 MeV gamma 14101.7 1.21339 17110.8
case= 14 calorimeter below 20 MeV muon 5.81 4.15518 24.1416
case= 15 calorimeter below 20 MeV neutrino 1.69 14.5975 24.6697
case= 16 calorimeter below 20 MeV pion 1.05 11.3354 11.9022
case= 17 calorimeter below 20 MeV neutron 838.72 2.64729 2220.34
case= 18 calorimeter below 20 MeV proton 143.42 8.06467 1156.64
case= 19 calorimeter below 20 MeV ion 1289.89 0.45064 581.276
case= 20 calorimeter below 20 MeV otherMeson 0.25 6.11542 1.52886
case= 21 calorimeter below 20 MeV otherBaryon 0.1 13.9675 1.39675
case= 22 calorimeter above 20 MeV all 1144.79 199.564 228459
case= 23 calorimeter above 20 MeV electron 446.58 131.79 58854.7
case= 24 calorimeter above 20 MeV gamma 401.3 155.329 62333.6
case= 25 calorimeter above 20 MeV muon 0.58 145.192 84.2114
case= 26 calorimeter above 20 MeV neutrino 17.41 39.1166 681.019
case= 27 calorimeter above 20 MeV pion 56.67 1177.02 66701.9
case= 28 calorimeter above 20 MeV neutron 129.14 116.027 14983.7
case= 29 calorimeter above 20 MeV proton 75.17 158.423 11908.7
case= 30 calorimeter above 20 MeV ion 12.72 51.3889 653.667
case= 31 calorimeter above 20 MeV otherMeson 4.14 2788.21 11543.2
case= 32 calorimeter above 20 MeV otherBaryon 1.08 661.118 714.007
=============================================================
================== Deleting memory pools ===================
Number of memory pools allocated: 11 of which, static: 0
Dynamic pools deleted: 11 / Total memory freed: 0.23 MB
Dynamic pools deleted: 11 / Total memory freed: 0.24 MB
============================================================
@@ -1,62 +0,0 @@
In this example, the particle fluence is evaluated for simplified,
cylindrical hadronic calorimeters with axis along the z-direction,
and a beam particle shot before the calorimeter along its axis.
The particle fluence is computed in three places: "upstream", "downstream"
and "side", defined as the positions immediately after, before and aside,
respectively, of the calorimeter with respect to the direction of the
primary particle.
The particle fluence is estimated by summing the track length in a
"scoring volume" - i.e. a thin cylinder (for "upstream" and "downstream"
cases) or a thin hemisphere shell (for the "side" case) filled up with
G4_Galactic (very low density gas) material, immediately outside the
calorimeter - and then dividing for the cubic volume of such scoring volume.
Complementary information on average multiplicity, average kinetic energy,
and average total energy flow (i.e. sum of kinetic energies) for the
particles produced in the calorimeter are also computed.
The particle fluence is evaluated for the following 11 particle types:
- all
- electron + positron
- gamma
- muon- + muon+
- neutrino (any flavour and including anti-neutrino)
- charged pions
- neutron + anti_neutron
- proton + anti_proton
- ion (and anti-ions)
- otherMeson (e.g. kaons, etc.)
- otherBaryon (e.g. hyperons, etc.)
The particle fluence is evaluated for the following 3 kinematical ranges:
- any kinetic energy
- kinetic energy < 20 MeV
- kinetic energy > 20 MeV
Look for the string "***LOOKHERE***" for those parameters/options that
are either hardwired in the code (i.e. not available via UI command),
or default values of UI commands.
This example uses the physics list factory, therefore you can specify
the reference physics list you want to use via the PHYSLIST
environmental variable (by default, if you don't set it, the FTFP_BERT
physics list is used).
To build this example:
mkdir Build; cd Build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DGeant4_DIR=/path-to-geant4-libraries ../.
make
To run it:
./Calo atlasHec.in
which shoots 50 GeV pion- on a simplified ATLAS HEC hadronic calorimeter,
in one run of 100 events, and print out some information on the particle
fluence at the end of the run.
Other macros exist for other types of simplified hadronic calorimeters:
atlasEcal.in, atlasFcal.in, atlasTileCal.in, cmsEcal.in, lhcbEcal.in .
@@ -1,7 +1,4 @@
///\file "hadronic/ParticleFluence/Calo/.README.txt"
///\brief Example ParticleFluence/Calo README page
/*! \page ExampleCalo Example Calo
\page ExampleCalo Example Calo
In this example, the particle fluence is evaluated for simplified,
cylindrical hadronic calorimeters with axis along the z-direction,
@@ -51,23 +48,21 @@ physics list is used).
To build this example:
\verbatim
```
mkdir Build; cd Build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DGeant4_DIR=/path-to-geant4-libraries ../.
make
\endverbatim
```
To run it:
\verbatim
```
./Calo atlasHec.in
\endverbatim
```
which shoots 50 GeV pion- on a simplified ATLAS HEC hadronic calorimeter,
in one run of 100 events, and print out some information on the particle
fluence at the end of the run.
Other macros exist for other types of simplified hadronic calorimeters:
atlasEcal.in, atlasFcal.in, atlasTileCal.in, cmsEcal.in, lhcbEcal.in .
*/
@@ -25,11 +25,6 @@
//
/// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef ActionInitialization_h
#define ActionInitialization_h 1
@@ -25,11 +25,6 @@
//
/// \file DetectorConstruction.hh
/// \brief Definition of the DetectorConstruction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef DetectorConstruction_H
#define DetectorConstruction_H 1
@@ -25,11 +25,6 @@
//
/// \file DetectorMessenger.hh
/// \brief Definition of the DetectorMessenger class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef DetectorMessenger_h
#define DetectorMessenger_h 1
@@ -25,11 +25,6 @@
//
/// \file PrimaryGeneratorAction.hh
/// \brief Definition of the PrimaryGeneratorAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef PrimaryGeneratorAction_h
#define PrimaryGeneratorAction_h 1
@@ -25,11 +25,6 @@
//
/// \file Run.hh
/// \brief Definition of the Run class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef Run_h
#define Run_h 1
@@ -25,11 +25,6 @@
//
/// \file RunAction.hh
/// \brief Definition of the RunAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef RunAction_h
#define RunAction_h
@@ -25,11 +25,6 @@
//
/// \file SteppingAction.hh
/// \brief Definition of the SteppingAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef SteppingAction_H
#define SteppingAction_H 1
@@ -25,11 +25,6 @@
//
/// \file TrackingAction.hh
/// \brief Definition of the TrackingAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef TrackingAction_h
#define TrackingAction_h 1
@@ -25,11 +25,6 @@
//
/// \file ActionInitialization.cc
/// \brief Implementation of the ActionInitialization class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "ActionInitialization.hh"
@@ -23,13 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file DetectorConstruction.hh
/// \brief Definition of the DetectorConstruction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
/// \file DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
#include "DetectorConstruction.hh"
@@ -25,11 +25,6 @@
//
/// \file DetectorMessenger.cc
/// \brief Implementation of the DetectorMessenger class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "DetectorMessenger.hh"
@@ -25,11 +25,6 @@
//
/// \file PrimaryGeneratorAction.cc
/// \brief Implementation of the PrimaryGeneratorAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "PrimaryGeneratorAction.hh"
@@ -25,11 +25,6 @@
//
/// \file Run.cc
/// \brief Implementation of the Run class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "Run.hh"
@@ -25,11 +25,6 @@
//
/// \file RunAction.cc
/// \brief Implementation of the RunAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "RunAction.hh"
@@ -25,11 +25,6 @@
//
/// \file SteppingAction.cc
/// \brief Implementation of the SteppingAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "SteppingAction.hh"
@@ -25,11 +25,6 @@
//
/// \file TrackingAction.cc
/// \brief Implementation of the TrackingAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "TrackingAction.hh"