Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -1,119 +0,0 @@
///\file "electromagnetic/.README.txt"
///\brief Examples electromagnetic README page
/*! \page Examples_electromagnetic Category "electromagnetic"
\section electromagnetic_s1 TestEm by theme
\verbatim
--------------------------------------------------------------------------
| Check basic quantities |
|------------------------------------------------------------------------|
| Total cross-sections, mean free paths ... | Em0 Em13 Em14 |
|------------------------------------------------------------------------|
| Stopping power, particle range ... | Em0 Em1 Em5 Em11 Em12 |
|------------------------------------------------------------------------|
| Final state : | |
| energy spectra, angular distributions ... | Em14 |
|------------------------------------------------------------------------|
| Energy loss fluctuations | Em18 |
--------------------------------------------------------------------------
-------------------------------------------------------------------------
| Multiple Coulomb scattering |
|-----------------------------------------------------------------------|
| as an isolated mechanism | Em15 |
|-----------------------------------------------------------------------|
| as a result of particle transport | Em5 |
-------------------------------------------------------------------------
-------------------------------------------------------------------------
| More global verifications |
|-----------------------------------------------------------------------|
| Single layer : | |
| transmission, absoption, reflexion ... | Em5 |
|-----------------------------------------------------------------------|
| Bragg curve, tallies | Em7 |
|-----------------------------------------------------------------------|
| Depth dose distribution | Em11 Em12 |
|-----------------------------------------------------------------------|
| Shower shapes, Moliere radius | Em2 |
|-----------------------------------------------------------------------|
| Sampling calorimeters, energy flow | Em3 |
|-----------------------------------------------------------------------|
| Crystal calorimeters | Em9 |
-------------------------------------------------------------------------
-------------------------------------------------------------------------
| Other specialized programs |
|-----------------------------------------------------------------------|
| High energy muon physics | Em17 |
|-----------------------------------------------------------------------|
| Other rare, high energy processes | Em6 |
|-----------------------------------------------------------------------|
| Synchrotron radiation | Em16 |
|-----------------------------------------------------------------------|
| Transition radiation | Em8 |
|-----------------------------------------------------------------------|
| Photo-absorption-ionization model | Em10 |
-------------------------------------------------------------------------
\endverbatim
- \link ExampleTestEm0 TestEm0 \endlink - how to print cross-sections and stopping power used in input by
the standard EM package
- \link ExampleTestEm1 TestEm1 \endlink - how to count processes, activate/inactivate them and survey
the range of charged particles. How to define a maximum step size
- \link ExampleTestEm2 TestEm2 \endlink - shower development in an homogeneous material :
longitudinal and lateral profiles
- \link ExampleTestEm3 TestEm3 \endlink - shower development in a sampling calorimeter : collect energy
deposited, survey energy flow and print stopping power
- \link ExampleTestEm4 TestEm4 \endlink - 9 MeV point like photon source: plot spectrum of energy
deposited in a single media
- \link ExampleTestEm5 TestEm5 \endlink - how to study transmission, absorption and reflection of particles
through a single, thin or thick, layer.
- \link ExampleTestEm6 TestEm6 \endlink - physics list for rare, high energy, electromagnetic processes :
gamma conversion and e+ annihilation into pair of muons
- \link ExampleTestEm7 TestEm7 \endlink - how to produce a Bragg curve in water phantom.
How to compute dose in tallies
- \link ExampleTestEm8 TestEm8 \endlink - test of photo-absorption-ionisation model in thin absorbers,
and transition radiation
- \link ExampleTestEm9 TestEm9 \endlink - shower development in a crystal calorimeter; cut-per-region
- \link ExampleTestEm10 TestEm10 \endlink - XTR transition radiation model, investigation of ionisation
in thin absorbers
- \link ExampleTestEm11 TestEm11 \endlink - how to plot a depth dose profile in a rectangular box
- \link ExampleTestEm12 TestEm12 \endlink - how to plot a depth dose profile in spherical geometry :
point like source
- \link ExampleTestEm13 TestEm13 \endlink - how to compute cross sections of EM processes from rate of
transmission coefficient
- \link ExampleTestEm14 TestEm14 \endlink - how to compute cross sections of EM processes from direct
evaluation of the mean-free path. How to plot final state
- \link ExampleTestEm15 TestEm15 \endlink - compute and plot final state of Multiple Scattering as an
isolated process
- \link ExampleTestEm16 TestEm16 \endlink - simulation of synchrotron radiation
- \link ExampleTestEm17 TestEm17 \endlink - check the cross sections of high energy muon processes
- \link ExampleTestEm18 TestEm18 \endlink - energy lost by a charged particle in a single layer,
due to ionization and bremsstrahlung
*/
@@ -1,6 +1,6 @@
#---Adding all electromagnetic examples subdirectories explicitly
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
add_subdirectory(TestEm0)
add_subdirectory(TestEm1)
@@ -13,6 +13,10 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
29-11-21 I. Hrivnacova (electromagnetic-V10-07-01)
- Removed obsolete references to AIDA analysis tools
24-05-21 B. Morgan (electromagnetic-V10-07-00)
- Bump required CMake version range to 3.12...3.20, matching core Geant4
-118
View File
@@ -1,118 +0,0 @@
--------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm by theme
---------------
--------------------------------------------------------------------------
| Check basic quantities |
|------------------------------------------------------------------------|
| Total cross-sections, mean free paths ... | Em0 Em13 Em14 |
|------------------------------------------------------------------------|
| Stopping power, particle range ... | Em0 Em1 Em5 Em11 Em12 |
|------------------------------------------------------------------------|
| Final state : | |
| energy spectra, angular distributions ... | Em14 |
|------------------------------------------------------------------------|
| Energy loss fluctuations | Em18 |
--------------------------------------------------------------------------
-------------------------------------------------------------------------
| Multiple Coulomb scattering |
|-----------------------------------------------------------------------|
| as an isolated mechanism | Em15 |
|-----------------------------------------------------------------------|
| as a result of particle transport | Em5 |
-------------------------------------------------------------------------
-------------------------------------------------------------------------
| More global verifications |
|-----------------------------------------------------------------------|
| Single layer : | |
| transmission, absoption, reflexion ... | Em5 |
|-----------------------------------------------------------------------|
| Bragg curve, tallies | Em7 |
|-----------------------------------------------------------------------|
| Depth dose distribution | Em11 Em12 |
|-----------------------------------------------------------------------|
| Shower shapes, Moliere radius | Em2 |
|-----------------------------------------------------------------------|
| Sampling calorimeters, energy flow | Em3 |
|-----------------------------------------------------------------------|
| Crystal calorimeters | Em9 |
-------------------------------------------------------------------------
-------------------------------------------------------------------------
| Other specialized programs |
|-----------------------------------------------------------------------|
| High energy muon physics | Em17 |
|-----------------------------------------------------------------------|
| Other rare, high energy processes | Em6 |
|-----------------------------------------------------------------------|
| Synchrotron radiation | Em16 |
|-----------------------------------------------------------------------|
| Transition radiation | Em8 |
|-----------------------------------------------------------------------|
| Photo-absorption-ionization model | Em10 |
-------------------------------------------------------------------------
TestEm0 - how to print cross-sections and stopping power used in input by
the standard EM package
TestEm1 - how to count processes, activate/inactivate them and survey
the range of charged particles. How to define a maximum step size
TestEm2 - shower development in an homogeneous material :
longitudinal and lateral profiles
TestEm3 - shower development in a sampling calorimeter : collect energy
deposited, survey energy flow and print stopping power
TestEm4 - 9 MeV point like photon source: plot spectrum of energy
deposited in a single media
TestEm5 - how to study transmission, absorption and reflection of particles
through a single, thin or thick, layer.
TestEm6 - physics list for rare, high energy, electromagnetic processes :
gamma conversion and e+ annihilation into pair of muons
TestEm7 - how to produce a Bragg curve in water phantom.
How to compute dose in tallies
TestEm8 - test of photo-absorption-ionisation model in thin absorbers,
and transition radiation
TestEm9 - shower development in a crystal calorimeter; cut-per-region
TestEm10 - XTR transition radiation model, investigation of ionisation
in thin absorbers
TestEm11 - how to plot a depth dose profile in a rectangular box
TestEm12 - how to plot a depth dose profile in spherical geometry :
point like source
TestEm13 - how to compute cross sections of EM processes from rate of
transmission coefficient
TestEm14 - how to compute cross sections of EM processes from direct
evaluation of the mean-free path. How to plot final state
TestEm15 - compute and plot final state of Multiple Scattering as an
isolated process
TestEm16 - simulation of synchrotron radiation
TestEm17 - check the cross sections of high energy muon processes
TestEm18 - energy lost by a charged particle in a single layer,
due to ionization and bremsstrahlung
@@ -1,41 +0,0 @@
///\file "electromagnetic/TestEm0/.README.txt"
///\brief Example TestEm0 README page
/*! \page ExampleTestEm0 Example TestEm0
This program is not a simulation. It prints the cross sections and stopping
power used by the standard electromagnetic package, via G4EmCalculator
which extracts these data from the PhysicsTables.
The program can be used in batch or interactively.
- execute TestEm0 in 'batch' mode from macro files :
\verbatim
% TestEm0 TestEm0.in
\endverbatim
- Interactively, a typical sequence will be :
\verbatim
% TestEm0
....
Idle> /run/initialize
....
Idle> /testem/det/setMat Silicon
Idle> /run/setCut 100 um
Idle> /gun/particle e-
Idle> /gun/energy 10 MeV
Idle> /run/beamOn
\endverbatim
The last command triggers BuildPhysicsTable() and executes the program.
\section TestEm0_s1 DirectAccess
DirectAccess.cc is a small batch program which shows how to compute the same
basic data directly from the processes (indeed the models).
To run it, change name in the first line on GNUmakefile before to compile.
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm0)
#----------------------------------------------------------------------------
@@ -14,6 +14,10 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
18-10-21 V.Ivant (testem0-V10-07-01)
- TestEm0.cc - use G4RunManagerFactory
- RunAction - attempt to improve output format
17-12-20 mma (testem0-V10-07-00)
- updated PhysListEmStandard.cc
@@ -1,39 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm0
-------
This program is not a simulation. It prints the cross sections and stopping
power used by the standard electromagnetic package, via G4EmCalculator
which extracts these data from the PhysicsTables.
The program can be used in batch or interactively.
- execute TestEm0 in 'batch' mode from macro files :
% TestEm0 TestEm0.in
- Interactively, a typical sequence will be :
% TestEm0
....
Idle> /run/initialize
....
Idle> /testem/det/setMat Silicon
Idle> /run/setCut 100 um
Idle> /gun/particle e-
Idle> /gun/energy 10 MeV
Idle> /run/beamOn
The last command triggers BuildPhysicsTable() and executes the program.
DirectAccess
------------
DirectAccess is a small batch program which shows how to compute the same
basic data directly from the processes (indeed the models).
To run it, change name in the first line on GNUmakefile before to compile.
@@ -32,7 +32,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
#include "G4RunManager.hh"
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "DetectorConstruction.hh"
@@ -50,8 +50,8 @@ int main(int argc,char** argv) {
G4UIExecutive* ui = 0;
if (argc == 1) ui = new G4UIExecutive(argc,argv);
// Construct the default run manager
G4RunManager * runManager = new G4RunManager;
//Construct a serial run manager
auto* runManager = G4RunManagerFactory::CreateRunManager(G4RunManagerType::SerialOnly);
// set mandatory initialization classes
DetectorConstruction* det;
@@ -67,15 +67,14 @@ int main(int argc,char** argv) {
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if (ui) {
//interactive mode
ui->SessionStart();
delete ui;
}
else {
//batch mode
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
//interactive mode
ui->SessionStart();
delete ui;
} else {
//batch mode
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
//job termination
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -103,6 +103,7 @@ Screening factor 1
=======================================================================
Fluorescence enabled 1
Fluorescence Bearden data files enabled 0
Fluorescence ANSTO data files enabled 0
Auger electron cascade enabled 0
PIXE atomic de-excitation enabled 0
De-excitation module ignores cuts 0
@@ -127,7 +128,7 @@ Type of PIXE cross section for e+- Livermore
Index : 0 used in the geometry : Yes
Material : Germanium
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.7332 keV e- 870.964 keV e+ 825.404 keV proton 100 keV
Energy thresholds : gamma 20.7286 keV e- 870.352 keV e+ 826.678 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -137,24 +138,24 @@ Index : 0 used in the geometry : Yes
gamma (300 keV) in Germanium (density: 5.323 g/cm3 radiation length: 2.3013 cm )
processes : phot compt conv Rayl total
processes : phot compt conv Rayl total
cross section per atom : 1.72573 barn 11.0976 barn 0 pbarn 767.816 mbarn 13.5911 barn
cross section per atom : 1.72573 barn 11.0976 barn 0 pbarn 767.816 mbarn 13.5911 barn
compCrossSectionPerVolume : 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0338962 cm^-1 0.599999 cm^-1
cross section per volume : 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0339035 cm^-1 0.600006 cm^-1
cross section per mass : 1.43123 mm2/g 9.20379 mm2/g 0 um2/mg 636.924 um2/mg 11.2719 mm2/g
compCrossSectionPerVolume: 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0338962 cm^-1 0.599999 cm^-1
cross section per volume : 0.0761844 cm^-1 0.489918 cm^-1 0 cm^-1 0.0339035 cm^-1 0.600006 cm^-1
cross section per mass : 1.43123 mm2/g 9.20379 mm2/g 0 um2/mg 636.924 um2/mg 11.2719 mm2/g
mean free path : 13.126 cm 2.04116 cm 5.82593e+288 pc 29.4955 cm 1.66665 cm
(g/cm2) : 69.8699 g/cm2 10.8651 g/cm2 2.88022e+285 kg/cm2 157.005 g/cm2 8.87158 g/cm2
mean free path : 13.126 cm 2.04116 cm 5.82593e+288 pc 29.4955 cm 1.66665 cm
(g/cm2) : 69.8699 g/cm2 10.8651 g/cm2 2.88022e+285 kg/cm2 157.005 g/cm2 8.87158 g/cm2
-----------------------------------------------------------
Run terminated.
Run Summary
Number of events processed : 1
User=0.000000s Real=0.000360s Sys=0.000000s
User=0.000000s Real=0.000377s Sys=0.000000s
Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV temperature: 293.15 K pressure: 1.00 atm
@@ -176,12 +177,12 @@ Run Summary
Index : 0 used in the geometry : No
Material : Germanium
Range cuts : gamma 100 um e- 100 um e+ 100 um proton 100 um
Energy thresholds : gamma 5.93381 keV e- 173.78 keV e+ 169.824 keV proton 10 keV
Energy thresholds : gamma 5.96323 keV e- 174.298 keV e+ 169.99 keV proton 10 keV
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 100 um e- 100 um e+ 100 um proton 100 um
Energy thresholds : gamma 1.11344 keV e- 85.1138 keV e+ 83.8172 keV proton 10 keV
Energy thresholds : gamma 1.11071 keV e- 85.0292 keV e+ 83.8928 keV proton 10 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -191,31 +192,31 @@ Index : 1 used in the geometry : Yes
e- (10 MeV) in Water (density: 1 g/cm3 radiation length: 36.0924 cm )
Range cuts : gamma 100 um e- 100 um
Energy cuts : gamma 1.11344 keV e- 85.1138 keV
Range cuts: gamma 100 um e- 100 um
Energy cuts: gamma 1.11071 keV e- 85.0292 keV
Max_energy _transferable : 5 MeV (2.53529 cm )
processes : eIoni eBrem ePairProd total
processes : eIoni eBrem ePairProd total
compCrossSectionPerVolume : 0.994761 cm^-1 0.325102 cm^-1 0 cm^-1 1.31986 cm^-1
cross section per volume : 0.994761 cm^-1 0.325093 cm^-1 0 cm^-1 1.31985 cm^-1
cross section per mass : 99.4761 mm2/g 32.5093 mm2/g 0 um2/mg 1.31985 cm2/g
compCrossSectionPerVolume: 0.995759 cm^-1 0.325194 cm^-1 0 cm^-1 1.32095 cm^-1
cross section per volume : 0.995759 cm^-1 0.325183 cm^-1 0 cm^-1 1.32094 cm^-1
cross section per mass : 99.5759 mm2/g 32.5183 mm2/g 0 um2/mg 1.32094 cm2/g
mean free path : 1.00527 cm 3.07604 cm 5.82593e+288 pc 7.57659 mm
(g/cm2) : 1.00527 g/cm2 3.07604 g/cm2 2.88022e+285 kg/cm2 757.659 mg/cm2
mean free path : 1.00426 cm 3.07519 cm 5.82593e+288 pc 7.57036 mm
(g/cm2) : 1.00426 g/cm2 3.07519 g/cm2 2.88022e+285 kg/cm2 757.036 mg/cm2
restricted dE/dx : 1.61328 MeV/cm 25.6439 eV/cm 0 eV/cm 1.6133 MeV/cm
(MeV/g/cm2) : 1.61328 MeV*cm2/g 25.6439 eV*cm2/g 0 eV*cm2/g 1.6133 MeV*cm2/g
restricted dE/dx : 1.61319 MeV/cm 25.5407 eV/cm 0 eV/cm 1.61322 MeV/cm
(MeV/g/cm2) : 1.61319 MeV*cm2/g 25.5407 eV*cm2/g 0 eV*cm2/g 1.61322 MeV*cm2/g
unrestricted dE/dx : 1.99147 MeV/cm 181.698 keV/cm 0 eV/cm 2.17317 MeV/cm
(MeV/g/cm2) : 1.99147 MeV*cm2/g 181.698 keV*cm2/g 0 eV*cm2/g 2.17317 MeV*cm2/g
unrestricted dE/dx : 1.99147 MeV/cm 181.698 keV/cm 0 eV/cm 2.17317 MeV/cm
(MeV/g/cm2) : 1.99147 MeV*cm2/g 181.698 keV*cm2/g 0 eV*cm2/g 2.17317 MeV*cm2/g
range from restrict dE/dx: 6.07217 cm ( 6.07217 g/cm2 )
range from full dE/dx : 4.93182 cm ( 4.93182 g/cm2 )
range from restrict dE/dx: 6.0725 cm ( 6.0725 g/cm2 )
range from full dE/dx : 4.93182 cm ( 4.93182 g/cm2 )
transport mean free path : 27.828 cm ( 27.828 g/cm2 )
transport mean free path : 28.1601 cm ( 28.1601 g/cm2 )
critical energy (Rossi) : 78.7732 MeV
Moliere radius : 0.269193 X0 = 9.71583 cm
@@ -224,7 +225,7 @@ Index : 1 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1
User=0.000000s Real=0.000198s Sys=0.000000s
User=0.000000s Real=0.000122s Sys=0.000000s
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
@@ -49,7 +49,7 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
RunAction::RunAction(DetectorConstruction* det, PrimaryGeneratorAction* kin)
:G4UserRunAction(),fDetector(det), fPrimary(kin)
: G4UserRunAction(), fDetector(det), fPrimary(kin)
{ }
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -90,13 +90,13 @@ void RunAction::BeginOfRunAction(const G4Run*)
// get cuts
GetCuts();
if (charge != 0.) {
G4cout << "\n Range cuts : \t gamma "
<< std::setw(8) << G4BestUnit(fRangeCut[0],"Length")
<< "\t e- " << std::setw(8) << G4BestUnit(fRangeCut[1],"Length");
G4cout << "\n Energy cuts : \t gamma "
<< std::setw(8) << G4BestUnit(fEnergyCut[0],"Energy")
<< "\t e- " << std::setw(8) << G4BestUnit(fEnergyCut[1],"Energy")
<< G4endl;
G4cout << "\n Range cuts: \t gamma "
<< std::setw(12) << G4BestUnit(fRangeCut[0],"Length")
<< "\t e- " << std::setw(12) << G4BestUnit(fRangeCut[1],"Length");
G4cout << "\n Energy cuts: \t gamma "
<< std::setw(12) << G4BestUnit(fEnergyCut[0],"Energy")
<< "\t e- " << std::setw(12) << G4BestUnit(fEnergyCut[1],"Energy")
<< G4endl;
}
// max energy transfert
@@ -143,9 +143,10 @@ void RunAction::BeginOfRunAction(const G4Run*)
// print list of processes
G4cout << "\n processes : ";
for (size_t j=0; j<emName.size();j++)
G4cout << "\t" << std::setw(13) << emName[j] << "\t";
G4cout << "\t" << std::setw(13) <<"total";
for (size_t j=0; j<emName.size(); ++j) {
G4cout << "\t" << std::setw(14) << emName[j] << "\t";
}
G4cout << "\t" << std::setw(14) <<"total";
//compute cross section per atom (only for single material)
if (material->GetNumberOfElements() == 1) {
@@ -163,9 +164,9 @@ void RunAction::BeginOfRunAction(const G4Run*)
}
sigma0.push_back(sigtot);
G4cout << "\n \n cross section per atom : ";
for (size_t j=0; j<sigma0.size();j++) {
G4cout << "\t" << std::setw(13) << G4BestUnit(sigma0[j], "Surface");
G4cout << "\n \n cross section per atom : ";
for (size_t j=0; j<sigma0.size(); ++j) {
G4cout << "\t" << std::setw(9) << G4BestUnit(sigma0[j], "Surface");
}
G4cout << G4endl;
}
@@ -176,7 +177,7 @@ void RunAction::BeginOfRunAction(const G4Run*)
std::vector<G4double> sigma2;
G4double Sig, SigtotComp = 0., Sigtot = 0.;
for (size_t j=0; j<emName.size();j++) {
for (size_t j=0; j<emName.size(); ++j) {
Sig = emCal.ComputeCrossSectionPerVolume
(energy,particle,emName[j],material,enerCut[j]);
SigtotComp += Sig;
@@ -191,18 +192,18 @@ void RunAction::BeginOfRunAction(const G4Run*)
sigma2.push_back(Sigtot/density);
//print cross sections
G4cout << "\n \n compCrossSectionPerVolume : ";
for (size_t j=0; j<sigma0.size();j++) {
G4cout << "\t" << std::setw(13) << sigma0[j]*cm << " cm^-1";
G4cout << "\n \n compCrossSectionPerVolume: ";
for (size_t j=0; j<sigma0.size(); ++j) {
G4cout << "\t" << std::setw(9) << sigma0[j]*cm << std::setw(6) << " cm^-1";
}
G4cout << "\n cross section per volume : ";
for (size_t j=0; j<sigma1.size();j++) {
G4cout << "\t" << std::setw(13) << sigma1[j]*cm << " cm^-1";
for (size_t j=0; j<sigma1.size(); ++j) {
G4cout << "\t" << std::setw(9) << sigma1[j]*cm << std::setw(6) << " cm^-1";
}
G4cout << "\n cross section per mass : ";
for (size_t j=0; j<sigma2.size();j++) {
G4cout << "\t" << std::setw(13)
for (size_t j=0; j<sigma2.size(); ++j) {
G4cout << "\t" << std::setw(9)
<< G4BestUnit(sigma2[j], "Surface/Mass");
}
@@ -211,18 +212,18 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4double lambda;
G4cout << "\n \n mean free path : ";
for (size_t j=0; j<sigma1.size();j++) {
for (size_t j=0; j<sigma1.size(); ++j) {
lambda = DBL_MAX;
if (sigma1[j] > 0.) lambda = 1/sigma1[j];
G4cout << "\t" << std::setw(13) << G4BestUnit( lambda, "Length");
G4cout << "\t" << std::setw(9) << G4BestUnit( lambda, "Length");
}
//mean free path (g/cm2)
G4cout << "\n (g/cm2) : ";
for (size_t j=0; j<sigma2.size();j++) {
for (size_t j=0; j<sigma2.size(); ++j) {
lambda = DBL_MAX;
if (sigma2[j] > 0.) lambda = 1/sigma2[j];
G4cout << "\t" << std::setw(13) << G4BestUnit( lambda, "Mass/Surface");
G4cout << "\t" << std::setw(9) << G4BestUnit( lambda, "Mass/Surface");
}
G4cout << G4endl;
@@ -239,7 +240,7 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4double dedx, dedxtot = 0.;
size_t nproc = emName.size();
for (size_t j=0; j<nproc; j++) {
for (size_t j=0; j<nproc; ++j) {
dedx = emCal.ComputeDEDX(energy,particle,emName[j],material,enerCut[j]);
dedxtot += dedx;
dedx1.push_back(dedx);
@@ -250,19 +251,19 @@ void RunAction::BeginOfRunAction(const G4Run*)
//print stopping power
G4cout << "\n \n restricted dE/dx : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13)
for (size_t j=0; j<=nproc; ++j) {
G4cout << "\t" << std::setw(14)
<< G4BestUnit(dedx1[j],"Energy/Length");
}
G4cout << "\n (MeV/g/cm2) : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13)
for (size_t j=0; j<=nproc; ++j) {
G4cout << "\t" << std::setw(14)
<< G4BestUnit(dedx2[j],"Energy*Surface/Mass");
}
dedxtot = 0.;
for (size_t j=0; j<nproc; j++) {
for (size_t j=0; j<nproc; ++j) {
dedx = emCal.ComputeDEDX(energy,particle,emName[j],material,energy);
dedxtot += dedx;
dedx1[j] = dedx;
@@ -273,13 +274,13 @@ void RunAction::BeginOfRunAction(const G4Run*)
//print stopping power
G4cout << "\n \n unrestricted dE/dx : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13) << G4BestUnit(dedx1[j],"Energy/Length");
for (size_t j=0; j<=nproc; ++j) {
G4cout << "\t" << std::setw(14) << G4BestUnit(dedx1[j],"Energy/Length");
}
G4cout << "\n (MeV/g/cm2) : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13)
for (size_t j=0; j<=nproc; ++j) {
G4cout << "\t" << std::setw(14)
<< G4BestUnit(dedx2[j],"Energy*Surface/Mass");
}
@@ -289,8 +290,8 @@ void RunAction::BeginOfRunAction(const G4Run*)
//print range
G4cout << "\n \n range from restrict dE/dx: "
<< "\t" << std::setw(8) << G4BestUnit(range1,"Length")
<< " (" << std::setw(8) << G4BestUnit(range2,"Mass/Surface") << ")";
<< "\t" << std::setw(9) << G4BestUnit(range1,"Length")
<< " (" << std::setw(9) << G4BestUnit(range2,"Mass/Surface") << ")";
//get range from full dedx
G4double EmaxTable = G4EmParameters::Instance()->MaxEnergyForCSDARange();
@@ -299,8 +300,8 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4double Range2 = Range1*density;
G4cout << "\n range from full dE/dx : "
<< "\t" << std::setw(8) << G4BestUnit(Range1,"Length")
<< " (" << std::setw(8) << G4BestUnit(Range2,"Mass/Surface") << ")";
<< "\t" << std::setw(9) << G4BestUnit(Range1,"Length")
<< " (" << std::setw(9) << G4BestUnit(Range2,"Mass/Surface") << ")";
}
//get transport mean free path (for multiple scattering)
@@ -309,8 +310,8 @@ void RunAction::BeginOfRunAction(const G4Run*)
//print transport mean free path
G4cout << "\n \n transport mean free path : "
<< "\t" << std::setw(8) << G4BestUnit(MSmfp1,"Length")
<< " (" << std::setw(8) << G4BestUnit(MSmfp2,"Mass/Surface") << ")";
<< "\t" << std::setw(9) << G4BestUnit(MSmfp1,"Length")
<< " (" << std::setw(9) << G4BestUnit(MSmfp2,"Mass/Surface") << ")";
if (particle == G4Electron::Electron()) CriticalEnergy();
@@ -1,164 +0,0 @@
///\file "electromagnetic/TestEm1/.README.txt"
///\brief Example TestEm1 README page
/*! \page ExampleTestEm1 Example TestEm1
- How to count processes.
- How to activate/inactivate processes.
- How to survey the tracking, in particular the range of charged particles.
- How to define a maximum step size.
\section TestEm1_s1 GEOMETRY DEFINITION
It is a simple box which represents a 'semi infinite' homogeneous medium.
Two parameters define the geometry :
- the material of the box,
- the full size of the box.
In addition a transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class, but all of
the above parameters can be changed interactively via the commands defined in
the DetectorMessenger class.
\section TestEm1_s2 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 builder:
- "local" standard EM physics with current 'best' options setting.
these options are explicited in PhysListEmStandard
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
- "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
A few commands have been added to PhysicsList, in order to set the production
threshold for secondaries for gamma and e-/e+.
\section TestEm1_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the left face
of the box. 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).
In addition one can choose randomly the impact point of the incident particle.
The corresponding interactive command is built in PrimaryGeneratorMessenger.
\section TestEm1_s4 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm1.cc).
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 TestEm1_s5 PHYSICS SURVEY
The particle's type and the physics processes which will be available in this
example are set in PhysicsList class.
A set of macros defining various run conditions are provided. The processes
are actived/inactivated together with differents cuts, in order to survey the
processes one by one.
The number of produced secondaries are counted, the number of steps, and the
number of process calls responsible of the step.
\section TestEm1_s6 HOW TO START ?
- Execute TestEm1 in 'batch' mode from macro files
\verbatim
% TestEm1 runs.mac
\endverbatim
- Execute TestEm1 in 'interactive mode' with visualization
\verbatim
% TestEm1
....
Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- brems.mac: Bremsstrahlung only
- erange.mac: compute the csda range of primary particle
- geantino.mac: geantino as primary particle
- ionis.mac: Ionisation only
- photoelec.mac: 100 keV photon photoelectric effect
- radioactive.mac: use radioactive ion as primary particle
- range.mac: compute the csda range of the primary particle
with or without fluctuations
- runs.mac: electron 100 MeV; all processes
Macros to be run interactively:
- annihil.mac: To visualise 100 MeV e+ annihilation
- decayinfly.mac: To visualise decay in fly of N16
- gammaconversion.mac: To visualise gamma conversion and e+ annihilation
- photon.mac: To visualiza p300 keV photon beam
- stepMax.mac: to test command /testem/stepMax
- vis.mac: To activate visualization
\section TestEm1_s7 TRACKING : StepMax
In order to control the accuracy of the deposition, the user can limit
'by hand' the maximum step size of charged particles.
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.
\section TestEm1_s8 HISTOGRAMS
Testem1 produces several histo which are saved as testem1.root by default.
Content of these histo:
- 1 : track length of primary particle
- 2 : number of steps primary particle
- 3 : step size of primary particle
- 4 : total energy deposit
- 5 : energy of charged secondaries at creation
- 6 : energy of neutral secondaries at creation
The histograms 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..)
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem1)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem1)
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm1)
#----------------------------------------------------------------------------
@@ -13,7 +13,19 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem1-V10-07-06)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root),
10-09-21 D.H. Wright (testem1-V10-07-05)
- PhysicsList.cc: replace G4RadioactiveDecayBase with G4RadioactiveDecay
19-07-21 I. Hrivnacova (testem1-V10-07-04)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
29-04-21 mma (testem1-V10-07-03)
- Additional migration to new G4SteppingVerbose.
@@ -1,157 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm1
-------
How to count processes.
How to activate/inactivate processes.
How to survey the tracking, in particular the range of charged particles.
How to define a maximum step size.
1 - GEOMETRY DEFINITION
It is a simple box which represents a 'semi infinite' homogeneous medium.
Two parameters define the geometry :
- the material of the box,
- the full size of the box.
In addition a transverse uniform magnetic field can be applied.
e.g. /globalField/setValue 0 0 5 tesla
The default geometry is constructed in DetectorConstruction class, but all of
the above parameters can be changed interactively via the commands defined in
the DetectorMessenger class.
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 builder:
- "local" standard EM physics with current 'best' options setting.
these options are explicited in PhysListEmStandard
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
- "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
A few commands have been added to PhysicsList, in order to set the production
threshold for secondaries for gamma and e-/e+.
3 - AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the left face
of the box. 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).
In addition one can choose randomly the impact point of the incident particle.
The corresponding interactive command is built in PrimaryGeneratorMessenger.
4 - VISUALIZATION
The Visualization Manager is set in the main () (see TestEm1.cc).
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.
5 - PHYSICS SURVEY
The particle's type and the physics processes which will be available in this
example are set in PhysicsList class.
A set of macros defining various run conditions are provided. The processes
are actived/inactivated together with differents cuts, in order to survey the
processes one by one.
The number of produced secondaries are counted, the number of steps, and the
number of process calls responsible of the step.
6 - HOW TO START ?
- execute TestEm1 in 'batch' mode from macro files
% TestEm1 runs.mac
- execute TestEm1 in 'interactive mode' with visualization
% TestEm1
....
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- brems.mac: Bremsstrahlung only
- erange.mac: compute the csda range of primary particle
- geantino.mac: geantino as primary particle
- ionis.mac: Ionisation only
- photoelec.mac: 100 keV photon photoelectric effect
- radioactive.mac: use radioactive ion as primary particle
- range.mac: compute the csda range of the primary particle
with or without fluctuations
- runs.mac: electron 100 MeV; all processes
Macros to be run interactively:
- annihil.mac: To visualise 100 MeV e+ annihilation
- decayinfly.mac: To visualise decay in fly of N16
- gammaconversion.mac: To visualise gamma conversion and e+ annihilation
- photon.mac: To visualiza p300 keV photon beam
- stepMax.mac: to test command /testem/stepMax
- vis.mac: To activate visualization
7 - TRACKING : StepMax
In order to control the accuracy of the deposition, the user can limit
'by hand' the maximum step size of charged particles.
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.
8 - HISTOGRAMS
Testem1 produces several histo which are saved as testem1.root by default.
Content of these histo:
1 : track length of primary particle
2 : number of steps primary particle
3 : step size of primary particle
4 : total energy deposit
5 : energy of charged secondaries at creation
6 : energy of neutral secondaries at creation
The histograms 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..)
One can control the name of the histograms file with the command:
/analysis/setFileName name (default testem1)
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem1)
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -47,6 +47,8 @@ PhysicsList::AddPhysicsList: <emstandard_opt0>
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
GetProcess : RadioactiveDecay
/process/em/printParameters
=======================================================================
====== Electromagnetic Physics Parameters ========
@@ -88,7 +90,7 @@ Build CSDA range enabled 1
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -124,32 +126,99 @@ Screening factor 1
#
/run/printProgress 200
/run/beamOn 2000
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
Max kinetic energy for tables 100 TeV
Number of bins per decade of a table 7
Verbose level 1
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (0.2, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 1
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 1
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila Fluo
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 100 TeV
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -159,7 +228,7 @@ eIoni: for e- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
eBrem: for e- XStype:4 SubType=3
@@ -167,18 +236,18 @@ eBrem: for e- XStype:4 SubType=3
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
CoulombScat: for e- XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -188,7 +257,7 @@ eIoni: for e+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
eBrem: for e+ XStype:4 SubType=3
@@ -196,22 +265,22 @@ eBrem: for e+ XStype:4 SubType=3
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
eplus2gg : Emin= 0 eV Emax= 100 TeV
CoulombScat: for e+ XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
@@ -219,32 +288,32 @@ hIoni: for proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
@@ -253,7 +322,7 @@ ionIoni: for GenericIon XStype:1 SubType=2
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax= 2 MeV
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
======================================================================
@@ -266,15 +335,15 @@ Enable correlated gamma emission 0
Max 2J for sampling of angular correlations 10
Atomic de-excitation enabled 0
Auger electron emission enabled 0
Auger cascade enabled 0
Check EM cuts disabled for atomic de-excitation 0
Use Bearden atomic level energies 0
Use ANSTO fluorescence model 0
Threshold for very long decay time at rest 1e+27 ns
======================================================================
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
@@ -282,13 +351,13 @@ ionIoni: for alpha XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax=7.9452 MeV
BraggIon : Emin= 0 eV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
@@ -296,32 +365,32 @@ hIoni: for anti_proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
@@ -329,32 +398,32 @@ hIoni: for kaon+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV
Bragg : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
@@ -362,32 +431,32 @@ hIoni: for kaon- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon- XStype:3 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
@@ -395,33 +464,33 @@ muIoni: for mu+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
@@ -429,33 +498,33 @@ muIoni: for mu- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu- XStype:3 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
@@ -463,32 +532,32 @@ hIoni: for pi+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV
Bragg : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
@@ -496,35 +565,35 @@ hIoni: for pi- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV
ICRU73QO : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi- XStype:3 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : Aluminium
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.89843 keV e- 599.101 keV e+ 573.786 keV proton 100 keV
Energy thresholds : gamma 6.91818 keV e- 597.592 keV e+ 574.294 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -550,31 +619,31 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 2000
User=1.110000s Real=1.145453s Sys=0.000000s
User=1.110000s Real=1.136675s Sys=0.000000s
======================== run summary ======================
The run is: 2000 e- of 100 MeV through 10 m of Aluminium (density: 2.7 g/cm3 )
Total energy deposit: 99.827 MeV
NIEL energy calculated: 0 meV
Total energy deposit: 99.816 MeV
NIEL energy calculated: 0 eV
Nb tracks/event neutral: 25.436 charged: 138.41
Nb steps/event neutral: 140.65 charged: 204.52
Nb tracks/event neutral: 25.422 charged: 138.42
Nb steps/event neutral: 140.55 charged: 204.87
Process calls frequency :
CoulombScat= 1 Rayl= 17810 Transportation= 1802
annihil= 2818 compt= 212618 conv= 2805
eBrem= 46415 eIoni= 359501 msc= 298
phot= 46267
Rayl= 17814 Transportation= 1822 annihil= 2863
compt= 212439 conv= 2853 eBrem= 46338
eIoni= 360228 msc= 300 phot= 46176
---------------------------------------------------------
Primary particle :
true Range = 11.12 cm rms = 3.8669 cm
proj Range = 9.6726 cm rms = 3.5911 cm
proj/true = 0.86986
transverse dispersion at end = 1.6299 cm
mass true Range from simulation = 30.023 g/cm2
true Range = 10.963 cm rms = 3.857 cm
proj Range = 9.5012 cm rms = 3.573 cm
proj/true = 0.86664
transverse dispersion at end = 1.6291 cm
mass true Range from simulation = 29.601 g/cm2
from PhysicsTable (csda range) = 32.101 g/cm2
---------------------------------------------------------
@@ -582,7 +651,7 @@ Run Summary
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={105848426377752035, 727510900120485432, 1732892373175767764, 246849931442645562, 1056562556875218579, 1714987142974046772, 394122810429885113, 2081430332929602852, 439284098192822769, 1590186265841107719, 1895423095489310140, 1174703954929006868, 389343310157508848, 636145705617010307, 892789608646591379, 2194304760782867823, 266134741987688324} counter= 7sumtot= 1397618951473460629
N=17 V[N]={569715375853059726, 1512787961385085996, 159385066433723610, 631305360847012361, 868736571017629199, 1849689694718704750, 2262222494328793823, 1296135396667370463, 1848800380547805365, 2127533035138291734, 368664117569056731, 76707054733608429, 977374032953158612, 2124670233721861618, 1025343182502388661, 1561953137578727511, 2153480873874088594} counter= 9sumtot= 661916886947121624
---------------------------------------
#
/gun/particle proton
@@ -593,7 +662,7 @@ N=17 V[N]={105848426377752035, 727510900120485432, 1732892373175767764, 24684993
Index : 0 used in the geometry : Yes
Material : Aluminium
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.89843 keV e- 599.101 keV e+ 573.786 keV proton 100 keV
Energy thresholds : gamma 6.91818 keV e- 597.592 keV e+ 574.294 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -604,7 +673,7 @@ Index : 0 used in the geometry : Yes
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={105848426377752035, 727510900120485432, 1732892373175767764, 246849931442645562, 1056562556875218579, 1714987142974046772, 394122810429885113, 2081430332929602852, 439284098192822769, 1590186265841107719, 1895423095489310140, 1174703954929006868, 389343310157508848, 636145705617010307, 892789608646591379, 2194304760782867823, 266134741987688324} counter= 7sumtot= 1397618951473460629
N=17 V[N]={569715375853059726, 1512787961385085996, 159385066433723610, 631305360847012361, 868736571017629199, 1849689694718704750, 2262222494328793823, 1296135396667370463, 1848800380547805365, 2127533035138291734, 368664117569056731, 76707054733608429, 977374032953158612, 2124670233721861618, 1025343182502388661, 1561953137578727511, 2153480873874088594} counter= 9sumtot= 661916886947121624
---------------------------------------
--> Event 0 starts.
--> Event 200 starts.
@@ -619,42 +688,42 @@ N=17 V[N]={105848426377752035, 727510900120485432, 1732892373175767764, 24684993
Run terminated.
Run Summary
Number of events processed : 2000
User=0.060000s Real=0.059503s Sys=0.000000s
User=0.060000s Real=0.057071s Sys=0.000000s
======================== run summary ======================
The run is: 2000 proton of 100 MeV through 10 m of Aluminium (density: 2.7 g/cm3 )
Total energy deposit: 100 MeV
NIEL energy calculated: 219.92 eV
NIEL energy calculated: 226.72 eV
Nb tracks/event neutral: 0 charged: 1.008
Nb steps/event neutral: 0 charged: 19.262
Nb tracks/event neutral: 0 charged: 1.007
Nb steps/event neutral: 0 charged: 19.276
Process calls frequency :
CoulombScat= 38 RadioactiveDecayBase= 16 hIoni= 38455
ionIoni= 16
CoulombScat= 40 NoProcess= 14 hIoni= 38484
ionIoni= 14
---------------------------------------------------------
Primary particle :
true Range = 3.7117 cm rms = 404.89 um
proj Range = 3.7035 cm rms = 421.53 um
proj/true = 0.99777
transverse dispersion at end = 1.1209 mm
mass true Range from simulation = 10.022 g/cm2
from PhysicsTable (csda range) = 10.011 g/cm2
true Range = 3.711 cm rms = 410.15 um
proj Range = 3.703 cm rms = 416.37 um
proj/true = 0.99785
transverse dispersion at end = 1.0796 mm
mass true Range from simulation = 10.02 g/cm2
from PhysicsTable (csda range) = 10.012 g/cm2
---------------------------------------------------------
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={463801636166275432, 1902701038293068693, 1443145873808964124, 2090161407370062499, 430606058036414585, 2159205321872790559, 1474854659820946407, 1535288354860988630, 2144128321960280774, 1441019047699424149, 1315413612406491217, 388194663231388911, 1842133628433286643, 88823166776025868, 434594621934851300, 2004571832288562517, 1241104542866579889} counter= 13sumtot= 1647160704903156638
N=17 V[N]={777423108757527838, 704508982502545851, 951674060730419548, 596006347471717738, 593741351132277324, 1444882825628062695, 1840028270197348749, 136247308043229535, 2212635163244783581, 2030244094028654428, 1051979449125752941, 1973640127354343795, 1148940797978927289, 1830580337482237514, 1179516898147585605, 659264550228523480, 786622168720590139} counter= 7sumtot= 1471191767064976442
---------------------------------------
#
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.035 MB
Dynamic pools deleted: 9 / Total memory freed: 0.036 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -35,8 +35,7 @@
#include "globals.hh"
#include "g4root.hh"
////#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -45,7 +45,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -56,6 +55,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetFirstHistoId(1); // start histogram numbering from 1
@@ -66,7 +66,7 @@
#include "G4PhysicsListHelper.hh"
#include "G4Decay.hh"
#include "G4RadioactiveDecayBase.hh"
#include "G4RadioactiveDecay.hh"
#include "G4GenericIon.hh"
#include "G4NuclideTable.hh"
@@ -262,7 +262,7 @@ void PhysicsList::AddDecay()
void PhysicsList::AddRadioactiveDecay()
{
G4RadioactiveDecayBase* radioactiveDecay = new G4RadioactiveDecayBase();
G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
radioactiveDecay->SetARM(true); //Atomic Rearangement
@@ -1,103 +0,0 @@
///\file "electromagnetic/TestEm10/.README.txt"
///\brief Example TestEm10 README page
/*! \page ExampleTestEm10 Example TestEm10
Test for investigation of transition radiation.
Default setup for "TestEm10.in" and "TestEm10.large_N.in" is the simplified
setup for ALICE XTR test beam (~2004), defined in DetectorSimpleALICE class.
\section TestEm10_s0 GEOMETRY DEFINITION
The geometry setup includes "radiator" and "absorber" volumes
of a box shape.
The "radiator" material is defined as a mixture of a gas and foil material
and the "absorber" contains a gas material.
Several geometry setups are defined in the classes
DetectorSetupX,
where SetupX = ALICE06, Bari05, Barr90, Construction, Harris73, Messenger, SimpleALICE, Watase86
The default setup, SimpleALICE, can be changed via UI command:
\verbatim
/XTRdetector/setup setup
where setup = simpleALICE, alice06, bari05, harris73, watase86, barr90
\endverbatim
\section TestEm10_s1 PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the
absorber perpendicular to the input face. 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).
\section TestEm10_s2 DETECTOR RESPONSE
In this example the total energy deposited in the "absorber" volume
is accounted in SensitevDetector class, and a spectrum of XTR gamma
particles, all secondary gamma particles and all secondary e-
particleas is accounted in StackingAction class.
\section TestEm10_s3 PHYSICS
The particle's type and the physic processes which will be available
in this example are set in PhysicsList class.
The trasition radiation process is defined in the
TransitionRadiationPhysics builder.
The transition radiator models can be changed simply with:
\verbatim
Idle> /emphyslist/setXTRModel modelName
\endverbatim
See macro files "*.mac" for different setups providede with the example.
\section TestEm10_s4 HISTOGRAMS
Testem10 produces several histo which are saved as testem10.root by default.
Content of these histo:
- 1. Energy deposit in absorber
- 2. XTR Gamma spectrum
- 3. Secondary Gamma spectrum
- 4. Secondary e- spectrum
- 5. Energy deposit in absorber with the same histogram parameters
as in the previous version of this example (Geant4 version <=10.2)
The histograms 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..)
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem1)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem1)
\section TestEm10_s5 HOW TO START ?
- Execute TestEm10 in 'batch' mode from macro files e.g.
\verbatim
% TestEm10 run11.mac
\endverbatim
- Execute TestEm10 in 'interactive' mode with visualization e.g.
\verbatim
% TestEm10
....
Idle> type your commands
....
\endverbatim
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm10)
#----------------------------------------------------------------------------
@@ -14,6 +14,11 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem10-V10-07-00)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root),
removed Analysis.hh
13-11-20 B. Morgan (testem10-V10-06-01)
- Enforce use of Serial RunManager.
@@ -1,77 +0,0 @@
-----------------------------------------------------------
--------------
Install AIDA
--------------
To use histograms, at least one of the AIDA implementations should be
available.
You can use various file formats to write histograms (hbook, root, AIDA-XML).
1 - OpenScientist (lal/in2p3)
-------------------------
OpenScientist is available at http://OpenScientist.lal.in2p3.fr.
OpenScientist_batch is a small package ( ~ 6MB), easy to install.
It provides an AIDA interface to write files in ROOT or PAW format.
Download and gunzip (for Linux system) :
http://openscientist.lal.in2p3.fr/download/16.3/osc_batch-v16r3-Linux-i386-gcc_323.zip
(or more recent version, or Windows or Mac system)
Installation:
prompt%> cd osc_batch/v16r3 (or more recent version)
prompt%> ./install
prompt%> source aida-setup.csh
(on Windows : dos%> call <<OpenScientist install path>/aida-setup.bat)
2 - RAIDA (desy)
------------
It is a ROOT based AIDA interface. It can be downloaded from
http://ilcsoft.desy.de/portal/software_packages/raida/index_eng.html
3 - iAIDA
-----
Another package including AIDA (an evolution of the former PI project
http://cern.ch/pi) is the iAIDA package: http://iaida.dynalias.net
Once you have installed iAIDA in a specified local area $MYIAIDA, it is
required to add the installation path to $PATH, i.e. for example, for
release 1.0.11 of iAIDA:
setenv PATH ${PATH}:$MYIAIDA/bin
Before running the example the command should be issued:
eval `aida-config --runtime csh`
4 - JAIDA (slac)
------------
JAIDA is an implementation of AIDA in Java. To use it, one needs Java
as well as AIDAJNI, a connector between AIDA-C++ and AIDA-Java.
Available for: Linux-g++2, Linux-g++3, WIN32-VC, SUN-CC,
Darwin-g++2, Darwin-g++3
To compile and link with JAIDA using AIDAJNI, make sure you have:
1. JAIDA version 3.2.0, see http://java.freehep.org/jaida
2. set enviroment variable JAIDA_HOME to your JAIDA installation
3. source the aida-setup script $JAIDA_HOME/bin/aida-setup.[sh|csh|win32]
4. AIDAJNI version 3.0.4 or 3.2.0, or better: see http://java.freehep.org/aidajni
5. set environment variable AIDAJNI_HOME to your AIDAJNI installation
6. set environment variable JDK_HOME to your Java Standard Development Kit (1.4.x or up).
7. source the aidajni-setup script $AIDAJNI_HOME/bin/$G4SYSTEM/aidajni-setup.[sh|csh|win32]
now execute:
source setup-analysis (.csh, .sh, .win32)
gmake clean
gmake
@@ -1,94 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm10
--------
Test for investigation of transition radiation.
Default setup for "TestEm10.in" and "TestEm10.large_N.in" is the simplified
setup for ALICE XTR test beam (~2004), defined in DetectorSimpleALICE class.
1- GEOMETRY DEFINITION
The geometry setup includes "radiator" and "absorber" volumes
of a box shape.
The "radiator" material is defined as a mixture of a gas and foil material
and the "absorber" contains a gas material.
Several geometry setups are defined in the classes
DetectorSetupX,
where SetupX = ALICE06, Bari05, Barr90, Construction, Harris73, Messenger, SimpleALICE, Watase86
The default setup, SimpleALICE, can be changed via UI command:
/XTRdetector/setup setup
where setup = simpleALICE, alice06, bari05, harris73, watase86, barr90
2- PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the
absorber perpendicular to the input face. 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).
3- DETECTOR RESPONSE
In this example the total energy deposited in the "absorber" volume
is accounted in SensitevDetector class, and a spectrum of XTR gamma
particles, all secondary gamma particles and all secondary e-
particleas is accounted in StackingAction class.
4- PHYSICS
The particle's type and the physic processes which will be available
in this example are set in PhysicsList class.
The trasition radiation process is defined in the
TransitionRadiationPhysics builder.
The transition radiator models can be changed simply with:
Idle> /emphyslist/setXTRModel modelName
See macro files "*.mac" for different setups providede with the example.
5 - HISTOGRAMS
Testem10 produces several histo which are saved as testem10.root by default.
Content of these histo:
1: Energy deposit in absorber
2: XTR Gamma spectrum
3: Secondary Gamma spectrum
4: Secondary e- spectrum
5: Energy deposit in absorber with the same histogram parameters
as in the previous version of this example (Geant4 version <=10.2)
The histograms 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..)
One can control the name of the histograms file with the command:
/analysis/setFileName name (default testem1)
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem1)
6- HOW TO START ?
- execute TestEm10 in 'batch' mode from macro files e.g.
% TestEm10 run11.mac
- execute TestEm10 in 'interactive' mode with visualization e.g.
% TestEm10
....
Idle> type your commands
....
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -41,32 +41,99 @@ gas material = Air
plate plasma energy = 24.5068 eV
gas plasma energy = 0.731967 eV
Regular transparent X-ray TR radiator EM process is called
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
Max kinetic energy for tables 100 TeV
Number of bins per decade of a table 7
Verbose level 1
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (0.2, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 1
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila Fluo
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 100 TeV
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -76,36 +143,36 @@ eIoni: for e- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
CoulombScat: for e- XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
Lorentz Factor XTR photon number
107.6 0.0003514
123.4 0.0006259
107.6 0.0003515
123.4 0.0006258
141.5 0.001078
162.3 0.001513
186.2 0.002884
213.7 0.004694
245.2 0.006087
186.2 0.002883
213.7 0.004692
245.2 0.006086
281.3 0.009628
322.9 0.01836
322.9 0.01835
370.5 0.03094
425.3 0.04306
488.2 0.05193
425.3 0.04305
488.2 0.05194
560.3 0.06382
643.2 0.08559
738.3 0.1271
@@ -113,49 +180,46 @@ Lorentz Factor XTR photon number
973 0.3108
1117 0.4511
1282 0.5944
1472 0.7402
1472 0.7401
1690 1.109
1940 1.51
2228 1.864
2558 2.157
2936 2.391
3371 2.574
3871 2.714
4444 2.821
5102 2.902
5858 2.964
6726 3.01
7722 3.046
8866 3.073
1.018e+04 3.093
1.169e+04 3.109
1.342e+04 3.12
1.541e+04 3.129
1.769e+04 3.136
2.031e+04 3.141
2.332e+04 3.145
2.677e+04 3.148
3.074e+04 3.15
3.529e+04 3.152
4.052e+04 3.153
4.652e+04 3.154
5.342e+04 3.155
6.133e+04 3.156
7.042e+04 3.156
8.085e+04 3.156
9.283e+04 3.157
2558 2.156
2936 2.39
3371 2.573
3871 2.713
4444 2.82
5102 2.9
5858 2.962
6726 3.008
7722 3.044
8866 3.071
1.018e+04 3.091
1.169e+04 3.106
1.342e+04 3.118
1.541e+04 3.127
1.769e+04 3.134
2.031e+04 3.139
2.332e+04 3.143
2.677e+04 3.146
3.074e+04 3.148
3.529e+04 3.15
4.052e+04 3.151
4.652e+04 3.152
5.342e+04 3.153
6.133e+04 3.153
7.042e+04 3.154
8.085e+04 3.154
9.283e+04 3.154
total time for build X-ray TR energy loss tables = 0.13 s
total time for build X-ray TR energy loss tables = 0.61 s
Build angle for energy distribution according the current radiator
Lorentz Factor XTR photon number
total time for build XTR angle for given energy tables = 0.13 s
total time for build X-ray TR angle for energy loss tables = 1.93 s
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -165,40 +229,40 @@ eIoni: for e+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
eplus2gg : Emin= 0 eV Emax= 100 TeV
CoulombScat: for e+ XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
Lorentz Factor XTR photon number
107.6 0.0003514
123.4 0.0006259
107.6 0.0003515
123.4 0.0006258
141.5 0.001078
162.3 0.001513
186.2 0.002884
213.7 0.004694
245.2 0.006087
186.2 0.002883
213.7 0.004692
245.2 0.006086
281.3 0.009628
322.9 0.01836
322.9 0.01835
370.5 0.03094
425.3 0.04306
488.2 0.05193
425.3 0.04305
488.2 0.05194
560.3 0.06382
643.2 0.08559
738.3 0.1271
@@ -206,49 +270,46 @@ Lorentz Factor XTR photon number
973 0.3108
1117 0.4511
1282 0.5944
1472 0.7402
1472 0.7401
1690 1.109
1940 1.51
2228 1.864
2558 2.157
2936 2.391
3371 2.574
3871 2.714
4444 2.821
5102 2.902
5858 2.964
6726 3.01
7722 3.046
8866 3.073
1.018e+04 3.093
1.169e+04 3.109
1.342e+04 3.12
1.541e+04 3.129
1.769e+04 3.136
2.031e+04 3.141
2.332e+04 3.145
2.677e+04 3.148
3.074e+04 3.15
3.529e+04 3.152
4.052e+04 3.153
4.652e+04 3.154
5.342e+04 3.155
6.133e+04 3.156
7.042e+04 3.156
8.085e+04 3.156
9.283e+04 3.157
2558 2.156
2936 2.39
3371 2.573
3871 2.713
4444 2.82
5102 2.9
5858 2.962
6726 3.008
7722 3.044
8866 3.071
1.018e+04 3.091
1.169e+04 3.106
1.342e+04 3.118
1.541e+04 3.127
1.769e+04 3.134
2.031e+04 3.139
2.332e+04 3.143
2.677e+04 3.146
3.074e+04 3.148
3.529e+04 3.15
4.052e+04 3.151
4.652e+04 3.152
5.342e+04 3.153
6.133e+04 3.153
7.042e+04 3.154
8.085e+04 3.154
9.283e+04 3.154
total time for build X-ray TR energy loss tables = 0.13 s
total time for build X-ray TR energy loss tables = 0.61 s
Build angle for energy distribution according the current radiator
Lorentz Factor XTR photon number
total time for build XTR angle for given energy tables = 0.12 s
total time for build X-ray TR angle for energy loss tables = 1.92 s
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
@@ -256,31 +317,31 @@ hIoni: for proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
@@ -289,12 +350,12 @@ ionIoni: for GenericIon XStype:1 SubType=2
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax= 2 MeV
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
@@ -302,12 +363,12 @@ ionIoni: for alpha XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax=7.9452 MeV
BraggIon : Emin= 0 eV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
@@ -315,31 +376,31 @@ hIoni: for anti_proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
@@ -347,31 +408,31 @@ hIoni: for kaon+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV
Bragg : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
@@ -379,31 +440,31 @@ hIoni: for kaon- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon- XStype:3 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
@@ -411,32 +472,32 @@ muIoni: for mu+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
@@ -444,32 +505,32 @@ muIoni: for mu- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu- XStype:3 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
@@ -477,31 +538,31 @@ hIoni: for pi+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV
Bragg : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
@@ -509,48 +570,48 @@ hIoni: for pi- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV
ICRU73QO : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi- XStype:3 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : Air
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV
Energy thresholds : gamma 1 keV e- 1 keV e+ 1 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : radiatorMat
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 1.07314 keV e- 83.5287 keV e+ 82.4135 keV proton 100 keV
Energy thresholds : gamma 1.07711 keV e- 83.3682 keV e+ 82.2386 keV proton 100 keV
Region(s) which use this couple :
XTRradiator
Index : 2 used in the geometry : Yes
Material : Xe15CO2
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 990 eV e- 2.08861 keV e+ 2.0697 keV proton 100 keV
Energy thresholds : gamma 1 keV e- 1.90886 keV e+ 1.86855 keV proton 100 keV
Region(s) which use this couple :
XTRdEdxDetector
@@ -563,28 +624,30 @@ Index : 2 used in the geometry : Yes
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
... set ntuple merging row mode : row-wise - done
... create file : testem10.root - done
... open analysis file : testem10.root - done
... open analysis file : testem10.root - done
--> Event 0 starts.
Run terminated.
Run Summary
Number of events processed : 1000
User=0.210000s Real=0.241026s Sys=0.000000s
User=0.200000s Real=0.203797s Sys=0.000000s
================== run summary =====================
End of Run TotNbofEvents = 1000
Mean energy deposit in absorber = 0.0489248 +-0.0191237 MeV
Total number of XTR gammas = 2731
Total number of all gammas = 2822
Mean energy deposit in absorber = 0.0488113 +-0.0189615 MeV
Total number of XTR gammas = 2781
Total number of all gammas = 2873
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1061505375, 1894607203
Current couple of seeds = 160041442, 1194334918
----------------------------------------
... write file : testem10.root - done
... close file : testem10.root - done
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 10 of which, static: 0
Dynamic pools deleted: 10 / Total memory freed: 0.04 MB
Number of memory pools allocated: 12 of which, static: 0
Dynamic pools deleted: 12 / Total memory freed: 0.045 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -1,36 +0,0 @@
//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
/// \file electromagnetic/TestEm10/include/Analysis.hh
/// \brief Selection of the analysis technology
#ifndef Analysis_h
#define Analysis_h 1
#include "g4root.hh"
//#include "g4xml.hh"
#endif
@@ -32,8 +32,8 @@
#include "RunAction.hh"
#include "RunMessenger.hh"
#include "Analysis.hh"
#include "G4AnalysisManager.hh"
#include "G4Run.hh"
#include "G4ios.hh"
@@ -67,6 +67,7 @@ void RunAction::BookHisto()
// The choice of analysis technology is done via selection of a namespace
// in HistoManager.hh
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
analysisManager->SetDefaultFileType("root");
analysisManager->SetFileName("testem10");
analysisManager->SetVerboseLevel(1);
analysisManager->SetFirstHistoId(1); // start histogram numbering from 1
@@ -34,8 +34,8 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "SensitiveDetector.hh"
#include "Analysis.hh"
#include "G4AnalysisManager.hh"
#include "G4Step.hh"
#include "G4UnitsTable.hh"
#include "G4ios.hh"
@@ -31,8 +31,8 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "StackingAction.hh"
#include "Analysis.hh"
#include "G4AnalysisManager.hh"
#include "G4Track.hh"
#include "G4Gamma.hh"
#include "G4Electron.hh"
@@ -1,192 +0,0 @@
///\file "electromagnetic/TestEm11/.README.txt"
///\brief Example TestEm11 README page
/*! \page ExampleTestEm11 Example TestEm11
How to plot a depth dose profile in a rectangular box.
\section TestEm11_s1 GEOMETRY DEFINITION
The geometry consists of a stack of one or several blocks of homogenous
material, called absorbers.
Optionally, each absorber can be divided in thinner layers (replica)
A minimum of 5 parameters define the geometry :
- the number of absorbers (NbOfAbsor)
- the material of each absorber,
- the thickness of each absorber,
- the tranverse dimension of the stack (sizeYZ),
- the number of divisions of each absorber (NbOfDivisions)
In addition a transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be changed interactively via
the commands defined in the DetectorMessenger class.
\section TestEm11_s2 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
The following options for EM physics using builders from physics_lists
sub-package are available:
- "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
- "emstandardGS" standard EM physics and Goudsmit-Saunderson multiple scatt.
- "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
A local builder, PhysListEmStandard "local" (similar to opt3) is also
available.
Physics lists and options can be (re)set with UI commands
\section TestEm11_s3 ACTION INITIALIZATION
A newly introduced class, ActionInitialization, instantiates and registers
to Geant4 kernel all user action classes.
While in sequential mode the action classes are instantiated just once,
via invoking the method:
ActionInitialization::Build()
in multi-threading mode the same method is invoked for each thread worker
and so all user action classes are defined thread-local.
A run action class (if present) has to be instantiated both thread-local
and global, which is why its instance has to be created also in the method
ActionInitialization::BuildForMaster()
which is invoked only in multi-threading mode.
\section TestEm11_s4 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the
left face of the box. 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).
In addition one can choose randomly the impact point of the incident
particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
A RUN is a set of events.
\section TestEm11_s5 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm11.cc).
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.
Optionally one can choose to draw all particles, only the charged one,
or none. This command is defined in EventActionMessenger class.
\section TestEm11_s6 HOW TO START ?
- Execute TestEm11 in 'batch' mode from macro files
\verbatim
% TestEm11 run01.mac
\endverbatim
- Execute TestEm11 in 'interactive mode' with visualization
\verbatim
% TestEm11
....
Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- alpha.mac: alpha (400 MeV) on water
- ionC12.mac: ion C12 (2.4 GeV) on water
- multiLayers.mac: gamma (6 MeV) on multi layers
- radioactive.mac: radioactive ion on multi layers
- range.mac: compute csda range of primary particle
- run01.mac: e- (500 keV) on silicon. Step max from histo 1
- run02.mac: e- (500 keV) on silicon. Step max from geometry
- sandia.mac: to compare with Sandia data
- water.mac: e- (4 MeV) on water. No constraint on tracking step
Macros to be run interactively:
- vis.mac: To activate visualization
\section TestEm11_s7 TRACKING and STEP MAX
TestEm11 computes the distribution of energy deposited along the trajectory of
the incident particle : the so-called longitudinal energy profile,
or depth dose distribution.
The energy deposited (edep) is randomly distribued along the step (see
SteppingAction).
In order to control the accuracy of the deposition, the maximum step size
of charged particles is computed automatically from the binning of
histograms 1 and 8 (see RunAction).
As an example, this limitation is implemented as a 'full' process :
see StepMax class and its messenger, StepMaxMessenger. The 'StepMax process' is registered
in the Physics List.
StepMax is evaluated at RunAction::BeginOfRunAction(),
and passed to the StepMax process.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
\section TestEm11_s8 HISTOGRAMS
TestEm11 has several predefined 1D histograms :
- 1 : longitudinal energy profile (in MeV/mm and per event)
- 2 : total energy deposited in the absorber
- 3 : total track length of the primary track
- 4 : step size of the primary track
- 5 : projected range of the primary track
- 6 : total track length of charged secondary tracks
- 7 : step size of charged secondary tracks
- 8 : longitudinal energy profile (in MeV.cm2/g), as a function of x/r0
where r0 is the range of the primary particle
- 11 : energy deposited in absorber 1
- 12 : energy deposited in absorber 2
...etc........
The histograms are managed by G4Analysis classes;
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 testem11)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem11)
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm11)
#----------------------------------------------------------------------------
@@ -13,7 +13,19 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem11-V10-07-05)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
27-08-21 Dennis Wright (testem11-V10-07-04)
- replace G4RadioactiveDecayBase with G4RadioactiveDecay (name migration)
19-07-21 I. Hrivnacova (testem11-V10-07-03)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
10-05-21 mma (testem11-V10-07-02)
- Migration to G4RunManagerFactory and G4SteppingVerboseWithUnits.
@@ -1,185 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm11
--------
How to plot a depth dose profile in a rectangular box.
1- GEOMETRY DEFINITION
The geometry consists of a stack of one or several blocks of homogenous
material, called absorbers.
Optionally, each absorber can be divided in thinner layers (replica)
A minimum of 5 parameters define the geometry :
- the number of absorbers (NbOfAbsor)
- the material of each absorber,
- the thickness of each absorber,
- the tranverse dimension of the stack (sizeYZ),
- the number of divisions of each absorber (NbOfDivisions)
In addition a transverse uniform magnetic field can be applied.
eg: /globalField/setValue 0 0 5 tesla
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be changed interactively via
the commands defined in the DetectorMessenger class.
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
The following options for EM physics using builders from physics_lists
sub-package are available:
- "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
- "emstandardGS" standard EM physics and Goudsmit-Saunderson multiple scatt.
- "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
- "emstandardMP" standard EM physics where for e- a new model
G4DiscreteScatteringModel is applied; for this model
a data set G4GBFPDATA should be requested from EM group
A local builder, PhysListEmStandard "local" (similar to opt3) is also
available.
Physics lists and options can be (re)set with UI commands
3- ACTION INITIALIZATION
A newly introduced class, ActionInitialization, instantiates and registers
to Geant4 kernel all user action classes.
While in sequential mode the action classes are instantiated just once,
via invoking the method:
ActionInitialization::Build()
in multi-threading mode the same method is invoked for each thread worker
and so all user action classes are defined thread-local.
A run action class (if present) has to be instantiated both thread-local
and global, which is why its instance has to be created also in the method
ActionInitialization::BuildForMaster()
which is invoked only in multi-threading mode.
4- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the
left face of the box. 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).
In addition one can choose randomly the impact point of the incident
particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
A RUN is a set of events.
5- 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.
Optionally one can choose to draw all particles, only the charged one,
or none. This command is defined in EventActionMessenger class.
6- HOW TO START ?
- Execute TestEm11 in 'batch' mode from macro files
% TestEm11 run01.mac
- Execute TestEm11 in 'interactive mode' with visualization
% TestEm11
....
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- alpha.mac: alpha (400 MeV) on water
- ionC12.mac: ion C12 (2.4 GeV) on water
- multiLayers.mac: gamma (6 MeV) on multi layers
- radioactive.mac: radioactive ion on multi layers
- range.mac: compute csda range of primary particle
- run01.mac: e- (500 keV) on silicon. Step max from histo 1
- run02.mac: e- (500 keV) on silicon. Step max from geometry
- sandia.mac: to compare with Sandia data
- water.mac: e- (4 MeV) on water. No constraint on tracking step
Macros to be run interactively:
- vis.mac: To activate visualization
7- TRACKING and STEP MAX
TestEm11 computes the distribution of energy deposited along the trajectory of
the incident particle : the so-called longitudinal energy profile,
or depth dose distribution.
The energy deposited (edep) is randomly distribued along the step (see
SteppingAction).
In order to control the accuracy of the deposition, the maximum step size
of charged particles is computed automatically from the binning of
histograms 1 and 8 (see RunAction).
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.
StepMax is evaluated at RunAction::BeginOfRun(),
and passed to the StepMax process.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
8- HISTOGRAMS
TestEm11 has several predefined 1D histograms :
1 : longitudinal energy profile (in MeV/mm and per event)
2 : total energy deposited in all absorbers
3 : total track length of the primary track
4 : step size of the primary track
5 : projected range of the primary track
6 : total track length of charged secondary tracks
7 : step size of charged secondary tracks
8 : longitudinal energy profile (in MeV.cm2/g), as a function of x/r0
where r0 is the range of the primary particle
11 : energy deposited in absorber 1
12 : energy deposited in absorber 2
...etc........
The histograms are managed by G4Analysis classes.
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 testem11)
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem11)
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -72,389 +72,6 @@ PhysicsList::AddPhysicsList: <emstandard_opt3>
#
/run/printProgress 10000
/run/beamOn 20000
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld 1 0 0
### === Ignore cuts flag: 0
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 174 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 10 eV to 1 MeV, 20 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 160 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
KleinNishina : Emin= 0 meV Emax= 100 TeV Fluo
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 10 eV to 100 keV, 20 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 180 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=DistanceToBoundary Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e- XStype:1 SubType=2
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
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 100 TeV AngularGen2BS
ePairProd: for e- 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 25x1001 from 0.1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
ePairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=DistanceToBoundary Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 100 TeV AngularGen2BS
ePairProd: for e+ 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 25x1001 from 0.1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
ePairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV deltaVI
BetheBloch : Emin= 2 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
nuclearStopping: for proton SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 meV Emax= 1 MeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
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
StepFunction=(0.1, 0.02 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
ParamICRU73 : Emin= 0 meV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
nuclearStopping: for GenericIon SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 meV Emax= 1 MeV
======================================================================
====== Radioactive Decay Physics Parameters =======
======================================================================
Max life time 1000 ps
Internal e- conversion flag 1
Stored internal conversion coefficients 0
Enable correlated gamma emission 0
Max 2J for sampling of angular correlations 10
Atomic de-excitation enabled 1
Auger electron emission enabled 0
Auger cascade enabled 0
Check EM cuts disabled for atomic de-excitation 0
Use Bearden atomic level energies 0
Threshold for very long decay time at rest 1e+27 ns
======================================================================
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
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
StepFunction=(0.1, 0.02 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax=7.9452 MeV deltaVI
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
nuclearStopping: for alpha SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 meV Emax= 1 MeV
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV deltaVI
BetheBloch : Emin= 2 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV deltaVI
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV deltaVI
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV deltaVI
BetheBloch : Emin= 200 keV Emax= 1 GeV deltaVI
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 160 bins
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV deltaVI
BetheBloch : Emin= 200 keV Emax= 1 GeV deltaVI
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 160 bins
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV deltaVI
BetheBloch : Emin=297.505 keV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV deltaVI
BetheBloch : Emin=297.505 keV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
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
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : Galactic
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : G4_Si
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.95018 keV e- 548.291 keV e+ 526.624 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
### Run 0 starts.
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
@@ -526,42 +143,426 @@ Screening factor 1
=======================================================================
Fluorescence enabled 1
Fluorescence Bearden data files enabled 0
Fluorescence ANSTO data files enabled 0
Auger electron cascade enabled 0
PIXE atomic de-excitation enabled 0
De-excitation module ignores cuts 0
Type of PIXE cross section for hadrons Empirical
Type of PIXE cross section for e+- Livermore
=======================================================================
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld 1 0 0
### === Ignore cuts flag: 0
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 174 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 10 eV to 1 MeV, 20 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 160 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
KleinNishina : Emin= 0 eV Emax= 100 TeV Fluo
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 10 eV to 100 keV, 20 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 180 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=DistanceToBoundary Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e- XStype:1 SubType=2
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
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 eV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 100 TeV AngularGen2BS
ePairProd: for e- 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: 0
Sampling table 25x1001 from 0.1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
ePairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=DistanceToBoundary Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 eV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 100 TeV AngularGen2BS
ePairProd: for e+ 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: 0
Sampling table 25x1001 from 0.1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
ePairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 eV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 2 MeV deltaVI
BetheBloch : Emin= 2 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
nuclearStopping: for proton SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
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
StepFunction=(0.1, 0.02 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
ParamICRU73 : Emin= 0 eV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
nuclearStopping: for GenericIon SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
======================================================================
====== Radioactive Decay Physics Parameters =======
======================================================================
Max life time 1000 ps
Internal e- conversion flag 1
Stored internal conversion coefficients 0
Enable correlated gamma emission 0
Max 2J for sampling of angular correlations 10
Atomic de-excitation enabled 1
Auger electron emission enabled 0
Check EM cuts disabled for atomic de-excitation 0
Use Bearden atomic level energies 0
Use ANSTO fluorescence model 0
Threshold for very long decay time at rest 1e+27 ns
======================================================================
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
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
StepFunction=(0.1, 0.02 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax=7.9452 MeV deltaVI
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
nuclearStopping: for alpha SubType=8 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 2 MeV deltaVI
BetheBloch : Emin= 2 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax=1.05231 MeV deltaVI
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV deltaVI
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 200 keV deltaVI
BetheBloch : Emin= 200 keV Emax= 1 GeV deltaVI
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 160 bins
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 200 keV deltaVI
BetheBloch : Emin= 200 keV Emax= 1 GeV deltaVI
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 160 bins
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax=297.505 keV deltaVI
BetheBloch : Emin=297.505 keV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=240 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
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
StepFunction=(0.2, 0.05 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax=297.505 keV deltaVI
BetheBloch : Emin=297.505 keV Emax= 100 TeV deltaVI
CSDA range table up to 1 GeV in 160 bins
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 10 eV to 100 TeV in 260 bins
Lambda tables from threshold to 100 TeV, 20 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
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: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : Galactic
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 1 keV e- 1 keV e+ 1 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : G4_Si
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 6.93779 keV e- 546.298 keV e+ 525.604 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
### Run 0 starts.
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
--> Event 0 starts.
--> Event 10000 starts.
Run terminated.
Run Summary
Number of events processed : 20000
User=0.640000s Real=0.655069s Sys=0.000000s
User=0.590000s Real=0.593177s Sys=0.010000s
======================== run summary =====================
The run is 20000 e- of 500.00 keV through 1 absorbers:
1 1.00 mm of G4_Si (density: 2.33 g/cm3 )
Edep in absorber 1 = 447.527 keV (17.351 keV-->500.000 keV)
Edep in absorber 1 = 448.322 keV (17.192 keV-->500.000 keV)
Track length of primary track = 882.059 um +- 192.822 um
Track length of primary track = 883.600 um +- 191.932 um
Range from EmCalculator = 942.776 um (from full dE/dx)
Projected range = 321.076 um +- 196.557 um
Projected range = 321.544 um +- 194.272 um
Nb of steps of primary track = 11.40 +- 2.83 Step size= 80.134 um +- 21.075 um
Nb of steps of primary track = 11.41 +- 2.83 Step size= 80.146 um +- 20.906 um
absorbed = 77.69 % transmit = 5.10 % reflected = 17.21 %
absorbed = 78.01 % transmit = 5.28 % reflected = 16.71 %
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 177879595, 1755351050
Current couple of seeds = 581941925, 1742193306
----------------------------------------
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.014 MB
Number of memory pools allocated: 11 of which, static: 0
Dynamic pools deleted: 11 / Total memory freed: 0.016 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -36,8 +36,7 @@
#include "globals.hh"
#include "g4root.hh"
//#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,26 +0,0 @@
------------------
EGSnrc Simulations
------------------
These results were computed with the EGSnrc user code DOSRZnrc.
Yann Perrot (perrot@clermont.in2p3.fr) December 2010
Simulation parameters:
----------------------
Electron Stepping Algorithm : PRESTA-II
Boundary Crossing Algoritm : EXACT with skin parameter=3
Maximum Energy Loss per Step : ESTEPE = 1%
Electron tracking cut : 10keV for E>=1MeV
1keV for E<1MeV
References:
----------
Rogers and Bielajew 1986
Med. Phys. 13, 687-694
Rogers et al 2003
NRC User Codes for EGSnrc
Technical Report PIRS-702(RevB)
National Research Council of Canada
@@ -47,7 +47,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -58,6 +57,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetActivation(true);
@@ -63,7 +63,7 @@
#include "G4Decay.hh"
#include "G4PhysicsListHelper.hh"
#include "G4RadioactiveDecayBase.hh"
#include "G4RadioactiveDecay.hh"
#include "G4GenericIon.hh"
#include "G4NuclideTable.hh"
#include "StepMax.hh"
@@ -248,7 +248,7 @@ void PhysicsList::AddDecay()
void PhysicsList::AddRadioactiveDecay()
{
G4RadioactiveDecayBase* radioactiveDecay = new G4RadioactiveDecayBase();
G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
radioactiveDecay->SetARM(true); //Atomic Rearangement
@@ -1,174 +0,0 @@
///\file "electromagnetic/TestEm12/.README.txt"
///\brief Example TestEm12 README page
/*! \page ExampleTestEm12 Example TestEm12
How to plot a depth dose profile in spherical geometry.
\section TestEm12_s1 GEOMETRY DEFINITION
The geometry consists of a single sphere of an homogenous material.
Optionally, the sphere can be divided in thin shells.
3 parameters define the geometry :
- the material of the sphere,
- the radius of the sphere (absorRadius),
- the number of shells (nbOfLayers)
In addition a transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be changed interactively via
the commands defined in the DetectorMessenger class.
\section TestEm12_s2 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
The following options for EM physics using builders from physics_lists
sub-package are available:
- "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
- "emstandardGS" standard EM physics and Goudsmit-Saunderson multiple scatt.
- "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
- "dna" process and models for Geant4-DNA
- "dna_opt1" process and models for Geant4-DNA
- "dna_opt2" process and models for Geant4-DNA
- "dna_opt3" process and models for Geant4-DNA
- "dna_opt4" process and models for Geant4-DNA
- "dna_opt5" process and models for Geant4-DNA
- "dna_opt6" process and models for Geant4-DNA
- "dna_opt7" process and models for Geant4-DNA
A local builder, PhysListEmStandard "local" (similar to opt0) is also
available.
Physics lists and options can be (re)set with UI commands
\section TestEm12_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle randomly shot at
the centre of the sphere. The type of the particle and its energy are set
in the PrimaryGeneratorAction class, and can be changed via the G4
built-in commands of G4ParticleGun class (see the macros provided with
this example).
In addition one can deactivate the randomness of the direction of the
incident particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
A RUN is a set of events.
\section TestEm12_s4 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm12.cc).
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.
Optionally one can choose to draw all particles, only the charged ones,
or none. This command is defined in EventActionMessenger class.
\section TestEm12_s5 HOW TO START ?
- Execute TestEm12 in 'batch' mode from macro files
\verbatim
% TestEm12 run01.mac
\endverbatim
- Execute TestEm12 in 'interactive mode' with visualization
\verbatim
% TestEm12
....
Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- berger.mac: e- (100 keV) on water
- dna.mac: e- (1 keV) on water. DNA physics list
- run01.mac: e- (4 MeV) on water. Step max from histos 1 and 8
- run02.mac: e- (4 MeV) on water. Step max from geometry
Macros to be run interactively:
- vis.mac: To activate visualization
\section TestEm12_s6 TRACKING and STEP MAX
TestDm12 computes the total energy deposited along the trajectory of
the incident particle : the so-called longitudinal energy profile,
or depth dose distribution.
The energy deposited (edep) is randomly distributed along the step (see
SteppingAction).
In order to control the accuracy of the deposition, the maximum step size
of charged particles is computed automatically from the binning of
histograms 1 and 8 (see RunAction).
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.
StepMax is evaluated in RunAction::BeginOfRun() and passed
to the StepMax process.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
\section TestEm12_s7 HISTOGRAMS
Testem12 has several predefined 1D histograms :
- 1 : energy profile dE/dr (in MeV/mm per event)
- 2 : total energy deposited in the absorber
- 3 : total track length of the primary track
- 4 : step size of the primary track
- 5 : projected range of the primary track
- 6 : total track length of charged secondary tracks
- 7 : step size of charged secondary tracks
- 8 : normalized energy profile d(E/E0)/d(r/r0), where r0 is the range of
the primary particle of energy E0
The histograms 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..)
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem12)
\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 testem12)
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm12)
#----------------------------------------------------------------------------
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem12-V10-07-04)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem12-V10-07-03)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
10-05-21 mma (testem12-V10-07-02)
- Migration to G4RunManagerFactory and G4SteppingVerboseWithUnits.
@@ -1,163 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm12
--------
How to plot a depth dose profile in spherical geometry.
1- GEOMETRY DEFINITION
The geometry consists of a single sphere of an homogenous material.
Optionally, the sphere can be divided in thin shells.
3 parameters define the geometry :
- the material of the sphere,
- the radius of the sphere (absorRadius),
- the number of shells (nbOfLayers)
In addition a transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be changed interactively via
the commands defined in the DetectorMessenger class.
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
The following options for EM physics using builders from physics_lists
sub-package are available:
- "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
- "emstandardGS" standard EM physics and Goudsmit-Saunderson multiple scatt.
- "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
- "dna" process and models for Geant4-DNA
- "dna_opt1" process and models for Geant4-DNA
- "dna_opt2" process and models for Geant4-DNA
- "dna_opt3" process and models for Geant4-DNA
- "dna_opt4" process and models for Geant4-DNA
- "dna_opt5" process and models for Geant4-DNA
- "dna_opt6" process and models for Geant4-DNA
- "dna_opt7" process and models for Geant4-DNA
A local builder, PhysListEmStandard "local" (similar to opt0) is also
available.
Physics lists and options can be (re)set with UI commands
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle randomly shot at
the centre of the sphere. The type of the particle and its energy are set
in the PrimaryGeneratorAction class, and can be changed via the G4
built-in commands of ParticleGun class (see the macros provided with
this example).
In addition one can deactivate the randomness of the direction of the
incident particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
A RUN is a set of events.
4- 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.
Optionally one can choose to draw all particles, only the charged ones,
or none. This command is defined in EventActionMessenger class.
5- HOW TO START ?
- execute TestEm12 in 'batch' mode from macro files
% TestEm12 run01.mac
- execute TestEm12 in 'interactive mode' with visualization
% TestEm12
....
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- berger.mac: e- (100 keV) on water
- dna.mac: e- (1 keV) on water. DNA physics list
- run01.mac: e- (4 MeV) on water. Step max from histos 1 and 8
- run02.mac: e- (4 MeV) on water. Step max from geometry
Macros to be run interactively:
- vis.mac: To activate visualization
6- TRACKING and STEP MAX
TestDm12 computes the total energy deposited along the trajectory of
the incident particle : the so-called longitudinal energy profile,
or depth dose distribution.
The energy deposited (edep) is randomly distributed along the step (see
SteppingAction).
In order to control the accuracy of the deposition, the maximum step size
of charged particles is computed automatically from the binning of
histograms 1 and 8 (see RunAction).
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.
StepMax is evaluated in RunAction::BeginOfRun() and passed
to the StepMax process.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
7- HISTOGRAMS
Testem12 has several predefined 1D histograms :
1 : energy profile dE/dr (in MeV/mm per event)
2 : total energy deposited in the absorber
3 : total track length of the primary track
4 : step size of the primary track
5 : projected range of the primary track
6 : total track length of charged secondary tracks
7 : step size of charged secondary tracks
8 : normalized energy profile d(E/E0)/d(r/r0), where r0 is the range of
the primary particle of energy E0
The histograms 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..)
One can control the name of the histograms file with the command:
/analysis/setFileName name (default testem12)
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 testem12)
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -65,403 +65,6 @@ PhysicsList::AddPhysicsList: <emstandard_opt0>
#
/run/printProgress 1000
/run/beamOn 10000
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
CoulombScat: for e- XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
CoulombScat: for e+ XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon- XStype:3 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu- XStype:3 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi- XStype:3 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : G4_WATER
Range cuts : gamma 10 um e- 10 um e+ 10 um proton 10 um
Energy thresholds : gamma 990 eV e- 14.0874 keV e+ 14.0874 keV proton 1 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
### Run 0 starts.
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
@@ -502,7 +105,7 @@ Build CSDA range enabled 1
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -529,6 +132,403 @@ Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 eV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
CoulombScat: for e- XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 eV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 eV Emax= 100 TeV
CoulombScat: for e+ XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon- XStype:3 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu- XStype:3 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
CSDA range table up to 1 GeV in 49 bins
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi- XStype:3 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : G4_WATER
Range cuts : gamma 10 um e- 10 um e+ 10 um proton 10 um
Energy thresholds : gamma 1 keV e- 13.8319 keV e+ 13.5659 keV proton 1 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
==================================================================
### Run 0 starts.
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
--> Event 0 starts.
--> Event 1000 starts.
--> Event 2000 starts.
@@ -542,28 +542,28 @@ Screening factor 1
Run terminated.
Run Summary
Number of events processed : 10000
User=0.710000s Real=0.739205s Sys=0.000000s
User=0.690000s Real=0.698056s Sys=0.010000s
======================== run summary =====================
The run is 10000 e- of 4.00 MeV through 3.00 cm of G4_WATER (density: 1.00 g/cm3 )
Total Energy deposited = 3.946 MeV +- 213.042 keV
Total Energy deposited = 3.946 MeV +- 202.738 keV
Track length of primary track = 2.050 cm +- 2.787 mm
Track length of primary track = 2.050 cm +- 2.758 mm
Range from EmCalculator = 2.045 cm (from full dE/dx)
Projected range = 1.326 cm +- 3.553 mm
Projected range = 1.323 cm +- 3.603 mm
Nb of steps of primary track = 16.10 +- 2.97 Step size= 1.312 mm +- 284.836 um
Nb of steps of primary track = 16.33 +- 3.01 Step size= 1.293 mm +- 278.490 um
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 530569173, 667125941
Current couple of seeds = 1332319784, 525469329
----------------------------------------
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.026 MB
Dynamic pools deleted: 9 / Total memory freed: 0.027 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -1,27 +0,0 @@
------------------
EGSnrc Simulations
------------------
These results were computed with the EGSnrc user code EDKnrc,
developed by E. Mainegra et al.
Yann Perrot (perrot@clermont.in2p3.fr) December 2010
Simulation parameters:
----------------------
Electron Stepping Algorithm : PRESTA-II
Boundary Crossing Algoritm : EXACT with skin parameter=3
Maximum Energy Loss per Step : ESTEPE = 1%
Electron tracking cut : 10keV for E>=1MeV
1keV for E<1MeV
References:
----------
Mainegra et al 2005
Med. Phys. 32, 685-99
Rogers et al 2003
NRC User Codes for EGSnrc
Technical Report PIRS-702(RevB)
National Research Council of Canada
@@ -36,8 +36,7 @@
#include "globals.hh"
#include "g4root.hh"
//#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -46,7 +46,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -57,6 +56,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetActivation(true);
@@ -1,84 +0,0 @@
///\file "electromagnetic/TestEm13/.README.txt"
///\brief Example TestEm13 README page
/*! \page ExampleTestEm13 Example TestEm13
How to compute cross sections from the transmition coefficient
( see below, \ref TestEm13_s4).
\section TestEm13_s1 GEOMETRY DEFINITION
It is a single box representing a layer of finite thickness of
homogeneous material.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default geometry (1 cm of water) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
\section TestEm13_s2 PHYSICS LIST
The physics list contains the standard electromagnetic processes.
In order not to introduce 'artificial' constraints on the step size, the
multiple scattering is not instanciated, and all processes are
registered as discrete : there is no continuous energy loss.
\section TestEm13_s3 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 (1 MeV gamma), and can be changed via the G4
build-in commands of G4ParticleGun class (see the macros provided with
this example).
\section TestEm13_s4 PHYSICS
An event is killed at the first step of the incident paticle.
Either the particle has interacted or is transmitted through the layer.
The cross section, also called absorption coefficient, is computed from
the rate of unaltered transmitted incident particles.
The result is compared with the 'input' data, i.e. with the cross
sections stored in the PhysicsTables and used by Geant4.
A set of macros defining various run conditions are provided.
The processes are actived/inactived in order to survey the processes
individually.
\section TestEm13_s6 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm13.cc).
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 TestEm13_s7- HOW TO START ?
- Execute TestEm13 in 'batch' mode from macro files :
\verbatim
% TestEm13 compt.mac
\endverbatim
- Execute TestEm13 in 'interactive mode' with visualization :
\verbatim
% TestEm13
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
\endverbatim
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm13)
#----------------------------------------------------------------------------
@@ -1,79 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm13
--------
How to compute cross sections from the transmition coefficient
( see below, item Physics).
1- GEOMETRY DEFINITION
It is a single box representing a layer of finite thickness of
homogeneous material.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default geometry (1 cm of water) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
2- PHYSICS LIST
The physics list contains the standard electromagnetic processes.
In order not to introduce 'artificial' constraints on the step size, the
multiple scattering is not instanciated, and all processes are
registered as discrete : there is no continuous energy loss.
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 (1 MeV gamma), 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 step of the incident paticle.
Either the particle has interacted or is transmitted through the layer.
The cross section, also called absorption coefficient, is computed from
the rate of unaltered transmitted incident particles.
The result is compared with the 'input' data, i.e. with the cross
sections stored in the PhysicsTables and used by Geant4.
A set of macros defining various run conditions are provided.
The processes are actived/inactived in order to survey the processes
individually.
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 TestEm13 in 'batch' mode from macro files :
% TestEm13 compt.mac
execute TestEm13 in 'interactive mode' with visualization :
% TestEm13
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -59,7 +59,7 @@ Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -149,7 +149,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -179,7 +179,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000000
User=1.930000s Real=1.945233s Sys=0.000000s
User=1.970000s Real=1.987245s Sys=0.000000s
======================== run summary ======================
@@ -221,7 +221,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -246,24 +246,24 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000000
User=2.080000s Real=2.122032s Sys=0.000000s
User=2.120000s Real=2.133101s Sys=0.000000s
======================== run summary ======================
The run is: 1000000 e- of 100 MeV through 1 cm of Water (density: 1 g/cm3 )
Process calls frequency ---> Transportation = 538014 eBrem = 280639 eIoni = 181347
Process calls frequency ---> Transportation = 538236 eBrem = 281299 eIoni = 180465
Nb of incident particles unaltered after 1 cm of Water : 538014 over 1000000 incident particles. Ratio = 53.801 %
---> CrossSection per volume: 0.61987 cm^-1 CrossSection per mass: 61.987 mm2/g
Nb of incident particles unaltered after 1 cm of Water : 538236 over 1000000 incident particles. Ratio = 53.824 %
---> CrossSection per volume: 0.61946 cm^-1 CrossSection per mass: 61.946 mm2/g
Verification from G4EmCalculator:
eBrem= 37.788 mm2/g eIoni= 24.337 mm2/g total= 62.125 mm2/g
Expected ratio of transmitted particles= 53.727 %
eBrem= 37.79 mm2/g eIoni= 24.206 mm2/g total= 61.997 mm2/g
Expected ratio of transmitted particles= 53.796 %
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 720054777, 1392214585
Current couple of seeds = 1312526117, 166129892
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -1,132 +0,0 @@
///\file "electromagnetic/TestEm14/.README.txt"
///\brief Example TestEm14 README page
/*! \page ExampleTestEm14 Example TestEm14
- How to compute cross sections from the direct evaluation of the mean
free path ( see below, \ref TestEm14_s4).
- How to plot final state of a process.
\section TestEm14_s1 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 (100 m of water) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
\section TestEm14_s2 PHYSICS LIST
The physics list contains the standard electromagnetic processes.
In order not to introduce 'artificial' constraints on the step size, the
multiple scattering is not instanciated, and all processes are
registered as discrete : there is no continuous energy loss.
\section TestEm14_s3 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 (1 MeV gamma), and can be changed via the G4
build-in commands of G4ParticleGun class (see the macros provided with
this example).
\section TestEm14_s4 PHYSICS
An event is killed at the first interaction of the incident paticle.
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' data, i.e. with the cross
sections stored in the PhysicsTables and used by Geant4.
The energy spectrum and the angular distribution of the scattered
particle (if any) and of the created secondaries are plotted (see
SteppingAction).
A set of macros defining various run conditions are provided.
The processes are actived/inactived in order to survey the processes
individually.
\section TestEm14_s5 HISTOGRAMS
The test contains 6 built-in 1D histograms, which are managed by the
HistoManager class and its messenger, HistoMessenger. 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 : "scattered primary particle: energy spectrum"
- 2 : "scattered primary particle: costheta distribution"
- 3 : "charged secondaries: energy spectrum"
- 4 : "charged secondaries: costheta distribution"
- 5 : "neutral secondaries: energy spectrum"
- 6 : "neutral secondaries: costheta distribution"
The histograms are managed by the HistoManager class and its messenger,
HistoMessenger
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 testem14)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem14)
\subsection TestEm14_sub_s51 Using hbook format
Need a special treatement : the Cern Library must be installed and the
environment variable CERNLIB correctly set. Then, *before* compiling,
activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in HistoManager.hh
\section TestEm14_s6- VISUALIZATION
The Visualization Manager is set in the main () (see TestEm14.cc).
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 TestEm14_s7- HOW TO START ?
- Execute TestEm14 in 'batch' mode from macro files :
\verbatim
% TestEm14 compt.mac
\endverbatim
- Execute TestEm14 in 'interactive mode' with visualization :
\verbatim
% TestEm14
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
\endverbatim
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm14)
#----------------------------------------------------------------------------
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem14-V10-07-02)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem14-V10-07-01)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
10-05-21 mma (testem14-V10-07-00)
- Migration to G4RunManagerFactory and G4SteppingVerboseWithUnits.
@@ -1,121 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm14
--------
How to compute cross sections from the direct evaluation of the mean
free path ( see below, item Physics).
How to plot final state of a process.
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 (100 m of water) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
2- PHYSICS LIST
The physics list contains the standard electromagnetic processes.
In order not to introduce 'artificial' constraints on the step size, the
multiple scattering is not instanciated, and all processes are
registered as discrete : there is no continuous energy loss.
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 (1 MeV gamma), 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 paticle.
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' data, i.e. with the cross
sections stored in the PhysicsTables and used by Geant4.
The energy spectrum and the angular distribution of the scattered
particle (if any) and of the created secondaries are plotted (see
SteppingAction).
A set of macros defining various run conditions are provided.
The processes are actived/inactived in order to survey the processes
individually.
5- HISTOGRAMS
The test contains 6 built-in 1D histograms, which 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, etc..)
(see the macros xxxx.mac).
1 "scattered primary particle: energy spectrum"
2 "scattered primary particle: costheta distribution"
3 "charged secondaries: energy spectrum"
4 "charged secondaries: costheta distribution"
5 "neutral secondaries: energy spectrum"
6 "neutral secondaries: costheta distribution"
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 testem14)
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem14)
Using hbook format
------------------
Need a special treatement : the Cern Library must be installed and the
environment variable CERNLIB correctly set. Then, *before* compiling,
activate G4_USE_HBOOK in GNUmakefile and g4hbook.hh in HistoManager.hh
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 TestEm14 in 'batch' mode from macro files :
% TestEm14 compt.mac
execute TestEm14 in 'interactive mode' with visualization :
% TestEm14
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -59,7 +59,7 @@ Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -149,7 +149,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -179,7 +179,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000000
User=3.080000s Real=3.110162s Sys=0.000000s
User=2.710000s Real=2.744131s Sys=0.000000s
======================== run summary ======================
@@ -224,7 +224,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.93991 keV e- 349.408 keV e+ 341.455 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -249,26 +249,26 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000000
User=3.050000s Real=3.075968s Sys=0.000000s
User=2.520000s Real=2.554044s Sys=0.010000s
======================== run summary ======================
The run is: 1000000 e- of 100 MeV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> eBrem = 608449 eIoni = 391551
Process calls frequency ---> eBrem = 609748 eIoni = 390252
MeanFreePath: 1.6125 cm +- 1.6128 cm massic: 1.6125 g/cm2
CrossSection: 0.62015 cm^-1 massic: 62.015 mm2/g
MeanFreePath: 1.6135 cm +- 1.6139 cm massic: 1.6135 g/cm2
CrossSection: 0.61977 cm^-1 massic: 61.977 mm2/g
mean energy of charged secondaries: 740.99 keV
---> mass_energy_transfer coef: 459.52 um2/mg
mean energy of charged secondaries: 744.54 keV
---> mass_energy_transfer coef: 461.44 um2/mg
Verification : crossSections from G4EmCalculator
eBrem= 37.788 mm2/g eIoni= 24.337 mm2/g total= 62.125 mm2/g
eBrem= 37.79 mm2/g eIoni= 24.206 mm2/g total= 61.997 mm2/g
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 116422662, 1893707566
Current couple of seeds = 1944797771, 1867140892
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -32,9 +32,7 @@
#define HistoManager_h 1
#include "globals.hh"
#include "g4root.hh"
//#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -43,7 +43,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -54,6 +53,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetActivation(true); //enable inactivation of histograms
@@ -1,124 +0,0 @@
///\file "electromagnetic/TestEm15/.README.txt"
///\brief Example TestEm15 README page
/*! \page ExampleTestEm15 Example TestEm15
How to compute and plot the final state of Multiple Scattering
considered as an isolated process.
The method is exposed below : see \ref TestEm15_s4.
\section TestEm15_s1 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 (100 m of water) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
\section TestEm15_s2 PHYSICS LIST
The physics list contains the standard electromagnetic processes.
In order not to introduce 'articicial' constraints on the step size,
there is no limitation from the maximum energy lost per step.
\section TestEm15_s3 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 (1 MeV electron), and can be changed via the G4
build-in commands of G4ParticleGun class (see the macros provided with
this example).
\section TestEm15_s4 PHYSICS
All discrete processes are inactivated (see provided macros),
so that Multiple Scattering is 'forced' to determine the first step of
the primary particle. The step size and the final state are computed
and plotted. Then the event is immediately killed.
The result is compared with the 'input' data, i.e. with the cross
sections stored in the PhysicsTables and used by Geant4.
The stepMax command provides an additionnal control of the step size of
the multiple scattering.
\section TestEm15_s5 HISTOGRAMS
The test contains 9 built-in 1D histograms, which 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, etc..)
(see the macros xxxx.mac).
- 1 : Multiple Scattering. True step length
- 2 : Multiple Scattering. Geom step length
- 3 : Multiple Scattering. Ratio geomSl/trueSl
- 4 : Multiple Scattering. Lateral displacement: radius
- 5 : Multiple Scattering. Lateral displac: psi_space
- 6 : Multiple Scattering. Angular distrib: theta_plane
- 7 : Multiple Scattering. Phi-position angle
- 8 : Multiple Scattering. Phi-direction angle
- 9 : Multiple Scattering. Correlation: cos(phiPos-phiDir)
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 testem15)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem15)
\section TestEm15_s6 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm15.cc).
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 TestEm15_s7- HOW TO START ?
- Execute TestEm15 in 'batch' mode from macro files :
\verbatim
% TestEm15 compt.mac
\endverbatim
- Execute TestEm15 in 'interactive mode' with visualization :
\verbatim
% TestEm15
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
\endverbatim
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm15)
#----------------------------------------------------------------------------
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem15-V10-07-03)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem15-V10-07-02)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
11-05-21 mma (testem15-V10-07-01)
- Migration to G4SteppingVerboseWithUnits.
@@ -1,128 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm15
--------
How to compute and plot the final state of Multiple Scattering
or Gamma Conversion considered as an isolated processes.
The method is exposed below : see item Physics.
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 (100 m of water) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
2- PHYSICS LIST
The physics list contains the standard electromagnetic processes.
In order not to introduce 'artificial' constraints on the step size,
there is no limitation from the maximum energy lost per step.
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 (1 MeV electron), and can be changed via the G4
build-in commands of ParticleGun class (see the macros provided with
this example).
4- PHYSICS
All discrete processes are inactivated (see provided macros),
so that Multiple Scattering or Gamma Conversion is 'forced' to
determine the first step of the primary particle.
The step size and the final state are computed and plotted.
Then the event is immediately killed.
The result is compared with the 'input' data, i.e. with the cross
sections stored in the PhysicsTables and used by Geant4.
The stepMax command provides an additional control of the step size of
the multiple scattering.
5- HISTOGRAMS
The test contains 16 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 Multiple Scattering. True step length
2 Multiple Scattering. Geom step length
3 Multiple Scattering. Ratio geomSl/trueSl
4 Multiple Scattering. Lateral displacement: radius
5 Multiple Scattering. Lateral displac: psi_space
6 Multiple Scattering. Angular distrib: theta_plane
7 Multiple Scattering. Phi-position angle
8 Multiple Scattering. Phi-direction angle
9 Multiple Scattering. Correlation: cos(phiPos-phiDir)
10 Gamma Conversion. Open Angle * Egamma
11 Gamma Conversion. Log10(P recoil)
12 Gamma Conversion. Phi P recoil angle
13 Gamma Conversion. Phi P plus angle
14 Gamma Conversion. 2 * cos(phiplus + phiminus) Asymmetry
15 Gamma Conversion. E plus / E gamma
16 Gamma Conversion. Phi of Gamma Polarization
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 testem15)
It is possible to choose the format of the histogram file : root (default),
hbook, 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 testem15)
6- VISUALIZATION
The Visualization Manager is set in the main().
The initialization of the drawing is done via the commands
/vis/... in the macro vis.mac. To get visualization:
> /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 TestEm15 in 'batch' mode from macro files :
% TestEm15 compt.mac
execute TestEm15 in 'interactive mode' with visualization :
% TestEm15
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
8 - MACROS
The examples of macros for Multiple Scattering:
electron.mac muon.mac proton.mac
The example of Gamma Conversion macro :
gamma.mac - gamma to e+ e-
gamma2mumu.mac gamma to mu+ mu-
@@ -1,48 +0,0 @@
TestEm15 : gamma.mac
-- tests of the 5D gamma -> e+e- conversion model G4BetheHeitler5DModel
All discrete processes are inactivated (see macro),
so Gamma Conversion is 'forced'.
Histograms :
10 # Open Angle (rad)* E gamma (MeV)
The most probable value of the pair opening angle multiplied by the
photon energy is 1.6 rad*MeV.
Olsen, Phys. Rev. 131 (1963) 406. See also Fig. 7 of arXiv:1802.08253
11 # Log10 ( recoil momentum)
The distribution of the recoil momentum is described by
Jost, Phys. Rev. 80 (1950) 189 (no form factor).
See also Fig. 2 of Astroparticle Physics 88 (2017) 60.
12 # Phi recoil
13 # Phi positron
14 # Asymmetry 2 * cos(phi_+ + phi_-)
For a photon propagating along x, polarized along y, the average value of
2 * cos(phi_+ + phi_-),
provides a measurement of the polarization asymmetry, A.
Eq. (12) of Nucl. Instrum. Meth. A 729 (2013) 765
The azimuthal angle of the event defined as the bisector angle
of the azimuthal angles of the positron and of the electron,
(phi_+ + phi_-)/2,
provides the optimal measurement of the asymmetry
Astroparticle Physics 88 (2017) 30.
For high-energy photons (E >> 20 MeV), the asymptotic expression for A
can be used for comparison.
Boldyshev, Yad. Fiz. 14 (1971) 1027, Sov.J.Nucl.Phys. 14 (1972) 576.
See also eq. (13) of arXiv:1802.08253
Example : A ~ 0.17 at 100 GeV.
15 # E plus / E gamma
x_+ = E plus / E gamma has a more-or-less flat spectrum that extends
almost from 0. to 1.
See Fig. 16 page 261 of "The Quantum Theory of Radiation", W. Heitler,
3rd edition, 1954.
16 # Phi of Gamma Polarization
The phi of polarization vector after transformation into reference system
defined by gamma direction (z) , gamma polarization (x).
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -230,224 +230,291 @@ physicsList->setCut() start.
#
/gun/energy 5 MeV
/run/beamOn 10000
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
Max kinetic energy for tables 100 TeV
Number of bins per decade of a table 7
Verbose level 1
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (1, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 0
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
PhotoElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila
PhotoElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 100 TeV
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e- XStype:1 SubType=2
eIoni: for e- XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(1, 1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(1, 1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e- XStype:4 SubType=3
eBrem: for e- XStype:0 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e+ XStype:1 SubType=2
eIoni: for e+ XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(1, 1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(1, 1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e+ XStype:4 SubType=3
eBrem: for e+ XStype:0 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
annihil: for e+ SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
eplus2gg : Emin= 0 eV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
hIoni: for proton XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
ionIoni: for GenericIon XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.02
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax= 2 MeV
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for alpha XStype:1 SubType=2
hIoni: for alpha XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=7.9452 MeV
Bragg : Emin= 0 eV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
hIoni: for anti_proton XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
hIoni: for kaon+ XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV
Bragg : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
hIoni: for kaon- XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
muIoni: for mu+ XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu+ XStype:1 SubType=3
muBrems: for mu+ XStype:0 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
muPairProd: for mu+ XStype:0 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
muIoni: for mu- XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu- XStype:1 SubType=3
muBrems: for mu- XStype:0 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
muPairProd: for mu- XStype:0 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
hIoni: for pi+ XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV
Bragg : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
hIoni: for pi- XStype:0 SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 0, linLossLim= 0.01
StepFunction=(0.2, 0.1 mm), integ: 0, fluct: 0, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV
ICRU73QO : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume
@@ -468,14 +535,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Galactic
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV
Energy thresholds : gamma 1 keV e- 1 keV e+ 1 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -496,14 +563,14 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=0.030000s Real=0.034615s Sys=0.000000s
User=0.030000s Real=0.032601s Sys=0.000000s
The run consists of 10000 e- of 5 MeV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> msc = 10000
truePathLength : 2.7529 cm +- 14.253 nm
geomPathLength : 2.0688 cm +- 12.537 nm
truePathLength : 2.7531 cm +- 10.641 nm
geomPathLength : 2.0688 cm +- 14.52 nm
lateralDisplac : 0 fm +- 0 fm
Psi : 0 mrad +- 0 mrad (0 deg +- 0 deg)
@@ -512,11 +579,11 @@ Run Summary
Verification from G4EmCalculator.
transport mean free path : 8.3246 cm
range from restrict dE/dx: 2.7529 cm
transport mean free path : 8.3239 cm
range from restrict dE/dx: 2.7531 cm
---> effective facRange : 1
compute theta0 from Highland : 620.23 mrad (35.536 deg)
compute theta0 from Highland : 620.25 mrad (35.538 deg)
------- MixMaxRng engine status -------
Current state vector is:
@@ -545,14 +612,14 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Galactic
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 keV
Energy thresholds : gamma 1 keV e- 1 keV e+ 1 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -568,7 +635,7 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=0.050000s Real=0.048781s Sys=0.000000s
User=0.050000s Real=0.047935s Sys=0.000000s
The run consists of 10000 e- of 100 keV through 100 m of Water (density: 1 g/cm3 )
@@ -32,9 +32,7 @@
#define HistoManager_h 1
#include "globals.hh"
#include "g4root.hh"
//#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -43,7 +43,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -54,6 +53,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetActivation(true); //enable inactivation of histograms
@@ -1,143 +0,0 @@
///\file "electromagnetic/TestEm16/.README.txt"
///\brief Example TestEm16 README page
/*! \page ExampleTestEm16 Example TestEm16
Simulate synchrotron radiation
\section TestEm16_s1 GEOMETRY DEFINITION
The geometry consists of a single block of a homogenous material.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default is 500 m of vacuum.
A transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be changed interactively via
the commands defined in the DetectorMessenger class.
\section TestEm16_s2 PHYSICS LIST
The particle list is the one of novice/exampleN03 and
<a href="../../html_TestEm6/html/ExampleTestEm6.html"> TestEm6 </a>
with in addition synchrotron radiation.
To make the synchrotron radiation easily visible, a very low
pressure "vaccuum" and a magnetic field of by default 1 Tesla
in z-direction is used.
\section TestEm16_s3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the
block perpendicular to the input face. The type of the particle
and its energy are set in the PrimaryGeneratorAction class, and can
changed via the G4 build-in commands of G4ParticleGun class (see
the macros provided with this example).
The default is an positron of 10 GeV.
In addition one can choose randomly the impact point of the incident
particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
A RUN is a set of events.
\section TestEm16_s4 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm16.cc).
The initialisation of the drawing is done via the command
\verbatim
> /control/execute vis.mac
> /run/beamOn 1
\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.
Optionaly one can choose to draw all particles, only the charged one,
or none. This command is defined in EventActionMessenger class.
\section TestEm16_s5 PHYSICS DEMO
The particle's type and the physic processes which will be available
in this example are set in PhysicsList class.
In addition a build-in interactive command (/process/inactivate proname)
allows to activate/inactivate the processes one by one.
The threshold for producing secondaries can be changed.
eg:
\verbatim
/run/particle/setCut 100 micrometer
/run/initialize
\endverbatim
To visualize the Synchrotron radiation :
\verbatim
/control/execute vis.mac
\endverbatim
\section TestEm16_s6- HOW TO START ?
- Execute Test in 'batch' mode from macro files
\verbatim
% TestEm16 run01.mac
\endverbatim
- Execute Test in 'interactive mode' with visualization
\verbatim
% TestEm16
....
Idle> type your commands
....
Idle> exit
\endverbatim
\section TestEm16_s7 TRACKING : stepMax and setMaxStepLength
In order to control the accuracy of the deposition, the user can limit
'by hand' the maximum step size stepMax of charged particles.
The maximum tracking step length for computing of magnetic field lines
is by default set to 1 km.
Synchrotron radiation in very weak magnetic fields of the order of 1 Gauss
may require longer pathlength.
This can be achieved with using setMaxStepLength like
\verbatim
/testem/tracking/setMaxStepLength 100 km
\endverbatim
\section TestEm16_s8 HISTOGRAMS
TestEm16 produces 3 histograms which illustrate synchrotron radiation.
The photon energy spectrum (photons / energy bin) and the power spectrum
(photon spectrum weighted with the photon energy) and a histogram
of the path length between photon radiation is produced.
The histograms are managed by G4AnalysisManager and its messenger,
HistoMessenger.
The histos can be activated individually 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, cm or mm, etc..)
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem16)
\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 testem16)
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm16)
#----------------------------------------------------------------------------
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem16-V10-07-02)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem16-V10-07-01)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
11-05-21 mma (testem16-V10-07-00)
- Migration to G4RunManagerFactory and G4SteppingVerboseWithUnits.
@@ -1,124 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm16
--------
Simulate synchrotron radiation
1- GEOMETRY DEFINITION
The geometry consists of a single block of a homogenous material.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default is 500 m of vacuum.
A transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be changed interactively via
the commands defined in the DetectorMessenger class.
2- PHYSICS LIST
The particle list include EM processes for gamma, e+, e-, mu+, mu-,
and protons, for the rest of particles only transportation.
Synchrotron radiation is added to all charged particles.
To make the synchrotron radiation easily visible, a very low
pressure "vaccuum" and a magnetic field of by default 1 Tesla
in z-direction is used.
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the
block perpendicular to the input face. The type of the particle
and its energy are set in the PrimaryGeneratorAction class, and can
changed via the G4 build-in commands of ParticleGun class (see
the macros provided with this example).
The default is an positron of 10 GeV.
In addition one can choose randomly the impact point of the incident
particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
A RUN is a set of events.
4- VISUALIZATION
The Visualization Manager is set in the main().
The initialisation of the drawing is done via the command
> /control/execute vis.mac
> /run/beamOn 1
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.
Optionaly one can choose to draw all particles, only the charged one,
or none. This command is defined in EventActionMessenger class.
5- PHYSICS DEMO
The particle's type and the physic processes which will be available
in this example are set in PhysicsList class.
In addition a build-in interactive command (/process/inactivate proname)
allows to activate/inactivate the processes one by one.
The threshold for producing secondaries can be changed.
eg: /run/setCut 100 micrometer
/run/initialize
To visualize the Synchrotron radiation :
/control/execute vis.mac
6- HOW TO START ?
- execute Test in 'batch' mode from macro files
% TestEm16 run01.mac
- execute Test in 'interactive mode' with visualization
% TestEm16
....
Idle> type your commands
....
Idle> exit
7 - TRACKING : stepMax and setMaxStepLength
In order to control the accuracy of the deposition, the user can limit
'by hand' the maximum step size stepMax of charged particles.
The maximum tracking step length for computing of magnetic field lines
is by default set to 1 km.
Synchrotron radiation in very weak magnetic fields of the order of 1 Gauss
may require longer pathlength.
This can be achieved with using setMaxStepLength like
/testem/tracking/setMaxStepLength 100 km
8- HISTOGRAMS
TestEm16 produces 3 histograms which illustrate synchrotron radiation.
The photon energy spectrum (photons / energy bin) and the power spectrum
(photon spectrum weighted with the photon energy) and a histogram
of the path length between photon radiation is produced.
The histograms are managed by G4AnalysisManager and its Messenger.
The histos can be activated individually with the command :
/analysis/h1/set id nbBins valMin valMax unit
where 'unit' is the desired unit for the histo (MeV or KeV, cm or mm, etc..)
One can control the name of the histograms file with the command:
/analysis/setFileName name (default testem16)
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 testem16)
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -100,32 +100,99 @@ Command is ignored.
# E_rms = 37.18 keV
#
/run/beamOn 100
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
Max kinetic energy for tables 100 TeV
Number of bins per decade of a table 7
Verbose level 1
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (0.2, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 1
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
PhotoElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila
PhotoElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 100 TeV
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e- XStype:1 SubType=2
@@ -133,21 +200,21 @@ eIoni: for e- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
SynRad: Incoherent Synchrotron Radiation
Good description for long magnets at all energies.
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
eIoni: for e+ XStype:1 SubType=2
@@ -155,23 +222,23 @@ eIoni: for e+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
eplus2gg : Emin= 0 eV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
@@ -179,25 +246,25 @@ hIoni: for proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
@@ -205,26 +272,26 @@ muIoni: for mu+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
@@ -232,29 +299,16 @@ muIoni: for mu- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : Vacuum
Range cuts : gamma 1 km e- 1 km e+ 1 km proton 1 km
Energy thresholds : gamma 990 eV e- 990 eV e+ 990 eV proton 100 GeV
Energy thresholds : gamma 1 keV e- 1 keV e+ 1 keV proton 100 GeV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -276,7 +330,7 @@ G4SynchrotronRadiation::GetRandomEnergySR :
Run terminated.
Run Summary
Number of events processed : 100
User=0.160000s Real=0.161014s Sys=0.000000s
User=0.160000s Real=0.162565s Sys=0.000000s
Summary for synchrotron radiation :
Number of photons = 65086
Emean = 20.39 +/- 0.1444 keV
@@ -32,9 +32,7 @@
#define HistoManager_h 1
#include "globals.hh"
#include "g4root.hh"
//#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -43,7 +43,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -54,6 +53,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetActivation(true); //enable inactivation of histograms
@@ -1,118 +0,0 @@
///\file "electromagnetic/TestEm17/.README.txt"
///\brief Example TestEm17 README page
/*! \page ExampleTestEm17 Example TestEm17
This example is intended to check implementation of the processes
of muon interactions: ionization, direct (e+,e-) production,
bremsstrahlung, mu-nuclear interaction.
It allows to compute differential cross sections (as function of the
energy transfered to secondaries), total cross sections and to compare
with analytic calculations.
\section TestEm17_s1 GEOMETRY DEFINITION
It is a single box of homogeneous medium.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default geometry (1 m of Iron) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
\section TestEm17_s2 PHYSICS LIST
The Physics List of the example uses the main local physics constructor
(builder) which called "standard". In this builder a limited set
of physics processes are defined for muons, pions and proton:
ionisation, bremsstrahlung and e+e- pair production. Energy range
for these processes is from 100*eV to 1000*PeV.
Optionally "muNucl" builder, MuNuclearBuilder, may be added activating muon-nuclear
inelastic interaction.
\section TestEm17_s3 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 (mu+ 10 TeV), and can be changed via the G4
build-in commands of ParticleGun class (see the macros provided with
this example).
\section TestEm17_s4 PHYSICS
The incident particle is a muon. During the tracking, secondary
particles are killed.
The number of interactions are plotted as a function of the energy
transfered to the secondaries.
The total number of interactions is recorded, and the total cross section
computed from this.
At RunAction::EndOfRunAction(), the above results are compared with analytic calculations.
The functions which compute the theoretical cross sections have been
provided by the G4 MEPhI group, and grouped in MuCrossSections class.
\section TestEm17_s5 HISTOGRAMS
The test contains 4 built-in 1D histograms, which are managed by the
HistoManager class and its Messenger, HistoMessenger.
- 1 Monte-Carlo relative transferred energy distribution histo
(log10(eps/Emu kin) for knock-on electrons (ionization)
- 2 ... direct (e+,e-) pair production
- 3 ... bremsstrahlung
- 4 ... nuclear interaction
The histos can be activated individually with the command :
\verbatim
/testem/histo/setHisto id nbBins valMin valMax
\endverbatim
min and max values of log10(eps/Emu kin).
At RunAction::EndOfRunAction() the corresponding histos for analytic calculations are
automatically created and filled (histo 11 to 14).
One can control the name and the type of the histograms file with
the command:
\verbatim
/testem/histo/setFileName name (default testem17)
\endverbatim
It is possible to choose the format of the histogram file :
root (default), xml, csv, by using namespace in HistoManager.hh
\section TestEm17_s6- VISUALIZATION
The Visualization Manager is set in the main () (see TestEm17.cc).
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 TestEm17_s7- HOW TO START ?
- Execute TestEm17 in 'batch' mode from macro files :
\verbatim
% TestEm17 allproc.mac
\endverbatim
- Execute TestEm17 in 'interactive mode' with visualization :
\verbatim
% TestEm17
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
\endverbatim
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm17)
#----------------------------------------------------------------------------
@@ -14,6 +14,19 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
07-11-21 I. Hrivnacova (testem17-V10-07-03)
- Added analysis manager Clear() call instead of
deleting in the end of run (removed on July 19)
06-10-21 I. Hrivnacova (testem17-V10-07-02)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem17-V10-07-01)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
11-05-21 mma (testem17-V10-07-00)
- Migration to G4SteppingVerboseWithUnits.
@@ -1,112 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm17
--------
This example is intended to check implementation of the processes
of muon interactions: ionization, direct (e+,e-) production,
bremsstrahlung, mu-nuclear interaction.
It allows to compute differential cross sections (as function of the
energy transfered to secondaries), total cross sections and to compare
with analytic calculations.
1- GEOMETRY DEFINITION
It is a single box of homogeneous medium.
Two parameters define the geometry :
- the material of the box,
- the (full) size of the box.
The default geometry (1 m of Iron) is constructed in
DetectorConstruction, but the above parameters can be changed
interactively via the commands defined in DetectorMessenger.
2- PHYSICS LIST
The Physics List of the example uses the main physics constructor
(builder) called "emstandard_opt0". As an alternative "local"
constructor is provided in which only a limited set
of physics processes are defined for muons, pions and proton:
ionisation, bremsstrahlung and e+e- pair production.
Default energy range for EM processes in this example
is from 100*eV to 1000*PeV.
Optionally "muNucl" builder may be added activating muon-nuclear
inelastic interaction.
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 (mu+ 10 TeV), and can be changed via the G4
build-in commands of ParticleGun class (see the macros provided with
this example).
4- PHYSICS
The incident particle is a muon. During the tracking, secondary
particles are killed.
The number of interactions are plotted as a function of the energy
transfered to the secondaries.
The total number of interactions is recorded, and the total cross
section computed from this.
At EndOfRun, the above results are compared with analytic calculations.
The functions which compute the theoretical cross sections have been
provided by the G4 MEPhI group, and grouped in MuCrossSections class.
5- HISTOGRAMS
The test contains built-in 1D histograms for muons filled during
Monte Carlo simulation, which are managed by the HistoManager class
and its Messenger:
1 Relative muon transferred energy distribution
(log10(eps/Emu kin) for knock-on electrons (ionization)
2 -"- direct (e+,e-) pair production by muons
3 -"- bremsstrahlung by muons
4 -"- nuclear interaction by muons
5 ionistion for hadrons
6 (e+,e-) pair production by hadrons
7 bremsstrahlung by hadrons
The histos can be activated individually with the command :
/testem/histo/setHisto id nbBins valMin valMax :
min and max values of log10(eps/Emu kin).
At EndOfRun the corresponding histos for analytic calculations are
automatically created and filled (histo 11 to 14).
One can control the name and the type of the histograms file with
the command:
/testem/histo/setFileName name (default testem17)
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 TestEm17 in 'batch' mode from macro files :
% TestEm17 allproc.mac
execute TestEm17 in 'interactive mode' with visualization :
% TestEm17
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -144,32 +144,99 @@ physicsList->setCut() start.
/run/printProgress 1000
#
/run/beamOn 10000
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
Max kinetic energy for tables 1000 PeV
Number of bins per decade of a table 7
Verbose level 1
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (0.2, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 1
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 1000 PeV in 89 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 meV Emax= 1000 PeV SauterGavrila Fluo
LivermorePhElectric : Emin= 0 eV Emax= 1000 PeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 1000 PeV in 84 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 1000 PeV
Klein-Nishina : Emin= 0 eV Emax= 1000 PeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 1000 PeV, 14 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 1000 PeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 1000 PeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 1000 PeV in 91 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -179,25 +246,25 @@ eIoni: for e- XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 1000 PeV
MollerBhabha : Emin= 0 eV Emax= 1000 PeV
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 1000 PeV ModifiedTsai
CoulombScat: for e- XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -207,29 +274,29 @@ eIoni: for e+ XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 1000 PeV
MollerBhabha : Emin= 0 eV Emax= 1000 PeV
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 1000 PeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
eplus2gg : Emin= 0 eV Emax= 100 TeV
CoulombScat: for e+ XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
@@ -237,31 +304,31 @@ hIoni: for proton XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 1000 PeV
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 33x1001 from 7.50618 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
@@ -270,12 +337,12 @@ ionIoni: for GenericIon XStype:1 SubType=2
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax= 2 MeV
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 1000 PeV
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
@@ -283,12 +350,12 @@ ionIoni: for alpha XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax=7.9452 MeV
BraggIon : Emin= 0 eV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 1000 PeV
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
@@ -296,31 +363,31 @@ hIoni: for anti_proton XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 1000 PeV
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
hPairProd: for anti_proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 33x1001 from 7.50618 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for anti_proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
@@ -328,31 +395,31 @@ hIoni: for kaon+ XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV
Bragg : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 1000 PeV
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
hPairProd: for kaon+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 34x1001 from 3.94942 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for kaon+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
@@ -360,31 +427,31 @@ hIoni: for kaon- XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 1000 PeV
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
hPairProd: for kaon- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 34x1001 from 3.94942 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for kaon- XStype:3 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
@@ -392,32 +459,32 @@ muIoni: for mu+ XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 1000 PeV
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 37x1001 from 1 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for mu+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
@@ -425,32 +492,32 @@ muIoni: for mu- XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 1000 PeV
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 37x1001 from 1 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for mu- XStype:3 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
@@ -458,31 +525,31 @@ hIoni: for pi+ XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV
Bragg : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 1000 PeV
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
hPairProd: for pi+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 36x1001 from 1.11656 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for pi+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda table from threshold to 1000 PeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
@@ -490,27 +557,27 @@ hIoni: for pi- XStype:1 SubType=2
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV
ICRU73QO : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 1000 PeV
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
hPairProd: for pi- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 1000 PeV in 112 bins
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 1000 PeV, 7 bins/decade, spline: 0
Sampling table 36x1001 from 1.11656 GeV to 1e+06 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 1000 PeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 1000 PeV ModifiedMephi
CoulombScat: for pi- XStype:3 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
Region <DefaultRegionForTheWorld> -- -- appears in <Iron> world volume
This region is in the mass world.
@@ -530,7 +597,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Iron
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV
Energy thresholds : gamma 20.7499 keV e- 1.28828 MeV e+ 1.21724 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -562,14 +629,14 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 10000
User=1.250000s Real=1.304037s Sys=0.000000s
User=1.340000s Real=1.371603s Sys=0.000000s
The run consists of 10000 mu+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> CoulombScat : 5605 muIoni : 463516 muPairProd : 63848 muBrems : 652
Number of process calls ---> CoulombScat : 5817 muIoni : 466662 muPairProd : 63738 muBrems : 679
Simulation: total CrossSection = 0.53362 /cm MeanFreePath = 1.874 cm massicCrossSection = 0.067804 cm2/g
Theory: total CrossSection = 0.52677 /cm MeanFreePath = 1.8984 cm massicCrossSection = 0.066934 cm2/g
Simulation: total CrossSection = 0.5369 /cm MeanFreePath = 1.8626 cm massicCrossSection = 0.068221 cm2/g
Theory: total CrossSection = 0.52947 /cm MeanFreePath = 1.8887 cm massicCrossSection = 0.067277 cm2/g
#
/gun/particle pi+
/run/beamOn 10000
@@ -592,7 +659,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Iron
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV
Energy thresholds : gamma 20.7499 keV e- 1.28828 MeV e+ 1.21724 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -604,7 +671,7 @@ Index : 0 used in the geometry : Yes
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={2137148051328017863, 1306592737363773246, 2248344025554575640, 614811550767327511, 167067813530840680, 932066575894560784, 1163922638737620863, 2247180461233602618, 1806372044515299724, 2233633600495131281, 674521006833485956, 2088503965876132481, 539073150544031657, 1157517650962223855, 75701368395734007, 1832189988479540997, 1062560039391624031} counter= 8sumtot= 1534619586980277635
N=17 V[N]={1598010390838924911, 172597997736781017, 386477711235779885, 1284536982436762262, 990673172980676356, 231286784210782504, 5472931185737299, 2003976382851868857, 652266868830649472, 2080657514090258439, 1222040013034173308, 1761953819816300378, 2262522810952436924, 2236711936340635379, 1120421396472526233, 1580292933338951628, 2133888456181900084} counter= 6sumtot= 971201019611899377
---------------------------------------
--> Event 0 starts.
--> Event 1000 starts.
@@ -619,13 +686,13 @@ N=17 V[N]={2137148051328017863, 1306592737363773246, 2248344025554575640, 614811
Run terminated.
Run Summary
Number of events processed : 10000
User=1.130000s Real=1.155753s Sys=0.000000s
User=1.210000s Real=1.215669s Sys=0.010000s
The run consists of 10000 pi+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> hIoni : 434617 hPairProd : 59309 CoulombScat : 5681 hBrems : 375
Number of process calls ---> hIoni : 437128 hPairProd : 59261 CoulombScat : 5495 hBrems : 359
Simulation: total CrossSection = 0.49998 /cm MeanFreePath = 2.0001 cm massicCrossSection = 0.06353 cm2/g
Simulation: total CrossSection = 0.50224 /cm MeanFreePath = 1.9911 cm massicCrossSection = 0.063817 cm2/g
#
/gun/particle proton
/run/beamOn 10000
@@ -648,7 +715,7 @@ Region <DefaultRegionForParallelWorld> -- -- is not associated to any world.
Index : 0 used in the geometry : Yes
Material : Iron
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 20.6438 keV e- 1.29592 MeV e+ 1.21169 MeV proton 100 keV
Energy thresholds : gamma 20.7499 keV e- 1.28828 MeV e+ 1.21724 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -660,7 +727,7 @@ Index : 0 used in the geometry : Yes
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={258274478493436593, 1260568209023888627, 2278351532077370112, 1708302836002206626, 666871633542483904, 386204232715117362, 926225966041690599, 213672474273074535, 550182794123989207, 196721445335155426, 181478418519015952, 1194324481748079636, 2187892996334852918, 1000026112388491225, 1305526376563601359, 2199652335130653675, 1485008803309123906} counter= 16sumtot= 1858384061126374005
N=17 V[N]={2058552003268553355, 1514200655791511296, 301812466116409819, 1269999323883602591, 1489009438370666343, 884813405892113843, 203656083150014476, 489384045424733960, 319405920364031605, 248923159767178278, 1449442086696991620, 693465522451322794, 114079628761891609, 115127949726627120, 2103729930526302458, 3464794468615430, 1260048199776360254} counter= 6sumtot= 684056559154763145
---------------------------------------
--> Event 0 starts.
--> Event 1000 starts.
@@ -675,13 +742,13 @@ N=17 V[N]={258274478493436593, 1260568209023888627, 2278351532077370112, 1708302
Run terminated.
Run Summary
Number of events processed : 10000
User=1.080000s Real=1.093630s Sys=0.000000s
User=1.120000s Real=1.192762s Sys=0.000000s
The run consists of 10000 proton of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> hIoni : 434049 hPairProd : 34229 CoulombScat : 5475 hBrems : 11
Number of process calls ---> hIoni : 436625 hPairProd : 34132 CoulombScat : 5641 hBrems : 5
Simulation: total CrossSection = 0.47376 /cm MeanFreePath = 2.1108 cm massicCrossSection = 0.060199 cm2/g
Simulation: total CrossSection = 0.4764 /cm MeanFreePath = 2.0991 cm massicCrossSection = 0.060534 cm2/g
#
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -704,12 +771,12 @@ Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
Pool ID '7G4Event', size : 0.000961 MB
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.0154 MB
Pool ID '7G4Track', size : 0.0308 MB
Pool ID '17G4DynamicParticle', size : 0.0163 MB
Pool ID '7G4Track', size : 0.0317 MB
Pool ID '18G4TouchableHistory', size : 0.000961 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.059 MB
Dynamic pools deleted: 9 / Total memory freed: 0.061 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -35,7 +35,8 @@
#define HistoManager_h 1
#include "globals.hh"
#include "g4root.hh"
#include "G4AnalysisManager.hh"
#include "g4hntools_defs.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -77,6 +77,7 @@ void HistoManager::Book()
// The choice of analysis technology is done via selection of a namespace
// in HistoManager.hh
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
analysisManager->SetDefaultFileType("root");
analysisManager->SetVerboseLevel(0);
G4String extension = analysisManager->GetFileType();
fileName[1] = fileName[0] + "." + extension;
@@ -119,7 +120,7 @@ void HistoManager::Save()
SaveAscii(); // Write fAscii file, if any
G4cout << "\n----> Histograms are saved in " << fileName[1] << G4endl;
// delete G4AnalysisManager::Instance();
analysisManager->Clear();
factoryOn = false;
}
}
@@ -1,135 +0,0 @@
///\file "electromagnetic/TestEm18/.README.txt"
///\brief Example TestEm18 README page
/*! \page ExampleTestEm18 Example TestEm18
This example allows to study the various contributions of the energy lost
by a charged particle in a single layer of an homogeneous material.
See any textbook of interactions of charged particles with matter, in particular :
1- geant4.web.cern.ch --> UserSupport --> Physics Reference Manual
2- lappweb.in2p3.fr/~maire/tutorials/index.html
\section TestEm18_s1 GEOMETRY DEFINITION
It is a simple cubic box of homogeneous material.
Two parameters define the geometry :
- the material of the box,
- the thickness of the box.
The default geometry (1 cm of water) is constructed in DetectorConstruction,
but the above parameters can be changed interactively via the commands
defined in DetectorMessenger.
\section TestEm18_s2 PHYSICS
The physics list, PhysicsList, contains the 'standard' electromagnetic processes.
However the MultipleScattering is not registered, in order to focuse on
fluctuations of to energy loss alone.
\section TestEm18_s3 BEAM
The primary kinematic is a single particle starting at the edge
of the box. The type of the particle and its energy are set in
PrimaryGeneratorAction (e- 10 MeV), and can be changed via the G4
build-in commands of G4ParticleGun class.
\section TestEm18_s4 RUN
During the tracking of the incident particle, by default, the secondary
particles are immediately killed, after that their energy has been registered
(see SteppingAction and StackingAction).
Therefore, we study here the various components of the total energy lost
by the incident particle, not the energy deposited in a layer of finite
thickness.
With the option /testEm/trackSecondaries one can compute and plot the energy
deposited in the layer. See edep.mac
At EndOfRun, the above results are compared with 'reference' values,
i.e. the input data read from EnergyLoss and Range tables.
See reference 2 : Energy-Range relation, slide 4.
\section TestEm18_s5 HISTOGRAMS
The test contains 13 built-in 1D histograms, which are managed by
G4AnalysisManager and its messenger.
1 step size of primary track
2 energy locally deposited along primary track
3 energy transfered to secondaries by ionisation
4 energy transfered to secondaries by Bremsstrahlung
5 energy transfered to secondaries by (e+,e-) production
6 total energy transfered to secondaries
7 total energy lost by primary track
8 total energy lost by primary track from energy balance
9 energy continuously deposited along secondary tracks
10 total energy deposited
11 energy spectrum of gamma
12 energy spectrum of e-
13 energy spectrum of e+
The histograms are defined in HistoManager.
The histos can be activated individually 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, cm or mm, etc..)
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem18)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
xml, csv, by using namespace in HistoManager.hh
For convenience, few simple Root macros are provided : plotHisto.C pixe.C
It is also possible to print selected histograms on an ascii file:
\verbatim
/analysis/h1/sweAscii id
\endverbatim
All selected histos will be written on a file name.ascii (default testem18)
\section TestEm18_s6 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm18.cc).
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 TestEm18_s7 HOW TO START ?
- Execute TestEm18 in 'batch' mode from macro files :
\verbatim
% TestEm18 electron.mac
\endverbatim
- Execute TestEm18 in 'interactive mode' with visualization :
\verbatim
% TestEm18
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- csda.mac: test independance of user step max
- edep.mac: track secondary particles and plot energy deposited
- electron.mac: e- (10 MeV) on 1 cm of water
- ion.mac: ion C12 (4 GeV) on 1 cm of water
- muon.mac: mu+ (1 TeV) on 1 m of water
- pixe.mac: proton (20 MeV) on 50 um of gold. Plot gamma pixe
- proton.mac: proton (1 GeV) on 10 cm of water
- plotHisto.C, pixe.C: Root macros
Macros to be run interactively:
- vis.mac: To activate visualization
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm18)
#----------------------------------------------------------------------------
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem18-V10-07-02)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem18-V10-07-01)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
11-05-21 mma (testem18-V10-07-00)
- Migration to G4SteppingVerboseWithUnits.
@@ -1,123 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm18
--------
This example allows to study the various contributions of the energy lost
by a charged particle in a single layer of an homogeneous material.
See any textbook of interactions of charged particles with matter, in particular :
1- geant4.web.cern.ch --> UserSupport --> Physics Reference Manual
2- lappweb.in2p3.fr/~maire/tutorials/index.html
1- GEOMETRY DEFINITION
It is a simple cubic box of homogeneous material.
Two parameters define the geometry :
- the material of the box,
- the thickness of the box.
The default geometry (1 cm of water) is constructed in DetectorConstruction,
but the above parameters can be changed interactively via the commands
defined in DetectorMessenger.
2- PHYSICS
The physics list contains the 'standard' electromagnetic processes.
However the MultipleScattering is not registered, in order to focuse on
fluctuations of to energy loss alone.
3- BEAM
The primary kinematic is a single particle starting at the edge
of the box. The type of the particle and its energy are set in
PrimaryGeneratorAction (e- 10 MeV), and can be changed via the G4
build-in commands of ParticleGun class.
4- RUN
During the tracking of the incident particle, by default, the secondary
particles are immediately killed, after that their energy has been registered
(see SteppingAction and StackingAction).
Therefore, we study here the various components of the total energy lost
by the incident particle, not the energy deposited in a layer of finite
thickness.
With the option /testEm/trackSecondaries one can compute and plot the energy
deposited in the layer. See edep.mac
At EndOfRun, the above results are compared with 'reference' values,
i.e. the input data read from EnergyLoss and Range tables.
See reference 2 : Energy-Range relation, slide 4.
5- HISTOGRAMS
The test contains 13 built-in 1D histograms, which are managed by
G4AnalysisManager and its Messenger.
1 step size of primary track
2 energy continuously deposited along primary track
3 energy transfered to secondaries by ionisation
4 energy transfered to secondaries by Bremsstrahlung
5 energy transfered to secondaries by (e+,e-) production
6 total energy transfered to secondaries
7 total energy lost by primary track
8 total energy lost by primary track from energy balance
9 energy continuously deposited along secondary tracks
10 total energy deposited
11 energy spectrum of gamma
12 energy spectrum of e-
13 energy spectrum of e+
The histograms are defined in HistoManager.
The histos can be activated individually with the command :
/analysis/h1/set id nbBins valMin valMax unit
where 'unit' is the desired unit for the histo (MeV or KeV, cm or mm, etc..)
One can control the name of the histograms file with the command:
/analysis/setFileName name (default testem18)
It is possible to choose the format of the histogram file : root (default),
xml, csv, by using namespace in HistoManager.hh
For convenience, few simple Root macros are provided : plotHisto.C pixe.C
It is also possible to print selected histograms on an ascii file:
/analysis/h1/setAscii id
All selected histos will be written on a file name.ascii (default testem18)
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 TestEm18 in 'batch' mode from macro files :
% TestEm18 electron.mac
execute TestEm18 in 'interactive mode' with visualization :
% TestEm18
Idle> control/execute vis.mac
....
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- csda.mac: test independance of user step max
- edep.mac: track secondary particles and plot energy deposited
- electron.mac: e- (10 MeV) on 1 cm of water
- ion.mac: ion C12 (4 GeV) on 1 cm of water
- muon.mac: mu+ (1 TeV) on 1 m of water
- pixe.mac: proton (20 MeV) on 50 um of gold. Plot gamma pixe
- proton.mac: proton (1 GeV) on 10 cm of water
- plotHisto.C, pixe.C: Root macros
Macros to be run interactively:
- vis.mac: To activate visualization
@@ -10,7 +10,7 @@
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -59,7 +59,7 @@ Build CSDA range enabled 1
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 10 TeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -138,7 +138,7 @@ Build CSDA range enabled 1
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 10 TeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -194,7 +194,7 @@ Screening factor 1
Index : 0 used in the geometry : Yes
Material : Water
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 2.94056 keV e- 351.877 keV e+ 342.545 keV proton 100 keV
Energy thresholds : gamma 2.93516 keV e- 351.296 keV e+ 341.588 keV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -209,42 +209,42 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 100000
User=0.440000s Real=0.457865s Sys=0.000000s
User=0.440000s Real=0.454103s Sys=0.000000s
======================== run summary ======================
The run was 100000 e- of 100 MeV through 1 cm of Water (density: 1 g/cm3 )
Process defining step :
Edep alone= 53 Transportation= 99993 eBrem= 37481 eIoni= 23961
Edep alone= 42 Transportation= 99997 eBrem= 37456 eIoni= 23948
TrackLength = 1 cm nb of steps = 1.615 stepSize = 6.192 mm (27.09 nm --> 1 cm )
TrackLength = 1 cm nb of steps = 1.614 stepSize = 6.194 mm (86.42 nm --> 1.008 cm )
Energy continuously deposited along primary track (restricted dE/dx) dE1 = 1.744 MeV (754 keV --> 2.993 MeV)
Energy continuously deposited along primary track (restricted dE/dx) dE1 = 1.744 MeV (1.328 MeV --> 3.138 MeV)
Evaluation of dE1 from reading restricted Range table : dE1_table = 1.744 MeV ---> dE1/dE1_table = 1
Energy transfered to secondary particles :
due to eBrem: dE2 = 2.327 MeV (2.943 keV --> 99.25 MeV)
due to eIoni: dE2 = 442.6 keV (351.9 keV --> 49.39 MeV)
due to eBrem: dE2 = 2.325 MeV (2.938 keV --> 98.4 MeV)
due to eIoni: dE2 = 446.5 keV (351.3 keV --> 51.82 MeV)
Total energy transfered to secondaries : dE3 = sum of dE2 = 2.769 MeV (2.943 keV --> 99.25 MeV)
Total energy transfered to secondaries : dE3 = sum of dE2 = 2.771 MeV (2.938 keV --> 98.4 MeV)
Total energy lost by incident particle : dE4 = dE1 + dE3 = 4.513 MeV (1.33 MeV --> 100 MeV)
Total energy lost by incident particle : dE4 = dE1 + dE3 = 4.516 MeV (1.328 MeV --> 100 MeV)
calcul of dE4 from energy balance : dE4_bal = E_in - E_out = 4.513 MeV (1.33 MeV --> 100 MeV)
calcul of dE4 from energy balance : dE4_bal = E_in - E_out = 4.516 MeV (1.328 MeV --> 100 MeV)
Evaluation of dE4 from reading full Range table : dE4_table = 4.578 MeV ---> dE4/dE4_table = 0.9859
Evaluation of dE4 from reading full Range table : dE4_table = 4.578 MeV ---> dE4/dE4_table = 0.9864
Energy spectrum of secondary particles :
e-: 23961 Emean = 1.847 MeV (351.9 keV --> 49.39 MeV)
gamma: 37467 Emean = 6.21 MeV (2.943 keV --> 99.25 MeV)
e-: 23948 Emean = 1.864 MeV (351.3 keV --> 49.39 MeV)
gamma: 37440 Emean = 6.21 MeV (2.938 keV --> 98.4 MeV)
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1469352328, 720023459
Current couple of seeds = 663847090, 1426555084
----------------------------------------
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
@@ -32,9 +32,7 @@
#define HistoManager_h 1
#include "globals.hh"
#include "g4root.hh"
//#include "g4xml.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -43,7 +43,6 @@ HistoManager::HistoManager()
HistoManager::~HistoManager()
{
delete G4AnalysisManager::Instance();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -54,6 +53,7 @@ void HistoManager::Book()
// 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);
analysisManager->SetVerboseLevel(1);
analysisManager->SetActivation(true); //enable inactivation of histograms
@@ -1,171 +0,0 @@
///\file "electromagnetic/TestEm2/.README.txt"
///\brief Example TestEm2 README page
/*! \page ExampleTestEm2 Example TestEm2
How to do shower profiles in an homogenous medium, with virtual
voxelisation.
\section TestEm2_s1 GEOMETRY DEFINITION
The geometry consists of a cylinder of homogenous material.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be modified interactively via
the commands defined in the DetectorMessenger class.
Material can be choosen: Air Water lAr Al Fe BGO PbWO4 Pb.
eg:
\verbatim
/testem/det/setMat PbWO4
\endverbatim
The cylinder is virtually sliced longitudinally (slice) and radially
(ring). The size of the slices and rings are expressed in radiation
length units and can be changed.
eg:
\verbatim
/testem/det/setLbin 20 1. ---> 20 slices of 1. radl
/testem/det/setRbin 5 0.25 ---> 5 rings of 0.25 radl
/testem/det/update ---> rebuild the geometry
\endverbatim
(MaxBin = 500 in both directions)
An uniform magnetic field along the cylinder axis can be set.
eg:
\verbatim
/testem/det/setField 5 tesla
\endverbatim
\section TestEm2_s2 PHYSICS LISTS
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
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
\section TestEm2_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the
cylinder perpendicular to the input face. The type of the particle
and its energy are set in the PrimaryGeneratorAction class, and can
changed via the G4 build-in commands of G4ParticleGun class (see
the macros provided with this example).
A RUN is a set of events.
\section TestEm2_s4 VISUALIZATION
The Visualization Manager is set in the main() (see TestEm2.cc).
The initialisation of the drawing is done via the commands
/vis/.. in the macro vis.mac. In interactive session:
\verbatim
PreInit or Idle > /control/execute vis.mac
\endverbatim
The detector has a default view which is a longitudinal view of the
cylinder.
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 one,
or none. This command is defined in EventActionMessenger class.
\section TestEm2_s5 PHYSICS DEMO
The particle's type and the physics processes which will be available
in this example are set in PhysicsList class.
In addition a build-in interactive command (/process/inactivate procname)
allows to activate/inactivate the processes one by one.
The threshold for producing secondaries can be changed.
eg:
\verbatim
/testem/phys/setCuts 100 microm
/run/initialize
\endverbatim
The shower profiles are histogramed, if histograming is activated.
They can be also printed with the command /testem/run/verbose 1
\section TestEm2_s6 HOW TO START ?
- Execute TestEm2 in 'batch' mode from macro files
\verbatim
% TestEm2 run01.mac
\endverbatim
- Execute TestEm2 in 'interactive mode' with visualization
\verbatim
% TestEm2
....
Idle> type your commands
....
Idle> exit
\endverbatim
Macros provided in this example:
- egs4.mac:
Fe; L = 20 radl; R = 5 radl; electron 30 GeV
(EGS4 simulation: Particle Data Group - Phys.Rev.D 50-3 - August94)
- run01.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- run02.mac: Al; L = 13.5 radl; R = 1.35 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- run03.mac: H2O; L = 9.97 radl; R = 0.665 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- test.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- vis.mac: to activate visualization
\section TestEm2_s7 HISTOGRAMS
TestEm2 produces several histograms:
Content of these histo:
- 1 : energy deposit per event
- 2 : charged track length per event
- 3 : neutral track length per event
- 4 : longitudinal energy profile
- 5 : rms of longitudinal energy profile
- 6 : cumulated longitudinal energy profile
- 7 : rms of cumulated longitudinal energy profile
- 8 : radial energy profile
- 9 : rms of radial energy profile
- 10 : cumulated radial energy profile
- 11 : rms of cumulated radial energy profile
To define the output file name with histograms, use the UI command :
\verbatim
/analysis/setFileName name
\endverbatim
The format of the histogram file can be : root (default),
xml, csv, by selecting g4nnn.hh in RunAction.hh
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm2)
#----------------------------------------------------------------------------
@@ -14,6 +14,13 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
07-11-21 I. Hrivnacova (testem2-V10-07-08)
- Added analysis manager Clear() in the end of run
06-10-21 I. Hrivnacova (testem2-V10-07-07)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
25-03-21 M.Asai (testem2-V10-07-06)
- Additional migration to new G4SteppingVerbose.
@@ -1,161 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm2
-------
How to do shower profiles in an homogenous medium, with virtual
voxelisation.
1- GEOMETRY DEFINITION
The geometry consists of a cylinder of homogenous material.
The default geometry is constructed in DetectorConstruction class,
but all of the above parameters can be modified interactively via
the commands defined in the DetectorMessenger class.
Material can be choosen: Air Water lAr Al Fe BGO PbWO4 Pb.
eg: /testem/det/setMat PbWO4
The cylinder is virtually sliced longitudinally (slice) and radially
(ring). The size of the slices and rings are expressed in radiation
length units and can be changed.
eg: /testem/det/setLbin 20 1. ---> 20 slices of 1. radl
/testem/det/setRbin 5 0.25 ---> 5 rings of 0.25 radl
/testem/det/update ---> rebuild the geometry
(MaxBin = 500 in both directions)
An uniform magnetic field along the cylinder axis can be set.
eg: /globalField/setValue 0 0 5 tesla
2- PHYSICS LISTS
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
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
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the
cylinder perpendicular to the input face. The type of the particle
and its energy are set in the PrimaryGeneratorAction class, and can
changed via the G4 build-in commands of G4ParticleGun class (see
the macros provided with this example).
A RUN is a set of events.
4- VISUALIZATION
The Visualization Manager is set in the main() (see TestEm2.cc).
The initialisation of the drawing is done via the commands
/vis/.. in the macro vis.mac. In interactive session:
PreInit or Idle > /control/execute vis.mac
The detector has a default view which is a longitudinal view of the
cylinder.
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 one,
or none. This command is defined in EventActionMessenger class.
5- PHYSICS DEMO
The particle's type and the physics processes which will be available
in this example are set in PhysicsList class.
In addition a build-in interactive command (/process/inactivate procname)
allows to activate/inactivate the processes one by one.
The threshold for producing secondaries can be changed.
eg: /testem/phys/setCuts 100 microm
/run/initialize
The shower profiles are histogramed, if histograming is activated.
They can be also printed with the command /testem/run/verbose 1
6- HOW TO START ?
- Execute TestEm2 in 'batch' mode from macro files
% TestEm2 run01.mac
- Execute TestEm2 in 'batch' mode using multi-threading
% TestEm2 run01.mac 4
here 4 is number of threads, it should be user defined,
optimal value depends on hardware
- Execute TestEm2 in 'interactive mode' with visualization
% TestEm2
....
Idle> type your commands
....
Idle> exit
Macros provided in this example:
- egs4.mac:
Fe; L = 20 radl; R = 5 radl; electron 30 GeV
(EGS4 simulation: Particle Data Group - Phys.Rev.D 50-3 - August94)
- run01.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- run02.mac: Al; L = 13.5 radl; R = 1.35 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- run03.mac: H2O; L = 9.97 radl; R = 0.665 radl; electron 1 GeV
(Electron-induced cascade showers: J&H Crannel - Phys. Rev. 184-2 - August69)
- test.mac: PbWO4; L = 20 radl; R = 5 radl; electron 5 GeV
- vis.mac: to activate visualization
7- HISTOGRAMS
TestEm2 produces several histograms:
Content of these histo:
1 : energy deposit per event
2 : charged track length per event
3 : neutral track length per event
4 : longitudinal energy profile
5 : rms of longitudinal energy profile
6 : cumulated longitudinal energy profile
7 : rms of cumulated longitudinal energy profile
8 : radial energy profile
9 : rms of radial energy profile
10 : cumulated radial energy profile
11 : rms of cumulated radial energy profile
To define the output file name with histograms, use the UI command :
"/analysis/setFileName name"
The format of the histogram file can be : root (default),
xml, csv, by selecting g4nnn.hh in RunAction.hh
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-10-07-ref-06 (25-June-2021)
Geant4 version Name: geant4-11-00-ref-00 (10-December-2021)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -73,7 +73,7 @@ Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 meV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
@@ -133,32 +133,99 @@ Screening factor 1
/run/printProgress 20
/testem/run/verbose 1
/run/beamOn 100
=======================================================================
====== Electromagnetic Physics Parameters ========
=======================================================================
LPM effect enabled 1
Enable creation and use of sampling tables 0
Apply cuts on all EM processes 0
Use general process 0
Enable linear polarisation for gamma 0
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
Max kinetic energy for tables 100 TeV
Number of bins per decade of a table 7
Verbose level 1
Verbose level for worker thread 0
Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Livermore data directory livermore
=======================================================================
====== Ionisation Parameters ========
=======================================================================
Step function for e+- (0.2, 1 mm)
Step function for muons/hadrons (0.2, 0.1 mm)
Step function for light ions (0.2, 0.1 mm)
Step function for general ions (0.2, 0.1 mm)
Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Fluctuations of dE/dx are enabled 1
Use ICRU90 data 0
Use built-in Birks satuaration 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
Enable angular generator interface 0
Max kinetic energy for CSDA tables 1 GeV
Max kinetic energy for NIEL computation 0 eV
Linear loss limit 0.01
Read data from file for e+e- pair production by mu 0
=======================================================================
====== Multiple Scattering Parameters ========
=======================================================================
Type of msc step limit algorithm for e+- 1
Type of msc step limit algorithm for muons/hadrons 0
Msc lateral displacement for e+- enabled 1
Msc lateral displacement for muons and hadrons 0
Urban msc model lateral displacement alg96 1
Range factor for msc step limit for e+- 0.04
Range factor for msc step limit for muons/hadrons 0.2
Geometry factor for msc step limitation of e+- 2.5
Safety factor for msc step limit for e+- 0.6
Skin parameter for msc step limitation of e+- 1
Lambda limit for msc step limit for e+- 1 mm
Use Mott correction for e- scattering 0
Factor used for dynamic computation of angular
limit between single and multiple scattering 1
Fixed angular limit between single
and multiple scattering 3.1416 rad
Upper energy limit for e+- multiple scattering 100 MeV
Type of electron single scattering model 0
Type of nuclear form-factor 1
Screening factor 1
=======================================================================
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 meV Emax= 100 TeV SauterGavrila Fluo
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV SauterGavrila Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 7 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 meV Emax= 100 TeV
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitlerLPM : Emin= 0 meV Emax= 100 TeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 meV Emax= 100 TeV CullenGenerator
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -168,25 +235,25 @@ eIoni: for e- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e- XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
CoulombScat: for e- XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llim=1 mm
@@ -196,29 +263,29 @@ eIoni: for e+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 meV Emax= 100 TeV
MollerBhabha : Emin= 0 eV Emax= 100 TeV
eBrem: for e+ XStype:4 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 meV Emax= 1 GeV ModifiedTsai
eBremSB : Emin= 0 eV Emax= 1 GeV ModifiedTsai
eBremLPM : Emin= 1 GeV Emax= 100 TeV ModifiedTsai
annihil: for e+ XStype:2 SubType=5 BuildTable=0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 meV Emax= 100 TeV
eplus2gg : Emin= 0 eV Emax= 100 TeV
CoulombScat: for e+ XStype:3 SubType=1 BuildTable=1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 1
Lambda table from 100 MeV to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for proton XStype:1 SubType=2
@@ -226,31 +293,31 @@ hIoni: for proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
hBrems: for proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for GenericIon XStype:1 SubType=2
@@ -259,12 +326,12 @@ ionIoni: for GenericIon XStype:1 SubType=2
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax= 2 MeV
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 meV Emax= 100 TeV
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
ionIoni: for alpha XStype:1 SubType=2
@@ -272,12 +339,12 @@ ionIoni: for alpha XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 meV Emax=7.9452 MeV
BraggIon : Emin= 0 eV Emax=7.9452 MeV
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for anti_proton XStype:1 SubType=2
@@ -285,31 +352,31 @@ hIoni: for anti_proton XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 2 MeV
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
hBrems: for anti_proton XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon+ XStype:1 SubType=2
@@ -317,31 +384,31 @@ hIoni: for kaon+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=1.05231 MeV
Bragg : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
hBrems: for kaon+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for kaon- XStype:1 SubType=2
@@ -349,31 +416,31 @@ hIoni: for kaon- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=1.05231 MeV
ICRU73QO : Emin= 0 eV Emax=1.05231 MeV
BetheBloch : Emin=1.05231 MeV Emax= 100 TeV
hBrems: for kaon- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon- XStype:3 SubType=1 BuildTable=1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu+ XStype:1 SubType=2
@@ -381,32 +448,32 @@ muIoni: for mu+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax= 200 keV
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
muIoni: for mu- XStype:1 SubType=2
@@ -414,32 +481,32 @@ muIoni: for mu- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax= 200 keV
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
muBrems: for mu- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu- XStype:3 SubType=1 BuildTable=1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi+ XStype:1 SubType=2
@@ -447,31 +514,31 @@ hIoni: for pi+ XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 meV Emax=297.505 keV
Bragg : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
hBrems: for pi+ XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+ XStype:3 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 0
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 meV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llim=1 mm
hIoni: for pi- XStype:1 SubType=2
@@ -479,34 +546,34 @@ hIoni: for pi- XStype:1 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 1, fluct: 1, linLossLim= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 meV Emax=297.505 keV
ICRU73QO : Emin= 0 eV Emax=297.505 keV
BetheBloch : Emin=297.505 keV Emax= 100 TeV
hBrems: for pi- XStype:1 SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- XStype:1 SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 0
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 meV Emax= 100 TeV ModifiedMephi
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi- XStype:3 SubType=1 BuildTable=1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 meV Emax= 100 TeV
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
========= Table of registered couples ============================
Index : 0 used in the geometry : Yes
Material : G4_PbWO4
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 89.3347 keV e- 1.12535 MeV e+ 1.05931 MeV proton 100 keV
Energy thresholds : gamma 89.4745 keV e- 1.13293 MeV e+ 1.06705 MeV proton 100 keV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -520,7 +587,7 @@ mixmax state, file version 1.0
N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008233404568, 2262190991329242458, 2266470399991071809, 1976726662926872232, 245458862506414172, 1955974201201518530, 2155248512522080758, 604170912935414061, 1116171330120743511, 1861018313684488333, 1296715403254578286, 1549011045957234151, 370819759640195970, 2230139271784837643} counter= 17sumtot= 1977567618660788324
---------------------------------------
----> Histogram file is opened in testem2.root
----> Histogram file is opened in testem2.root.
--> Event 0 starts.
--> Event 20 starts.
--> Event 40 starts.
@@ -529,51 +596,51 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
Run terminated.
Run Summary
Number of events processed : 100
User=2.310000s Real=2.389198s Sys=0.000000s
User=2.100000s Real=2.145134s Sys=0.000000s
LOGITUDINAL PROFILE CUMULATIVE LOGITUDINAL PROFILE
bin Mean rms bin Mean rms
0.00-> 0.50 radl: 0.19% 0.10% 0-> 0.50 radl: 0.19% 0.10%
0.50-> 1.00 radl: 0.49% 0.31% 0-> 1.00 radl: 0.68% 0.38%
1.00-> 1.50 radl: 1.06% 0.70% 0-> 1.50 radl: 1.75% 1.01%
1.50-> 2.00 radl: 1.67% 0.85% 0-> 2.00 radl: 3.41% 1.77%
2.00-> 2.50 radl: 2.45% 1.15% 0-> 2.50 radl: 5.87% 2.75%
2.50-> 3.00 radl: 3.26% 1.28% 0-> 3.00 radl: 9.13% 3.76%
3.00-> 3.50 radl: 4.09% 1.48% 0-> 3.50 radl: 13.22% 4.93%
3.50-> 4.00 radl: 4.80% 1.56% 0-> 4.00 radl: 18.02% 6.09%
4.00-> 4.50 radl: 5.28% 1.61% 0-> 4.50 radl: 23.30% 7.23%
4.50-> 5.00 radl: 5.65% 1.50% 0-> 5.00 radl: 28.95% 8.24%
5.00-> 5.50 radl: 5.77% 1.42% 0-> 5.50 radl: 34.72% 9.03%
5.50-> 6.00 radl: 5.86% 1.23% 0-> 6.00 radl: 40.58% 9.44%
6.00-> 6.50 radl: 5.62% 1.21% 0-> 6.50 radl: 46.20% 9.59%
6.50-> 7.00 radl: 5.42% 1.12% 0-> 7.00 radl: 51.62% 9.46%
7.00-> 7.50 radl: 5.05% 1.00% 0-> 7.50 radl: 56.66% 9.18%
7.50-> 8.00 radl: 4.56% 1.07% 0-> 8.00 radl: 61.23% 8.81%
8.00-> 8.50 radl: 4.18% 1.03% 0-> 8.50 radl: 65.41% 8.45%
8.50-> 9.00 radl: 3.83% 1.04% 0-> 9.00 radl: 69.23% 8.02%
9.00-> 9.50 radl: 3.49% 0.91% 0-> 9.50 radl: 72.73% 7.50%
9.50->10.00 radl: 3.09% 0.94% 0->10.00 radl: 75.82% 6.87%
10.00->10.50 radl: 2.73% 0.94% 0->10.50 radl: 78.55% 6.20%
10.50->11.00 radl: 2.44% 0.89% 0->11.00 radl: 80.99% 5.54%
11.00->11.50 radl: 2.15% 0.76% 0->11.50 radl: 83.14% 5.04%
11.50->12.00 radl: 1.84% 0.70% 0->12.00 radl: 84.98% 4.56%
12.00->12.50 radl: 1.64% 0.65% 0->12.50 radl: 86.61% 4.09%
12.50->13.00 radl: 1.37% 0.63% 0->13.00 radl: 87.99% 3.65%
13.00->13.50 radl: 1.18% 0.60% 0->13.50 radl: 89.17% 3.20%
13.50->14.00 radl: 1.04% 0.55% 0->14.00 radl: 90.21% 2.78%
14.00->14.50 radl: 0.89% 0.46% 0->14.50 radl: 91.10% 2.44%
14.50->15.00 radl: 0.78% 0.45% 0->15.00 radl: 91.88% 2.09%
15.00->15.50 radl: 0.65% 0.40% 0->15.50 radl: 92.52% 1.84%
15.50->16.00 radl: 0.56% 0.36% 0->16.00 radl: 93.09% 1.60%
16.00->16.50 radl: 0.44% 0.28% 0->16.50 radl: 93.53% 1.41%
16.50->17.00 radl: 0.37% 0.28% 0->17.00 radl: 93.89% 1.22%
17.00->17.50 radl: 0.29% 0.23% 0->17.50 radl: 94.18% 1.09%
17.50->18.00 radl: 0.29% 0.20% 0->18.00 radl: 94.47% 0.99%
18.00->18.50 radl: 0.23% 0.17% 0->18.50 radl: 94.70% 0.89%
18.50->19.00 radl: 0.19% 0.16% 0->19.00 radl: 94.89% 0.85%
19.00->19.50 radl: 0.17% 0.15% 0->19.50 radl: 95.06% 0.78%
19.50->20.00 radl: 0.12% 0.13% 0->20.00 radl: 95.18% 0.73%
0.00-> 0.50 radl: 0.20% 0.12% 0-> 0.50 radl: 0.20% 0.12%
0.50-> 1.00 radl: 0.43% 0.27% 0-> 1.00 radl: 0.63% 0.35%
1.00-> 1.50 radl: 0.93% 0.57% 0-> 1.50 radl: 1.56% 0.85%
1.50-> 2.00 radl: 1.55% 0.86% 0-> 2.00 radl: 3.11% 1.60%
2.00-> 2.50 radl: 2.28% 1.16% 0-> 2.50 radl: 5.39% 2.60%
2.50-> 3.00 radl: 3.18% 1.38% 0-> 3.00 radl: 8.58% 3.78%
3.00-> 3.50 radl: 4.02% 1.66% 0-> 3.50 radl: 12.60% 5.18%
3.50-> 4.00 radl: 4.53% 1.53% 0-> 4.00 radl: 17.13% 6.40%
4.00-> 4.50 radl: 5.13% 1.62% 0-> 4.50 radl: 22.26% 7.62%
4.50-> 5.00 radl: 5.58% 1.59% 0-> 5.00 radl: 27.83% 8.73%
5.00-> 5.50 radl: 5.89% 1.65% 0-> 5.50 radl: 33.72% 9.64%
5.50-> 6.00 radl: 5.72% 1.35% 0-> 6.00 radl: 39.44% 10.20%
6.00-> 6.50 radl: 5.59% 1.32% 0-> 6.50 radl: 45.04% 10.62%
6.50-> 7.00 radl: 5.32% 1.15% 0-> 7.00 radl: 50.36% 10.79%
7.00-> 7.50 radl: 5.06% 1.21% 0-> 7.50 radl: 55.41% 10.65%
7.50-> 8.00 radl: 4.75% 1.24% 0-> 8.00 radl: 60.16% 10.31%
8.00-> 8.50 radl: 4.33% 1.21% 0-> 8.50 radl: 64.49% 9.96%
8.50-> 9.00 radl: 3.82% 0.91% 0-> 9.00 radl: 68.31% 9.66%
9.00-> 9.50 radl: 3.47% 0.91% 0-> 9.50 radl: 71.78% 9.22%
9.50->10.00 radl: 3.20% 0.89% 0->10.00 radl: 74.98% 8.73%
10.00->10.50 radl: 2.80% 0.98% 0->10.50 radl: 77.78% 8.14%
10.50->11.00 radl: 2.53% 0.95% 0->11.00 radl: 80.31% 7.52%
11.00->11.50 radl: 2.16% 0.99% 0->11.50 radl: 82.47% 6.84%
11.50->12.00 radl: 1.83% 0.83% 0->12.00 radl: 84.31% 6.22%
12.00->12.50 radl: 1.65% 0.77% 0->12.50 radl: 85.96% 5.61%
12.50->13.00 radl: 1.44% 0.73% 0->13.00 radl: 87.40% 5.01%
13.00->13.50 radl: 1.29% 0.73% 0->13.50 radl: 88.69% 4.43%
13.50->14.00 radl: 1.07% 0.66% 0->14.00 radl: 89.76% 3.92%
14.00->14.50 radl: 0.89% 0.48% 0->14.50 radl: 90.65% 3.61%
14.50->15.00 radl: 0.82% 0.59% 0->15.00 radl: 91.47% 3.15%
15.00->15.50 radl: 0.66% 0.48% 0->15.50 radl: 92.12% 2.78%
15.50->16.00 radl: 0.63% 0.45% 0->16.00 radl: 92.76% 2.44%
16.00->16.50 radl: 0.47% 0.36% 0->16.50 radl: 93.22% 2.19%
16.50->17.00 radl: 0.42% 0.34% 0->17.00 radl: 93.64% 1.95%
17.00->17.50 radl: 0.35% 0.30% 0->17.50 radl: 94.00% 1.75%
17.50->18.00 radl: 0.30% 0.27% 0->18.00 radl: 94.30% 1.57%
18.00->18.50 radl: 0.26% 0.25% 0->18.50 radl: 94.56% 1.38%
18.50->19.00 radl: 0.20% 0.20% 0->19.00 radl: 94.77% 1.26%
19.00->19.50 radl: 0.17% 0.20% 0->19.50 radl: 94.94% 1.15%
19.50->20.00 radl: 0.14% 0.15% 0->20.00 radl: 95.07% 1.05%
@@ -581,86 +648,87 @@ Run Summary
bin Mean rms bin Mean rms
0.00-> 0.10 radl: 17.67% 2.01% 0-> 0.10 radl: 17.67% 2.01%
0.10-> 0.20 radl: 13.33% 1.33% 0-> 0.20 radl: 31.00% 2.38%
0.20-> 0.30 radl: 10.23% 1.06% 0-> 0.30 radl: 41.23% 2.61%
0.30-> 0.40 radl: 7.76% 0.73% 0-> 0.40 radl: 49.00% 2.52%
0.40-> 0.50 radl: 5.99% 0.79% 0-> 0.50 radl: 54.99% 2.28%
0.50-> 0.60 radl: 4.73% 0.62% 0-> 0.60 radl: 59.71% 2.26%
0.60-> 0.70 radl: 3.79% 0.61% 0-> 0.70 radl: 63.50% 2.17%
0.70-> 0.80 radl: 3.18% 0.49% 0-> 0.80 radl: 66.68% 2.02%
0.80-> 0.90 radl: 2.76% 0.51% 0-> 0.90 radl: 69.44% 1.94%
0.90-> 1.00 radl: 2.38% 0.42% 0-> 1.00 radl: 71.82% 1.89%
1.00-> 1.10 radl: 2.09% 0.39% 0-> 1.10 radl: 73.91% 1.78%
1.10-> 1.20 radl: 1.78% 0.36% 0-> 1.20 radl: 75.69% 1.72%
1.20-> 1.30 radl: 1.58% 0.41% 0-> 1.30 radl: 77.27% 1.62%
1.30-> 1.40 radl: 1.44% 0.36% 0-> 1.40 radl: 78.71% 1.60%
1.40-> 1.50 radl: 1.27% 0.31% 0-> 1.50 radl: 79.99% 1.56%
1.50-> 1.60 radl: 1.15% 0.29% 0-> 1.60 radl: 81.14% 1.47%
1.60-> 1.70 radl: 1.04% 0.24% 0-> 1.70 radl: 82.17% 1.45%
1.70-> 1.80 radl: 0.96% 0.23% 0-> 1.80 radl: 83.13% 1.42%
1.80-> 1.90 radl: 0.86% 0.24% 0-> 1.90 radl: 83.99% 1.37%
1.90-> 2.00 radl: 0.84% 0.22% 0-> 2.00 radl: 84.83% 1.33%
2.00-> 2.10 radl: 0.77% 0.20% 0-> 2.10 radl: 85.59% 1.32%
2.10-> 2.20 radl: 0.71% 0.20% 0-> 2.20 radl: 86.30% 1.26%
2.20-> 2.30 radl: 0.65% 0.18% 0-> 2.30 radl: 86.95% 1.24%
2.30-> 2.40 radl: 0.61% 0.17% 0-> 2.40 radl: 87.56% 1.23%
2.40-> 2.50 radl: 0.57% 0.16% 0-> 2.50 radl: 88.13% 1.20%
2.50-> 2.60 radl: 0.59% 0.17% 0-> 2.60 radl: 88.71% 1.18%
2.60-> 2.70 radl: 0.51% 0.14% 0-> 2.70 radl: 89.22% 1.16%
2.70-> 2.80 radl: 0.47% 0.17% 0-> 2.80 radl: 89.70% 1.13%
2.80-> 2.90 radl: 0.43% 0.15% 0-> 2.90 radl: 90.13% 1.10%
2.90-> 3.00 radl: 0.42% 0.16% 0-> 3.00 radl: 90.55% 1.07%
3.00-> 3.10 radl: 0.38% 0.14% 0-> 3.10 radl: 90.93% 1.03%
3.10-> 3.20 radl: 0.36% 0.13% 0-> 3.20 radl: 91.28% 0.98%
3.20-> 3.30 radl: 0.34% 0.12% 0-> 3.30 radl: 91.62% 0.96%
3.30-> 3.40 radl: 0.31% 0.13% 0-> 3.40 radl: 91.93% 0.94%
3.40-> 3.50 radl: 0.30% 0.12% 0-> 3.50 radl: 92.23% 0.92%
3.50-> 3.60 radl: 0.28% 0.11% 0-> 3.60 radl: 92.51% 0.90%
3.60-> 3.70 radl: 0.27% 0.13% 0-> 3.70 radl: 92.78% 0.88%
3.70-> 3.80 radl: 0.26% 0.11% 0-> 3.80 radl: 93.04% 0.87%
3.80-> 3.90 radl: 0.24% 0.11% 0-> 3.90 radl: 93.28% 0.87%
3.90-> 4.00 radl: 0.22% 0.09% 0-> 4.00 radl: 93.49% 0.86%
4.00-> 4.10 radl: 0.22% 0.10% 0-> 4.10 radl: 93.72% 0.85%
4.10-> 4.20 radl: 0.21% 0.10% 0-> 4.20 radl: 93.93% 0.84%
4.20-> 4.30 radl: 0.21% 0.11% 0-> 4.30 radl: 94.14% 0.82%
4.30-> 4.40 radl: 0.18% 0.09% 0-> 4.40 radl: 94.32% 0.81%
4.40-> 4.50 radl: 0.16% 0.08% 0-> 4.50 radl: 94.48% 0.80%
4.50-> 4.60 radl: 0.16% 0.08% 0-> 4.60 radl: 94.64% 0.78%
4.60-> 4.70 radl: 0.15% 0.08% 0-> 4.70 radl: 94.79% 0.77%
4.70-> 4.80 radl: 0.15% 0.09% 0-> 4.80 radl: 94.94% 0.75%
4.80-> 4.90 radl: 0.13% 0.07% 0-> 4.90 radl: 95.07% 0.75%
4.90-> 5.00 radl: 0.11% 0.06% 0-> 5.00 radl: 95.18% 0.73%
0.00-> 0.10 radl: 18.11% 1.92% 0-> 0.10 radl: 18.11% 1.92%
0.10-> 0.20 radl: 13.05% 1.25% 0-> 0.20 radl: 31.16% 2.27%
0.20-> 0.30 radl: 9.81% 1.01% 0-> 0.30 radl: 40.97% 2.42%
0.30-> 0.40 radl: 7.69% 0.91% 0-> 0.40 radl: 48.66% 2.31%
0.40-> 0.50 radl: 6.09% 0.74% 0-> 0.50 radl: 54.75% 2.22%
0.50-> 0.60 radl: 4.82% 0.72% 0-> 0.60 radl: 59.57% 2.19%
0.60-> 0.70 radl: 3.93% 0.55% 0-> 0.70 radl: 63.51% 2.09%
0.70-> 0.80 radl: 3.20% 0.53% 0-> 0.80 radl: 66.71% 1.97%
0.80-> 0.90 radl: 2.75% 0.50% 0-> 0.90 radl: 69.46% 1.84%
0.90-> 1.00 radl: 2.37% 0.43% 0-> 1.00 radl: 71.84% 1.80%
1.00-> 1.10 radl: 2.06% 0.37% 0-> 1.10 radl: 73.90% 1.79%
1.10-> 1.20 radl: 1.76% 0.36% 0-> 1.20 radl: 75.66% 1.72%
1.20-> 1.30 radl: 1.62% 0.32% 0-> 1.30 radl: 77.28% 1.63%
1.30-> 1.40 radl: 1.41% 0.29% 0-> 1.40 radl: 78.69% 1.55%
1.40-> 1.50 radl: 1.29% 0.31% 0-> 1.50 radl: 79.98% 1.51%
1.50-> 1.60 radl: 1.19% 0.29% 0-> 1.60 radl: 81.17% 1.49%
1.60-> 1.70 radl: 1.04% 0.22% 0-> 1.70 radl: 82.21% 1.48%
1.70-> 1.80 radl: 0.94% 0.25% 0-> 1.80 radl: 83.15% 1.47%
1.80-> 1.90 radl: 0.86% 0.24% 0-> 1.90 radl: 84.01% 1.45%
1.90-> 2.00 radl: 0.76% 0.18% 0-> 2.00 radl: 84.77% 1.44%
2.00-> 2.10 radl: 0.77% 0.21% 0-> 2.10 radl: 85.54% 1.40%
2.10-> 2.20 radl: 0.71% 0.18% 0-> 2.20 radl: 86.25% 1.38%
2.20-> 2.30 radl: 0.64% 0.19% 0-> 2.30 radl: 86.89% 1.33%
2.30-> 2.40 radl: 0.59% 0.16% 0-> 2.40 radl: 87.48% 1.31%
2.40-> 2.50 radl: 0.56% 0.16% 0-> 2.50 radl: 88.04% 1.30%
2.50-> 2.60 radl: 0.53% 0.17% 0-> 2.60 radl: 88.57% 1.27%
2.60-> 2.70 radl: 0.51% 0.17% 0-> 2.70 radl: 89.08% 1.22%
2.70-> 2.80 radl: 0.49% 0.18% 0-> 2.80 radl: 89.57% 1.19%
2.80-> 2.90 radl: 0.45% 0.13% 0-> 2.90 radl: 90.02% 1.17%
2.90-> 3.00 radl: 0.40% 0.14% 0-> 3.00 radl: 90.42% 1.16%
3.00-> 3.10 radl: 0.37% 0.14% 0-> 3.10 radl: 90.79% 1.16%
3.10-> 3.20 radl: 0.36% 0.14% 0-> 3.20 radl: 91.15% 1.18%
3.20-> 3.30 radl: 0.32% 0.13% 0-> 3.30 radl: 91.47% 1.18%
3.30-> 3.40 radl: 0.31% 0.11% 0-> 3.40 radl: 91.78% 1.18%
3.40-> 3.50 radl: 0.30% 0.13% 0-> 3.50 radl: 92.09% 1.16%
3.50-> 3.60 radl: 0.28% 0.11% 0-> 3.60 radl: 92.37% 1.15%
3.60-> 3.70 radl: 0.28% 0.13% 0-> 3.70 radl: 92.65% 1.13%
3.70-> 3.80 radl: 0.25% 0.10% 0-> 3.80 radl: 92.90% 1.12%
3.80-> 3.90 radl: 0.25% 0.11% 0-> 3.90 radl: 93.15% 1.11%
3.90-> 4.00 radl: 0.22% 0.10% 0-> 4.00 radl: 93.37% 1.11%
4.00-> 4.10 radl: 0.23% 0.10% 0-> 4.10 radl: 93.60% 1.10%
4.10-> 4.20 radl: 0.22% 0.09% 0-> 4.20 radl: 93.82% 1.08%
4.20-> 4.30 radl: 0.19% 0.08% 0-> 4.30 radl: 94.01% 1.07%
4.30-> 4.40 radl: 0.18% 0.09% 0-> 4.40 radl: 94.19% 1.07%
4.40-> 4.50 radl: 0.17% 0.09% 0-> 4.50 radl: 94.36% 1.06%
4.50-> 4.60 radl: 0.17% 0.08% 0-> 4.60 radl: 94.53% 1.05%
4.60-> 4.70 radl: 0.16% 0.09% 0-> 4.70 radl: 94.69% 1.05%
4.70-> 4.80 radl: 0.14% 0.07% 0-> 4.80 radl: 94.83% 1.04%
4.80-> 4.90 radl: 0.13% 0.07% 0-> 4.90 radl: 94.96% 1.05%
4.90-> 5.00 radl: 0.11% 0.06% 0-> 5.00 radl: 95.07% 1.05%
===== SUMMARY =====
Total number of events: 100
Mean number of charged steps: 7280.00
Mean number of neutral steps: 4125.01
Mean number of charged steps: 7277.49
Mean number of neutral steps: 4116.25
energy deposit : 95.18 % E0 +- 0.73 % E0
charged traklen: 485.20 radl +- 4.35 radl
neutral traklen: 4230.19 radl +- 107.49 radl
energy deposit : 95.07 % E0 +- 1.05 % E0
charged traklen: 484.71 radl +- 5.33 radl
neutral traklen: 4222.43 radl +- 126.08 radl
90.00 % confinement: radius = 2.87 radl (2.56 cm )
90.00 % confinement: radius = 2.90 radl (2.58 cm )
<<<<ACCEPTANCE>>>> 100 events for Total Energy in Absorber
Edep: 0.951773 delEdep= 0.00277309 nrms= 3.38181
Erms: 0.00733693 delErms= -0.000863071 nrms= -1.05253
<<<<END>>>> IS NOT ACCEPTED
Edep: 0.950741 delEdep= 0.00174144 nrms= 2.12371
Erms: 0.0105425 delErms= 0.00234249 nrms= 2.8567
<<<<END>>>> IS ACCEPTED
------- MixMaxRng engine status -------
Current state vector is:
mixmax state, file version 1.0
N=17 V[N]={1728475492522437111, 1896895982948760406, 1304518485618037050, 224361142566559494, 2022767543217034269, 1173031045218921983, 1053962588606076485, 1483636640976982168, 384773044070923900, 2282294343350227860, 2098205996758262652, 2021031915428187993, 891936359270330697, 654292916068645559, 631684707763250460, 498034599554538950, 1798597983505012765} counter= 9sumtot= 1395913704520944243
N=17 V[N]={1169991647804681482, 969778599455155238, 1089679329421026511, 1418525797622970799, 2036078957769410373, 1836392640945300629, 113962894042192969, 1599369218582606508, 823819864908988973, 63129712879439749, 216063370979766333, 258022567404959031, 1693182779717822258, 2003353841468291452, 1159944180483002500, 1792073167320139651, 2189179735066411248} counter= 14sumtot= 1985804232162614096
---------------------------------------
... write file : testem2.root - done
... close file : testem2.root - done
... clear all data - done
G4 kernel has come to Quit state.
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.073 MB
Dynamic pools deleted: 9 / Total memory freed: 0.059 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -34,8 +34,7 @@
#define Run_h 1
#include "G4Run.hh"
#include "g4root.hh"
#include "G4AnalysisManager.hh"
#include <vector>
typedef std::vector<G4double> MyVector;
@@ -35,8 +35,7 @@
#include "G4UserRunAction.hh"
#include "G4ThreeVector.hh"
#include "g4root.hh"
#include "G4AnalysisManager.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -56,6 +56,8 @@ RunAction::RunAction(DetectorConstruction* det, PrimaryGeneratorAction* kin)
// Create analysis manager
// The choice of analysis technology is done via selection of a namespace
fAnalysisManager = G4AnalysisManager::Instance();
fAnalysisManager->SetDefaultFileType("root");
// Set the default file name "testem2"
// which can be then redefine in a macro via UI command
fAnalysisManager->SetFileName("testem2");
@@ -170,6 +172,7 @@ void RunAction::EndOfRunAction(const G4Run*)
// save histos and close analysis
fAnalysisManager->Write();
fAnalysisManager->CloseFile();
fAnalysisManager->Clear();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,209 +0,0 @@
///\file "electromagnetic/TestEm3/.README.txt"
///\brief Example TestEm3 README page
/*! \page ExampleTestEm3 Example TestEm3
- How to collect energy deposition in a sampling calorimeter.
- How to survey energy flow.
- How to print stopping power.
\section TestEm3_s1 GEOMETRY DEFINITION
The calorimeter is a box made of a given number of layers.
A layer consists of a sequence of various absorbers (maximum MaxAbsor=9).
The layer is replicated.
Parameters defining the calorimeter :
- the number of layers,
- the number of absorbers within a layer,
- the material of the absorbers,
- the thickness of the absorbers,
- the transverse size of the calorimeter (the input face is a square).
In addition a transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class, but all
of the above parameters can be modified interactively via the commands
defined in the DetectorMessenger class.
<pre>
|<----layer 0---------->|<----layer 1---------->|<----layer 2---------->|
| | | | |
==========================================================================
|| | || | || | ||
|| | || | || | ||
|| abs 1 | abs 2 || abs 1 | abs 2 || abs 1 | abs 2 ||
|| | || | || | ||
|| | || | || | ||
beam || | || | || | ||
======> || | || | || | ||
|| | || | || | ||
|| | || | || | ||
|| | || | || | ||
|| | || | || | ||
|| cell 1 | cell 2 || cell 3 | cell 4 || cell 5 | cell 6 ||
==========================================================================
^ ^ ^ ^ ^ ^ ^
pln1 pln2 pln3 pln4 pln5 pln6 pln7
</pre>
NB. The number of absorbers and the number of layers can be set to 1.
In this case we have a unique homogeneous block of matter, which looks like
a bubble chamber rather than a calorimeter ...
(see the macro emtutor.mac)
\section TestEm3_s2 PHYSICS LISTS
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
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.
\section TestEm3_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the calorimeter
perpendicular to the input face. 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).
In addition one can choose randomly the impact point of the incident particle.
The corresponding interactive command is built in PrimaryGeneratorMessenger.
A RUN is a set of events.
TestEm3 computes the energy deposited per absorber and the energy flow through
the calorimeter.
\section TestEm3_s4 VISUALIZATION
The Visualization Manager is set in the main() (see TestEm3.cc).
The initialisation of the drawing is done via the commands :
/vis/... in the macro vis.mac. In interactive session:
\verbatim
PreInit or Idle > /control/execute vis.mac
\endverbatim
The default view is a longitudinal view of the calorimeter.
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 ones, or
none. This command is defined in EventActionMessenger class.
\section TestEm3_s5 PHYSICS DEMO
The particle's type and the physics processes which will be available
in this example are set in PhysicsList class.
In addition a built-in interactive command (/process/inactivate processName)
allows to activate/inactivate the processes one by one.
Then one can well visualize the processes one by one, especially
in the bubble chamber setup with a transverse magnetic field.
As a homework try to visualize a gamma conversion alone,
or the effect of the multiple scattering.
Notice that one can control the maximum step size, via the
StepMax process and the command /testem/stepMax
\verbatim
/testem/stepMax/absorber
\endverbatim
(see StepMax and PhysicsList classes)
\section TestEm3_s6 HOW TO START ?
- Execute TestEm3 in 'batch' mode from macro files
\verbatim
% TestEm3 run01.mac
\endverbatim
- Execute TestEm3 in 'interactive mode' with visualization
\verbatim
% TestEm3
....
Idle> type your commands. For instance:
Idle> /control/execute run01.mac
....
Idle> exit
\endverbatim
Macros provided in this example:
- atlashec.mac: ATLAS HEC model
- dedx.mac: to control dE/dx calculation: 1 layer; minimum ionizing particle
- emtutor.mac: for tutorial; interactivity + visualisation
- geom.mac: to play with geometry
- ionC12.mac: ion C12, 1 layer
- lhcb.mac: LHCB ECAL model
- linac.mac: Linac/Ecal from Graham Wilson
- lockwood.mac: Al-Au-Al 1 layer (G.L.Lockwood et al. SAND79-0414 (1980))
- run01.mac: Lead-liquidArgon 50 layers; electron 1 GeV
- run02.mac: Tungsten-Silicon 50 layers; electron 1 GeV
- storeTables.mac: show how to store and retrieve physics tables
- tileCal.mac: ATLAS tileCal
- vis.mac: to activate visualization
\section TestEm3_s7 HISTOGRAMS
Testem3 can produce histograms :
- histo 1 : energy deposit in absorber 1
- histo 2 : energy deposit in absorber 2
- etc.
- histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
- histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event)
- etc.
- histo 21 : energy flow (MeV/event)
- histo 22 : lateral energy leak (MeV/event)
NB. Numbering scheme for histograms:
- layer : from 1 to NbOfLayers (included)
- absorbers : from 1 to NbOfAbsor (included)
- planes : from 1 to NbOfLayers*NbOfAbsor + 1 (included)
One can control the binning of the histo with the command:
\verbatim
/analysis/h1/set idAbsor nbin Emin Emax unit
\endverbatim
etc.,
where unit is the desired energy unit for that histo (see TestEm3.in).
One can control the name of the histograms file with the command:
\verbatim
/analysis/setFileName name (default testem3)
\endverbatim
It is possible to choose the format of the histogram file : root (default),
xml, csv, by using namespace in HistoManager.hh
It is also possible to print selected histograms on an ascii file:
\verbatim
/analysis/h1/setAscii id
\endverbatim
All selected histos will be written on a file name.ascii (default testem3)
*/
@@ -1,6 +1,6 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 3.12...3.20)
cmake_minimum_required(VERSION 3.16...3.21)
project(TestEm3)
#----------------------------------------------------------------------------
@@ -14,6 +14,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06-10-21 I. Hrivnacova (testem3-V10-07-03)
- Migration to new G4AnalysisManager.hh header;
define the default output file type (root).
19-07-21 I. Hrivnacova (testem3-V10-07-02)
- Updated for changes in the analysis category:
removed deleting of the analysis manager,
as this is now done by the Geant4 kernel.
06-05-21 mma (testem3-V10-07-01)
- Migration to G4RunManagerFactory and G4SteppingVerboseWithUnits.
@@ -1,195 +0,0 @@
-------------------------------------------------------------------
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
TestEm3
-------
How to collect energy deposition in a sampling calorimeter.
How to survey energy flow.
how to print stopping power.
1- GEOMETRY DEFINITION
The calorimeter is a box made of a given number of layers.
A layer consists of a sequence of various absorbers (maximum MaxAbsor=9).
The layer is replicated.
Parameters defining the calorimeter :
- the number of layers,
- the number of absorbers within a layer,
- the material of the absorbers,
- the thickness of the absorbers,
- the transverse size of the calorimeter (the input face is a square).
In addition a transverse uniform magnetic field can be applied.
The default geometry is constructed in DetectorConstruction class, but all
of the above parameters can be modified interactively via the commands
defined in the DetectorMessenger class.
|<----layer 0---------->|<----layer 1---------->|<----layer 2---------->|
| | | | |
==========================================================================
|| | || | || | ||
|| | || | || | ||
|| abs 1 | abs 2 || abs 1 | abs 2 || abs 1 | abs 2 ||
|| | || | || | ||
|| | || | || | ||
beam || | || | || | ||
======> || | || | || | ||
|| | || | || | ||
|| | || | || | ||
|| | || | || | ||
|| | || | || | ||
|| cell 1 | cell 2 || cell 3 | cell 4 || cell 5 | cell 6 ||
==========================================================================
^ ^ ^ ^ ^ ^ ^
pln1 pln2 pln3 pln4 pln5 pln6 pln7
NB. The number of absorbers and the number of layers can be set to 1.
In this case we have a unique homogeneous block of matter, which looks like
a bubble chamber rather than a calorimeter ...
(see the macro emtutor.mac)
2- PHYSICS LISTS
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
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.
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the calorimeter
perpendicular to the input face. 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).
In addition one can choose randomly the impact point of the incident particle.
The corresponding interactive command is built in PrimaryGeneratorMessenger.
A RUN is a set of events.
TestEm3 computes the energy deposited per absorber and the energy flow through
the calorimeter.
4- VISUALIZATION
The Visualization Manager is set in the main() (see TestEm3.cc).
The initialisation of the drawing is done via the commands :
/vis/... in the macro vis.mac. In interactive session:
PreInit or Idle > /control/execute vis.mac
The default view is a longitudinal view of the calorimeter.
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 ones, or
none. This command is defined in EventActionMessenger class.
5- PHYSICS DEMO
The particle's type and the physics processes which will be available
in this example are set in PhysicsList class.
In addition a built-in interactive command (/process/inactivate processName)
allows to activate/inactivate the processes one by one.
Then one can well visualize the processes one by one, especially
in the bubble chamber setup with a transverse magnetic field.
As a homework try to visualize a gamma conversion alone,
or the effect of the multiple scattering.
Notice that one can control the maximum step size, via the
StepMax process and the command /testem/stepMax
(see StepMax and PhysicsList classes)
6- HOW TO START ?
- Execute TestEm3 in 'batch' mode from macro files
% TestEm3 run01.mac
- Execute TestEm3 in 'interactive mode' with visualization
% TestEm3
....
Idle> type your commands. For instance:
Idle> /control/execute run01.mac
....
Idle> exit
Macros provided in this example:
- atlashec.mac: ATLAS HEC model
- dedx.mac: to control dE/dx calculation: 1 layer; minimum ionizing particle
- emtutor.mac: for tutorial; interactivity + visualisation
- geom.mac: to play with geometry
- ionC12.mac: ion C12, 1 layer
- lhcb.mac: LHCB ECAL model
- linac.mac: Linac/Ecal from Graham Wilson
- lockwood.mac: Al-Au-Al 1 layer (G.L.Lockwood et al. SAND79-0414 (1980))
- run01.mac: Lead-liquidArgon 50 layers; electron 1 GeV
- run02.mac: Tungsten-Silicon 50 layers; electron 1 GeV
- storeTables.mac: show how to store and retrieve physics tables
- tileCal.mac: ATLAS tileCal
- vis.mac: to activate visualization
7- HISTOGRAMS
Testem3 can produce histograms :
histo 1 : energy deposit in absorber 1
histo 2 : energy deposit in absorber 2
...etc...........
histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event)
...etc...........
histo 21 : energy flow (MeV/event)
histo 22 : lateral energy leak (MeV/event)
...etc...........
NB. Numbering scheme for histograms:
layer : from 1 to NbOfLayers (included)
absorbers : from 1 to NbOfAbsor (included)
planes : from 1 to NbOfLayers*NbOfAbsor + 1 (included)
One can control the binning of the histo with the command:
/analysis/h1/set idAbsor nbin Emin Emax unit
where unit is the desired energy unit for that histo (see TestEm3.in).
One can control the name of the histograms file with the command:
/analysis/setFileName name (default testem3)
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 testem3)
File diff suppressed because it is too large Load Diff
@@ -1,51 +0,0 @@
testem3/src is the geant3 equivalent of TestEm3
% cd geant3
% gmakeB to make an executable (Batch version)
% gmakeT to make an executable (inTeractive version)
To execute:
% cd geant3
% $G4SYSTEM/testem3.xb (for batch) or testem1.xt (for interactive)
The program will ask:
G3 > gives the filename of the data cards to be read:
run01.dat (runNN.dat is the equivalent of the G4 runNN.mac)
It is possible to set the production cuts BCUTE, DCUTE and PPCUTM
medium by medium, via the data cards:
CUTPR imed1 bcute/m dcute/m ppcutm
CUTPR imed2 bcute/m dcute/m ppcutm
...etc............
testem3 can produce histograms :
histo 1 : energy deposit in absorber 1
histo 2 : energy deposit in absorber 2
...etc...........
histo 11 : longitudinal profile of energy deposit in absorber 1 (MeV/event)
histo 12 : longitudinal profile of energy deposit in absorber 2 (MeV/event)
...etc...........
histo 21 : energy flow (MeV/event)
histo 22 : lateral energy leakage (MeV/event)
One can control the binning of the histograms with the data card:
*HISTO id1 nbBins valMin valMax valUnit
*HISTO id2 nbBins valMin valMax valUnit
... etc ...........
valMin and ValMax are given in the desired unit, whose numerical value must
be specified in valUnit. Remember that Geant3 defaults are: GeV, cm, rad.
The name of de histograms file must be defined with the data card:
FILE fileName (character) This data card is mandatory; it must be the first,
with the format A4,A2,A25
It is possible to set the max allowed step size STEMAX,
via the data card:
STEPMX stepmax (in cm)
(However this value will be taken into account only if auto=0)

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