Import Geant4 11.4.0 source tree
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
# Example TestEm5 History
|
||||
|
||||
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!
|
||||
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-08-21 Dmitri Konstantinov (testem5-V11-03-00)
|
||||
- TrackingAction: fixed reflect condition for negative X beam.
|
||||
Use position.x() >= fXendAbs when fDirX < 0 (was <=)
|
||||
|
||||
## 2024-04-06 Michel Maire (testem5-V11-02-02)
|
||||
- remove subcut.mac
|
||||
|
||||
@@ -1,252 +0,0 @@
|
||||
-----------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
|
||||
=========================================================
|
||||
|
||||
TestEm5
|
||||
-------
|
||||
How to study the transmission, absorption and reflection of particles through
|
||||
a single, thin or thick, layer of material.
|
||||
In particular, the effects of the multiple scattering can be plotted.
|
||||
|
||||
1- GEOMETRY DEFINITION
|
||||
|
||||
The "absorber" is a box made of a given material.
|
||||
|
||||
Three parameters define the absorber :
|
||||
- the material of the absorber,
|
||||
- the thickness of an absorber,
|
||||
- the transverse size of the absorber (the input face is a square).
|
||||
|
||||
A volume "World" contains the "absorber".
|
||||
|
||||
In addition a transverse uniform magnetic field can be applied.
|
||||
|
||||
The default geometry is constructed in DetectorConstruction class, but all the
|
||||
parameters can be changed via commands defined in the DetectorMessenger class.
|
||||
The parameters of the "World" can be changed, too. However, if World material
|
||||
is not set to vacuum, the plots 10->43 below may be not pertinent.
|
||||
|
||||
2- PHYSICS LIST
|
||||
|
||||
Physics lists are based on modular design. Several modules are instantiated:
|
||||
1. Transportation
|
||||
2. EM physics
|
||||
3. Decays
|
||||
4. StepMax - for step limitation
|
||||
|
||||
EM physics builders can be local (eg. in this example) or from G4 kernel
|
||||
physics_lists subdirectory.
|
||||
|
||||
Local physics builders:
|
||||
- "local" standard EM physics with current 'best' options setting
|
||||
these options are explicited in PhysListEmStandard
|
||||
- "standardSSM" standard EM physics with alternative single Coulomb
|
||||
scattering model instead of multiple scattering.
|
||||
|
||||
From geant4/source/physics_lists/builders:
|
||||
- "emstandard_opt0" recommended standard EM physics for LHC
|
||||
- "emstandard_opt1" best CPU performance standard physics for LHC
|
||||
- "emstandard_opt2" similar fast simulation
|
||||
- "emstandard_opt3" best standard EM options - analog to "local" above
|
||||
- "emstandard_opt4" best current advanced EM options standard + lowenergy
|
||||
- "emstandardWVI" standard EM physics and WentzelVI multiple scattering
|
||||
- "emstandardSS" standard EM physics and single scattering model
|
||||
- "emlivermore" low-energy EM physics using Livermore data
|
||||
- "empenelope" low-energy EM physics implementing Penelope models
|
||||
- "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.
|
||||
|
||||
3- AN EVENT : THE PRIMARY GENERATOR
|
||||
|
||||
The primary kinematic consists of a single particle which hits the absorber
|
||||
perpendicular to the input face, so the default beam direction is along X
|
||||
axis. The type of the particle and its energy are set in the
|
||||
PrimaryGeneratorAction class, and can be changed via the G4 build-in
|
||||
commands of G4ParticleGun class (see the macros provided with this example).
|
||||
|
||||
If thickness of absorber is changed for some run in the same macro, then
|
||||
gun position should be modifined using /gun/position IU command.
|
||||
|
||||
4- VISUALIZATION
|
||||
|
||||
The Visualization Manager is set in the main().
|
||||
The initialisation of the drawing is done via the commands in vis.mac
|
||||
In interactive session:
|
||||
PreInit or Idle > /control/execute vis.mac
|
||||
|
||||
The example has a default view which is a longitudinal view of the detector.
|
||||
|
||||
The tracks are drawn at the end of event, and erased at the end of run.
|
||||
Optionally one can choose to draw all particles, only the charged, or none.
|
||||
This command is defined in EventActionMessenger class.
|
||||
|
||||
5- TRACKING
|
||||
|
||||
During the tracking, one can keep or not the secondaries : see StackingAction
|
||||
class and its Messenger (StackingMessenger).
|
||||
One can also limit 'by hand' the step lenght of the particle. As an example,
|
||||
this limitation is implemented as a 'full' process : see StepMax class and its
|
||||
Messenger. The 'StepMax process' is registered in the Physics List.
|
||||
|
||||
6- DETECTOR RESPONSE
|
||||
|
||||
At the end of a run, from the histogram(s), one can study different
|
||||
physics quantities such as :
|
||||
- energy deposit in the absorber,
|
||||
- energy spectrum of secondaries at creation,
|
||||
- energy spectrum and angle distribution of particles at exit,
|
||||
- transmission and backscattering coefficients,
|
||||
- ...
|
||||
|
||||
7- List of the built-in histograms
|
||||
----------------------------------
|
||||
|
||||
The test contains more than 60 built-in 1D histograms, which are managed by
|
||||
G4AnalysisManager 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..)
|
||||
(see the macros xxxx.mac).
|
||||
|
||||
1 "energy deposit in absorber"
|
||||
2 "energy of charged secondaries at creation"
|
||||
3 "energy of neutral secondaries at creation"
|
||||
4 "energy of charged at creation (log10(Ekin))"
|
||||
5 "energy of neutral at creation (log10(Ekin))"
|
||||
6 "x_vertex of charged secondaries (all)"
|
||||
7 "x_vertex of charged secondaries (not absorbed)"
|
||||
10 "(transmit, charged) : kinetic energy at exit of world"
|
||||
11 "(transmit, charged) : ener fluence: dE(MeV)/dOmega"
|
||||
12 "(transmit, charged) : space angle dN/dOmega"
|
||||
13 "(transmit, charged) : projected angle at exit of world"
|
||||
14 "(transmit, charged) : projected position at exit of world"
|
||||
15 "(transmit, charged) : radius at exit of world"
|
||||
20 "(transmit, neutral) : kinetic energy at exit of world"
|
||||
21 "(transmit, neutral) : ener fluence: dE(MeV)/dOmega"
|
||||
22 "(transmit, neutral) : space angle dN/dOmega"
|
||||
23 "(transmit, neutral) : projected angle at exit of world"
|
||||
30 "(reflect , charged) : kinetic energy at exit of world"
|
||||
31 "(reflect , charged) : ener fluence: dE(MeV)/dOmega"
|
||||
32 "(reflect , charged) : space angle dN/dOmega"
|
||||
33 "(reflect , charged) : projected angle at exit of world"
|
||||
40 "(reflect , neutral) : kinetic energy at exit of world"
|
||||
41 "(reflect , neutral) : ener fluence: dE(MeV)/dOmega"
|
||||
42 "(reflect , neutral) : space angle dN/dOmega"
|
||||
43 "(reflect , neutral) : projected angle at exit of world"
|
||||
50 "energy of Auger e- at creation"
|
||||
51 "energy of fluorescence gamma at creation"
|
||||
52 "energy of Auger e- at creation (log scale)"
|
||||
53 "energy of fluorescence gamma at creation (log scale)"
|
||||
54 "energy of PIXE Auger e- at creation"
|
||||
55 "energy of PIXE gamma at creation"
|
||||
56 "energy of PIXE Auger e- at creation (log scale)"
|
||||
57 "energy of PIXE gamma at creation (log scale)"
|
||||
58 "energy of G4DNA Auger e- at creation"
|
||||
59 "energy of G4DNA gamma at creation"
|
||||
60 "energy of G4DNA Auger e- at creation (log scale)"
|
||||
61 "energy of G4DNA gamma at creation (log scale)"
|
||||
|
||||
One can control the name of the histograms file with the command:
|
||||
/analysis/setFileName name (default testem5)
|
||||
|
||||
It is possible to choose the format of the histogram file : root (default),
|
||||
hdf5, xml, csv, by changing the default file type in HistoManager.cc
|
||||
|
||||
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 testem5)
|
||||
|
||||
8- GEANT4/GEANT3/DATA COMPARISON
|
||||
|
||||
A Geant4/Geant3/exp. data comparison is given here for a few cases.
|
||||
These cases can be classified as follow:
|
||||
- e-/e+ incident particles versus protons and others.
|
||||
- 3 energy regimes: low: < 1MeV; medium: 1MeV -> few 10MeV; high: > 100MeV
|
||||
|
||||
We indicate here the corresponding macros.
|
||||
|
||||
| low energy | medium energy | high energy
|
||||
--------------------------------------------------------
|
||||
| acosta.mac | |
|
||||
e-+ | berger.mac | hanson.mac |
|
||||
| hunger.mac | kulchi.mac |
|
||||
| tavola.mac | |
|
||||
--------------------------------------------------------
|
||||
others| bichsel.mac | vincour.mac | shen1.mac shen2.mac
|
||||
| | gottsch.mac | tramu.mac
|
||||
--------------------------------------------------------
|
||||
|
||||
9- HOW TO START ?
|
||||
|
||||
- Execute TestEm5 in 'batch' mode from macro files e.g.
|
||||
% $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5 myMacro.mac
|
||||
|
||||
- Execute TestEm5 in 'interactive' mode with visualization e.g.
|
||||
% $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5
|
||||
Then type your commands, for instance :
|
||||
Idle> control/execute vis.mac
|
||||
Idle> run/beamOn 5
|
||||
....
|
||||
|
||||
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
|
||||
- pixe_ANSTO.mac: to illustrate how to activate the ANSTO PIXE data libraries,
|
||||
for both cross sections and fluorescence radiation yields (for materials with Z < 93).
|
||||
The cross sections are available for protons with energy < 5 MeV
|
||||
and alpha particles with energy < 10 MeV/nucleon.
|
||||
(S. Bakr et al. (2021) NIM B, 507:1119),
|
||||
(S. Bakr et al (2018), NIMB B, 436: 285-291)
|
||||
- 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.)
|
||||
- stepMax.mac: to test the command /testem/stepMax
|
||||
- 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
|
||||
+28
-34
@@ -1,14 +1,10 @@
|
||||
|
||||
///\file "electromagnetic/TestEm5/.README.txt"
|
||||
///\brief Example TestEm5 README page
|
||||
|
||||
/*! \page ExampleTestEm5 Example TestEm5
|
||||
\page ExampleTestEm5 Example TestEm5
|
||||
|
||||
How to study the transmission, absorption and reflection of particles through
|
||||
a single, thin or thick, layer of material.
|
||||
In particular, the effects of the multiple scattering can be plotted.
|
||||
|
||||
\section TestEm5_s1 GEOMETRY DEFINITION
|
||||
## GEOMETRY DEFINITION
|
||||
|
||||
The "absorber" is a box made of a given material.
|
||||
|
||||
@@ -26,7 +22,7 @@
|
||||
The parameters of the "World" can be changed, too. However, if World material
|
||||
is not set to vacuum, the plots 10->43 below may be not pertinent.
|
||||
|
||||
\section TestEm5_s2 PHYSICS LIST
|
||||
## PHYSICS LIST
|
||||
|
||||
Physics lists are based on modular design. Several modules are instantiated:
|
||||
1. Transportation
|
||||
@@ -62,7 +58,7 @@
|
||||
for all particle types. In G4 builders, it is shown how to set options per
|
||||
particle type.
|
||||
|
||||
\section TestEm5_s3 AN EVENT : THE PRIMARY GENERATOR
|
||||
## AN EVENT : THE PRIMARY GENERATOR
|
||||
|
||||
The primary kinematic consists of a single particle which hits the absorber
|
||||
perpendicular to the input face, so the default beam direction is along X
|
||||
@@ -73,14 +69,14 @@
|
||||
If thickness of absorber is changed for some run in the same macro, then
|
||||
gun position should be modifined using /gun/position IU command.
|
||||
|
||||
\section TestEm5_s4 VISUALIZATION
|
||||
## VISUALIZATION
|
||||
|
||||
The Visualization Manager is set in the main () (see TestEm5.cc).
|
||||
The Visualization Manager is set in the main().
|
||||
The initialisation of the drawing is done via the commands in vis.mac
|
||||
In interactive session:
|
||||
\verbatim
|
||||
```
|
||||
PreInit or Idle > /control/execute vis.mac
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
The example has a default view which is a longitudinal view of the detector.
|
||||
|
||||
@@ -88,7 +84,7 @@
|
||||
Optionally one can choose to draw all particles, only the charged, or none.
|
||||
This command is defined in EventActionMessenger class.
|
||||
|
||||
\section TestEm5_s5 TRACKING
|
||||
## TRACKING
|
||||
|
||||
During the tracking, one can keep or not the secondaries : see StackingAction
|
||||
class and its Messenger (StackingMessenger).
|
||||
@@ -96,7 +92,7 @@
|
||||
this limitation is implemented as a 'full' process : see StepMax class and its
|
||||
Messenger. The 'StepMax process' is registered in the Physics List.
|
||||
|
||||
\section TestEm5_s6 DETECTOR RESPONSE
|
||||
## DETECTOR RESPONSE
|
||||
|
||||
At the end of a run, from the histogram(s), one can study different
|
||||
physics quantities such as :
|
||||
@@ -106,14 +102,14 @@
|
||||
- transmission and backscattering coefficients,
|
||||
- ...
|
||||
|
||||
\section TestEm5_s7 List of the built-in histograms
|
||||
## List of the built-in histograms
|
||||
|
||||
The test contains more than 60 built-in 1D histograms, which are managed by
|
||||
G4AnalysisManager 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..)
|
||||
(see the macros xxxx.mac).
|
||||
|
||||
@@ -156,20 +152,20 @@
|
||||
- 61 : "energy of G4DNA gamma at creation (log scale)"
|
||||
|
||||
One can control the name of the histograms file with the command:
|
||||
\verbatim
|
||||
```
|
||||
/analysis/setFileName name (default testem5)
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
It is possible to choose the format of the histogram file : root (default),
|
||||
hdf5, xml, csv, by changing the default file type in HistoManager.cc
|
||||
|
||||
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 testem5)
|
||||
|
||||
\section TestEm5_s8 GEANT4/GEANT3/DATA COMPARISON
|
||||
## GEANT4/GEANT3/DATA COMPARISON
|
||||
|
||||
A Geant4/Geant3/exp. data comparison is given here for a few cases.
|
||||
These cases can be classified as follow:
|
||||
@@ -183,30 +179,30 @@
|
||||
| acosta.mac | |
|
||||
e-+ | berger.mac | hanson.mac |
|
||||
| hunger.mac | kulchi.mac |
|
||||
| tavola.mac | |
|
||||
| tavora.mac | |
|
||||
--------------------------------------------------------
|
||||
others| bichsel.mac | vincour.mac | shen1.mac shen2.mac
|
||||
| | gottsch.mac | tramu.mac
|
||||
--------------------------------------------------------
|
||||
</pre>
|
||||
|
||||
\section TestEm5_s9 HOW TO START ?
|
||||
## HOW TO START ?
|
||||
|
||||
- Execute TestEm5 in 'batch' mode from macro files e.g.
|
||||
\verbatim
|
||||
% $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5 myMacro.mac
|
||||
\endverbatim
|
||||
```
|
||||
% ./TestEm5 myMacro.mac
|
||||
```
|
||||
|
||||
- Execute TestEm5 in 'interactive' mode with visualization e.g.
|
||||
\verbatim
|
||||
% $(G4INSTALL)/bin/$(G4SYSTEM)/TestEm5
|
||||
\endverbatim
|
||||
```
|
||||
% ./TestEm5
|
||||
```
|
||||
Then type your commands, for instance :
|
||||
\verbatim
|
||||
```
|
||||
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.
|
||||
@@ -262,5 +258,3 @@ Macros provided in this example:
|
||||
thin silicon targets.
|
||||
(J.Vincour,P.Bem NIM 148 (1978) page 396.)
|
||||
- vis.mac - to activate visualization
|
||||
|
||||
*/
|
||||
@@ -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
|
||||
@@ -105,7 +105,7 @@ Step# X Y Z KineE dEStep StepLeng T
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 1
|
||||
User=0.000000s Real=0.000331s Sys=0.000000s
|
||||
User=0.000000s Real=0.000291s Sys=0.000000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
@@ -185,7 +185,7 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 6
|
||||
User=0.000000s Real=0.000045s Sys=0.000000s
|
||||
User=0.000000s Real=0.000031s Sys=0.000000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -92,7 +92,7 @@ Lowest muon/hadron kinetic energy 1 keV
|
||||
Use ICRU90 data 1
|
||||
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 1
|
||||
@@ -239,13 +239,13 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 100000
|
||||
User=35.380000s Real=35.465336s Sys=0.000000s
|
||||
User=30.700000s Real=30.835280s Sys=0.010000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 100000 proton of 3 MeV through 50 um of Gold (density: 19.3 g/cm3 )
|
||||
|
||||
Total energy deposit in absorber per event = 3 MeV +- 76.71 eV
|
||||
Total energy deposit in absorber per event = 3 MeV +- 70.18 eV
|
||||
|
||||
-----> Mean dE/dx = 599.9 MeV/cm (31.05 MeV*cm2/g)
|
||||
|
||||
@@ -253,22 +253,22 @@ Run Summary
|
||||
restricted dEdx = 676.4 MeV/cm (35.01 MeV*cm2/g)
|
||||
full dEdx = 676.5 MeV/cm (35.01 MeV*cm2/g)
|
||||
|
||||
Leakage : primary = 278.1 eV +- 76.3 eV secondaries = 14.72 eV +- 955.4 meV
|
||||
Leakage : primary = 222.7 eV +- 69.49 eV secondaries = 15.3 eV +- 977.5 meV
|
||||
Energy balance : edep + eleak = 3 MeV
|
||||
|
||||
Total track length (charged) in absorber per event = 31.06 um +- 1.249 nm
|
||||
Total track length (neutral) in absorber per event = 355.2 nm +- 3.118 nm
|
||||
Total track length (charged) in absorber per event = 31.09 um +- 1.237 nm
|
||||
Total track length (neutral) in absorber per event = 365 nm +- 3.207 nm
|
||||
|
||||
Number of steps (charged) in absorber per event = 141.8 +- 0.1266
|
||||
Number of steps (neutral) in absorber per event = 0.5817 +- 0.002434
|
||||
Number of steps (charged) in absorber per event = 111.3 +- 0.09962
|
||||
Number of steps (neutral) in absorber per event = 0.5904 +- 0.00245
|
||||
|
||||
Number of secondaries per event : Gammas = 0.5798 electrons = 109.6 positrons = 0
|
||||
Number of secondaries per event : Gammas = 0.5882 electrons = 109.7 positrons = 0
|
||||
|
||||
Number of events with the primary particle transmitted = 0 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 0 %
|
||||
|
||||
Number of events with the primary particle reflected = 0.016 %
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0.016 %
|
||||
Number of events with the primary particle reflected = 0.012 %
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0.012 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 0 mrad (central part only)
|
||||
@@ -276,17 +276,17 @@ Run Summary
|
||||
central part defined as +- 699.8 mrad Tail ratio = 0 %
|
||||
|
||||
Gamma process counts:
|
||||
Photoeffect 57671
|
||||
Compton 2
|
||||
Photoeffect 58514
|
||||
Compton 1
|
||||
Conversion 0
|
||||
Rayleigh 195
|
||||
Rayleigh 215
|
||||
... write file : pixe.root - done
|
||||
... close file : pixe.root - done
|
||||
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={1865847532392181060, 99825406610688157, 359444420570531604, 1595240065015446652, 893119202495921306, 1324979107203650855, 852295147626347754, 826571437727771892, 2049915322115205500, 757520833902555854, 348265068551329111, 748267151128822368, 1950628009764165982, 1535417471323711813, 1798702300717679741, 1338321521261254999, 2232042557627417187} counter= 15sumtot= 2129658482325130227
|
||||
N=17 V[N]={2275693850505656079, 1630005970525527953, 1511168721215330252, 1574764583294197409, 1202923739096358668, 2275593602412158595, 1673713326307064128, 2069973448194786953, 1419418538454768537, 1553193819513967537, 31469384312957859, 1128360787495327858, 206564890181193083, 656555737568098490, 1986286614182797066, 1054497684399038600, 850565486852745235} counter= 3sumtot= 42320092375034792
|
||||
---------------------------------------
|
||||
================== Deleting memory pools ===================
|
||||
Number of memory pools allocated: 9 of which, static: 0
|
||||
|
||||
@@ -23,13 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/TestEm5.cc
|
||||
/// \file TestEm5.cc
|
||||
/// \brief Main program of the electromagnetic/TestEm5 example
|
||||
//
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#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
|
||||
@@ -108,7 +108,7 @@ Lowest muon/hadron kinetic energy 1 keV
|
||||
Use ICRU90 data 1
|
||||
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 1
|
||||
@@ -257,7 +257,7 @@ hBrems: for proton XStype:1 SubType=3
|
||||
hPairProd: for proton XStype:1 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
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -320,7 +320,7 @@ hBrems: for anti_proton XStype:1 SubType=3
|
||||
hPairProd: for anti_proton XStype:1 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
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -346,7 +346,7 @@ hBrems: for kaon+ XStype:1 SubType=3
|
||||
hPairProd: for kaon+ XStype:1 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
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -372,7 +372,7 @@ hBrems: for kaon- XStype:1 SubType=3
|
||||
hPairProd: for kaon- XStype:1 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
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -398,7 +398,7 @@ muBrems: for mu+ XStype:1 SubType=3
|
||||
muPairProd: for mu+ XStype:1 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 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
|
||||
|
||||
@@ -424,7 +424,7 @@ muBrems: for mu- XStype:1 SubType=3
|
||||
muPairProd: for mu- XStype:1 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 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
|
||||
|
||||
@@ -450,7 +450,7 @@ hBrems: for pi+ XStype:1 SubType=3
|
||||
hPairProd: for pi+ XStype:1 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
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -476,7 +476,7 @@ hBrems: for pi- XStype:1 SubType=3
|
||||
hPairProd: for pi- XStype:1 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
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -518,30 +518,30 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 100000
|
||||
User=0.490000s Real=0.489714s Sys=0.000000s
|
||||
User=0.430000s Real=0.432659s Sys=0.000000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 100000 pi+ of 5 GeV through 20 um of Silicon (density: 2.33 g/cm3 )
|
||||
|
||||
Total energy deposit in absorber per event = 6.346 keV +- 16.24 eV
|
||||
Total energy deposit in absorber per event = 6.353 keV +- 16.34 eV
|
||||
|
||||
-----> Mean dE/dx = 3.173 MeV/cm (1.362 MeV*cm2/g)
|
||||
-----> Mean dE/dx = 3.177 MeV/cm (1.363 MeV*cm2/g)
|
||||
|
||||
From formulas :
|
||||
restricted dEdx = 2.96 MeV/cm (1.27 MeV*cm2/g)
|
||||
full dEdx = 4.726 MeV/cm (2.028 MeV*cm2/g)
|
||||
|
||||
Leakage : primary = 5 GeV +- 1.301 keV secondaries = 3.62 keV +- 1.301 keV
|
||||
Leakage : primary = 5 GeV +- 725.3 eV secondaries = 2.672 keV +- 724.6 eV
|
||||
Energy balance : edep + eleak = 5 GeV
|
||||
|
||||
Total track length (charged) in absorber per event = 20.26 um +- 7.74 nm
|
||||
Total track length (neutral) in absorber per event = 1.273 Ang +- 7.208e+04 fm
|
||||
Total track length (charged) in absorber per event = 20.26 um +- 7.771 nm
|
||||
Total track length (neutral) in absorber per event = 7.453e+04 fm +- 7.453e+04 fm
|
||||
|
||||
Number of steps (charged) in absorber per event = 1.129 +- 0.00398
|
||||
Number of steps (neutral) in absorber per event = 4e-05 +- 2e-05
|
||||
Number of steps (charged) in absorber per event = 1.179 +- 0.005528
|
||||
Number of steps (neutral) in absorber per event = 1e-05 +- 1e-05
|
||||
|
||||
Number of secondaries per event : Gammas = 4e-05 electrons = 0.0173 positrons = 0
|
||||
Number of secondaries per event : Gammas = 1e-05 electrons = 0.017 positrons = 0
|
||||
|
||||
Number of events with the primary particle transmitted = 100 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 100 %
|
||||
@@ -550,12 +550,12 @@ Run Summary
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 0.02511 mrad (central part only)
|
||||
rms proj angle of transmit primary particle = 0.02504 mrad (central part only)
|
||||
computed theta0 (Highland formula) = 0.02627 mrad
|
||||
central part defined as +- 0.07881 mrad Tail ratio = 1.945 %
|
||||
central part defined as +- 0.07881 mrad Tail ratio = 1.951 %
|
||||
|
||||
Gamma process counts:
|
||||
Photoeffect 3
|
||||
Photoeffect 0
|
||||
Compton 0
|
||||
Conversion 0
|
||||
Rayleigh 0
|
||||
@@ -563,7 +563,7 @@ Run Summary
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={910941890323901813, 1015746291667433571, 1849782191790666821, 2179466225097274715, 963777671182733477, 1530585685499942884, 474907864927283377, 370893106741411538, 749435919370185968, 1894087573375515360, 1222544245262558989, 82670065345513084, 1779182905495802724, 2280541892589703393, 189639557845637357, 1620934213556233742, 564239596775570545} counter= 6sumtot= 1232632823137817750
|
||||
N=17 V[N]={1378456096184970916, 645125664873386088, 289313246081823319, 692181631145386720, 1554795592127445348, 429523111405020466, 1767267687826005316, 887948550155982521, 745800083929026403, 309730682002155907, 2175523263042675480, 1439287206468397773, 1375105445691351298, 782374144723864041, 1715829858399311388, 655882193793759711, 1581270085403564578} counter= 8sumtot= 2284513478758269616
|
||||
---------------------------------------
|
||||
#
|
||||
/testem/det/setAbsMat Gold
|
||||
@@ -608,7 +608,7 @@ Index : 2 used in the geometry : Yes
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={910941890323901813, 1015746291667433571, 1849782191790666821, 2179466225097274715, 963777671182733477, 1530585685499942884, 474907864927283377, 370893106741411538, 749435919370185968, 1894087573375515360, 1222544245262558989, 82670065345513084, 1779182905495802724, 2280541892589703393, 189639557845637357, 1620934213556233742, 564239596775570545} counter= 6sumtot= 1232632823137817750
|
||||
N=17 V[N]={1378456096184970916, 645125664873386088, 289313246081823319, 692181631145386720, 1554795592127445348, 429523111405020466, 1767267687826005316, 887948550155982521, 745800083929026403, 309730682002155907, 2175523263042675480, 1439287206468397773, 1375105445691351298, 782374144723864041, 1715829858399311388, 655882193793759711, 1581270085403564578} counter= 8sumtot= 2284513478758269616
|
||||
---------------------------------------
|
||||
--> Event 0 starts.
|
||||
--> Event 10000 starts.
|
||||
@@ -618,52 +618,52 @@ N=17 V[N]={910941890323901813, 1015746291667433571, 1849782191790666821, 2179466
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 50000
|
||||
User=0.390000s Real=0.391249s Sys=0.000000s
|
||||
User=0.310000s Real=0.318247s Sys=0.010000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 50000 e- of 15.7 MeV through 9.66 um of Gold (density: 19.3 g/cm3 )
|
||||
|
||||
Total energy deposit in absorber per event = 18.5 keV +- 65.13 eV
|
||||
Total energy deposit in absorber per event = 18.38 keV +- 64.44 eV
|
||||
|
||||
-----> Mean dE/dx = 19.15 MeV/cm (0.9914 MeV*cm2/g)
|
||||
-----> Mean dE/dx = 19.03 MeV/cm (0.9848 MeV*cm2/g)
|
||||
|
||||
From formulas :
|
||||
restricted dEdx = 17.91 MeV/cm (0.927 MeV*cm2/g)
|
||||
full dEdx = 61.41 MeV/cm (3.179 MeV*cm2/g)
|
||||
|
||||
Leakage : primary = 15.64 MeV +- 2.184 keV secondaries = 40.21 keV +- 2.179 keV
|
||||
Leakage : primary = 15.64 MeV +- 2.11 keV secondaries = 37.48 keV +- 2.102 keV
|
||||
Energy balance : edep + eleak = 15.7 MeV
|
||||
|
||||
Total track length (charged) in absorber per event = 9.932 um +- 12.05 nm
|
||||
Total track length (neutral) in absorber per event = 130.4 nm +- 8.558 nm
|
||||
Total track length (charged) in absorber per event = 9.911 um +- 11.24 nm
|
||||
Total track length (neutral) in absorber per event = 141.4 nm +- 13.24 nm
|
||||
|
||||
Number of steps (charged) in absorber per event = 2.708 +- 0.008137
|
||||
Number of steps (neutral) in absorber per event = 0.02784 +- 0.0007708
|
||||
Number of steps (charged) in absorber per event = 2.602 +- 0.009024
|
||||
Number of steps (neutral) in absorber per event = 0.02698 +- 0.0007528
|
||||
|
||||
Number of secondaries per event : Gammas = 0.02774 electrons = 0.02262 positrons = 0
|
||||
Number of secondaries per event : Gammas = 0.0269 electrons = 0.02112 positrons = 0
|
||||
|
||||
Number of events with the primary particle transmitted = 99.99 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 99.99 %
|
||||
Number of events with the primary particle transmitted = 99.98 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 99.98 %
|
||||
|
||||
Number of events with the primary particle reflected = 0.008 %
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0.322 %
|
||||
Number of events with the primary particle reflected = 0.02 %
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0.31 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 34.83 mrad (central part only)
|
||||
rms proj angle of transmit primary particle = 34.71 mrad (central part only)
|
||||
computed theta0 (Highland formula) = 35.1 mrad
|
||||
central part defined as +- 105.3 mrad Tail ratio = 2.913 %
|
||||
central part defined as +- 105.3 mrad Tail ratio = 2.948 %
|
||||
|
||||
Gamma process counts:
|
||||
Photoeffect 233
|
||||
Photoeffect 198
|
||||
Compton 0
|
||||
Conversion 0
|
||||
Rayleigh 5
|
||||
Rayleigh 4
|
||||
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={1900512211198940772, 1890227061717900871, 2082969366185794521, 717329119814801546, 746772598107075142, 2253257141874079289, 1565015741181765462, 1721304841662136345, 1382867999358481846, 1399573321192407097, 1402798657604617262, 803310304975942705, 179789696494380082, 1278609982842878592, 1224333590392160124, 18064541666290349, 1661179403854659617} counter= 7sumtot= 1475328497201066063
|
||||
N=17 V[N]={187465526861526162, 1919470187343084000, 1200600146555496649, 2254698630955541145, 1010695742965213971, 386425232931658995, 1773838893809632618, 1545813557997812675, 1661416122218187049, 1838452107617613130, 852398828744869876, 2030305144316100, 2300250181027420193, 126900021668951897, 823556986218677264, 1235812847093715199, 1130805818374825746} counter= 11sumtot= 1803887063818991061
|
||||
---------------------------------------
|
||||
#
|
||||
/run/setCut 10 um
|
||||
@@ -713,7 +713,7 @@ Index : 3 used in the geometry : Yes
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={1900512211198940772, 1890227061717900871, 2082969366185794521, 717329119814801546, 746772598107075142, 2253257141874079289, 1565015741181765462, 1721304841662136345, 1382867999358481846, 1399573321192407097, 1402798657604617262, 803310304975942705, 179789696494380082, 1278609982842878592, 1224333590392160124, 18064541666290349, 1661179403854659617} counter= 7sumtot= 1475328497201066063
|
||||
N=17 V[N]={187465526861526162, 1919470187343084000, 1200600146555496649, 2254698630955541145, 1010695742965213971, 386425232931658995, 1773838893809632618, 1545813557997812675, 1661416122218187049, 1838452107617613130, 852398828744869876, 2030305144316100, 2300250181027420193, 126900021668951897, 823556986218677264, 1235812847093715199, 1130805818374825746} counter= 11sumtot= 1803887063818991061
|
||||
---------------------------------------
|
||||
--> Event 0 starts.
|
||||
--> Event 10000 starts.
|
||||
@@ -723,52 +723,52 @@ N=17 V[N]={1900512211198940772, 1890227061717900871, 2082969366185794521, 717329
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 50000
|
||||
User=0.940000s Real=0.985252s Sys=0.000000s
|
||||
User=0.950000s Real=0.955716s Sys=0.000000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 50000 mu+ of 96.2 MeV through 4.74 mm of G4_POLYETHYLENE (density: 940 mg/cm3)
|
||||
|
||||
Total energy deposit in absorber per event = 1.049 MeV +- 1.012 keV
|
||||
Total energy deposit in absorber per event = 1.048 MeV +- 993.7 eV
|
||||
|
||||
-----> Mean dE/dx = 2.212 MeV/cm (2.353 MeV*cm2/g)
|
||||
-----> Mean dE/dx = 2.21 MeV/cm (2.351 MeV*cm2/g)
|
||||
|
||||
From formulas :
|
||||
restricted dEdx = 1.749 MeV/cm (1.861 MeV*cm2/g)
|
||||
full dEdx = 2.265 MeV/cm (2.409 MeV*cm2/g)
|
||||
|
||||
Leakage : primary = 95.12 MeV +- 1.364 keV secondaries = 27.03 keV +- 723.1 eV
|
||||
Leakage : primary = 95.13 MeV +- 1.332 keV secondaries = 26.01 keV +- 701.3 eV
|
||||
Energy balance : edep + eleak = 96.2 MeV
|
||||
|
||||
Total track length (charged) in absorber per event = 5.174 mm +- 3.85 um
|
||||
Total track length (neutral) in absorber per event = 22.19 um +- 2.291 um
|
||||
Total track length (charged) in absorber per event = 5.17 mm +- 3.775 um
|
||||
Total track length (neutral) in absorber per event = 22.35 um +- 2.273 um
|
||||
|
||||
Number of steps (charged) in absorber per event = 11.48 +- 0.03144
|
||||
Number of steps (neutral) in absorber per event = 0.00952 +- 0.0004611
|
||||
Number of steps (charged) in absorber per event = 12.17 +- 0.03721
|
||||
Number of steps (neutral) in absorber per event = 0.00988 +- 0.0004846
|
||||
|
||||
Number of secondaries per event : Gammas = 0.00898 electrons = 4.183 positrons = 0
|
||||
Number of secondaries per event : Gammas = 0.00914 electrons = 4.181 positrons = 0
|
||||
|
||||
Number of events with the primary particle transmitted = 100 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 100 %
|
||||
|
||||
Number of events with the primary particle reflected = 0.002 %
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0.002 %
|
||||
Number of events with the primary particle reflected = 0 %
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 7.331 mrad (central part only)
|
||||
rms proj angle of transmit primary particle = 7.373 mrad (central part only)
|
||||
computed theta0 (Highland formula) = 7.636 mrad
|
||||
central part defined as +- 22.91 mrad Tail ratio = 1.251 %
|
||||
central part defined as +- 22.91 mrad Tail ratio = 1.214 %
|
||||
|
||||
Gamma process counts:
|
||||
Photoeffect 281
|
||||
Compton 20
|
||||
Photoeffect 305
|
||||
Compton 23
|
||||
Conversion 0
|
||||
Rayleigh 7
|
||||
Rayleigh 14
|
||||
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={721215474158146395, 563948681617651029, 983967623568370346, 1070310276103294922, 1813306394081108138, 883673812371756628, 2204077636644992540, 1252416658832175202, 705847018841888899, 656035830486288594, 668054787003167782, 1954443689840332278, 171708394805446998, 794114014840939171, 671506160880811378, 1585356721258687729, 173315239973448498} counter= 4sumtot= 732397350812648870
|
||||
N=17 V[N]={2083361880407413973, 558014575596605443, 155743980189950201, 2182957000861726697, 1838655335096136537, 1946843552728816280, 1681406852924851701, 474130547566224162, 1018240738768540513, 1872432096900372193, 472993835442224762, 10222201860268061, 1779133025925577121, 2263978871037324573, 1473228915816656057, 35068858945786700, 1174357358231345229} counter= 2sumtot= 268182545376574644
|
||||
---------------------------------------
|
||||
#
|
||||
/run/setCut 1 mm
|
||||
@@ -824,7 +824,7 @@ Index : 4 used in the geometry : Yes
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={721215474158146395, 563948681617651029, 983967623568370346, 1070310276103294922, 1813306394081108138, 883673812371756628, 2204077636644992540, 1252416658832175202, 705847018841888899, 656035830486288594, 668054787003167782, 1954443689840332278, 171708394805446998, 794114014840939171, 671506160880811378, 1585356721258687729, 173315239973448498} counter= 4sumtot= 732397350812648870
|
||||
N=17 V[N]={2083361880407413973, 558014575596605443, 155743980189950201, 2182957000861726697, 1838655335096136537, 1946843552728816280, 1681406852924851701, 474130547566224162, 1018240738768540513, 1872432096900372193, 472993835442224762, 10222201860268061, 1779133025925577121, 2263978871037324573, 1473228915816656057, 35068858945786700, 1174357358231345229} counter= 2sumtot= 268182545376574644
|
||||
---------------------------------------
|
||||
--> Event 0 starts.
|
||||
--> Event 10000 starts.
|
||||
@@ -834,30 +834,30 @@ N=17 V[N]={721215474158146395, 563948681617651029, 983967623568370346, 107031027
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 50000
|
||||
User=0.220000s Real=0.289550s Sys=0.000000s
|
||||
User=0.220000s Real=0.220740s Sys=0.000000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 50000 proton of 175 GeV through 8 mm of Aluminium (density: 2.7 g/cm3 )
|
||||
|
||||
Total energy deposit in absorber per event = 5.166 MeV +- 331.4 keV
|
||||
Total energy deposit in absorber per event = 5.362 MeV +- 381.9 keV
|
||||
|
||||
-----> Mean dE/dx = 6.455 MeV/cm (2.391 MeV*cm2/g)
|
||||
-----> Mean dE/dx = 6.699 MeV/cm (2.481 MeV*cm2/g)
|
||||
|
||||
From formulas :
|
||||
restricted dEdx = 4.024 MeV/cm (1.49 MeV*cm2/g)
|
||||
full dEdx = 6.049 MeV/cm (2.24 MeV*cm2/g)
|
||||
|
||||
Leakage : primary = 174.7 GeV +- 331.4 keV secondaries = 0 eV +- 0 eV
|
||||
Leakage : primary = 174.7 GeV +- 381.9 keV secondaries = 0 eV +- 0 eV
|
||||
Energy balance : edep + eleak = 174.7 GeV
|
||||
|
||||
Total track length (charged) in absorber per event = 8.004 mm +- 0 fm
|
||||
Total track length (neutral) in absorber per event = 0 fm +- 0 fm
|
||||
|
||||
Number of steps (charged) in absorber per event = 1.264 +- 0.002311
|
||||
Number of steps (charged) in absorber per event = 1.268 +- 0.002316
|
||||
Number of steps (neutral) in absorber per event = 0 +- 0
|
||||
|
||||
Number of secondaries per event : Gammas = 0 electrons = 0.2641 positrons = 0.00072
|
||||
Number of secondaries per event : Gammas = 0 electrons = 0.268 positrons = 0.00088
|
||||
|
||||
Number of events with the primary particle transmitted = 100 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 100 %
|
||||
@@ -866,9 +866,9 @@ Run Summary
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 0.02059 mrad (central part only)
|
||||
rms proj angle of transmit primary particle = 0.02062 mrad (central part only)
|
||||
computed theta0 (Highland formula) = 0.02111 mrad
|
||||
central part defined as +- 0.06333 mrad Tail ratio = 1.354 %
|
||||
central part defined as +- 0.06333 mrad Tail ratio = 1.327 %
|
||||
|
||||
Gamma process counts:
|
||||
Photoeffect 0
|
||||
@@ -879,7 +879,7 @@ Run Summary
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={586188805523696918, 1131603525368056635, 2135194985283342976, 198810288281098764, 1859364577566708290, 747392614834672169, 1443398113223629212, 1853063223351273687, 700585883318557013, 563088282181033400, 1219458057342336830, 283825257007801530, 1893085453482933525, 1586429633045751571, 935246602078391752, 1653660448563846466, 428547637722730383} counter= 17sumtot= 772199314466309513
|
||||
N=17 V[N]={864120598200464168, 189420282748189000, 2125101903705486721, 1863466081725669111, 1383960382039097673, 550892631529147885, 2244069534527202395, 933979936320874605, 791647544461653037, 286412522794523854, 1616800613386878212, 478416970401061220, 1548587089976077386, 917812281992815632, 2284924600166281660, 94168853074452663, 1674934093723585259} counter= 15sumtot= 1401971847063908873
|
||||
---------------------------------------
|
||||
#
|
||||
/testem/det/setAbsMat Iron
|
||||
@@ -936,7 +936,7 @@ Index : 5 used in the geometry : Yes
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={586188805523696918, 1131603525368056635, 2135194985283342976, 198810288281098764, 1859364577566708290, 747392614834672169, 1443398113223629212, 1853063223351273687, 700585883318557013, 563088282181033400, 1219458057342336830, 283825257007801530, 1893085453482933525, 1586429633045751571, 935246602078391752, 1653660448563846466, 428547637722730383} counter= 17sumtot= 772199314466309513
|
||||
N=17 V[N]={864120598200464168, 189420282748189000, 2125101903705486721, 1863466081725669111, 1383960382039097673, 550892631529147885, 2244069534527202395, 933979936320874605, 791647544461653037, 286412522794523854, 1616800613386878212, 478416970401061220, 1548587089976077386, 917812281992815632, 2284924600166281660, 94168853074452663, 1674934093723585259} counter= 15sumtot= 1401971847063908873
|
||||
---------------------------------------
|
||||
--> Event 0 starts.
|
||||
--> Event 10000 starts.
|
||||
@@ -946,30 +946,30 @@ N=17 V[N]={586188805523696918, 1131603525368056635, 2135194985283342976, 1988102
|
||||
Run terminated.
|
||||
Run Summary
|
||||
Number of events processed : 50000
|
||||
User=4.340000s Real=4.374063s Sys=0.000000s
|
||||
User=4.070000s Real=4.086507s Sys=0.010000s
|
||||
|
||||
======================== run summary ======================
|
||||
|
||||
The run was 50000 mu+ of 100 GeV through 1 m of Iron (density: 7.87 g/cm3 )
|
||||
|
||||
Total energy deposit in absorber per event = 2.164 GeV +- 15.06 MeV
|
||||
Total energy deposit in absorber per event = 2.163 GeV +- 15.06 MeV
|
||||
|
||||
-----> Mean dE/dx = 21.64 MeV/cm (2.75 MeV*cm2/g)
|
||||
-----> Mean dE/dx = 21.63 MeV/cm (2.748 MeV*cm2/g)
|
||||
|
||||
From formulas :
|
||||
restricted dEdx = 11.21 MeV/cm (1.425 MeV*cm2/g)
|
||||
full dEdx = 21.61 MeV/cm (2.746 MeV*cm2/g)
|
||||
|
||||
Leakage : primary = 97.83 GeV +- 15.06 MeV secondaries = 0 eV +- 0 eV
|
||||
Leakage : primary = 97.84 GeV +- 15.06 MeV secondaries = 0 eV +- 0 eV
|
||||
Energy balance : edep + eleak = 100 GeV
|
||||
|
||||
Total track length (charged) in absorber per event = 1 m +- 7.054 nm
|
||||
Total track length (charged) in absorber per event = 1 m +- 7.06 nm
|
||||
Total track length (neutral) in absorber per event = 0 fm +- 0 fm
|
||||
|
||||
Number of steps (charged) in absorber per event = 47.57 +- 0.03044
|
||||
Number of steps (charged) in absorber per event = 47.58 +- 0.03044
|
||||
Number of steps (neutral) in absorber per event = 0 +- 0
|
||||
|
||||
Number of secondaries per event : Gammas = 0.05028 electrons = 46.52 positrons = 1.255
|
||||
Number of secondaries per event : Gammas = 0.05044 electrons = 46.52 positrons = 1.254
|
||||
|
||||
Number of events with the primary particle transmitted = 100 %
|
||||
Number of events with at least 1 particle transmitted (same charge as primary) = 100 %
|
||||
@@ -978,9 +978,9 @@ Run Summary
|
||||
Number of events with at least 1 particle reflected (same charge as primary) = 0 %
|
||||
|
||||
MultipleScattering:
|
||||
rms proj angle of transmit primary particle = 1.179 mrad (central part only)
|
||||
rms proj angle of transmit primary particle = 1.178 mrad (central part only)
|
||||
computed theta0 (Highland formula) = 1.182 mrad
|
||||
central part defined as +- 3.546 mrad Tail ratio = 0.581 %
|
||||
central part defined as +- 3.546 mrad Tail ratio = 0.579 %
|
||||
|
||||
Gamma process counts:
|
||||
Photoeffect 0
|
||||
@@ -991,10 +991,10 @@ Run Summary
|
||||
------- MixMaxRng engine status -------
|
||||
Current state vector is:
|
||||
mixmax state, file version 1.0
|
||||
N=17 V[N]={2245332062785330139, 817527537138477602, 2208955415621962434, 1911871626809666158, 2018271629327533224, 252208757772556221, 2111904931995587983, 2025798935824892370, 794388457801044854, 359392616012068219, 1869042557738858509, 1294847768989359152, 1168562467208268995, 1179233934371549309, 557724355172618823, 888911320343304352, 1829833147014685496} counter= 4sumtot= 475377429790824330
|
||||
N=17 V[N]={1046585659322464193, 1700724626221482459, 1710146587566228662, 2274062821915192324, 1093598942862882934, 859975426035031537, 1845450543346184012, 1347610440888355163, 1747669745252223770, 1589127766525861706, 1326010817860615296, 367647672722605028, 58019342554185087, 2022010207749596709, 2304966030133393681, 135872583825542285, 522422170598193944} counter= 6sumtot= 1199314302456793231
|
||||
---------------------------------------
|
||||
#
|
||||
================== Deleting memory pools ===================
|
||||
Number of memory pools allocated: 9 of which, static: 0
|
||||
Dynamic pools deleted: 9 / Total memory freed: 0.054 MB
|
||||
Dynamic pools deleted: 9 / Total memory freed: 0.056 MB
|
||||
============================================================
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file ActionInitialization.hh
|
||||
/// \brief Definition of the ActionInitialization class
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/DetectorConstruction.hh
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the DetectorConstruction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef DetectorConstruction_h
|
||||
#define DetectorConstruction_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/DetectorMessenger.hh
|
||||
/// \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,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/EventAction.hh
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the EventAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef EventAction_h
|
||||
#define EventAction_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/HistoManager.hh
|
||||
/// \file HistoManager.hh
|
||||
/// \brief Definition of the HistoManager class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef HistoManager_h
|
||||
#define HistoManager_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/PhysListEmStandard.hh
|
||||
/// \file PhysListEmStandard.hh
|
||||
/// \brief Definition of the PhysListEmStandard class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysListEmStandard_h
|
||||
#define PhysListEmStandard_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/PhysicsList.hh
|
||||
/// \file PhysicsList.hh
|
||||
/// \brief Definition of the PhysicsList class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysicsList_h
|
||||
#define PhysicsList_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/PhysicsListMessenger.hh
|
||||
/// \file PhysicsListMessenger.hh
|
||||
/// \brief Definition of the PhysicsListMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysicsListMessenger_h
|
||||
#define PhysicsListMessenger_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/PrimaryGeneratorAction.hh
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the PrimaryGeneratorAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PrimaryGeneratorAction_h
|
||||
#define PrimaryGeneratorAction_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/PrimaryGeneratorMessenger.hh
|
||||
/// \file PrimaryGeneratorMessenger.hh
|
||||
/// \brief Definition of the PrimaryGeneratorMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PrimaryGeneratorMessenger_h
|
||||
#define PrimaryGeneratorMessenger_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/Run.hh
|
||||
/// \file Run.hh
|
||||
/// \brief Definition of the Run class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Run_h
|
||||
#define Run_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/RunAction.hh
|
||||
/// \file RunAction.hh
|
||||
/// \brief Definition of the RunAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef RunAction_h
|
||||
#define RunAction_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/StackingAction.hh
|
||||
/// \file StackingAction.hh
|
||||
/// \brief Definition of the StackingAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef StackingAction_h
|
||||
#define StackingAction_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/StackingMessenger.hh
|
||||
/// \file StackingMessenger.hh
|
||||
/// \brief Definition of the StackingMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef StackingMessenger_h
|
||||
#define StackingMessenger_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm1/include/StepMax.hh
|
||||
/// \file StepMax.hh
|
||||
/// \brief Definition of the StepMax class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef StepMax_h
|
||||
#define StepMax_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm1/include/StepMaxMessenger.hh
|
||||
/// \file StepMaxMessenger.hh
|
||||
/// \brief Definition of the StepMaxMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef StepMaxMessenger_h
|
||||
#define StepMaxMessenger_h 1
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/SteppingAction.hh
|
||||
/// \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,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/include/TrackingAction.hh
|
||||
/// \file TrackingAction.hh
|
||||
/// \brief Definition of the TrackingAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef TrackingAction_h
|
||||
#define TrackingAction_h 1
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file ActionInitialization.cc
|
||||
/// \brief Implementation of the ActionInitialization class
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/DetectorConstruction.cc
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \brief Implementation of the DetectorConstruction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/DetectorMessenger.cc
|
||||
/// \file DetectorMessenger.cc
|
||||
/// \brief Implementation of the DetectorMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "DetectorMessenger.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/EventAction.cc
|
||||
/// \file EventAction.cc
|
||||
/// \brief Implementation of the EventAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "EventAction.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/HistoManager.cc
|
||||
/// \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);
|
||||
|
||||
@@ -23,9 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
/// \file PhysListEmStandard.cc
|
||||
/// \brief Implementation of the PhysListEmStandard class
|
||||
|
||||
#include "PhysListEmStandard.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/PhysicsList.cc
|
||||
/// \file PhysicsList.cc
|
||||
/// \brief Implementation of the PhysicsList class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PhysicsList.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/PhysicsListMessenger.cc
|
||||
/// \file PhysicsListMessenger.cc
|
||||
/// \brief Implementation of the PhysicsListMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PhysicsListMessenger.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/PrimaryGeneratorAction.cc
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the PrimaryGeneratorAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/PrimaryGeneratorMessenger.cc
|
||||
/// \file PrimaryGeneratorMessenger.cc
|
||||
/// \brief Implementation of the PrimaryGeneratorMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "PrimaryGeneratorMessenger.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/Run.cc
|
||||
/// \file Run.cc
|
||||
/// \brief Implementation of the Run class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "Run.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/RunAction.cc
|
||||
/// \file RunAction.cc
|
||||
/// \brief Implementation of the RunAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "RunAction.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/StackingAction.cc
|
||||
/// \file StackingAction.cc
|
||||
/// \brief Implementation of the StackingAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "StackingAction.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/StackingMessenger.cc
|
||||
/// \file StackingMessenger.cc
|
||||
/// \brief Implementation of the StackingMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "StackingMessenger.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm1/src/StepMax.cc
|
||||
/// \file StepMax.cc
|
||||
/// \brief Implementation of the StepMax class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "StepMax.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm1/src/StepMaxMessenger.cc
|
||||
/// \file StepMaxMessenger.cc
|
||||
/// \brief Implementation of the StepMaxMessenger class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "StepMaxMessenger.hh"
|
||||
|
||||
|
||||
@@ -23,12 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/SteppingAction.cc
|
||||
/// \file SteppingAction.cc
|
||||
/// \brief Implementation of the SteppingAction class
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "SteppingAction.hh"
|
||||
|
||||
|
||||
@@ -23,13 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/// \file electromagnetic/TestEm5/src/TrackingAction.cc
|
||||
/// \file TrackingAction.cc
|
||||
/// \brief Implementation of the TrackingAction class
|
||||
//
|
||||
//
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#include "TrackingAction.hh"
|
||||
|
||||
@@ -80,7 +75,7 @@ void TrackingAction::PostUserTrackingAction(const G4Track* aTrack)
|
||||
(((fDirX >= 0.0 && position.x() >= fXendAbs) || (fDirX < 0.0 && position.x() <= fXstartAbs))
|
||||
&& energy > 0.0);
|
||||
G4bool reflect =
|
||||
(((fDirX >= 0.0 && position.x() <= fXstartAbs) || (fDirX < 0.0 && position.x() <= fXendAbs))
|
||||
(((fDirX >= 0.0 && position.x() <= fXstartAbs) || (fDirX < 0.0 && position.x() >= fXendAbs))
|
||||
&& energy > 0.0);
|
||||
G4bool notabsor = (transmit || reflect);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user