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
@@ -25,11 +25,6 @@
//
/// \file Hadr03.cc
/// \brief Main program of the hadronic/Hadr03 example
//
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "ActionInitialization.hh"
#include "DetectorConstruction.hh"
@@ -4,6 +4,9 @@ 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!
## 2025-10-29 Michel Maire (exhadr03-V11-03-01)
- GammaNuclearPhysics.cc: use G4GammaNuclearXS dataset
## 2025-05-20 Michel Maire (exhadr03-V11-03-00)
- Hadr03.cc - SetUseNRESP71Model(true)
-146
View File
@@ -1,146 +0,0 @@
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
Hadr03
------
How to compute total cross section from the direct evaluation of the
mean free path ( see below, item Physics).
How to identify nuclear reactions.
How to plot energy spectrum of secondary particles.
1- GEOMETRY DEFINITION
It is a single box representing a 'semi infinite' homogeneous medium.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default geometry (10 m of molybdenum) is built in DetectorConstruction,
but the above parameters can be changed interactively via commands defined
in DetectorMessenger.
2- PHYSICS LIST
The PhysicsList contains builders for hadronic interactions.
Predefined G4 PhysicsConstructors or 'local' PhysicsConstructors can be used
(see geant4/source/physics_lists or example runAndEvent/RE04).
In order not to introduce 'artificial' constraints on the step size,
electromagnetic processes are not registered: there is no continuous energy
loss.
Several hadronic physics options are controlled by environment variables.
To select them, see Hadr03.cc.
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the edge
of the box. The type of the particle and its energy are set in
PrimaryGeneratorAction (neutron 1 MeV), and can be changed via the G4
build-in commands of ParticleGun class (see the macros provided with
this example).
4- PHYSICS
An event is killed at the first interaction of the incident particle.
The absorption length, also called mean free path, is computed as
the mean value of the track length of the incident particle.
This is why the medium must be 'infinite' : to be sure that interaction
occurs at any events.
The result is compared with the 'input' value, i.e. with the cross sections
given by G4HadronicProcessStore and used by Geant4.
The list of nuclear reactions that occured is printed.
(the number of gamma of deexcitation is not printed).
Then, comes the total list of generated particles and ions.
The energy spectrum of the scattered particle (if any) and of the created
secondaries are plotted (see SteppingAction).
Momentum conservation is checked as :
momentum balance = modulus(P_out - P_in)
A set of macros defining various run conditions are provided.
The processes can be actived/inactived in order to survey the processes
individually.
5- HISTOGRAMS
The test contains 12 built-in 1D histograms, which are managed by
G4AnalysisManager and its Messenger. The histos can be individually
activated with the command :
/analysis/h1/set id nbBins valMin valMax unit
where unit is the desired unit for the histo (MeV or keV, etc..)
(see the macros xxxx.mac).
1 "kinetic energy of scattered primary particle"
2 "kinetic energy of gamma"
3 "kinetic energy of e-"
4 "kinetic energy of neutrons"
5 "kinetic energy of protons"
6 "kinetic energy of deuterons"
7 "kinetic energy of alphas"
8 "kinetic energy of nuclei"
9 "kinetic energy of mesons"
10 "kinetic energy of baryons"
11 "Q = Ekin out - Ekin in"
12 "Pbalance = mag(P_out - P_in)"
13 "atomic mass of nuclei"
The histograms are managed by the HistoManager class and its Messenger.
The histos can be individually activated with the command :
/analysis/h1/set id nbBins valMin valMax unit
where unit is the desired unit for the histo (MeV or keV, deg or mrad, etc..)
One can control the name of the histograms file with the command:
/analysis/setFileName name (default Hadr03)
It is possible to choose the format of the histogram file : root (default),
xml, csv, by using namespace in HistoManager.hh
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 Hadr03)
6- VISUALIZATION
The Visualization Manager is set in the main().
The initialisation of the drawing is done via the commands
/vis/... in the macro vis.mac. To get visualisation:
> /control/execute vis.mac
The detector has a default view which is a longitudinal view of the box.
The tracks are drawn at the end of event, and erased at the end of run.
7- HOW TO START ?
Execute Hadr03 in 'batch' mode from macro files :
% Hadr03 inelastic.mac
Execute Hadr03 in 'interactive mode' with visualization :
% Hadr03
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- hadr03.in: macro used in Geant4 testing
- Au196.mac: neutron (1 MeV) on Au195
- elastic.mac: proton (10 MeV) on Mo100. Elastic collisions alone
- fusion.mac: deuteron (400 keV) on tritium
- gamma.mac: gamma (10 MeV) on Au196
- inelastic.mac: proton (10 MaV) on Mo98. Inelastic interactions alone
- ion.mac: Li7 (140 MeV) on Be9
- nCapture.mac: neutron (1 eV) on Boron. Capture process alone
- nFission.mac: neutron (1 eV) on U235. Fission process alone
- neutron.mac: neutron (1 MeV) on Boron
Macros to be run interactively:
- debug.mac: proton (10 MeV) on Boron
- vis.mac: To activate visualization
@@ -1,15 +1,11 @@
///\file "hadronic/Hadr03/.README.txt"
///\brief Example Hadr03 README page
/*! \page ExampleHadr03 Example Hadr03
\page ExampleHadr03 Example Hadr03
- How to compute total cross section from the direct evaluation of the
mean free path ( see below, item Physics).
- How to identify nuclear reactions.
- How to plot energy spectrum of secondary particles.
\section Hadr03_s1 GEOMETRY DEFINITION
## GEOMETRY DEFINITION
It is a single box representing a 'semi infinite' homogeneous medium.
Two parameters define the geometry :
@@ -20,7 +16,7 @@
but the above parameters can be changed interactively via commands defined
in DetectorMessenger.
\section Hadr03_s2 PHYSICS LIST
## PHYSICS LIST
The PhysicsList contains builders for hadronic interactions.
Predefined G4 PhysicsConstructors or 'local' PhysicsConstructors can be used
@@ -33,7 +29,7 @@
Several hadronic physics options are controlled by environment variables.
To select them, see Hadr03.cc
\section Hadr03_s3 AN EVENT : THE PRIMARY GENERATOR
## AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the edge
of the box. The type of the particle and its energy are set in
@@ -41,7 +37,7 @@
build-in commands of ParticleGun class (see the macros provided with
this example).
\section Hadr03_s4 PHYSICS
## PHYSICS
An event is killed at the first interaction of the incident particle.
The absorption length, also called mean free path, is computed as
@@ -60,15 +56,15 @@
secondaries are plotted (see SteppingAction).
Momentum conservation is checked as :
\verbatim
```
momentum balance = modulus(P_out - P_in)
\endverbatim
```
A set of macros defining various run conditions are provided.
The processes can be actived/inactived in order to survey the processes
individually.
\section Hadr03_s5 HISTOGRAMS
## HISTOGRAMS
The test contains 13 built-in 1D histograms, which are managed by
G4AnalysisManager and its Messenger. The histos can be individually
@@ -76,70 +72,70 @@
/analysis/h1/set id nbBins valMin valMax unit
where unit is the desired unit for the histo (MeV or keV, etc..)
(see the macros xxxx.mac).
- 1 : "kinetic energy of scattered primary particle"
- 2 : "kinetic energy of gamma"
- 3 : "kinetic energy of e-"
- 4 : "kinetic energy of neutrons"
- 5 : "kinetic energy of protons"
- 6 : "kinetic energy of deuterons"
- 7 : "kinetic energy of alphas"
- 8 : "kinetic energy of nuclei"
- 9 : "kinetic energy of mesons"
- 10 : "kinetic energy of baryons"
- 11 : "Q = Ekin out - Ekin in"
- 12 : "Pbalance = mag(P_out - P_in)"
- 13 : "atomic mass of nuclei"
```
1 "kinetic energy of scattered primary particle"
2 "kinetic energy of gamma"
3 "kinetic energy of e-"
4 "kinetic energy of neutrons"
5 "kinetic energy of protons"
6 "kinetic energy of deuterons"
7 "kinetic energy of alphas"
8 "kinetic energy of nuclei"
9 "kinetic energy of mesons"
10 "kinetic energy of baryons"
11 "Q = Ekin out - Ekin in"
12 "Pbalance = mag(P_out - P_in)"
13 "atomic mass of nuclei"
```
The histograms are managed by the HistoManager class and its Messenger.
The histos can be individually activated with the command :
\verbatim
```
/analysis/h1/set id nbBins valMin valMax unit
\endverbatim
```
where unit is the desired unit for the histo (MeV or keV, deg or mrad, etc..)
One can control the name of the histograms file with the command:
\verbatim
```
/analysis/setFileName name (default Hadr03)
\endverbatim
```
It is possible to choose the format of the histogram file : root (default),
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 Hadr03)
\section Hadr03_s6 VISUALIZATION
## VISUALIZATION
The Visualization Manager is set in the main().
The initialisation of the drawing is done via the commands
/vis/... in the macro vis.mac. To get visualisation:
\verbatim
```
> /control/execute vis.mac
\endverbatim
```
The detector has a default view which is a longitudinal view of the box.
The tracks are drawn at the end of event, and erased at the end of run.
\section Hadr03_s7 HOW TO START ?
## HOW TO START ?
Execute Hadr03 in 'batch' mode from macro files :
\verbatim
% Hadr03 inelastic.mac
\endverbatim
```
% ./Hadr03 inelastic.mac
```
Execute Hadr03 in 'interactive mode' with visualization :
\verbatim
% Hadr03
```
% ./Hadr03
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
\endverbatim
```
Macros provided in this example:
- hadr03.in: macro used in Geant4 testing
@@ -155,5 +151,4 @@ Idle> exit
Macros to be run interactively:
- debug.mac: proton (10 MeV) on Boron
- vis.mac: To activate visualization
*/
- vis.mac: To activate visualization
+44 -40
View File
@@ -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
@@ -40,6 +40,12 @@ Command is ignored.
---> Isotope: Mo98 Z = 42 N = 98 A = 97.91 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
hInelastic QGSP_BIC_HP Thresholds:
0) between BIC and BERT for p, n over the interval 1 to 1.5 GeV.
1) between BERT and FTF/P over the interval 3 to 6 GeV.
2) between FTF/P and QGS/P over the interval 12 to 25 GeV.
-- quasiElastic: 1 for QGS and 0 for FTF
@@@ G4ParticleHPInelasticData instantiated for particle neutron data directory variable is G4NEUTRONHPDATA pointing to /cvmfs/geant4.cern.ch/share/data/G4NDL4.7.1
#
/gun/particle proton
@@ -174,7 +180,7 @@ Command is ignored.
Process: photonNuclear
Model: GammaNPreco: 0 eV ---> 200 MeV
Model: BertiniCascade: 199 MeV ---> 10 GeV
Cr_sctns: PhotoNuclearXS: 0 eV ---> 100 TeV
Cr_sctns: GammaNuclearXS: 0 eV ---> 100 TeV
-----------------------------------------------------------------------
Hadronic Processes for kaon+
Process: hadElastic
@@ -213,18 +219,17 @@ Command is ignored.
Process: neutronInelastic
Model: QGSP: 12 GeV ---> 100 TeV
Model: FTFP: 3 GeV ---> 25 GeV
Model: Binary Cascade: 19.9 MeV ---> 6 GeV
Model: BertiniCascade: 1 GeV ---> 6 GeV
Model: Binary Cascade: 19.9 MeV ---> 1.5 GeV
Model: NeutronHPInelastic: 0 eV ---> 20 MeV
Cr_sctns: NeutronHPInelasticXS: 0 eV ---> 20 MeV
Cr_sctns: G4NeutronInelasticXS: 0 eV ---> 100 TeV
Process: nCapture
Model: nRadCaptureHP: 0 eV ---> 20 MeV
Model: nRadCapture: 19.9 MeV ---> 100 TeV
Process: nCaptureHP
Model: nRadCaptureHP: 0 eV ---> 100 TeV
Cr_sctns: NeutronHPCaptureXS: 0 eV ---> 100 TeV
Cr_sctns: G4NeutronCaptureXS: 0 eV ---> 100 TeV
Process: nFission
Process: nFissionHP
Model: NeutronHPFission: 0 eV ---> 20 MeV
Model: G4LFission: 19.9 MeV ---> 100 TeV
Cr_sctns: NeutronHPFissionXS: 0 eV ---> 20 MeV
Cr_sctns: ZeroXS: 0 eV ---> 100 TeV
-----------------------------------------------------------------------
@@ -255,7 +260,8 @@ Command is ignored.
Process: protonInelastic
Model: QGSP: 12 GeV ---> 100 TeV
Model: FTFP: 3 GeV ---> 25 GeV
Model: Binary Cascade: 0 eV ---> 6 GeV
Model: BertiniCascade: 1 GeV ---> 6 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
-----------------------------------------------------------------------
Hadronic Processes for sigma-
@@ -282,8 +288,8 @@ Command is ignored.
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
@@ -297,9 +303,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
@@ -342,17 +347,17 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=0.050000s Real=0.049370s Sys=0.000000s
User=0.050000s Real=0.052391s Sys=0.000000s
The run is 10000 proton of 10 MeV through 10 m of Molybdenum98 (density: 10.28 g/cm3 )
Process calls frequency:
hadElastic= 8120 protonInelastic= 1880
hadElastic= 8041 protonInelastic= 1959
MeanFreePath: 4.9903 cm +- 4.9635 cm massic: 51.301 g/cm2
CrossSection: 0.20039 cm^-1 massic: 1.9493 mm2/g
crossSection per atom: 3.1691 barn
MeanFreePath: 4.983 cm +- 4.8835 cm massic: 51.225 g/cm2
CrossSection: 0.20068 cm^-1 massic: 1.9522 mm2/g
crossSection per atom: 3.1738 barn
Verification: crossSections from G4HadronicProcessStore
@@ -362,37 +367,36 @@ Run Summary
List of nuclear reactions:
proton + Mo98 --> N gamma or e- + Tc99: 13 Q = 6.491 MeV
proton + Mo98 --> N gamma or e- + Tc99[142.684]: 2 Q = 6.3518 MeV
proton + Mo98 --> N gamma or e- + neutron + Tc98: 1708 Q = -2.4771 MeV
proton + Mo98 --> N gamma or e- + neutron + Tc98[138.590]: 128 Q = -2.6179 MeV
proton + Mo98 --> N gamma or e- + neutron + Tc98[90.770]: 9 Q = -2.5656 MeV
proton + Mo98 --> N gamma or e- + proton + Mo98: 15 Q = 0.54075 meV
proton + Mo98 --> N gamma or e- + proton + Mo98[734.750]: 5 Q = -734.75 keV
proton + Mo98 --> proton + Mo98: 8120 Q = -0.0056987 meV
proton + Mo98 --> N gamma or e- + Tc99: 22 Q = 6.4945 MeV
proton + Mo98 --> N gamma or e- + Tc99[142.684]: 1 Q = 6.3518 MeV
proton + Mo98 --> N gamma or e- + neutron + Tc98: 1776 Q = -2.4725 MeV
proton + Mo98 --> N gamma or e- + neutron + Tc98[138.590]: 120 Q = -2.6111 MeV
proton + Mo98 --> N gamma or e- + neutron + Tc98[90.770]: 10 Q = -2.5633 MeV
proton + Mo98 --> N gamma or e- + proton + Mo98: 27 Q = -0.042596 meV
proton + Mo98 --> N gamma or e- + proton + Mo98[734.750]: 3 Q = -734.75 keV
proton + Mo98 --> proton + Mo98: 8041 Q = -0.0057252 meV
number of gamma or e- (ic): N = 1 --> 12
List of generated particles:
Mo98: 8135 Emean = 33.123 keV ( 1.527 eV --> 397.27 keV)
Mo98[734.750]: 5 Emean = 114.87 keV ( 21.433 keV --> 215.66 keV)
Tc98: 1708 Emean = 118.22 keV ( 17.125 keV --> 276.68 keV)
Tc98[138.590]: 128 Emean = 126.96 keV ( 23.481 keV --> 259.65 keV)
Tc98[90.770]: 9 Emean = 104.35 keV ( 31.97 keV --> 188.37 keV)
Tc99: 13 Emean = 107.39 keV ( 92.122 keV --> 118.5 keV)
Tc99[142.684]: 2 Emean = 103.36 keV ( 97.242 keV --> 109.48 keV)
e-: 682 Emean = 62.704 keV ( 18.487 keV --> 1.0243 MeV)
gamma: 10055 Emean = 1.0656 MeV ( 3.4119 keV --> 10.787 MeV)
neutron: 1845 Emean = 1.7232 MeV ( 19.298 keV --> 7.1051 MeV)
proton: 20 Emean = 7.1773 MeV ( 4.3642 MeV --> 9.0435 MeV)
Mo98: 8068 Emean = 33.183 keV ( 1.9562 eV --> 401.7 keV)
Mo98[734.750]: 3 Emean = 91.773 keV ( 57.063 keV --> 144.47 keV)
Tc98: 1776 Emean = 118.67 keV ( 12.565 keV --> 295.23 keV)
Tc98[138.590]: 120 Emean = 117.01 keV ( 23.062 keV --> 276.46 keV)
Tc98[90.770]: 10 Emean = 143.27 keV ( 47.602 keV --> 214.71 keV)
Tc99: 22 Emean = 105.24 keV ( 91.697 keV --> 118.68 keV)
Tc99[142.684]: 1 Emean = 96.941 keV ( 96.941 keV --> 96.941 keV)
gamma: 11380 Emean = 990.61 keV ( 7.9307 keV --> 12.073 MeV)
neutron: 1906 Emean = 1.7323 MeV ( 104.2 keV --> 7.007 MeV)
proton: 30 Emean = 6.643 MeV ( 3.6611 MeV --> 9.5463 MeV)
Momentum balance: Pmean = 54.244 eV ( 0.002461 meV --> 3.2747 keV)
Momentum balance: Pmean = 933.25 meV ( 0.00078225 meV --> 60.587 eV )
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={908227007396948181, 1720771358049332421, 2227873285104074339, 345701894591028024, 866093422604108136, 567583627094808421, 961947697454908808, 750023208248768897, 1459128747913359293, 412733079020239577, 185706477041526521, 639736288902292327, 879790779891937794, 2202234093630983411, 1055450509529291002, 290007266799256309, 2123872506005804216} counter= 5sumtot= 1455980184782810020
N=17 V[N]={1754264211422920542, 1082955125318936279, 402599475922890425, 146407241558192287, 1225671683646015187, 2098918383306110564, 960188014190822303, 1565495293656637349, 1956609809941606200, 1116121548833418844, 2046196586284439102, 1313911472640651208, 125255053698066180, 229358084532735297, 1889518433785165640, 349423770074452278, 1929443708649348895} counter= 6sumtot= 1745593823752856972
---------------------------------------
================== Deleting memory pools ===================
Number of memory pools allocated: 11 of which, static: 0
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
@@ -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,10 +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
@@ -23,11 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file hadronic/Hadr03/include/GammaNuclearPhysics.hh
/// \file GammaNuclearPhysics.hh
/// \brief Definition of the GammaNuclearPhysics class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef GammaNuclearPhysics_h
#define GammaNuclearPhysics_h 1
@@ -23,11 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file hadronic/Hadr03/include/GammaNuclearPhysicsLEND.hh
/// \brief Definition of the GammaNuclearPhysics class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
/// \file GammaNuclearPhysicsLEND.hh
/// \brief Definition of the GammaNuclearPhysicsLEND class
#ifndef GammaNuclearPhysicsLEND_h
#define GammaNuclearPhysicsLEND_h 1
@@ -25,10 +25,6 @@
//
/// \file HistoManager.hh
/// \brief Definition of the HistoManager class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef HistoManager_h
#define HistoManager_h 1
@@ -25,8 +25,6 @@
//
/// \file PhysicsList.hh
/// \brief Definition of the PhysicsList class
//
//
#ifndef PhysicsList_h
#define PhysicsList_h 1
@@ -25,10 +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,10 +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,10 +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 1
@@ -25,10 +25,6 @@
//
/// \file RunMessenger.hh
/// \brief Definition of the RunMessenger class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef RunMessenger_h
#define RunMessenger_h 1
@@ -25,10 +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
@@ -23,7 +23,6 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file ActionInitialization.cc
/// \brief Implementation of the ActionInitialization class
@@ -25,11 +25,6 @@
//
/// \file DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "DetectorConstruction.hh"
@@ -25,10 +25,6 @@
//
/// \file DetectorMessenger.cc
/// \brief Implementation of the DetectorMessenger class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "DetectorMessenger.hh"
@@ -23,11 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file hadronic/Hadr03/src/GammaNuclearPhysics.cc
/// \file GammaNuclearPhysics.cc
/// \brief Implementation of the GammaNuclearPhysics class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "GammaNuclearPhysics.hh"
@@ -37,9 +34,9 @@
// Processes
#include "G4CascadeInterface.hh"
#include "G4GammaNuclearXS.hh"
#include "G4HadronInelasticProcess.hh"
#include "G4LowEGammaNuclearModel.hh"
#include "G4PhotoNuclearCrossSection.hh"
#include "G4SystemOfUnits.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -52,7 +49,7 @@ void GammaNuclearPhysics::ConstructProcess()
{
G4HadronInelasticProcess* process =
new G4HadronInelasticProcess("photonNuclear", G4Gamma::Definition());
process->AddDataSet(new G4PhotoNuclearCrossSection);
process->AddDataSet(new G4GammaNuclearXS);
// to not register a model, set Emax=0; eg. Emax1 = 0.
const G4double Emax1 = 200 * MeV, Emax2 = 10 * GeV;
@@ -23,13 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file hadronic/Hadr03/src/GammaNuclearPhysicsLEND.cc
/// \file GammaNuclearPhysicsLEND.cc
/// \brief Implementation of the GammaNuclearPhysicsLEND class
//
// $Id: GammaNuclearPhysics.cc 66587 2012-12-21 11:06:44Z ihrivnac $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "GammaNuclearPhysicsLEND.hh"
@@ -25,10 +25,6 @@
//
/// \file HistoManager.cc
/// \brief Implementation of the HistoManager class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "HistoManager.hh"
@@ -46,8 +42,6 @@ HistoManager::HistoManager()
void HistoManager::Book()
{
// Create or get analysis manager
// The choice of analysis technology is done via selection of a namespace
// in HistoManager.hh
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
analysisManager->SetDefaultFileType("root");
analysisManager->SetFileName(fFileName);
@@ -25,9 +25,6 @@
//
/// \file PhysicsList.cc
/// \brief Implementation of the PhysicsList class
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "PhysicsList.hh"
@@ -25,10 +25,6 @@
//
/// \file PrimaryGeneratorAction.cc
/// \brief Implementation of the PrimaryGeneratorAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "PrimaryGeneratorAction.hh"
@@ -25,10 +25,6 @@
//
/// \file Run.cc
/// \brief Implementation of the Run class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "Run.hh"
@@ -25,10 +25,6 @@
//
/// \file RunAction.cc
/// \brief Implementation of the RunAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "RunAction.hh"
@@ -25,10 +25,6 @@
//
/// \file RunMessenger.cc
/// \brief Implementation of the RunMessenger class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "RunMessenger.hh"
@@ -25,10 +25,6 @@
//
/// \file SteppingAction.cc
/// \brief Implementation of the SteppingAction class
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "SteppingAction.hh"