Import Geant4 10.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 14:11:04 +02:00
parent c9b32a6c0a
commit d4af681f38
4886 changed files with 420149 additions and 1023309 deletions
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/.README"
///\file "electromagnetic/.README.txt"
///\brief Examples electromagnetic README page
/*! \page Examples_electromagnetic Category "electromagnetic"
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm0/.README"
///\file "electromagnetic/TestEm0/.README.txt"
///\brief Example TestEm0 README page
/*! \page ExampleTestEm0 Example TestEm0
@@ -23,7 +23,7 @@
Idle> /run/initialize
....
Idle> /testem/det/setMat Silicon
Idle> /testem/phys/setCuts 100 um
Idle> /run/setCut 100 um
Idle> /gun/particle e-
Idle> /gun/energy 10 MeV
Idle> /run/beamOn
@@ -27,7 +27,7 @@
/// \brief Main program of the electromagnetic/TestEm0 example
//
//
// $Id: DirectAccess.cc 74920 2013-10-24 14:21:59Z gcosmo $
// $Id: DirectAccess.cc 94302 2015-11-11 12:58:04Z gcosmo $
//
// ------------------------------------------------------------
//
@@ -61,29 +61,51 @@
#include "G4Proton.hh"
#include "G4MuonPlus.hh"
#include "G4DataVector.hh"
#include "G4NistManager.hh"
#include "G4ParticleTable.hh"
int main() {
G4UnitDefinition::BuildUnitsTable();
G4ParticleDefinition* gamma = G4Gamma::Gamma();
G4ParticleDefinition* posit = G4Positron::Positron();
G4ParticleDefinition* elec = G4Electron::Electron();
G4ParticleDefinition* prot = G4Proton::Proton();
G4ParticleDefinition* muon = G4MuonPlus::MuonPlus();
G4ParticleTable* partTable = G4ParticleTable::GetParticleTable();
partTable->SetReadiness();
G4DataVector cuts;
cuts.push_back(1*keV);
// define materials
//
G4double Z, A;
G4Material* material =
new G4Material("Iodine", Z=53., A=126.90*g/mole, 4.93*g/cm3);
G4Material* material =
G4NistManager::Instance()->FindOrBuildMaterial("G4_Fe");
G4cout << *(G4Material::GetMaterialTable()) << G4endl;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4MaterialCutsCouple* couple = new G4MaterialCutsCouple(material);
couple->SetIndex(0);
// work only for simple materials
G4double Z = material->GetZ();
G4double A = material->GetA();
// initialise gamma processes (models)
//
G4ParticleDefinition* gamma = G4Gamma::Gamma();
//
G4VEmModel* phot = new G4PEEffectFluoModel();
G4VEmModel* comp = new G4KleinNishinaCompton();
G4VEmModel* conv = new G4BetheHeitlerModel();
phot->Initialise(gamma, cuts);
comp->Initialise(gamma, cuts);
conv->Initialise(gamma, cuts);
// valid pointer to a couple is needed for this model
phot->SetCurrentCouple(couple);
// compute CrossSection per atom and MeanFreePath
//
G4double Emin = 1.01*MeV, Emax = 2.01*MeV, dE = 100*keV;
@@ -111,13 +133,10 @@ int main() {
G4cout << G4endl;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// initialise positron annihilation (model)
//
G4ParticleDefinition* posit = G4Positron::Positron();
//
G4VEmModel* anni = new G4eeToTwoGammaModel();
anni->Initialise(posit, cuts);
// compute CrossSection per atom and MeanFreePath
//
@@ -138,14 +157,12 @@ int main() {
G4cout << G4endl;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// initialise electron processes (models)
//
G4ParticleDefinition* elec = G4Electron::Electron();
//
G4VEmModel* ioni = new G4MollerBhabhaModel();
G4VEmModel* brem = new G4SeltzerBergerModel();
ioni->Initialise(elec, cuts);
brem->Initialise(elec, cuts);
// compute CrossSection per atom and MeanFreePath
//
@@ -184,14 +201,10 @@ int main() {
G4cout << G4endl;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// initialise proton processes (models)
//
G4ParticleDefinition* prot = G4Proton::Proton();
ioni = new G4BetheBlochModel(prot);
//
ioni = new G4BetheBlochModel();
ioni->Initialise(prot, cuts);
// compute CrossSection per atom and MeanFreePath
//
@@ -222,8 +235,8 @@ int main() {
G4cout << G4endl;
// low energy : Bragg Model
ioni = new G4BraggModel(prot);
ioni->Initialise(prot, cuts);
// compute CrossSection per atom and MeanFreePath
//
@@ -251,16 +264,15 @@ int main() {
}
G4cout << G4endl;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
// initialise muon processes (models)
//
G4ParticleDefinition* muon = G4MuonPlus::MuonPlus();
ioni = new G4MuBetheBlochModel(muon);
brem = new G4MuBremsstrahlungModel(muon);
G4VEmModel* pair = new G4MuPairProductionModel(muon);
//
ioni = new G4MuBetheBlochModel();
brem = new G4MuBremsstrahlungModel();
G4VEmModel* pair = new G4MuPairProductionModel();
ioni->Initialise(muon, cuts);
brem->Initialise(muon, cuts);
pair->Initialise(muon, cuts);
// compute CrossSection per atom and MeanFreePath
//
@@ -317,9 +329,8 @@ int main() {
"Energy/Length");
}
G4cout << G4endl;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
return EXIT_SUCCESS;
G4cout << G4endl;
return EXIT_SUCCESS;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,9 +1,9 @@
# $Id: GNUmakefile 66241 2012-12-13 18:34:42Z gunter $
# $Id: GNUmakefile 94302 2015-11-11 12:58:04Z gcosmo $
# --------------------------------------------------------------
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
# --------------------------------------------------------------
#### name := DirectAccess
##name := DirectAccess
name := TestEm0
G4TARGET := $(name)
@@ -1,4 +1,4 @@
$Id: History 84607 2014-10-17 07:50:42Z gcosmo $
$Id: History 94302 2015-11-11 12:58:04Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,8 +15,15 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
11-11-15 V.Ivant (testem0-V10-01-01)
- DirectAccess.cc - make it work for Geant4 10.1
03-09-15 I.Hrivnacova (testem0-V10-01-00)
- Removed local SetCutFor*() methods from PhysicsList and setCut
command from PhysicsListMessenger and using /run/setCut command
16-10-14 I.Hrivnacova (testem0-V10-00-00)
- Fized long line in PrimaryGeneratorAction.cc
- Fixed long line in PrimaryGeneratorAction.cc
12-10-13 V.Ivant (testem0-V09-06-07)
- DirectAccess.cc - G4SeltzerBergerModel instead of obsolete
@@ -1,4 +1,4 @@
$Id: README 66241 2012-12-13 18:34:42Z gunter $
$Id: README 93512 2015-10-23 13:45:07Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -23,7 +23,7 @@ $Id: README 66241 2012-12-13 18:34:42Z gunter $
Idle> /run/initialize
....
Idle> /testem/det/setMat Silicon
Idle> /testem/phys/setCuts 100 um
Idle> /run/setCut 100 um
Idle> /gun/particle e-
Idle> /gun/energy 10 MeV
Idle> /run/beamOn
@@ -1,11 +1,11 @@
# $Id: TestEm0.in 68220 2013-03-19 15:15:02Z maire $
# $Id: TestEm0.in 93512 2015-10-23 13:45:07Z gcosmo $
#
# Macro file for "TestEm0.cc"
#
/control/verbose 0
/run/verbose 0
#
/testem/phys/addPhysics local
#/testem/phys/addPhysics local
###/testem/phys/addPhysics emstandard_opt3
#
/run/initialize
@@ -19,5 +19,5 @@
/testem/det/setMat Water
/gun/particle e-
/gun/energy 10 MeV
/testem/phys/setCuts 100 um
/run/setCut 100 um
/run/beamOn
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -14,250 +14,249 @@
***** Table : Nb of materials = 19 *****
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Nucl.Int.Length: 4.944 m
Imean: 19.200 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: WaterSteam density: 1.000 mg/cm3 RadL: 360.924 m Nucl.Int.Length: 753.560 m
Imean: 71.600 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 71.600 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm
Imean: 473.785 eV
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 15.41 % ElmAbundance 63.16 %
---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Germanium (Ge) Z = 32.0 N = 73 A = 72.590 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 17.48 % ElmAbundance 15.79 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.00 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209 A = 208.980 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.000 %
ElmMassFraction: 67.10 % ElmAbundance 21.05 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm
Imean: 173.000 eV
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.090 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Copper density: 8.960 g/cm3 RadL: 1.436 cm Nucl.Int.Length: 15.588 cm
Imean: 322.000 eV
---> Element: Cu (Cu) Z = 29.0 N = 63.5 A = 63.55 g/mole
---> Isotope: Cu63 Z = 29 N = 63 A = 62.93 g/mole abundance: 69.17 %
---> Isotope: Cu65 Z = 29 N = 65 A = 64.93 g/mole abundance: 30.83 %
---> Element: Cu (Cu) Z = 29.0 N = 64 A = 63.550 g/mole
---> Isotope: Cu63 Z = 29 N = 63 A = 62.93 g/mole abundance: 69.170 %
---> Isotope: Cu65 Z = 29 N = 65 A = 64.93 g/mole abundance: 30.830 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm
Imean: 350.000 eV
---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Ge (Ge) Z = 32.0 N = 73 A = 72.610 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silver density: 10.500 g/cm3 RadL: 8.543 mm Nucl.Int.Length: 15.868 cm
Imean: 470.000 eV
---> Element: Ag (Ag) Z = 47.0 N = 107.9 A = 107.87 g/mole
---> Isotope: Ag107 Z = 47 N = 107 A = 106.90 g/mole abundance: 51.84 %
---> Isotope: Ag109 Z = 47 N = 109 A = 108.91 g/mole abundance: 48.16 %
---> Element: Ag (Ag) Z = 47.0 N = 108 A = 107.870 g/mole
---> Isotope: Ag107 Z = 47 N = 107 A = 106.90 g/mole abundance: 51.839 %
---> Isotope: Ag109 Z = 47 N = 109 A = 108.91 g/mole abundance: 48.161 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.85 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.850 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm
Imean: 890.000 eV
---> Element: U (U) Z = 92.0 N = 238.0 A = 238.03 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.01 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.72 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.27 %
---> Element: U (U) Z = 92.0 N = 238 A = 238.030 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.005 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.720 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.275 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: ams density: 7.409 g/cm3 RadL: 8.996 mm Nucl.Int.Length: 25.515 cm
Imean: 691.183 eV
---> Element: Lead (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Lead (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 94.81 % ElmAbundance 36.54 %
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 4.79 % ElmAbundance 31.84 %
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 0.40 % ElmAbundance 31.62 %
Material: ArgonGas density: 1.782 mg/cm3 RadL: 109.702 m Nucl.Int.Length: 671.417 m
Imean: 188.000 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Ar (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Isobutane density: 2.420 mg/cm3 RadL: 186.951 m Nucl.Int.Length: 270.571 m
Imean: 53.040 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 82.63 % ElmAbundance 28.57 %
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 17.37 % ElmAbundance 71.43 %
Material: ArgonButane density: 1.835 mg/cm3 RadL: 128.411 m Nucl.Int.Length: 522.379 m
Imean: 119.602 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Ar (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 70.00 % ElmAbundance 19.52 %
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 24.79 % ElmAbundance 22.99 %
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 5.21 % ElmAbundance 57.48 %
PhysicsList::AddPhysicsList: <local>
========= Table of registered couples ==============================
@@ -288,6 +287,23 @@ Index : 0 used in the geometry : Yes
-------------------------------------------------------------
========= Table of registered couples ==============================
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
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
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
e- (10 MeV) in Water (density: 1 g/cm3 radiation length: 36.0924 cm )
Range cuts : gamma 100 um e- 100 um
@@ -314,10 +330,9 @@ Index : 0 used in the geometry : Yes
range from restrict dE/dx: 6.07227 cm ( 6.07227 g/cm2 )
range from full dE/dx : 4.93186 cm ( 4.93186 g/cm2 )
transport mean free path : 27.9107 cm ( 27.9107 g/cm2 )
transport mean free path : 2.82437 mm ( 282.437 mg/cm2)
critical energy (Rossi) : 78.7732 MeV
Moliere radius : 0.269193 X0 = 9.71583 cm
-------------------------------------------------------------
Total navigation history collections cleaned: 6
@@ -27,7 +27,7 @@
/// \brief Definition of the PhysicsList class
//
//
// $Id: PhysicsList.hh 66241 2012-12-13 18:34:42Z gunter $
// $Id: PhysicsList.hh 93512 2015-10-23 13:45:07Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//
@@ -59,17 +59,8 @@ class PhysicsList: public G4VModularPhysicsList
void AddPhysicsList(const G4String& name);
virtual void SetCuts();
void SetCutForGamma(G4double);
void SetCutForElectron(G4double);
void SetCutForPositron(G4double);
private:
G4double fCutForGamma;
G4double fCutForElectron;
G4double fCutForPositron;
G4double fCurrentDefaultCut;
G4VPhysicsConstructor* fEmPhysicsList;
G4String fEmName;
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm0/include/PhysicsListMessenger.hh
/// \brief Definition of the PhysicsListMessenger class
//
// $Id: PhysicsListMessenger.hh 66241 2012-12-13 18:34:42Z gunter $
// $Id: PhysicsListMessenger.hh 93512 2015-10-23 13:45:07Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -56,14 +56,10 @@ class PhysicsListMessenger: public G4UImessenger
private:
PhysicsList* fPhysicsList;
PhysicsList* fPhysicsList;
G4UIdirectory* fPhysDir;
G4UIcmdWithADoubleAndUnit* fGammaCutCmd;
G4UIcmdWithADoubleAndUnit* fElectCutCmd;
G4UIcmdWithADoubleAndUnit* fProtoCutCmd;
G4UIcmdWithADoubleAndUnit* fAllCutCmd;
G4UIcmdWithAString* fListCmd;
G4UIdirectory* fPhysDir;
G4UIcmdWithAString* fListCmd;
};
@@ -28,7 +28,7 @@
//
//
// $Id: DetectorConstruction.cc 68165 2013-03-15 21:10:27Z maire $
// $Id: DetectorConstruction.cc 93512 2015-10-23 13:45:07Z gcosmo $
//
//
@@ -147,7 +147,7 @@ void DetectorConstruction::DefineMaterials()
G4Material* argonGas =
new G4Material("ArgonGas", z=18, a=39.948*g/mole, density= 1.782*mg/cm3,
kStateGas, 273.15*kelvin, 1*atmosphere);
G4Material* butane =
new G4Material("Isobutane",density= 2.42*mg/cm3, ncomponents=2,
kStateGas,273.15*kelvin, 1*atmosphere);
@@ -27,7 +27,7 @@
/// \brief Implementation of the PhysicsList class
//
//
// $Id: PhysicsList.cc 66241 2012-12-13 18:34:42Z gunter $
// $Id: PhysicsList.cc 93512 2015-10-23 13:45:07Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -51,15 +51,13 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysicsList::PhysicsList()
: G4VModularPhysicsList(),fCutForGamma(0),fCutForElectron(0),fCutForPositron(0),
fCurrentDefaultCut(0),fEmPhysicsList(0),fEmName("local"),fMessenger(0)
: G4VModularPhysicsList(),
fEmPhysicsList(0),fEmName("local"),fMessenger(0)
{
G4LossTableManager::Instance();
fCurrentDefaultCut = 1.0*mm;
fCutForGamma = fCurrentDefaultCut;
fCutForElectron = fCurrentDefaultCut;
fCutForPositron = fCurrentDefaultCut;
// set default cut value
SetDefaultCutValue(1.0*mm);
fMessenger = new PhysicsListMessenger(this);
@@ -284,37 +282,12 @@ void PhysicsList::SetCuts()
{
// fixe lower limit for cut
G4ProductionCutsTable::GetProductionCutsTable()->SetEnergyRange(100*eV, 1*GeV);
// set cut values for gamma at first and for e- second and next for e+,
// because some processes for e+/e- need cut values for gamma
SetCutValue(fCutForGamma, "gamma");
SetCutValue(fCutForElectron, "e-");
SetCutValue(fCutForPositron, "e+");
// call base class method to set cuts which default value can be
// modified via /run/setCut/* commands
G4VUserPhysicsList::SetCuts();
DumpCutValuesTable();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysicsList::SetCutForGamma(G4double cut)
{
fCutForGamma = cut;
SetParticleCuts(fCutForGamma, G4Gamma::Gamma());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysicsList::SetCutForElectron(G4double cut)
{
fCutForElectron = cut;
SetParticleCuts(fCutForElectron, G4Electron::Electron());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysicsList::SetCutForPositron(G4double cut)
{
fCutForPositron = cut;
SetParticleCuts(fCutForPositron, G4Positron::Positron());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm0/src/PhysicsListMessenger.cc
/// \brief Implementation of the PhysicsListMessenger class
//
// $Id: PhysicsListMessenger.cc 67268 2013-02-13 11:38:40Z ihrivnac $
// $Id: PhysicsListMessenger.cc 93512 2015-10-23 13:45:07Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,40 +42,11 @@
PhysicsListMessenger::PhysicsListMessenger(PhysicsList* pPhys)
:G4UImessenger(),
fPhysicsList(pPhys),fPhysDir(0),fGammaCutCmd(0),fElectCutCmd(0),
fProtoCutCmd(0),fAllCutCmd(0),fListCmd(0)
fPhysicsList(pPhys),fPhysDir(0),fListCmd(0)
{
fPhysDir = new G4UIdirectory("/testem/phys/");
fPhysDir->SetGuidance("physics list commands");
fGammaCutCmd = new G4UIcmdWithADoubleAndUnit("/testem/phys/setGCut",this);
fGammaCutCmd->SetGuidance("Set gamma cut.");
fGammaCutCmd->SetParameterName("Gcut",false);
fGammaCutCmd->SetUnitCategory("Length");
fGammaCutCmd->SetRange("Gcut>0.0");
fGammaCutCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fElectCutCmd = new G4UIcmdWithADoubleAndUnit("/testem/phys/setECut",this);
fElectCutCmd->SetGuidance("Set electron cut.");
fElectCutCmd->SetParameterName("Ecut",false);
fElectCutCmd->SetUnitCategory("Length");
fElectCutCmd->SetRange("Ecut>0.0");
fElectCutCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fProtoCutCmd = new G4UIcmdWithADoubleAndUnit("/testem/phys/setPCut",this);
fProtoCutCmd->SetGuidance("Set positron cut.");
fProtoCutCmd->SetParameterName("Pcut",false);
fProtoCutCmd->SetUnitCategory("Length");
fProtoCutCmd->SetRange("Pcut>0.0");
fProtoCutCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fAllCutCmd = new G4UIcmdWithADoubleAndUnit("/testem/phys/setCuts",this);
fAllCutCmd->SetGuidance("Set cut for all.");
fAllCutCmd->SetParameterName("cut",false);
fAllCutCmd->SetUnitCategory("Length");
fAllCutCmd->SetRange("cut>0.0");
fAllCutCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
fListCmd = new G4UIcmdWithAString("/testem/phys/addPhysics",this);
fListCmd->SetGuidance("Add modula physics list.");
fListCmd->SetParameterName("PList",false);
@@ -86,10 +57,6 @@ PhysicsListMessenger::PhysicsListMessenger(PhysicsList* pPhys)
PhysicsListMessenger::~PhysicsListMessenger()
{
delete fGammaCutCmd;
delete fElectCutCmd;
delete fProtoCutCmd;
delete fAllCutCmd;
delete fListCmd;
delete fPhysDir;
}
@@ -99,23 +66,6 @@ PhysicsListMessenger::~PhysicsListMessenger()
void PhysicsListMessenger::SetNewValue(G4UIcommand* command,
G4String newValue)
{
if( command == fGammaCutCmd )
{ fPhysicsList->SetCutForGamma(fGammaCutCmd->GetNewDoubleValue(newValue));}
if( command == fElectCutCmd )
{ fPhysicsList->SetCutForElectron(fElectCutCmd->GetNewDoubleValue(newValue));}
if( command == fProtoCutCmd )
{ fPhysicsList->SetCutForPositron(fProtoCutCmd->GetNewDoubleValue(newValue));}
if( command == fAllCutCmd )
{
G4double cut = fAllCutCmd->GetNewDoubleValue(newValue);
fPhysicsList->SetCutForGamma(cut);
fPhysicsList->SetCutForElectron(cut);
fPhysicsList->SetCutForPositron(cut);
}
if( command == fListCmd )
{ fPhysicsList->AddPhysicsList(newValue);}
}
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm0/src/RunAction.cc
/// \brief Implementation of the RunAction class
//
// $Id: RunAction.cc 68243 2013-03-19 18:03:11Z vnivanch $
// $Id: RunAction.cc 93512 2015-10-23 13:45:07Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -240,13 +240,13 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4cout << "\n \n restricted dE/dx : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13)
<< G4BestUnit(dedx1[j],"Energy/Length");
<< G4BestUnit(dedx1[j],"Energy/Length");
}
G4cout << "\n (MeV/g/cm2) : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13)
<< G4BestUnit(dedx2[j],"Energy*Surface/Mass");
<< G4BestUnit(dedx2[j],"Energy*Surface/Mass");
}
dedxtot = 0.;
@@ -268,7 +268,7 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4cout << "\n (MeV/g/cm2) : ";
for (size_t j=0; j<=nproc; j++) {
G4cout << "\t" << std::setw(13)
<< G4BestUnit(dedx2[j],"Energy*Surface/Mass");
<< G4BestUnit(dedx2[j],"Energy*Surface/Mass");
}
//get range from restricted dedx
@@ -286,8 +286,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(8) << G4BestUnit(Range1,"Length")
<< " (" << std::setw(8) << G4BestUnit(Range2,"Mass/Surface") << ")";
}
//get transport mean free path (for multiple scattering)
@@ -1,18 +1,18 @@
//$Id$
///\file "electromagnetic/TestEm1/.README"
///\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 perticular the range of charged particles.
- 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 represente an 'semi infinite' homogeneous medium.
It is a simple box which represents a 'semi infinite' homogeneous medium.
Two parameters define the geometry :
- the material of the box,
@@ -25,32 +25,41 @@
the DetectorMessenger class.
\section TestEm1_s2 PHYSICS LIST
Physics lists can be local (eg. in this example) or from G4 kernel
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 list:
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "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
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders (geant4/source/physics_lists/builders)
it is shown how to set options per particle type.
Few commands have been added to PhysicsList, in order to set the production
A few commands have been added to PhysicsList, in order to set the production
threshold for secondaries for gamma and e-/e+.
PhysicsList contains also G4Decay and G4RadioactiveDecay processes
\section TestEm1_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle starting at the left face
@@ -76,11 +85,11 @@
\section TestEm1_s5 PHYSICS SURVEY
The particle's type and the physic processes which will be available in this
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/inactived together with differents cuts, in order to survey the
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
@@ -1,4 +1,4 @@
$Id: History 85282 2014-10-27 09:22:11Z gcosmo $
$Id: History 93735 2015-10-30 11:00:28Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -14,7 +14,20 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
28-10-15 D.Sawkey (testem1-V10-01-03)
- add EM standards physics builders GS, WVI
- update physics list description in READMEs, again
26-10-15 D.Sawkey (testem1-V10-01-02)
- match .README and README
26-10-15 D.Sawkey (testem1-V10-01-01)
- update physics list description in README
12-01-15 mma (testem1-V10-01-00)
- PhysicsList : rm SetICM()
23-10-14 mma (testem1-V10-00-11)
- in TestEm1.in : /run/numberOfThreads 2
@@ -1,4 +1,4 @@
$Id: README 77289 2013-11-22 10:53:37Z gcosmo $
$Id: README 93735 2015-10-30 11:00:28Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -9,12 +9,12 @@ $Id: README 77289 2013-11-22 10:53:37Z gcosmo $
-------
How to count processes.
How to activate/inactivate processes.
How to survey the tracking, in perticular the range of charged particles.
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 represente an 'semi infinite' homogeneous medium.
It is a simple box which represents a 'semi infinite' homogeneous medium.
Two parameters define the geometry :
- the material of the box,
@@ -28,45 +28,54 @@ $Id: README 77289 2013-11-22 10:53:37Z gcosmo $
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
Physics lists can be local (eg. in this example) or from G4 kernel
EM physics builders can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics list:
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "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
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders (geant4/source/physics_lists/builders)
it is shown how to set options per particle type.
Few commands have been added to PhysicsList, in order to set the production
A few commands have been added to PhysicsList, in order to set the production
threshold for secondaries for gamma and e-/e+.
PhysicsList contains also G4Decay and G4RadioactiveDecay processes
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 ParticleGun class (see the macros provided with this example).
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().
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
@@ -77,11 +86,11 @@ $Id: README 77289 2013-11-22 10:53:37Z gcosmo $
5 - PHYSICS SURVEY
The particle's type and the physic processes which will be available in this
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/inactived together with differents cuts, in order to survey the
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
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -14,254 +14,254 @@
***** Table : Nb of materials = 20 *****
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Nucl.Int.Length: 4.944 m
Imean: 19.200 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: CO2 density: 0.001 kg/m3 RadL: 361.873 km Nucl.Int.Length: 858.384 km
Imean: 90.958 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 90.958 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Hydrogen (C) Z = 6.0 N = 12.0 A = 12.00 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Hydrogen (C) Z = 6.0 N = 12 A = 12.000 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 27.27 % ElmAbundance 33.33 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 72.73 % ElmAbundance 66.67 %
Material: D2_gas density: 0.036 kg/m3 RadL: 34.993 km Nucl.Int.Length: 9.791 km
Imean: 19.200 eV temperature: 273.15 K pressure: 1.00 atm
Material: D2_gas density: 0.036 kg/m3 RadL: 34.993 km Nucl.Int.Length: 9.722 km
Imean: 19.200 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Heavy-Hydrogen (D) Z = 1.0 N = 2.0 A = 2.01 g/mole
---> Isotope: d Z = 1 N = 2 A = 2.01 g/mole abundance: 100.00 %
---> Element: Heavy-Hydrogen (D) Z = 1.0 N = 2 A = 2.014 g/mole
---> Isotope: d Z = 1 N = 2 A = 2.01 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm
Imean: 173.000 eV
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.090 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Chromium density: 7.140 g/cm3 RadL: 2.093 cm Nucl.Int.Length: 18.295 cm
Imean: 257.000 eV
---> Element: Cr (Cr) Z = 24.0 N = 52.0 A = 51.99 g/mole
---> Isotope: Cr50 Z = 24 N = 50 A = 49.95 g/mole abundance: 4.34 %
---> Isotope: Cr52 Z = 24 N = 52 A = 51.94 g/mole abundance: 83.79 %
---> Isotope: Cr53 Z = 24 N = 53 A = 52.94 g/mole abundance: 9.50 %
---> Isotope: Cr54 Z = 24 N = 54 A = 53.94 g/mole abundance: 2.37 %
---> Element: Cr (Cr) Z = 24.0 N = 52 A = 51.990 g/mole
---> Isotope: Cr50 Z = 24 N = 50 A = 49.95 g/mole abundance: 4.345 %
---> Isotope: Cr52 Z = 24 N = 52 A = 51.94 g/mole abundance: 83.789 %
---> Isotope: Cr53 Z = 24 N = 53 A = 52.94 g/mole abundance: 9.501 %
---> Isotope: Cr54 Z = 24 N = 54 A = 53.94 g/mole abundance: 2.365 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm
Imean: 350.000 eV
---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Ge (Ge) Z = 32.0 N = 73 A = 72.610 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm
Imean: 473.785 eV
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 15.41 % ElmAbundance 63.16 %
---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Germanium (Ge) Z = 32.0 N = 73 A = 72.590 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 17.48 % ElmAbundance 15.79 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.00 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209 A = 208.980 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.000 %
ElmMassFraction: 67.10 % ElmAbundance 21.05 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.85 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.850 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Gold density: 19.320 g/cm3 RadL: 3.344 mm Nucl.Int.Length: 10.540 cm
Imean: 790.000 eV
---> Element: Au (Au) Z = 79.0 N = 197.0 A = 196.97 g/mole
---> Isotope: Au197 Z = 79 N = 197 A = 196.97 g/mole abundance: 100.00 %
---> Element: Au (Au) Z = 79.0 N = 197 A = 196.970 g/mole
---> Isotope: Au197 Z = 79 N = 197 A = 196.97 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm
Imean: 890.000 eV
---> Element: U (U) Z = 92.0 N = 238.0 A = 238.03 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.01 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.72 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.27 %
---> Element: U (U) Z = 92.0 N = 238 A = 238.030 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.005 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.720 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.275 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: ArgonGas density: 1.782 mg/cm3 RadL: 109.702 m Nucl.Int.Length: 671.417 m
Imean: 188.000 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Ar (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Isobutane density: 2.420 mg/cm3 RadL: 186.822 m Nucl.Int.Length: 270.486 m
Imean: 53.040 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Hydrogen (C) Z = 6.0 N = 12.0 A = 12.00 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Hydrogen (C) Z = 6.0 N = 12 A = 12.000 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 82.62 % ElmAbundance 28.57 %
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 17.38 % ElmAbundance 71.43 %
Material: ArgonButane density: 1.835 mg/cm3 RadL: 128.398 m Nucl.Int.Length: 522.307 m
Imean: 119.578 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Ar (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 70.00 % ElmAbundance 19.51 %
---> Element: Hydrogen (C) Z = 6.0 N = 12.0 A = 12.00 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Hydrogen (C) Z = 6.0 N = 12 A = 12.000 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 24.78 % ElmAbundance 23.00 %
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 5.22 % ElmAbundance 57.49 %
Material: Lu2SiO5 density: 7.400 g/cm3 RadL: 1.143 cm Nucl.Int.Length: 20.916 cm
Material: Lu2SiO5 density: 7.400 g/cm3 RadL: 1.143 cm Nucl.Int.Length: 20.920 cm
Imean: 418.807 eV
---> Element: Lu (Lu) Z = 71.0 N = 175.0 A = 174.97 g/mole
---> Isotope: Lu175 Z = 71 N = 175 A = 174.94 g/mole abundance: 97.41 %
---> Isotope: Lu176 Z = 71 N = 176 A = 175.94 g/mole abundance: 2.59 %
---> Element: Lu (Lu) Z = 71.0 N = 175 A = 174.967 g/mole
---> Isotope: Lu175 Z = 71 N = 175 A = 174.94 g/mole abundance: 97.410 %
---> Isotope: Lu176 Z = 71 N = 176 A = 175.94 g/mole abundance: 2.590 %
ElmMassFraction: 76.40 % ElmAbundance 25.00 %
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.085 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 6.13 % ElmAbundance 12.50 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 17.47 % ElmAbundance 62.50 %
@@ -324,42 +324,40 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 2000
User=4.07s Real=4.09s Sys=0s
User=3.11s Real=3.11s Sys=0s
======================== run summary ======================
The run is: 2000 e- of 100 MeV through 10 m of Aluminium (density: 2.7 g/cm3 )
total energy deposit: 99.784 MeV
total energy deposit: 99.818 MeV
nb tracks/event neutral: 25.214 charged: 136.41
nb steps/event neutral: 129.74 charged: 202.58
nb tracks/event neutral: 25.37 charged: 137.86
nb steps/event neutral: 131.25 charged: 203.51
Process calls frequency :
CoulombScat= 1 Transportation= 1910 annihil= 2883
compt= 209048 conv= 2865 eBrem= 45701
eIoni= 355780 msc= 790 phot= 45663
Transportation= 1797 annihil= 2832 compt= 211768
conv= 2818 eBrem= 46132 eIoni= 357656
msc= 393 phot= 46131
---------------------------------------------------------
Primary particle :
true Range = 10.968 cm rms = 3.8693 cm
proj Range = 9.5071 cm rms = 3.5715 cm
proj/true = 0.86677
transverse dispersion at end = 1.5883 cm
mass true Range from simulation = 29.615 g/cm2
from PhysicsTable (csda range) = 32.099 g/cm2
true Range = 11.108 cm rms = 3.7531 cm
proj Range = 9.6718 cm rms = 3.5086 cm
proj/true = 0.87069
transverse dispersion at end = 1.5715 cm
mass true Range from simulation = 29.992 g/cm2
from PhysicsTable (csda range) = 32.1 g/cm2
---------------------------------------------------------
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1724451476, 2015559535
Current couple of seeds = 1125509901, 1932947406
----------------------------------------
G4 kernel has come to Quit state.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.06 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.064 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm1/src/PhysicsList.cc
/// \brief Implementation of the PhysicsList class
//
// $Id: PhysicsList.cc 85268 2014-10-27 09:04:27Z gcosmo $
// $Id: PhysicsList.cc 93735 2015-10-30 11:00:28Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,6 +42,8 @@
#include "G4EmStandardPhysics_option3.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4EmStandardPhysicsSS.hh"
#include "G4EmStandardPhysicsGS.hh"
#include "G4EmStandardPhysicsWVI.hh"
#include "G4EmLivermorePhysics.hh"
#include "G4EmPenelopePhysics.hh"
#include "G4EmLowEPPhysics.hh"
@@ -155,47 +157,50 @@ void PhysicsList::AddPhysicsList(const G4String& name)
if (name == fEmName) return;
if (name == "local") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new PhysListEmStandard(name);
} else if (name == "emstandard_opt0") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics();
} else if (name == "emstandard_opt1") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option1();
} else if (name == "emstandard_opt2") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option2();
} else if (name == "emstandard_opt3") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option3();
} else if (name == "emstandard_opt4") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option4();
} else if (name == "emstandardSS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsSS();
} else if (name == "emstandardGS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsGS();
} else if (name == "emstandardWVI") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsWVI();
} else if (name == "emlivermore") {
fEmName = name;
delete fEmPhysicsList;
@@ -249,7 +254,6 @@ void PhysicsList::AddRadioactiveDecay()
{
G4RadioactiveDecay* radioactiveDecay = new G4RadioactiveDecay();
radioactiveDecay->SetHLThreshold(-1.*s);
radioactiveDecay->SetICM(true); //Internal Conversion
radioactiveDecay->SetARM(true); //Atomic Rearangement
G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm10/.README"
///\file "electromagnetic/TestEm10/.README.txt"
///\brief Example TestEm10 README page
/*! \page ExampleTestEm10 Example TestEm10
@@ -1,4 +1,4 @@
$Id: History 73034 2013-08-15 09:25:35Z gcosmo $
$Id: History 90463 2015-06-01 09:33:38Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,9 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
30-05-15 V.Ivanchenko (testem10-V10-01-00)
- Em10PhysicsList - removed obsolete header
24-07-13 P.Gumplinger (testem10-V09-06-01)
- remove or comment out unused class fields in Em10DetectorConstruction,
Em10PhysicsListMessenger, Em10PrimaryGeneratorAction and
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -82,7 +82,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -140,7 +140,7 @@ Lorentz Factor XTR photon number
8.085e+04 3.149
9.283e+04 3.149
total time for build X-ray TR energy loss tables = 0.08 s
total time for build X-ray TR energy loss tables = 0.06 s
SynRad: Incoherent Synchrotron Radiation
good description for long magnets at all energies
@@ -162,7 +162,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -224,10 +224,10 @@ Lorentz Factor XTR photon number
8.085e+04 3.149
9.283e+04 3.149
total time for build X-ray TR energy loss tables = 0.08 s
total time for build X-ray TR energy loss tables = 0.06 s
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -242,7 +242,7 @@ hIoni: for proton SubType= 2
PAIModel : Emin= 0 eV Emax= 10 TeV deltaVI
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -257,7 +257,7 @@ hIoni: for kaon+ SubType= 2
PAIModel : Emin= 0 eV Emax= 10 TeV deltaVI
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -272,7 +272,7 @@ hIoni: for kaon- SubType= 2
PAIModel : Emin= 0 eV Emax= 10 TeV deltaVI
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -301,7 +301,7 @@ muPairProd: for mu+ SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -330,7 +330,7 @@ muPairProd: for mu- SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -345,7 +345,7 @@ hIoni: for pi+ SubType= 2
PAIModel : Emin= 0 eV Emax= 10 TeV deltaVI
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -396,26 +396,26 @@ Index : 2 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000
User=0.92s Real=0.92s Sys=0s
User=0.85s Real=0.85s Sys=0s
================== run summary =====================
end of Run TotNbofEvents = 1000
mean charged track length in absorber=45.2012 +- 0.667544 mm
mean charged track length in absorber=44.6123 +- 0.615106 mm
mean energy deposit in absorber=0.054333 +- 0.000915753 MeV
mean energy deposit in absorber=0.0523117 +- 0.000856792 MeV
mean number of steps in absorber (charged) =8.886 +- 0.24323
mean number of steps in absorber (neutral) =2.903 +- 0.0533628
mean number of steps in absorber (charged) =8.081 +- 0.200705
mean number of steps in absorber (neutral) =2.794 +- 0.0514545
mean number of charged secondaries = 3.521 +- 0.071983
mean number of charged secondaries = 3.372 +- 0.0687431
mean number of neutral secondaries = 0.035 +- 0.00598122
mean number of neutral secondaries = 0.042 +- 0.00634319
mean number of e-s =3.521 and e+s =0
mean number of e-s =3.372 and e+s =0
(number) transmission coeff=0.224 reflection coeff=0
(number) transmission coeff=0.233 reflection coeff=0
energy deposit distribution
#entries=1000 #underflows=0 #overflows=57
#entries=1000 #underflows=0 #overflows=59
bin nb Elow entries normalized
0 0 0 0
1 1.53846 0 0
@@ -425,70 +425,70 @@ Run Summary
5 7.69231 0 0
6 9.23077 0 0
7 10.7692 0 0
8 12.3077 3 0.003
9 13.8462 6 0.006
10 15.3846 9 0.009
11 16.9231 7 0.007
12 18.4615 20 0.02
13 20 22 0.022
14 21.5385 15 0.015
15 23.0769 13 0.013
16 24.6154 22 0.022
17 26.1538 22 0.022
18 27.6923 19 0.019
19 29.2308 18 0.018
20 30.7692 23 0.023
21 32.3077 23 0.023
22 33.8462 30 0.03
23 35.3846 20 0.02
24 36.9231 29 0.029
25 38.4615 31 0.031
26 40 31 0.031
27 41.5385 25 0.025
28 43.0769 35 0.035
29 44.6154 25 0.025
30 46.1538 25 0.025
31 47.6923 34 0.034
32 49.2308 33 0.033
33 50.7692 21 0.021
34 52.3077 26 0.026
35 53.8462 28 0.028
36 55.3846 15 0.015
37 56.9231 22 0.022
38 58.4615 24 0.024
39 60 25 0.025
40 61.5385 16 0.016
41 63.0769 13 0.013
42 64.6154 12 0.012
43 66.1538 18 0.018
44 67.6923 7 0.007
45 69.2308 18 0.018
46 70.7692 13 0.013
47 72.3077 16 0.016
48 73.8462 10 0.01
49 75.3846 12 0.012
50 76.9231 14 0.014
51 78.4615 6 0.006
52 80 11 0.011
53 81.5385 7 0.007
54 83.0769 7 0.007
55 84.6154 10 0.01
56 86.1538 9 0.009
8 12.3077 0 0
9 13.8462 4 0.004
10 15.3846 7 0.007
11 16.9231 11 0.011
12 18.4615 21 0.021
13 20 16 0.016
14 21.5385 12 0.012
15 23.0769 17 0.017
16 24.6154 20 0.02
17 26.1538 27 0.027
18 27.6923 27 0.027
19 29.2308 29 0.029
20 30.7692 34 0.034
21 32.3077 27 0.027
22 33.8462 29 0.029
23 35.3846 32 0.032
24 36.9231 25 0.025
25 38.4615 34 0.034
26 40 35 0.035
27 41.5385 30 0.03
28 43.0769 36 0.036
29 44.6154 27 0.027
30 46.1538 35 0.035
31 47.6923 26 0.026
32 49.2308 27 0.027
33 50.7692 19 0.019
34 52.3077 22 0.022
35 53.8462 19 0.019
36 55.3846 27 0.027
37 56.9231 19 0.019
38 58.4615 19 0.019
39 60 17 0.017
40 61.5385 11 0.011
41 63.0769 12 0.012
42 64.6154 19 0.019
43 66.1538 12 0.012
44 67.6923 13 0.013
45 69.2308 15 0.015
46 70.7692 17 0.017
47 72.3077 5 0.005
48 73.8462 8 0.008
49 75.3846 11 0.011
50 76.9231 6 0.006
51 78.4615 8 0.008
52 80 10 0.01
53 81.5385 16 0.016
54 83.0769 4 0.004
55 84.6154 2 0.002
56 86.1538 7 0.007
57 87.6923 6 0.006
58 89.2308 6 0.006
59 90.7692 4 0.004
60 92.3077 6 0.006
61 93.8462 6 0.006
62 95.3846 8 0.008
63 96.9231 4 0.004
64 98.4615 3 0.003
58 89.2308 4 0.004
59 90.7692 3 0.003
60 92.3077 7 0.007
61 93.8462 4 0.004
62 95.3846 1 0.001
63 96.9231 5 0.005
64 98.4615 5 0.005
Emp = 0.0430769 width= 0.0507692 MeV
Emp = 0.0430769 width= 0.0461538 MeV
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 821884987, 1714530142
Current couple of seeds = 2102791090, 1435182547
----------------------------------------
========= Table of registered couples ==============================
@@ -517,9 +517,8 @@ Index : 2 used in the geometry : Yes
====================================================================
G4 kernel has come to Quit state.
Total navigation history collections cleaned: 13
================== Deleting memory pools ===================
Number of memory pools allocated: 12 of which, static: 1
Dynamic pools deleted: 11 / Total memory freed: 0.034 Mb
Dynamic pools deleted: 11 / Total memory freed: 0.05 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -27,7 +27,7 @@
/// \brief Definition of the Em10SteppingAction class
//
//
// $Id: Em10SteppingAction.hh 73033 2013-08-15 09:24:45Z gcosmo $
// $Id: Em10SteppingAction.hh 90463 2015-06-01 09:33:38Z gcosmo $
//
//
@@ -61,7 +61,7 @@ private:
Em10EventAction* eventaction;
Em10RunAction* runaction;
G4int IDnow,IDold;
G4long IDnow,IDold;
};
@@ -27,7 +27,7 @@
/// \brief Implementation of the Em10PhysicsList class
//
//
// $Id: Em10PhysicsList.cc 68585 2013-04-01 23:35:07Z adotti $
// $Id: Em10PhysicsList.cc 90463 2015-06-01 09:33:38Z gcosmo $
//
#include "Em10PhysicsList.hh"
@@ -63,7 +63,7 @@
#include "G4eBremsstrahlung.hh"
#include "G4eplusAnnihilation.hh"
#include "G4PAIModel.hh"
#include "G4PAIPhotonModel.hh"
#include "G4PAIPhotModel.hh"
#include "G4SynchrotronRadiation.hh"
@@ -88,9 +88,8 @@
#include "Em10StepCut.hh"
/////////////////////////////////////////////////////////////
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Em10PhysicsList::Em10PhysicsList(Em10DetectorConstruction* p)
: G4VUserPhysicsList(),
@@ -122,9 +121,7 @@ Em10PhysicsList::~Em10PhysicsList()
delete physicsListMessenger;
}
///////////////////////////////////////////////////////////////////////////
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructParticle()
{
@@ -139,9 +136,7 @@ void Em10PhysicsList::ConstructParticle()
ConstructBarions();
}
////////////////////////////////////////////////////////////////////////////
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructBosons()
{
@@ -149,6 +144,8 @@ void Em10PhysicsList::ConstructBosons()
G4Gamma::GammaDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructLeptons()
{
// leptons
@@ -164,6 +161,8 @@ void Em10PhysicsList::ConstructLeptons()
G4AntiNeutrinoMu::AntiNeutrinoMuDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructMesons()
{
// mesons
@@ -175,6 +174,7 @@ void Em10PhysicsList::ConstructMesons()
G4KaonMinus::KaonMinusDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructBarions()
{
@@ -184,10 +184,7 @@ void Em10PhysicsList::ConstructBarions()
G4AntiProton::AntiProtonDefinition();
}
///////////////////////////////////////////////////////////////////////
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructProcess()
{
@@ -196,9 +193,7 @@ void Em10PhysicsList::ConstructProcess()
ConstructGeneral();
}
/////////////////////////////////////////////////////////////////////////////
//
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructEM()
{
@@ -240,7 +235,6 @@ void Em10PhysicsList::ConstructEM()
}
else if(fXTRModel == "strawR" )
{
// G4StrawTubeXTRadiator*
processXTR = new G4StrawTubeXTRadiator(pDet->GetLogicalRadiator(),
pDet->GetFoilMaterial(),
@@ -404,6 +398,8 @@ void Em10PhysicsList::ConstructEM()
opt.SetApplyCuts(true);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::ConstructGeneral()
{
// Add Decay Process
@@ -428,7 +424,7 @@ void Em10PhysicsList::ConstructGeneral()
}
}
/////////////////////////////////////////////////////////////////////////////
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::SetCuts()
{
@@ -460,21 +456,21 @@ void Em10PhysicsList::SetCuts()
if (verboseLevel > 1) DumpCutValuesTable();
}
///////////////////////////////////////////////////////////////////////////
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::SetGammaCut(G4double val)
{
cutForGamma = val;
}
///////////////////////////////////////////////////////////////////////////
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::SetElectronCut(G4double val)
{
cutForElectron = val;
}
////////////////////////////////////////////////////////////////////////////
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::SetMaxStep(G4double step)
{
@@ -483,7 +479,7 @@ void Em10PhysicsList::SetMaxStep(G4double step)
G4cout << G4endl;
}
/////////////////////////////////////////////////////
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::SetRadiatorCuts()
{
@@ -498,7 +494,7 @@ void Em10PhysicsList::SetRadiatorCuts()
G4cout<<"Radiator positron cut = "<<fPositronCut/mm<<" mm"<<G4endl;
}
/////////////////////////////////////////////////////////////
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void Em10PhysicsList::SetDetectorCuts()
{
@@ -513,3 +509,5 @@ void Em10PhysicsList::SetDetectorCuts()
G4cout<<"Detector positron cut = "<<fPositronCut/mm<<" mm"<<G4endl;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm11/.README"
///\file "electromagnetic/TestEm11/.README.txt"
///\brief Example TestEm11 README page
/*! \page ExampleTestEm11 Example TestEm11
@@ -28,43 +28,53 @@
the commands defined in the DetectorMessenger class.
\section TestEm11_s2 PHYSICS LIST
Physics lists can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics lists:
- "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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
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 opt0) is also
available.
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
\section TestEm11_s3 ACTION INITALIZATION
\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 instatiated just once,
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 that's why its instance has to be created also in the method
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.
@@ -82,7 +92,6 @@
A RUN is a set of events.
\section TestEm11_s5 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm11.cc).
@@ -95,11 +104,10 @@
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,
Optionally one can choose to draw all particles, only the charged one,
or none. This command is defined in EventActionMessenger class.
\section TestEm11_s5 HOW TO START ?
\section TestEm11_s6 HOW TO START ?
- Execute TestEm11 in 'batch' mode from macro files
\verbatim
@@ -114,11 +122,10 @@ Idle> type your commands
....
Idle> exit
\endverbatim
\section TestEm11_s7 TRACKING and STEP MAX
\section TestEm11_s7 TRACKING and STEP MAX
Testem11 computes the distribution of energy deposited along the trajectory of
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
@@ -134,12 +141,12 @@ Idle> exit
StepMax is evaluated at RunAction::BeginOfRunAction(),
and passed to the StepMax process.
A boolean UI command allows to desactivate this mechanism.
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 :
TestEm11 has several predefined 1D histograms :
- 1 : longitudinal energy profile (in MeV/mm and per event)
- 2 : total energy deposited in the absorber
@@ -1,4 +1,4 @@
$Id: History 85273 2014-10-27 09:10:59Z gcosmo $
$Id: History 94269 2015-11-10 07:55:24Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -14,6 +14,22 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
10-11-15 V.Ivanchenko (testem11-V10-01-03)
- G4DiscreteScatteringModel- D.Dixon fixed for number of
discrete angles > 1
09-11-15 V.Ivanchenko (testem11-V10-01-02)
- D.Dixon added EM physics builders G4EmStandardPhysicsMP which
uses G4DiscreteScatteringModel for e-
- Use G4EmParameters in local Physics List classes
- improved log output of the test
27-10-15 D.Sawkey (testem11-V10-01-01)
- Add EM physics builders G4EmStandardGS,WVI
26-10-15 mma (testem11-V10-01-00)
- RunAction, Run : correct binWidth of histo 1
23-10-14 mma (testem11-V10-00-04)
- PhysListEmStandard : msc algorithm fUseSafetyPlus
@@ -1,4 +1,4 @@
$Id: README 77288 2013-11-22 10:52:58Z gcosmo $
$Id: README 94269 2015-11-10 07:55:24Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -32,51 +32,62 @@ $Id: README 77288 2013-11-22 10:52:58Z gcosmo $
the commands defined in the DetectorMessenger class.
2- PHYSICS LIST
Physics lists can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics lists:
- "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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
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 opt0) is also
available.
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
3- ACTION INITALIZATION
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 instatiated just once,
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 that's why its instance has to be created also in the method
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.
3- AN EVENT : THE PRIMARY GENERATOR
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 ParticleGun class (see the macros provided with
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
@@ -85,8 +96,7 @@ $Id: README 77288 2013-11-22 10:52:58Z gcosmo $
A RUN is a set of events.
4- VISUALIZATION
5- VISUALIZATION
The Visualization Manager is set in the main().
The initialisation of the drawing is done via the commands
@@ -96,11 +106,10 @@ $Id: README 77288 2013-11-22 10:52:58Z gcosmo $
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,
Optionally one can choose to draw all particles, only the charged one,
or none. This command is defined in EventActionMessenger class.
5- HOW TO START ?
6- HOW TO START ?
- Execute TestEm11 in 'batch' mode from macro files
% TestEm11 run01.mac
@@ -112,10 +121,9 @@ $Id: README 77288 2013-11-22 10:52:58Z gcosmo $
....
Idle> exit
6- TRACKING and STEP MAX
7- TRACKING and STEP MAX
Testem11 computes the distribution of energy deposited along the trajectory of
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
@@ -131,12 +139,12 @@ $Id: README 77288 2013-11-22 10:52:58Z gcosmo $
StepMax is evaluated at RunAction::BeginOfRun(),
and passed to the StepMax process.
A boolean UI command allows to desactivate this mechanism.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
7- HISTOGRAMS
8- HISTOGRAMS
Testem11 has several predefined 1D histograms :
TestEm11 has several predefined 1D histograms :
1 : longitudinal energy profile (in MeV/mm and per event)
2 : total energy deposited in the absorber
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm11/TestEm11.cc
/// \brief Main program of the electromagnetic/TestEm11 example
//
// $Id: TestEm11.cc 85029 2014-10-23 10:00:33Z gcosmo $
// $Id: TestEm11.cc 94269 2015-11-10 07:55:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -59,15 +59,26 @@ int main(int argc,char** argv) {
//choose the Random engine
G4Random::setTheEngine(new CLHEP::RanecuEngine);
G4VSteppingVerbose::SetInstance(new SteppingVerbose);
//Construct the default run manager
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
G4int nThreads = G4Threading::G4GetNumberOfCores();
if (argc==3) nThreads = G4UIcommand::ConvertToInt(argv[2]);
runManager->SetNumberOfThreads(nThreads);
// Number of threads can be defined via 3rd argument
G4int nThreads = 4;
if (argc==3) {
if(G4String(argv[2]) == "NMAX") {
nThreads = G4Threading::G4GetNumberOfCores();
} else {
nThreads = G4UIcommand::ConvertToInt(argv[2]);
}
} else if(argc==1) {
nThreads = 1;
}
if (nThreads > 0) { runManager->SetNumberOfThreads(nThreads); }
G4cout << "===== TestEm11 is started with "
<< runManager->GetNumberOfThreads() << " threads =====" << G4endl;
#else
G4VSteppingVerbose::SetInstance(new SteppingVerbose);
G4RunManager* runManager = new G4RunManager;
#endif
@@ -88,13 +99,12 @@ int main(int argc,char** argv) {
G4String command = "/control/execute ";
G4String fileName = argv[1];
UI->ApplyCommand(command+fileName);
}
}
else //define visualization and UI terminal for interactive mode
{
#ifdef G4VIS_USE
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
#ifdef G4UI_USE
@@ -104,7 +114,7 @@ int main(int argc,char** argv) {
#endif
#ifdef G4VIS_USE
delete visManager;
delete visManager;
#endif
}
@@ -1,10 +1,9 @@
# $Id: TestEm11.in 85273 2014-10-27 09:10:59Z gcosmo $
# $Id: TestEm11.in 94269 2015-11-10 07:55:24Z gcosmo $
#
# limit the step size from histo 1
#
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/numberOfThreads 2
/run/verbose 2
#
/testem/det/setNbOfAbsor 1
@@ -4,16 +4,13 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
*************************************************************
/control/cout/ignoreThreadsExcept 0
/run/numberOfThreads 2
*** /run/numberOfThreads command is issued in sequential mode.
Command is ignored.
/run/verbose 2
#
/testem/det/setNbOfAbsor 1
@@ -53,10 +50,13 @@ physicsList->setCut() start.
#
/run/beamOn 20000
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 10 TeV in 154 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
PhotoElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive
LivermorePhElectric : Emin= 0 eV Emax= 10 TeV AngularGenSauterGavrila FluoActive
compt: for gamma SubType= 13 BuildTable= 1
Lambda table from 10 eV to 1 MeV, 20 bins per decade, spline: 1
@@ -81,9 +81,6 @@ msc: for e- SubType= 10
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
eIoni: for e- SubType= 2
dE/dx and range tables from 10 eV to 10 TeV in 240 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
@@ -95,7 +92,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 10 eV to 10 TeV in 240 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 10 TeV AngularGen2BS
@@ -116,7 +113,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 10 eV to 10 TeV in 240 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV AngularGen2BS
eBremLPM : Emin= 1 GeV Emax= 10 TeV AngularGen2BS
@@ -126,7 +123,7 @@ annihil: for e+, integral: 1 SubType= 5 BuildTable= 0
eplus2gg : Emin= 0 eV Emax= 10 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -192,7 +189,7 @@ nuclearStopping: for alpha SubType= 8 BuildTable= 0
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -223,7 +220,7 @@ nuclearStopping: for anti_proton SubType= 8 BuildTable= 0
ICRU49NucStopping : Emin= 0 eV Emax= 1 MeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -250,7 +247,7 @@ hPairProd: for kaon+ SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -277,7 +274,7 @@ hPairProd: for kaon- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -305,7 +302,7 @@ muPairProd: for mu+ SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -333,7 +330,7 @@ muPairProd: for mu- SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -360,7 +357,7 @@ hPairProd: for pi+ SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 220 bins Emin= 100 eV Emax= 10 TeV
@@ -443,27 +440,27 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 20000
User=4.63s Real=4.64s Sys=0s
User=4.95s Real=4.95s Sys=0s
======================== run summary =====================
The run is 20000 e- of 500.00 keV through 1 absorbers:
1.00 mm of G4_Si (density: 2.33 g/cm3 )
Total Energy deposited = 453.149 keV +- 101.134 keV
Total Energy deposited = 448.952 keV +- 104.254 keV
Track length of primary track = 887.381 um +- 189.539 um
Track length of primary track = 881.139 um +- 191.624 um
Range from EmCalculator = 942.776 um (from full dE/dx)
Projected range = 316.345 um +- 195.691 um
Projected range = 317.035 um +- 196.526 um
Nb of steps of primary track = 21.39 +- 4.79 Step size= 41.987 um +- 7.250 um
Nb of steps of primary track = 21.31 +- 4.82 Step size= 41.848 um +- 7.385 um
absorbed = 80.22 % transmit = 4.17 % reflected = 15.61 %
absorbed = 78.31 % transmit = 5.08 % reflected = 16.62 %
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1929563614, 212116705
Current couple of seeds = 536398241, 1538275505
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -476,8 +473,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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.000961 MB
Pool ID '7G4Track', size : 0.000961 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.011 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.014 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -0,0 +1,89 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
#ifndef G4DiscreteScatteringModel_HH
#define G4DiscreteScatteringModel_HH
#include "G4VEmModel.hh"
#include "G4ParticleDefinition.hh"
#include "G4Material.hh"
#include "G4Element.hh"
#include "G4ElementData.hh"
#include "G4PhysicsVector.hh"
#include "G4ParticleChangeForGamma.hh"
#include <vector>
typedef std::vector<G4double> G4PVDataVector;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class G4DiscreteScatteringModel : public G4VEmModel
{
public:
G4DiscreteScatteringModel(G4int iNumAngles=1);
virtual ~G4DiscreteScatteringModel();
virtual void Initialise(const G4ParticleDefinition*, const G4DataVector&);
void ReadData(G4int, const G4String & argFileName);
virtual G4double ComputeCrossSectionPerAtom(const G4ParticleDefinition*,
G4double E,
G4double Z,
G4double A = 0.,
G4double cutEnergy = 0.0,
G4double maxEnergy = DBL_MAX);
virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
const G4MaterialCutsCouple*,
const G4DynamicParticle*,
G4double tmin=0.0,
G4double maxEnergy=DBL_MAX);
inline void SetNumberOfAngles(G4int N) { fNumAngles=N; };
inline void SetAnalog(const G4String& model) { fAnalogModel=model; };
private:
G4ThreeVector GetNewDirection(G4double z1);
static G4ElementData* fCdf;
static G4ElementData* fTcs;
G4PVDataVector fGrid;
G4ParticleChangeForGamma* fParticleChange;
G4String fAnalogModel;
G4int fNumAngles;
G4double fLowEnergyLimit;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
@@ -0,0 +1,60 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
#ifndef G4DiscreteScatteringProcess_HH
#define G4DiscreteScatteringProcess_HH
#include "G4VEmProcess.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class G4DiscreteScatteringProcess : public G4VEmProcess{
public:
G4DiscreteScatteringProcess(G4int iNumAngles=1);
virtual ~G4DiscreteScatteringProcess();
virtual void InitialiseProcess(const G4ParticleDefinition*);
virtual bool IsApplicable(const G4ParticleDefinition& p);
// This will need to check whether the particle is something
// our particle works for. Right now, protons.
virtual void PrintInfo();
private:
bool fIsInitialised;
G4int fNumAngles;
};
#endif
@@ -23,36 +23,41 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file electromagnetic/TestEm12/include/PhysListEmStandardGS.hh
/// \brief Definition of the PhysListEmStandardGS class
/// \file electromagnetic/TestEm11/include/PhysListEmStandardMP.hh
/// \brief Definition of the PhysListEmStandardMP class
//
// $Id: PhysListEmStandardGS.hh 66241 2012-12-13 18:34:42Z gunter $
//
// $Id: PhysListEmStandardMP.hh 66241 2012-12-13 18:34:42Z gunter $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef PhysListEmStandardGS_h
#define PhysListEmStandardGS_h 1
#ifndef PhysListEmStandardMP_h
#define PhysListEmStandardMP_h 1
#include "G4VPhysicsConstructor.hh"
#include "globals.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class PhysListEmStandardGS : public G4VPhysicsConstructor
class PhysListEmStandardMP : public G4VPhysicsConstructor
{
public:
PhysListEmStandardGS(const G4String& name = "standardGS");
~PhysListEmStandardGS();
public:
PhysListEmStandardMP(G4int iNumAngles);
~PhysListEmStandardMP();
public:
// This method is dummy for physics
virtual void ConstructParticle() {};
public:
// This method is dummy for physics
virtual void ConstructParticle() {};
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
private:
G4int fNumAngles;
};
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -27,7 +27,7 @@
/// \brief Definition of the PhysicsList class
//
//
// $Id: PhysicsList.hh 82462 2014-06-23 10:45:28Z gcosmo $
// $Id: PhysicsList.hh 94269 2015-11-10 07:55:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//
@@ -62,11 +62,14 @@ class PhysicsList: public G4VModularPhysicsList
void AddStepMax();
StepMax* GetStepMaxProcess() {return fStepMaxProcess;};
inline void SetNumAngles(G4int num) { fNumAngles = num; };
private:
G4String fEmName;
G4VPhysicsConstructor* fEmPhysicsList;
static G4ThreadLocal StepMax* fStepMaxProcess;
G4int fNumAngles;
PhysicsListMessenger* fMessenger;
};
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm11/include/PhysicsListMessenger.hh
/// \brief Definition of the PhysicsListMessenger class
//
// $Id: PhysicsListMessenger.hh 82462 2014-06-23 10:45:28Z gcosmo $
// $Id: PhysicsListMessenger.hh 94269 2015-11-10 07:55:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -40,6 +40,7 @@
class PhysicsList;
class G4UIdirectory;
class G4UIcmdWithAString;
class G4UIcmdWithAnInteger;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -58,6 +59,7 @@ class PhysicsListMessenger: public G4UImessenger
G4UIdirectory* fPhysDir;
G4UIcmdWithAString* fListCmd;
G4UIcmdWithAnInteger* fNumAngs;
};
@@ -0,0 +1,30 @@
# $Id: TestEm11.in 85061 2014-10-23 16:30:57Z maire $
#
# limit the step size from histo 1
#
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/numberOfThreads 2
/run/verbose 2
#
/testem/det/setNbOfAbsor 1
/testem/det/setAbsor 1 G4_Si 1 mm
/testem/det/setSizeYZ 1 mm
#
/testem/phys/addPhysics emstandardMP # em physics
#
/run/initialize
#
/gun/particle e-
/gun/energy 500 keV
#
###/analysis/setFileName testem11mp
###/analysis/h1/set 1 100 0. 1. mm #edep profile
###/analysis/h1/set 2 102 0. 510. keV #total Edep
###/analysis/h1/set 3 100 0. 2. mm #track length
###/analysis/h1/set 4 100 0. 200. um #step length
###/analysis/h1/set 5 100 0. 1. mm #proj range
#
/run/printProgress 10000
#
/run/beamOn 20000
@@ -0,0 +1,34 @@
# $Id: sandia.mac 76008 2013-11-07 16:00:44Z maire $
#
# limit the step size from histo 8
#
# G.J.Lockwood et al.
# Sandia report SAND79-0414.UC-34a, February 1987
# O.Kadri et al. NIM B 258 (2007) 381
#
/control/verbose 2
/run/verbose 2
#
/testem/det/setNbOfAbsor 1
###/testem/det/setAbsor 1 G4_Al 1 cm
###/testem/det/setAbsor 1 G4_Mo 1 cm
/testem/det/setAbsor 1 G4_Ta 1 cm
/testem/det/setSizeYZ 1 cm
#
/testem/phys/addPhysics emstandardMP
###/testem/phys/addPhysics local
#
/run/initialize
#
/run/setCut 1 mm # will set cut for proton
#
/gun/particle e-
/gun/energy 1000 keV
#
/analysis/setFileName sandia/Ta_1000keV_mp
###/analysis/h1/set 8 100 0. 1.0 none #normalized Edep profile
/analysis/h1/set 8 100 0. 0.5 none #for Ta
#
/run/printProgress 10000
#
/run/beamOn 100000
@@ -0,0 +1,392 @@
//
// ********************************************************************
// * 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. *
// ********************************************************************
//
#include "G4DiscreteScatteringModel.hh"
#include "G4ParticleDefinition.hh"
#include "G4AtomicShells.hh"
#include "G4Track.hh"
#include "G4Material.hh"
#include "G4UnitsTable.hh"
#include "G4ProductionCutsTable.hh"
#include "G4ParticleChangeForGamma.hh"
#include "G4ElementData.hh"
#include "G4Exp.hh"
#include "G4Log.hh"
#include <iostream>
#include <string>
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
using namespace std;
using namespace CLHEP;
G4ElementData* G4DiscreteScatteringModel::fCdf = nullptr;
G4ElementData* G4DiscreteScatteringModel::fTcs = nullptr;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4DiscreteScatteringModel::G4DiscreteScatteringModel(G4int iNumAngles)
: G4VEmModel("DiscrScat"), fParticleChange(nullptr),fAnalogModel("pwe"),
fNumAngles(iNumAngles), fLowEnergyLimit(2*keV)
{
SetHighEnergyLimit(100.*MeV);
SetLowEnergyLimit(fLowEnergyLimit);
if(IsMaster() && fCdf == nullptr) {
fCdf = new G4ElementData();
fTcs = new G4ElementData();
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4DiscreteScatteringModel::~G4DiscreteScatteringModel()
{
if(IsMaster()) {
delete fCdf;
delete fTcs;
fCdf = nullptr;
fTcs = nullptr;
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void G4DiscreteScatteringModel::Initialise(const G4ParticleDefinition*,
const G4DataVector&)
{
if(nullptr == fParticleChange) {
fParticleChange = GetParticleChangeForGamma();
}
if(!IsMaster()) { return; }
G4cout << "G4DiscreteScatteringModel::Initialise start"<<G4endl;
const G4int maxZ = 100;
char *path = getenv("G4GBFPDATA");
if (!path)
{
G4Exception("G4DiscreteScatteringModel::Initialise","em0006",
FatalException,"G4GBFPDATA environment variable not set.");
return;
}
std::ostringstream eFullFileName;
eFullFileName << path;
G4ProductionCutsTable* theCoupleTable =
G4ProductionCutsTable::GetProductionCutsTable();
G4int numOfCouples = theCoupleTable->GetTableSize();
for(G4int i=0; i<numOfCouples; ++i)
{
const G4Material* material =
theCoupleTable->GetMaterialCutsCouple(i)->GetMaterial();
const G4ElementVector* theElementVector = material->GetElementVector();
G4int nelm = material->GetNumberOfElements();
for (G4int j=0; j<nelm; ++j)
{
G4int Z = G4lrint((*theElementVector)[j]->GetZ());
if(Z < 1) { Z = 1; }
else if(Z > maxZ) { Z = maxZ; }
if(!fTcs->GetElementData(Z)) { ReadData(Z, path); }
}
}
G4cout << "G4DiscreteScatteringModel::Initialise completed"<<G4endl;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void G4DiscreteScatteringModel::ReadData(G4int Z, const G4String& argFileName)
{
// Set strings with paths to tcs data file. Currently not a variable but this
// this will change
G4String fullFileName(argFileName);
stringstream ss1;//create a stringstream
ss1 << Z;//add number to the stream
stringstream ss2;//create a stringstream
ss2 << fNumAngles;
G4String tcsPath = fullFileName+"/log_gbfp_"+fAnalogModel
+"_tcs_"+ss1.str()+"_"+ss2.str()+".dat";
// Do some error checking and exiting if data does not exist
std::ifstream in(tcsPath, std::ifstream::binary|std::ifstream::in);
if (!in.is_open())
{
G4String message("Data file \"");
message+=tcsPath;
message+="\" not found";
G4Exception("G4DiscreteScatteringModel::LoadData","em0003",
FatalException,message);
return;
}
//G4cout<<"Reading in data file "<< tcsPath<<G4endl;
// Create a temporary G4PhysicsVector object pointer
G4PhysicsVector* tempData = new G4PhysicsVector(false);
// Use retrieve to read in the total cross section (tcs) data
tempData->Retrieve(in,true);
// Convert tcs from cm^2 to mm^2
//tempData->ScaleVector(1.0, 100.0);
// store pass this data to the tcs object and initialise for current element
fTcs->InitialiseForElement(Z,tempData);
in.close();
// Set strings with paths to cdf data files. Currently not a variable
// but this this will change
G4String cdfPath = fullFileName+"/gbfp_"+fAnalogModel+"_cdf_"
+ss1.str()+"_"+ss2.str()+".dat";
// Do some error checking and exiting if data does not exist
std::ifstream in2(cdfPath, std::ifstream::binary|std::ifstream::in);
if (!in2.is_open())
{
G4String message("Data file \"");
message+=cdfPath;
message+="\" not found";
G4Exception("G4DiscreteScatteringModel::LoadData","em0003",
FatalException,message);
return;
}
//G4cout<<"Reading in data file "<< cdfPath<<G4endl;
// The cumulative distribution functions (CDF) for energy E_j and X_i
// on (0,1) is C(E_j,X_i) and read-in/stored at this time.
// For the purposes of this model, each energy grid point where the CDF
// is evaluated is considered a component. The number of energy grid
// points is consistent with the fTcs data, so the following int is set
// by calling G4PhysicsVector::GetVectorLength().
G4int numEnergies = fTcs->GetElementData(Z)->GetVectorLength();
// The ElementData object pointer is then initialized by
fCdf->InitialiseForComponent(Z, numEnergies);
// Now the data files are read in for all energies. At each energy,
// there are fNumAngles angles and fNumAngles CDF values.
std::vector<G4PhysicsVector*> tempDataCDF;
// Loop through each energy
for (int j=0; j<numEnergies; j++)
{
// Push back a new G4PhysicsVector for the jth energy
tempDataCDF.push_back(new G4PhysicsVector(false));
// For use with David's PhysicsVector class
//tempDataCDF.push_back(new G4PhysicsVector(false,false,true));
//tempDataCDF.push_back(new G4PhysicsVector(false,false,false));
//tempDataCDF.push_back(new G4PhysicsVector());
}
// Open a temporary stream. The data for the jth energy group is copied
// to the temp file and then the temp file is sent to
// G4PhysicsVector::Retrieve(). Once the data is stored in the
// G4PhysicsVector, tempDataCDF, it is then passed to the ElementData, cdf,
// which is the container for all of the data for each element and energy.
//static G4Mutex m = G4MUTEX_INITIALIZER;
//G4AutoLock l(&m);
// Open the stream and call file "tempDataFile.dat"
std::ofstream file("tempDataFile.dat",
std::fstream::out | std::fstream::trunc);
// Write to file the lower/upper bounds and the number of grid points
// for each column of data. The data in tempfile is 2xfNumAngles,
// hence fNumAngles fNumAngles.
// file<<lowerBound<<" "<<upperBound<<" "<<fNumAngles<<" "
// <<fNumAngles<<G4endl;
file<<"-1. 1. "<<fNumAngles<<" "<<fNumAngles<<G4endl;
// Start while loop over the entire data file opened above
// e.g. pwe_cdf_79.dat. This data contains all of the data for each energy
G4int cntr = 0;
G4int j = 0;
G4double temp1, temp2;
while(in2>>temp1>>temp2)
{
// Write data to temporary file
file<<setprecision(16)<<temp1<<" "<<temp2<<G4endl;
cntr++;
// When the first fNumAngles data points are copied to tempDataFile.dat,
// store data in tempDataCDF[j]. Then increment the energy index, j,
// close and clear the streams, and then reopen the streams such that
// the next fNumAngles data points are copied to tempDataFile.dat.
if (cntr==fNumAngles)
{
cntr=0;
std::ifstream inTemp("tempDataFile.dat",
std::ifstream::binary|std::ifstream::in);
tempDataCDF[j]->Retrieve(inTemp,true);
fCdf->AddComponent(Z,j,tempDataCDF[j]);
j++;
inTemp.close(), inTemp.clear(), file.close(), file.clear();
file.open("tempDataFile.dat",std::fstream::out | std::fstream::trunc);
file<<"-1. 1. "<<fNumAngles<<" "<<fNumAngles<<G4endl;
}
}
in2.close();
return;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void G4DiscreteScatteringModel::SampleSecondaries(
std::vector<G4DynamicParticle*>*,
const G4MaterialCutsCouple* couple,
const G4DynamicParticle* p,
G4double cutEnergy,
G4double)
{
G4double E = p->GetKineticEnergy();
if(E < fLowEnergyLimit) return;
// Select random atom
G4int Z = G4lrint(SelectRandomAtom(couple,p->GetDefinition(),
E,cutEnergy,E)->GetZ());
// Determine the energy bin
G4double logE = G4Log(E);
G4ThreeVector dir = p->GetMomentumDirection(); //old direction
G4int j = fTcs->GetElementData(Z)->FindBin(logE,0);
//-------------------------------------------------------------------------
// it would be nice to have the following block of code in G4PhysicsVector.
// it could be a simple function.
// v.GetVectorLength() - number of points
// v.Energy(size_t idx) - value x(i)
// v[i] - value y(i)
// This is a monte carlo interpolation scheme
G4double e1 = fTcs->GetElementData(Z)->Energy(j);
G4double e2 = fTcs->GetElementData(Z)->Energy(j+1);
// This is a monte carlo interpolation scheme
G4double pie1 = (logE-e1)/(e2-e1);
G4double r = G4UniformRand();
if (r<pie1){ ++j; }
//-------------------------------------------------------------------------
// it would be nice to have the following block of code in G4PhysicsVector.
//---------------
// Given the energy grid value associated with the DCS,
// sample a deflection cosine
r = G4UniformRand();
G4int k = -1;
// First test if the angle is the most probable angle
if (r>(*fCdf->GetComponentDataByIndex(Z,j)).Energy(fNumAngles-2))
{ k = fNumAngles-1; }
// or the least probable... not sure why I do this (maybe because
// it is a simple check)
else if (r<=(*fCdf->GetComponentDataByIndex(Z,j)).Energy(0)) { k = 0; }
// if neither then loop through remaining angles, break when locating angle
else {
for (G4int i=fNumAngles-2; i>0; --i) {
if ( (r>(*fCdf->GetComponentDataByIndex(Z,j)).Energy(i-1))
&& (r<= (*fCdf->GetComponentDataByIndex(Z,j)).Energy(i)) )
{ k=i; break;}
}
}
// Throw an error if an angle was not sampled, data is probably no good
if(k<0)
{
G4cout << "G4DiscreteScatteringModel::SampleSecondaries():"
<< " CDF was not inverted properly "<<k<<G4endl;
for (G4int i=0;i<fNumAngles;++i) {
G4cout<<i<<" "<<(*fCdf->GetComponentDataByIndex(Z,j)).Energy(i)<<" "<<r<<G4endl;
}
}
//-------------------------------------------------------------------------
// Otherwise, go get the angle and pass it too local method GetNewDirection.
// Then do transformation and update fParticleChange.
//G4cout<<"------------------"<<G4endl;
//G4cout<<"Sample Secondaries"<<G4endl;
//G4cout<<G4Exp(e1)<<" "<<E<<" "<<G4Exp(e2)<<" "<<pie1<<" "
// <<(*fCdf->GetComponentDataByIndex(Z,j)).Energy(k)<<G4endl;
//G4cout<<"------------------"<<G4endl;
//G4cout<<" "<<G4endl;
G4ThreeVector newDirection =
GetNewDirection((*fCdf->GetComponentDataByIndex(Z,j))[k]);
newDirection.rotateUz(dir);
fParticleChange->ProposeMomentumDirection(newDirection);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4double G4DiscreteScatteringModel::ComputeCrossSectionPerAtom(
const G4ParticleDefinition*,G4double E, G4double Z, G4double,
G4double, G4double)
{
// super simple, very compact look-up for total cross section
if (E==0.) {return 1e30;}
//G4cout<<"------------------"<<G4endl;
//G4cout<<"ComputeCrossSectionPerAtom"<<G4endl;
//G4cout<< E<<" "<<G4Log(E)<<" "<< G4Exp(fTcs->GetValueForElement(Z,log(E)))
//<<" "<<fTcs->GetValueForElement(Z,log(E))<<G4endl;
//G4cout<<"------------------"<<G4endl;
//G4cout<<" "<<G4endl;
//G4cout<< E<<" "<<G4Exp(fTcs->GetValueForElement(Z,log(E)))<<G4endl;
return G4Exp(fTcs->GetValueForElement(Z,G4Log(E)));
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4ThreeVector G4DiscreteScatteringModel::GetNewDirection(G4double z1)
{
G4ThreeVector dir(0.0,0.0,1.0);
G4double sint = sin(acos(z1));
G4double cost = sqrt(1.0 - sint*sint);
G4double phi = twopi* G4UniformRand();
G4double dirx = sint*cos(phi);
G4double diry = sint*sin(phi);
G4double dirz = cost;
dir.set(dirx,diry,dirz);
return dir;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,46 +23,49 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file electromagnetic/TestEm5/include/PhysListEmStandardGS.hh
/// \brief Definition of the PhysListEmStandardGS class
//
// $Id: PhysListEmStandardGS.hh 66241 2012-12-13 18:34:42Z gunter $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#ifndef PhysListEmStandardGS_h
#define PhysListEmStandardGS_h 1
#include "G4VPhysicsConstructor.hh"
#include "globals.hh"
#include "G4DiscreteScatteringProcess.hh"
#include "G4DiscreteScatteringModel.hh"
#include "G4Electron.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
class PhysListEmStandardGS : public G4VPhysicsConstructor
G4DiscreteScatteringProcess::G4DiscreteScatteringProcess(G4int iNumAngles)
: G4VEmProcess("DiscreteScattering", fElectromagnetic),
fIsInitialised(false), fNumAngles(iNumAngles)
{
public:
PhysListEmStandardGS(const G4String& name = "standardGS");
~PhysListEmStandardGS();
public:
// This method is dummy for physics
virtual void ConstructParticle() {};
// This method will be invoked in the Construct() method.
// each physics process will be instantiated and
// registered to the process manager of each particle type
virtual void ConstructProcess();
};
SetBuildTableFlag(true);
SetStartFromNullFlag(false);
SetMinKinEnergy(2*CLHEP::keV);
SetMaxKinEnergy(100*CLHEP::MeV);
SetIntegral(false);
SetSplineFlag(false);
SetProcessSubType(1);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#endif
G4DiscreteScatteringProcess::~G4DiscreteScatteringProcess(){
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
bool G4DiscreteScatteringProcess::IsApplicable(const G4ParticleDefinition& p){
return (&p == G4Electron::Definition());
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void G4DiscreteScatteringProcess::PrintInfo(){}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void
G4DiscreteScatteringProcess::InitialiseProcess(const G4ParticleDefinition*)
{
if(fIsInitialised) { return; }
fIsInitialised = true;
G4VEmModel* model = new G4DiscreteScatteringModel(fNumAngles);
AddEmModel(1, model);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysListEmStandard.cc 85273 2014-10-27 09:10:59Z gcosmo $
// $Id: PhysListEmStandard.cc 94269 2015-11-10 07:55:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -64,13 +64,22 @@
#include "G4LossTableManager.hh"
#include "G4UAtomicDeexcitation.hh"
#include "G4BuilderType.hh"
#include "G4EmModelActivator.hh"
#include "G4SystemOfUnits.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandard::PhysListEmStandard(const G4String& name)
: G4VPhysicsConstructor(name)
{}
{
G4EmParameters* param = G4EmParameters::Instance();
param->SetDefaults();
param->SetFluo(true);
param->SetMscStepLimitType(fUseSafetyPlus);
SetPhysicsType(bElectromagnetic);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -92,12 +101,12 @@ void PhysListEmStandard::ConstructProcess()
if (particleName == "gamma") {
////ph->RegisterProcess(new G4RayleighScattering, particle);
ph->RegisterProcess(new G4PhotoElectricEffect, particle);
G4ComptonScattering* cs = new G4ComptonScattering;
cs->SetEmModel(new G4KleinNishinaModel());
ph->RegisterProcess(cs, particle);
ph->RegisterProcess(new G4GammaConversion, particle);
////ph->RegisterProcess(new G4RayleighScattering, particle);
} else if (particleName == "e-") {
@@ -170,31 +179,13 @@ void PhysListEmStandard::ConstructProcess()
}
}
// Em options
//
// Main options and setting parameters are shown here.
// Several of them have default values.
//
G4EmProcessOptions emOptions;
//physics tables
//
emOptions.SetMinEnergy(10*eV); //default 100 eV
emOptions.SetMaxEnergy(10*TeV); //default 100 TeV
emOptions.SetDEDXBinning(12*10); //default=12*7
emOptions.SetLambdaBinning(12*10); //default=12*7
//multiple coulomb scattering
//
emOptions.SetMscStepLimitation(fUseSafetyPlus); //default=fUseSafety
// Deexcitation
//
G4VAtomDeexcitation* de = new G4UAtomicDeexcitation();
de->SetFluo(true);
de->SetAuger(false);
de->SetPIXE(false);
G4LossTableManager::Instance()->SetAtomDeexcitation(de);
G4EmModelActivator mact;
mact.ConstructProcess();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -23,24 +23,23 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file electromagnetic/TestEm5/src/PhysListEmStandardGS.cc
/// \brief Implementation of the PhysListEmStandardGS class
//
// $Id: PhysListEmStandardGS.cc 68585 2013-04-01 23:35:07Z adotti $
// $Id: PhysListEmStandardMP.cc 85273 2014-10-27 09:10:59Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "PhysListEmStandardGS.hh"
#include "PhysListEmStandardMP.hh"
#include "G4ParticleDefinition.hh"
#include "G4ProcessManager.hh"
#include "G4PhysicsListHelper.hh"
#include "G4ComptonScattering.hh"
#include "G4GammaConversion.hh"
#include "G4PhotoElectricEffect.hh"
#include "G4RayleighScattering.hh"
#include "G4KleinNishinaModel.hh"
#include "G4eMultipleScattering.hh"
#include "G4GoudsmitSaundersonMscModel.hh"
#include "G4eIonisation.hh"
#include "G4eBremsstrahlung.hh"
#include "G4eplusAnnihilation.hh"
@@ -62,126 +61,136 @@
#include "G4EmProcessOptions.hh"
#include "G4MscStepLimitType.hh"
#include "G4LossTableManager.hh"
#include "G4UAtomicDeexcitation.hh"
#include "G4BuilderType.hh"
#include "G4EmModelActivator.hh"
#include "G4SystemOfUnits.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandardGS::PhysListEmStandardGS(const G4String& name)
: G4VPhysicsConstructor(name)
{}
#include "G4DiscreteScatteringProcess.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandardGS::~PhysListEmStandardGS()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysListEmStandardGS::ConstructProcess()
PhysListEmStandardMP::PhysListEmStandardMP(G4int iNumAngles)
: G4VPhysicsConstructor("G4EmStandardMP"), fNumAngles(iNumAngles)
{
// Add standard EM Processes
//
aParticleIterator->reset();
while( (*aParticleIterator)() ){
G4ParticleDefinition* particle = aParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
G4String particleName = particle->GetParticleName();
if (particleName == "gamma") {
// gamma
pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
pmanager->AddDiscreteProcess(new G4ComptonScattering);
pmanager->AddDiscreteProcess(new G4GammaConversion);
} else if (particleName == "e-") {
//electron
G4eMultipleScattering* msc = new G4eMultipleScattering();
msc->AddEmModel(0, new G4GoudsmitSaundersonMscModel());
pmanager->AddProcess(msc, -1, 1, 1);
pmanager->AddProcess(new G4eIonisation, -1, 2, 2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3, 3);
} else if (particleName == "e+") {
//positron
G4eMultipleScattering* msc = new G4eMultipleScattering();
msc->AddEmModel(0, new G4GoudsmitSaundersonMscModel());
pmanager->AddProcess(msc, -1, 1, 1);
pmanager->AddProcess(new G4eIonisation, -1, 2, 2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4);
} else if (particleName == "mu+" ||
particleName == "mu-" ) {
//muon
pmanager->AddProcess(new G4MuMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4MuIonisation, -1, 2, 2);
pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4MuPairProduction, -1, 4, 4);
} else if( particleName == "proton" ||
particleName == "pi-" ||
particleName == "pi+" ) {
//proton
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
pmanager->AddProcess(new G4hBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4hPairProduction, -1, 4, 4);
} else if( particleName == "alpha" ||
particleName == "He3" ) {
//alpha
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
pmanager->AddProcess(new G4NuclearStopping, -1, 3,-1);
} else if( particleName == "GenericIon" ) {
//Ions
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
G4ionIonisation* ionIoni = new G4ionIonisation();
ionIoni->SetEmModel(new G4IonParametrisedLossModel());
pmanager->AddProcess(ionIoni, -1, 2, 2);
pmanager->AddProcess(new G4NuclearStopping, -1, 3,-1);
} else if ((!particle->IsShortLived()) &&
(particle->GetPDGCharge() != 0.0) &&
(particle->GetParticleName() != "chargedgeantino")) {
//all others charged particles except geantino
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
}
}
// Em options
//
// Main options and setting parameters are shown here.
// Several of them have default values.
//
G4EmProcessOptions emOptions;
//physics tables
//
emOptions.SetMinEnergy(100*eV); //default
emOptions.SetMaxEnergy(100*TeV); //default
emOptions.SetDEDXBinning(12*20); //default=12*7
emOptions.SetLambdaBinning(12*20); //default=12*7
emOptions.SetSplineFlag(true); //default
//multiple coulomb scattering
//
emOptions.SetMscStepLimitation(fUseDistanceToBoundary); //default=fUseSafety
emOptions.SetMscRangeFactor(0.04); //default
emOptions.SetMscGeomFactor (2.5); //default
emOptions.SetSkin(3.); //default
//energy loss
//
emOptions.SetStepFunction(0.2, 100*um); //default=(0.2, 1*mm)
emOptions.SetLinearLossLimit(1.e-2); //default
//ionization
//
emOptions.SetSubCutoff(false); //default
G4EmParameters* param = G4EmParameters::Instance();
param->SetDefaults();
param->SetFluo(true);
param->SetMscStepLimitType(fUseSafetyPlus);
SetPhysicsType(bElectromagnetic);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandardMP::~PhysListEmStandardMP()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysListEmStandardMP::ConstructProcess()
{
G4PhysicsListHelper* ph = G4PhysicsListHelper::GetPhysicsListHelper();
// Add standard EM Processes
//
aParticleIterator->reset();
while( (*aParticleIterator)() ){
G4ParticleDefinition* particle = aParticleIterator->value();
G4String particleName = particle->GetParticleName();
if (particleName == "gamma") {
ph->RegisterProcess(new G4PhotoElectricEffect, particle);
G4ComptonScattering* cs = new G4ComptonScattering;
cs->SetEmModel(new G4KleinNishinaModel());
ph->RegisterProcess(cs, particle);
ph->RegisterProcess(new G4GammaConversion, particle);
////ph->RegisterProcess(new G4RayleighScattering, particle);
} else if (particleName == "e-") {
ph->RegisterProcess(new G4DiscreteScatteringProcess(fNumAngles),
particle);
// ph->RegisterProcess(new G4eMultipleScattering(), particle);
//
G4eIonisation* eIoni = new G4eIonisation();
eIoni->SetStepFunction(0.1, 100*um);
ph->RegisterProcess(eIoni, particle);
//
ph->RegisterProcess(new G4eBremsstrahlung(), particle);
} else if (particleName == "e+") {
ph->RegisterProcess(new G4eMultipleScattering(), particle);
//
G4eIonisation* eIoni = new G4eIonisation();
eIoni->SetStepFunction(0.1, 100*um);
ph->RegisterProcess(eIoni, particle);
//
ph->RegisterProcess(new G4eBremsstrahlung(), particle);
//
ph->RegisterProcess(new G4eplusAnnihilation(), particle);
} else if (particleName == "mu+" ||
particleName == "mu-" ) {
ph->RegisterProcess(new G4MuMultipleScattering(), particle);
G4MuIonisation* muIoni = new G4MuIonisation();
muIoni->SetStepFunction(0.1, 50*um);
ph->RegisterProcess(muIoni, particle);
ph->RegisterProcess(new G4MuBremsstrahlung(), particle);
ph->RegisterProcess(new G4MuPairProduction(), particle);
} else if( particleName == "proton" ||
particleName == "pi-" ||
particleName == "pi+" ) {
ph->RegisterProcess(new G4hMultipleScattering(), particle);
G4hIonisation* hIoni = new G4hIonisation();
hIoni->SetStepFunction(0.1, 20*um);
ph->RegisterProcess(hIoni, particle);
ph->RegisterProcess(new G4hBremsstrahlung(), particle);
ph->RegisterProcess(new G4hPairProduction(), particle);
} else if( particleName == "alpha" ||
particleName == "He3" ) {
ph->RegisterProcess(new G4hMultipleScattering(), particle);
G4ionIonisation* ionIoni = new G4ionIonisation();
ionIoni->SetStepFunction(0.1, 1*um);
ph->RegisterProcess(ionIoni, particle);
ph->RegisterProcess(new G4NuclearStopping(), particle);
} else if( particleName == "GenericIon" ) {
ph->RegisterProcess(new G4hMultipleScattering(), particle);
G4ionIonisation* ionIoni = new G4ionIonisation();
ionIoni->SetEmModel(new G4IonParametrisedLossModel());
ionIoni->SetStepFunction(0.1, 1*um);
ph->RegisterProcess(ionIoni, particle);
ph->RegisterProcess(new G4NuclearStopping(), particle);
} else if ((!particle->IsShortLived()) &&
(particle->GetPDGCharge() != 0.0) &&
(particle->GetParticleName() != "chargedgeantino")) {
//all others charged particles except geantino
ph->RegisterProcess(new G4hMultipleScattering(), particle);
ph->RegisterProcess(new G4hIonisation(), particle);
}
}
// Deexcitation
//
G4VAtomDeexcitation* de = new G4UAtomicDeexcitation();
G4LossTableManager::Instance()->SetAtomDeexcitation(de);
G4EmModelActivator mact;
mact.ConstructProcess();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm11/src/PhysicsList.cc
/// \brief Implementation of the PhysicsList class
//
// $Id: PhysicsList.cc 85029 2014-10-23 10:00:33Z gcosmo $
// $Id: PhysicsList.cc 94269 2015-11-10 07:55:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -35,6 +35,7 @@
#include "PhysicsListMessenger.hh"
#include "PhysListEmStandard.hh"
#include "PhysListEmStandardMP.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmStandardPhysics_option1.hh"
@@ -42,8 +43,11 @@
#include "G4EmStandardPhysics_option3.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4EmStandardPhysicsSS.hh"
#include "G4EmStandardPhysicsGS.hh"
#include "G4EmStandardPhysicsWVI.hh"
#include "G4EmLivermorePhysics.hh"
#include "G4EmPenelopePhysics.hh"
#include "G4EmLowEPPhysics.hh"
#include "G4LossTableManager.hh"
#include "G4UnitsTable.hh"
@@ -63,8 +67,7 @@ G4ThreadLocal StepMax* PhysicsList::fStepMaxProcess = 0;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysicsList::PhysicsList() : G4VModularPhysicsList(),
fEmPhysicsList(0), fMessenger(0)
PhysicsList::PhysicsList() : G4VModularPhysicsList(), fNumAngles(1)
{
fMessenger = new PhysicsListMessenger(this);
@@ -149,47 +152,55 @@ void PhysicsList::AddPhysicsList(const G4String& name)
if (name == fEmName) return;
if (name == "local") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new PhysListEmStandard(name);
} else if (name == "emstandard_opt0") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics();
} else if (name == "emstandard_opt1") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option1();
} else if (name == "emstandard_opt2") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option2();
} else if (name == "emstandard_opt3") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option3();
} else if (name == "emstandard_opt4") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option4();
} else if (name == "emstandardSS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsSS();
} else if (name == "emstandardGS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsGS();
} else if (name == "emstandardWVI") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsWVI();
} else if (name == "emlowenergy") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmLowEPPhysics();
} else if (name == "emlivermore") {
fEmName = name;
delete fEmPhysicsList;
@@ -200,6 +211,11 @@ void PhysicsList::AddPhysicsList(const G4String& name)
delete fEmPhysicsList;
fEmPhysicsList = new G4EmPenelopePhysics();
} else if (name == "emstandardMP") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new PhysListEmStandardMP(fNumAngles);
} else {
G4cout << "PhysicsList::AddPhysicsList: <" << name << ">"
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm11/src/PhysicsListMessenger.cc
/// \brief Implementation of the PhysicsListMessenger class
//
// $Id: PhysicsListMessenger.cc 82462 2014-06-23 10:45:28Z gcosmo $
// $Id: PhysicsListMessenger.cc 94269 2015-11-10 07:55:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -36,12 +36,12 @@
#include "PhysicsList.hh"
#include "G4UIdirectory.hh"
#include "G4UIcmdWithAString.hh"
#include "G4UIcmdWithAnInteger.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysicsListMessenger::PhysicsListMessenger(PhysicsList* pPhys)
:G4UImessenger(),fPhysicsList(pPhys),
fPhysDir(0), fListCmd(0)
: G4UImessenger(),fPhysicsList(pPhys)
{
fPhysDir = new G4UIdirectory("/testem/phys/");
fPhysDir->SetGuidance("physics list commands");
@@ -50,7 +50,13 @@ PhysicsListMessenger::PhysicsListMessenger(PhysicsList* pPhys)
fListCmd->SetGuidance("Add modula physics list.");
fListCmd->SetParameterName("PList",false);
fListCmd->AvailableForStates(G4State_PreInit);
fListCmd->SetToBeBroadcasted(false);
fListCmd->SetToBeBroadcasted(false);
fNumAngs = new G4UIcmdWithAnInteger("/testem/phys/setNumberOfAngles",this);
fNumAngs->SetGuidance("Set the Number of Discrete Angles.");
fNumAngs->SetParameterName("numAngles",false);
fNumAngs->AvailableForStates(G4State_PreInit);
fNumAngs->SetToBeBroadcasted(false);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -58,7 +64,8 @@ PhysicsListMessenger::PhysicsListMessenger(PhysicsList* pPhys)
PhysicsListMessenger::~PhysicsListMessenger()
{
delete fListCmd;
delete fPhysDir;
delete fPhysDir;
delete fNumAngs;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -66,9 +73,10 @@ PhysicsListMessenger::~PhysicsListMessenger()
void PhysicsListMessenger::SetNewValue(G4UIcommand* command,
G4String newValue)
{
if( command == fListCmd )
{ fPhysicsList->AddPhysicsList(newValue);}
if( command == fNumAngs )
{ fPhysicsList->SetNumAngles(fNumAngs->GetNewIntValue(newValue));}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -288,7 +288,8 @@ void Run::EndOfRun()
//
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
G4int ih = 1;
G4double binWidth = analysisManager->GetH1Width(ih);
G4double binWidth = analysisManager->GetH1Width(ih)
*analysisManager->GetH1Unit(ih);
G4double fac = (1./(numberOfEvent*binWidth))*(mm/MeV);
analysisManager->ScaleH1(ih,fac);
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm11/src/RunAction.cc
/// \brief Implementation of the RunAction class
//
// $Id: RunAction.cc 78560 2014-01-07 10:06:52Z gcosmo $
// $Id: RunAction.cc 93562 2015-10-26 14:44:24Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -103,7 +103,8 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4double stepMax = DBL_MAX;
G4int ih = 1;
if (analysisManager->GetH1Activation(ih)) {
stepMax = analysisManager->GetH1Width(ih);
stepMax = analysisManager->GetH1Width(ih)
*analysisManager->GetH1Unit(ih);
}
ih = 8;
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm12/.README"
///\file "electromagnetic/TestEm12/.README.txt"
///\brief Example TestEm12 README page
/*! \page ExampleTestEm12 Example TestEm12
@@ -26,39 +26,48 @@
the commands defined in the DetectorMessenger class.
\section TestEm12_s2 PHYSICS LIST
Physics lists can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics lists:
- "local" standard EM physics with current 'best' options setting.
From geant4/source/physics_lists/builders:
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "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
- "dna" em physics for DNA simulation
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
- "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
A local builder, PhysListEmStandard "local" (similar to opt0) is also
available.
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
\section TestEm12_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle randomly shooted at
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
build-in commands of G4ParticleGun class (see the macros provided with
built-in commands of G4ParticleGun class (see the macros provided with
this example).
In addition one can desactivate the randomness of the direction of the
In addition one can deactivate the randomness of the direction of the
incident particle. The corresponding interactive command is built in
PrimaryGeneratorMessenger class.
@@ -77,7 +86,7 @@
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,
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 ?
@@ -96,15 +105,15 @@ Idle> type your commands
Idle> exit
\endverbatim
\section TestEm12_s6 TRACKING and STEP MAX
\section TestEm12_s6 TRACKING and STEP MAX
Testem12 computes the total energy deposited along the trajectory of
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 distribued along the step (see
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
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).
@@ -114,7 +123,7 @@ Idle> exit
StepMax is evaluated in RunAction::BeginOfRun() and passed
to the StepMax process.
A boolean UI command allows to desactivate this mechanism.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
\section TestEm12_s7 HISTOGRAMS
@@ -1,4 +1,4 @@
$Id: History 85260 2014-10-27 08:53:35Z gcosmo $
$Id: History 93666 2015-10-28 09:52:00Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -14,6 +14,15 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
27-10-15 D.Sawkey (testem12-V10-01-02)
- update READMEs
26-10-15 mma (testem12-V10-01-01)
- RunAction, Run : correct binWidth of histo 1
12-05-15 V.Ivant (testem12-V10-01-00)
- PhysicsList - use G4EmStandardPhysicsGS from physics_list library
24-10-14 mma (testem12-V10-00-04)
- PhysListEmStandard : fUseSafetyPlus
@@ -1,4 +1,4 @@
$Id: README 69108 2013-04-18 13:10:10Z gcosmo $
$Id: README 93666 2015-10-28 09:52:00Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -29,45 +29,53 @@ $Id: README 69108 2013-04-18 13:10:10Z gcosmo $
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
Physics lists can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics lists:
- "local" standard EM physics with current 'best' options setting.
From geant4/source/physics_lists/builders:
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "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
- "dna" em physics for DNA simulation
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
- "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
A local builder, PhysListEmStandard "local" (similar to opt0) is also
available.
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle randomly shooted at
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
build-in commands of ParticleGun class (see the macros provided with
built-in commands of ParticleGun class (see the macros provided with
this example).
In addition one can desactivate the randomness of the direction of the
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().
@@ -79,10 +87,9 @@ $Id: README 69108 2013-04-18 13:10:10Z gcosmo $
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,
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
@@ -95,15 +102,15 @@ $Id: README 69108 2013-04-18 13:10:10Z gcosmo $
....
Idle> exit
6- TRACKING and STEP MAX
6- TRACKING and STEP MAX
Testem12 computes the total energy deposited along the trajectory of
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 distribued along the step (see
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
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).
@@ -113,7 +120,7 @@ $Id: README 69108 2013-04-18 13:10:10Z gcosmo $
StepMax is evaluated in RunAction::BeginOfRun() and passed
to the StepMax process.
A boolean UI command allows to desactivate this mechanism.
A boolean UI command allows to deactivate this mechanism.
Another UI command allows to define directly a stepMax value.
7- HISTOGRAMS
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -31,18 +31,18 @@ userDetector->Construct() start.
---------------------------------------------------------
---> The Absorber is a sphere of 3 cm radius of G4_WATER divided in 1 slices of 3 cm
Material: G4_WATER H_2O density: 1.000 g/cm3 RadL: 36.083 cm Nucl.Int.Length: 75.504 cm
Material: G4_WATER H_2O density: 1.000 g/cm3 RadL: 36.083 cm Nucl.Int.Length: 75.375 cm
Imean: 78.000 eV
---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.19 % ElmAbundance 66.67 %
---> Element: O (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: O (O) Z = 8.0 N = 16 A = 15.999 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.81 % ElmAbundance 33.33 %
@@ -117,24 +117,24 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 10000
User=3.45s Real=3.46s Sys=0s
User=2.44s Real=2.44s Sys=0s
======================== 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.944 MeV +- 215.513 keV
Total Energy deposited = 3.944 MeV +- 221.845 keV
Track length of primary track = 2.036 cm +- 2.802 mm
Track length of primary track = 2.038 cm +- 2.816 mm
Range from EmCalculator = 2.037 cm (from full dE/dx)
Projected range = 1.319 cm +- 3.579 mm
Projected range = 1.320 cm +- 3.573 mm
Nb of steps of primary track = 16.25 +- 3.00 Step size= 1.290 mm +- 277.210 um
Nb of steps of primary track = 16.24 +- 3.03 Step size= 1.292 mm +- 278.684 um
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 23083363, 2018357790
Current couple of seeds = 689336582, 1429368840
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -147,8 +147,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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.00481 MB
Pool ID '7G4Track', size : 0.00961 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.022 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.027 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -1,188 +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/TestEm12/src/PhysListEmStandardGS.cc
/// \brief Implementation of the PhysListEmStandardGS class
//
// $Id: PhysListEmStandardGS.cc 68530 2013-04-01 21:30:05Z adotti $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "PhysListEmStandardGS.hh"
#include "G4ParticleDefinition.hh"
#include "G4ProcessManager.hh"
#include "G4ComptonScattering.hh"
#include "G4GammaConversion.hh"
#include "G4PhotoElectricEffect.hh"
#include "G4eMultipleScattering.hh"
#include "G4GoudsmitSaundersonMscModel.hh"
#include "G4eIonisation.hh"
#include "G4eBremsstrahlung.hh"
#include "G4eplusAnnihilation.hh"
#include "G4MuMultipleScattering.hh"
#include "G4MuIonisation.hh"
#include "G4MuBremsstrahlung.hh"
#include "G4MuPairProduction.hh"
#include "G4hMultipleScattering.hh"
#include "G4hIonisation.hh"
#include "G4hBremsstrahlung.hh"
#include "G4hPairProduction.hh"
#include "G4ionIonisation.hh"
#include "G4IonParametrisedLossModel.hh"
#include "G4NuclearStopping.hh"
#include "G4EmProcessOptions.hh"
#include "G4MscStepLimitType.hh"
#include "G4SystemOfUnits.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandardGS::PhysListEmStandardGS(const G4String& name)
: G4VPhysicsConstructor(name)
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandardGS::~PhysListEmStandardGS()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysListEmStandardGS::ConstructProcess()
{
// Add standard EM Processes
//
aParticleIterator->reset();
while( (*aParticleIterator)() ){
G4ParticleDefinition* particle = aParticleIterator->value();
G4ProcessManager* pmanager = particle->GetProcessManager();
G4String particleName = particle->GetParticleName();
if (particleName == "gamma") {
// gamma
pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
pmanager->AddDiscreteProcess(new G4ComptonScattering);
pmanager->AddDiscreteProcess(new G4GammaConversion);
} else if (particleName == "e-") {
//electron
G4eMultipleScattering* msc = new G4eMultipleScattering();
msc->AddEmModel(0, new G4GoudsmitSaundersonMscModel());
pmanager->AddProcess(msc, -1, 1, 1);
pmanager->AddProcess(new G4eIonisation, -1, 2, 2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3, 3);
} else if (particleName == "e+") {
//positron
G4eMultipleScattering* msc = new G4eMultipleScattering();
msc->AddEmModel(0, new G4GoudsmitSaundersonMscModel());
pmanager->AddProcess(msc, -1, 1, 1);
pmanager->AddProcess(new G4eIonisation, -1, 2, 2);
pmanager->AddProcess(new G4eBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4eplusAnnihilation, 0,-1, 4);
} else if (particleName == "mu+" ||
particleName == "mu-" ) {
//muon
pmanager->AddProcess(new G4MuMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4MuIonisation, -1, 2, 2);
pmanager->AddProcess(new G4MuBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4MuPairProduction, -1, 4, 4);
} else if( particleName == "proton" ||
particleName == "pi-" ||
particleName == "pi+" ) {
//proton
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
pmanager->AddProcess(new G4hBremsstrahlung, -1, 3, 3);
pmanager->AddProcess(new G4hPairProduction, -1, 4, 4);
} else if( particleName == "alpha" ||
particleName == "He3" ) {
//alpha
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4ionIonisation, -1, 2, 2);
pmanager->AddProcess(new G4NuclearStopping, -1, 3,-1);
} else if( particleName == "GenericIon" ) {
//Ions
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
G4ionIonisation* ionIoni = new G4ionIonisation();
ionIoni->SetEmModel(new G4IonParametrisedLossModel());
pmanager->AddProcess(ionIoni, -1, 2, 2);
pmanager->AddProcess(new G4NuclearStopping, -1, 3,-1);
} else if ((!particle->IsShortLived()) &&
(particle->GetPDGCharge() != 0.0) &&
(particle->GetParticleName() != "chargedgeantino")) {
//all others charged particles except geantino
pmanager->AddProcess(new G4hMultipleScattering, -1, 1, 1);
pmanager->AddProcess(new G4hIonisation, -1, 2, 2);
}
}
// Em options
//
// Main options and setting parameters are shown here.
// Several of them have default values.
//
G4EmProcessOptions emOptions;
//physics tables
//
emOptions.SetMinEnergy(100*eV); //default
emOptions.SetMaxEnergy(100*TeV); //default
emOptions.SetDEDXBinning(12*20); //default=12*7
emOptions.SetLambdaBinning(12*20); //default=12*7
emOptions.SetSplineFlag(true); //default
//multiple coulomb scattering
//
emOptions.SetMscStepLimitation(fUseDistanceToBoundary); //default=fUseSafety
emOptions.SetMscRangeFactor(0.04); //default
emOptions.SetMscGeomFactor (2.5); //default
emOptions.SetSkin(3.); //default
//energy loss
//
emOptions.SetStepFunction(0.2, 100*um); //default=(0.2, 1*mm)
emOptions.SetLinearLossLimit(1.e-2); //default
//ionization
//
emOptions.SetSubCutoff(false); //default
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm12/src/PhysicsList.cc
/// \brief Implementation of the PhysicsList class
//
// $Id: PhysicsList.cc 85260 2014-10-27 08:53:35Z gcosmo $
// $Id: PhysicsList.cc 90967 2015-06-12 08:10:54Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -36,7 +36,6 @@
#include "PhysListEmStandard.hh"
#include "PhysListEmStandardSSM.hh"
#include "PhysListEmStandardGS.hh"
#include "G4EmStandardPhysics.hh"
#include "G4EmStandardPhysics_option1.hh"
@@ -44,6 +43,7 @@
#include "G4EmStandardPhysics_option3.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4EmStandardPhysicsWVI.hh"
#include "G4EmStandardPhysicsGS.hh"
#include "G4EmStandardPhysicsSS.hh"
#include "G4EmLivermorePhysics.hh"
#include "G4EmPenelopePhysics.hh"
@@ -223,7 +223,7 @@ void PhysicsList::AddPhysicsList(const G4String& name)
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new PhysListEmStandardGS(name);
fEmPhysicsList = new G4EmStandardPhysicsGS();
} else if (name == "emlivermore") {
fEmName = name;
@@ -235,7 +235,8 @@ void Run::EndOfRun()
//
G4AnalysisManager* analysisManager = G4AnalysisManager::Instance();
G4int ih = 1;
G4double binWidth = analysisManager->GetH1Width(ih);
G4double binWidth = analysisManager->GetH1Width(ih)
*analysisManager->GetH1Unit(ih);
G4double fac = (1./(numberOfEvent*binWidth))*(mm/MeV);
analysisManager->ScaleH1(ih,fac);
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm12/src/RunAction.cc
/// \brief Implementation of the RunAction class
//
// $Id: RunAction.cc 78723 2014-01-20 10:32:17Z gcosmo $
// $Id: RunAction.cc 93564 2015-10-26 14:47:17Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -111,7 +111,7 @@ void RunAction::BeginOfRunAction(const G4Run*)
G4double stepMax = csdaRange;
G4int ih = 1;
if (analysisManager->GetH1Activation(ih))
stepMax = analysisManager->GetH1Width(ih);
stepMax = analysisManager->GetH1Width(ih)*analysisManager->GetH1Unit(ih);
ih = 8;
if (analysisManager->GetH1Activation(ih)) {
G4double width = analysisManager->GetH1Width(ih);
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm13/.README"
///\file "electromagnetic/TestEm13/.README.txt"
///\brief Example TestEm13 README page
/*! \page ExampleTestEm13 Example TestEm13
@@ -1,4 +1,4 @@
$Id: History 85259 2014-10-27 08:52:40Z gcosmo $
$Id: History 92997 2015-09-28 08:04:21Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,9 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
27-09-15 mma (testem13-V10-01-00)
- DetectorConstruction::SetMatetial(): allow nist materials
24-10-14 mma (testem13-V10-00-03)
- TestEm12.in : /run/numberOfThreads 2
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -14,176 +14,176 @@
***** Table : Nb of materials = 15 *****
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Nucl.Int.Length: 4.944 m
Imean: 19.200 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Water H_2O density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Nucl.Int.Length: 35.356 cm
Imean: 81.000 eV
---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: C (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm
Imean: 173.000 eV
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.090 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm
Imean: 350.000 eV
---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Ge (Ge) Z = 32.0 N = 73 A = 72.610 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: NaI density: 3.670 g/cm3 RadL: 2.586 cm Nucl.Int.Length: 42.878 cm
Imean: 452.000 eV
---> Element: Sodium (Na) Z = 11.0 N = 23.0 A = 22.99 g/mole
---> Isotope: Na23 Z = 11 N = 23 A = 22.99 g/mole abundance: 100.00 %
---> Element: Sodium (Na) Z = 11.0 N = 23 A = 22.990 g/mole
---> Isotope: Na23 Z = 11 N = 23 A = 22.99 g/mole abundance: 100.000 %
ElmMassFraction: 15.34 % ElmAbundance 50.00 %
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 84.66 % ElmAbundance 50.00 %
Material: Iodine density: 4.930 g/cm3 RadL: 1.720 cm Nucl.Int.Length: 35.676 cm
Imean: 491.000 eV
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm
Imean: 473.785 eV
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 15.41 % ElmAbundance 63.16 %
---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Germanium (Ge) Z = 32.0 N = 73 A = 72.590 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 17.48 % ElmAbundance 15.79 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.00 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209 A = 208.980 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.000 %
ElmMassFraction: 67.10 % ElmAbundance 21.05 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.85 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.850 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm
Imean: 890.000 eV
---> Element: U (U) Z = 92.0 N = 238.0 A = 238.03 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.01 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.72 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.27 %
---> Element: U (U) Z = 92.0 N = 238 A = 238.030 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.005 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.720 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.275 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -215,6 +215,9 @@ physicsList->setCut() start.
/gun/energy 100 keV
/run/beamOn 1000000
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 10 TeV in 54 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
@@ -232,9 +235,6 @@ conv: for gamma SubType= 14 BuildTable= 1
BetheHeitler : Emin= 0 eV Emax= 80 GeV
BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
eIoni: for e- SubType= 2
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
@@ -245,7 +245,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -260,7 +260,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -426,7 +426,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000000
User=8.5s Real=8.52s Sys=0s
User=7.79s Real=7.8s Sys=0s
======================== run summary ======================
@@ -493,7 +493,7 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000000
User=10.33s Real=10.7s Sys=0s
User=6.52s Real=6.55s Sys=0s
======================== run summary ======================
@@ -523,8 +523,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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.000961 MB
Pool ID '7G4Track', size : 0.000961 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.0096 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.014 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm13/src/DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
//
// $Id: DetectorConstruction.cc 84207 2014-10-10 14:44:12Z gcosmo $
// $Id: DetectorConstruction.cc 92997 2015-09-28 08:04:21Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -35,6 +35,7 @@
#include "DetectorMessenger.hh"
#include "G4Material.hh"
#include "G4NistManager.hh"
#include "G4Box.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
@@ -194,8 +195,10 @@ void DetectorConstruction::PrintParameters()
void DetectorConstruction::SetMaterial(G4String materialChoice)
{
// search the material by its name
G4Material* pttoMaterial = G4Material::GetMaterial(materialChoice);
// search the material by its name, or build it from nist data base
G4Material* pttoMaterial =
G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
if (pttoMaterial) {
fMaterial = pttoMaterial;
G4RunManager::GetRunManager()->PhysicsHasBeenModified();
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm14/.README"
///\file "electromagnetic/TestEm14/.README.txt"
///\brief Example TestEm14 README page
/*! \page ExampleTestEm14 Example TestEm14
@@ -1,4 +1,4 @@
$Id: History 85258 2014-10-27 08:51:49Z gcosmo $
$Id: History 92996 2015-09-28 08:03:50Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -14,6 +14,9 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
27-09-15 mma (testem14-V10-01-00)
- DetectorConstruction::SetMatetial(): allow nist materials
24-10-14 mma (testem14-V10-00-04)
- TestEm14.in : /run/numberOfThreads 2
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -14,212 +14,212 @@
***** Table : Nb of materials = 19 *****
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Nucl.Int.Length: 4.944 m
Imean: 19.200 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Water H_2O density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Nucl.Int.Length: 35.356 cm
Imean: 81.000 eV
---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: C (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm
Imean: 173.000 eV
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.090 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Chromium density: 7.140 g/cm3 RadL: 2.093 cm Nucl.Int.Length: 18.295 cm
Imean: 257.000 eV
---> Element: Cr (Cr) Z = 24.0 N = 52.0 A = 51.99 g/mole
---> Isotope: Cr50 Z = 24 N = 50 A = 49.95 g/mole abundance: 4.34 %
---> Isotope: Cr52 Z = 24 N = 52 A = 51.94 g/mole abundance: 83.79 %
---> Isotope: Cr53 Z = 24 N = 53 A = 52.94 g/mole abundance: 9.50 %
---> Isotope: Cr54 Z = 24 N = 54 A = 53.94 g/mole abundance: 2.37 %
---> Element: Cr (Cr) Z = 24.0 N = 52 A = 51.990 g/mole
---> Isotope: Cr50 Z = 24 N = 50 A = 49.95 g/mole abundance: 4.345 %
---> Isotope: Cr52 Z = 24 N = 52 A = 51.94 g/mole abundance: 83.789 %
---> Isotope: Cr53 Z = 24 N = 53 A = 52.94 g/mole abundance: 9.501 %
---> Isotope: Cr54 Z = 24 N = 54 A = 53.94 g/mole abundance: 2.365 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Copper density: 8.920 g/cm3 RadL: 1.442 cm Nucl.Int.Length: 15.658 cm
Imean: 322.000 eV
---> Element: Cu (Cu) Z = 29.0 N = 63.5 A = 63.55 g/mole
---> Isotope: Cu63 Z = 29 N = 63 A = 62.93 g/mole abundance: 69.17 %
---> Isotope: Cu65 Z = 29 N = 65 A = 64.93 g/mole abundance: 30.83 %
---> Element: Cu (Cu) Z = 29.0 N = 64 A = 63.550 g/mole
---> Isotope: Cu63 Z = 29 N = 63 A = 62.93 g/mole abundance: 69.170 %
---> Isotope: Cu65 Z = 29 N = 65 A = 64.93 g/mole abundance: 30.830 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm
Imean: 350.000 eV
---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Ge (Ge) Z = 32.0 N = 73 A = 72.610 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Nb density: 8.570 g/cm3 RadL: 1.158 cm Nucl.Int.Length: 18.497 cm
Imean: 417.000 eV
---> Element: Nb (Nb) Z = 41.0 N = 92.9 A = 92.91 g/mole
---> Isotope: Nb93 Z = 41 N = 93 A = 92.91 g/mole abundance: 100.00 %
---> Element: Nb (Nb) Z = 41.0 N = 93 A = 92.906 g/mole
---> Isotope: Nb93 Z = 41 N = 93 A = 92.91 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: NaI density: 3.670 g/cm3 RadL: 2.586 cm Nucl.Int.Length: 42.878 cm
Imean: 452.000 eV
---> Element: Sodium (Na) Z = 11.0 N = 23.0 A = 22.99 g/mole
---> Isotope: Na23 Z = 11 N = 23 A = 22.99 g/mole abundance: 100.00 %
---> Element: Sodium (Na) Z = 11.0 N = 23 A = 22.990 g/mole
---> Isotope: Na23 Z = 11 N = 23 A = 22.99 g/mole abundance: 100.000 %
ElmMassFraction: 15.34 % ElmAbundance 50.00 %
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 84.66 % ElmAbundance 50.00 %
Material: Iodine density: 4.930 g/cm3 RadL: 1.720 cm Nucl.Int.Length: 35.676 cm
Imean: 491.000 eV
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm
Imean: 473.785 eV
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 15.41 % ElmAbundance 63.16 %
---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Germanium (Ge) Z = 32.0 N = 73 A = 72.590 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 17.48 % ElmAbundance 15.79 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.00 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209 A = 208.980 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.000 %
ElmMassFraction: 67.10 % ElmAbundance 21.05 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.250 g/cm3 RadL: 3.513 mm Nucl.Int.Length: 10.339 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.85 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.850 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Gold density: 19.300 g/cm3 RadL: 3.348 mm Nucl.Int.Length: 10.551 cm
Imean: 790.000 eV
---> Element: Au (Au) Z = 79.0 N = 197.0 A = 196.97 g/mole
---> Isotope: Au197 Z = 79 N = 197 A = 196.97 g/mole abundance: 100.00 %
---> Element: Au (Au) Z = 79.0 N = 197 A = 196.970 g/mole
---> Isotope: Au197 Z = 79 N = 197 A = 196.97 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm
Imean: 890.000 eV
---> Element: U (U) Z = 92.0 N = 238.0 A = 238.03 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.01 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.72 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.27 %
---> Element: U (U) Z = 92.0 N = 238 A = 238.030 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.005 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.720 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.275 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -251,6 +251,9 @@ physicsList->setCut() start.
/run/printProgress 100000
/run/beamOn 1000000
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 10 TeV in 54 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
@@ -271,9 +274,6 @@ conv: for gamma SubType= 14 BuildTable= 1
GammaToMuPair: gamma->mu+mu- Bethe Heitler process, SubType= 15
good cross section parametrization from 422.633 MeV to 1e+12 GeV for all Z.
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
eIoni: for e- SubType= 2
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
@@ -284,7 +284,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -299,7 +299,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -465,7 +465,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 1000000
User=15.35s Real=15.39s Sys=0s
User=11.59s Real=11.61s Sys=0s
======================== run summary ======================
@@ -534,7 +534,7 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000000
User=12.65s Real=12.69s Sys=0.01s
User=17.72s Real=17.76s Sys=0s
======================== run summary ======================
@@ -565,8 +565,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 5
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00481 MB
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.000961 MB
Pool ID '7G4Track', size : 0.000961 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.0087 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.012 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm14/src/DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
//
// $Id: DetectorConstruction.cc 84208 2014-10-10 14:44:50Z gcosmo $
// $Id: DetectorConstruction.cc 92996 2015-09-28 08:03:50Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -35,6 +35,7 @@
#include "DetectorMessenger.hh"
#include "G4Material.hh"
#include "G4NistManager.hh"
#include "G4Box.hh"
#include "G4LogicalVolume.hh"
#include "G4PVPlacement.hh"
@@ -203,8 +204,10 @@ void DetectorConstruction::PrintParameters()
void DetectorConstruction::SetMaterial(G4String materialChoice)
{
// search the material by its name
G4Material* pttoMaterial = G4Material::GetMaterial(materialChoice);
// search the material by its name, or build it from nist data base
G4Material* pttoMaterial =
G4NistManager::Instance()->FindOrBuildMaterial(materialChoice);
if (pttoMaterial) {
fMaterial = pttoMaterial;
G4RunManager::GetRunManager()->PhysicsHasBeenModified();
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm15/.README"
///\file "electromagnetic/TestEm15/.README.txt"
///\brief Example TestEm15 README page
/*! \page ExampleTestEm15 Example TestEm15
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -14,185 +14,185 @@
***** Table : Nb of materials = 16 *****
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: H2liquid density: 70.800 mg/cm3 RadL: 8.923 m Nucl.Int.Length: 4.944 m
Imean: 19.200 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Water H_2O density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 75.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Nucl.Int.Length: 35.356 cm
Imean: 81.000 eV
---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: C (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm
Imean: 173.000 eV
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.090 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm
Imean: 350.000 eV
---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Ge (Ge) Z = 32.0 N = 73 A = 72.610 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: NaI density: 3.670 g/cm3 RadL: 2.586 cm Nucl.Int.Length: 42.878 cm
Imean: 452.000 eV
---> Element: Sodium (Na) Z = 11.0 N = 23.0 A = 22.99 g/mole
---> Isotope: Na23 Z = 11 N = 23 A = 22.99 g/mole abundance: 100.00 %
---> Element: Sodium (Na) Z = 11.0 N = 23 A = 22.990 g/mole
---> Isotope: Na23 Z = 11 N = 23 A = 22.99 g/mole abundance: 100.000 %
ElmMassFraction: 15.34 % ElmAbundance 50.00 %
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 84.66 % ElmAbundance 50.00 %
Material: Iodine density: 4.930 g/cm3 RadL: 1.720 cm Nucl.Int.Length: 35.676 cm
Imean: 491.000 eV
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm
Imean: 473.785 eV
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 15.41 % ElmAbundance 63.16 %
---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Germanium (Ge) Z = 32.0 N = 73 A = 72.590 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 17.48 % ElmAbundance 15.79 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.00 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209 A = 208.980 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.000 %
ElmMassFraction: 67.10 % ElmAbundance 21.05 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.85 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.850 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm
Imean: 890.000 eV
---> Element: U (U) Z = 92.0 N = 238.0 A = 238.03 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.01 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.72 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.27 %
---> Element: U (U) Z = 92.0 N = 238 A = 238.030 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.005 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.720 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.275 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Galactic density: 0.000 kg/m3 RadL: 204322111.300 pc Nucl.Int.Length: 113427275.267 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -255,7 +255,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -275,7 +275,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -285,7 +285,7 @@ annihil: for e+ SubType= 5 BuildTable= 0
eplus2gg : Emin= 0 eV Emax= 10 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -325,7 +325,7 @@ hIoni: for alpha SubType= 2
BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -338,7 +338,7 @@ hIoni: for anti_proton SubType= 2
BetheBloch : Emin= 2 MeV Emax= 10 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -351,7 +351,7 @@ hIoni: for kaon+ SubType= 2
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -364,7 +364,7 @@ hIoni: for kaon- SubType= 2
BetheBloch : Emin= 1.05231 MeV Emax= 10 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -391,7 +391,7 @@ muPairProd: for mu+ SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -418,7 +418,7 @@ muPairProd: for mu- SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -431,7 +431,7 @@ hIoni: for pi+ SubType= 2
BetheBloch : Emin= 297.505 keV Emax= 10 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -488,31 +488,31 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 10000
User=0.18s Real=0.19s Sys=0s
User=0.13s Real=0.13s Sys=0s
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.7386 cm +- 1.3403 mm
geomPathLength : 2.0625 cm +- 847.88 um
lateralDisplac : 143.53 um +- 1.2187 mm
Psi : 7.689 mrad +- 60.834 mrad (0.44055 deg +- 3.4855 deg)
truePathLength : 2.7385 cm +- 1.3496 mm
geomPathLength : 2.0624 cm +- 857.69 um
lateralDisplac : 135.02 um +- 1.1357 mm
Psi : 7.315 mrad +- 57.611 mrad (0.41912 deg +- 3.3009 deg)
Theta_plane : 134.59 mrad (7.7115 deg)
phi correlation: 0.0051981 +- 0.061195 (std::cos(phi_pos - phi_dir))
Theta_plane : 135.36 mrad (7.7557 deg)
phi correlation: 0.0084857 +- 0.077631 (std::cos(phi_pos - phi_dir))
Verification from G4EmCalculator.
transport mean free path : 8.3577 cm
transport mean free path : 3.3438 mm
range from restrict dE/dx: 2.7529 cm
---> effective facRange : 1
compute theta0 from Highland : 618.48 mrad (35.436 deg)
compute theta0 from Highland : 618.47 mrad (35.436 deg)
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1795894202, 141055913
Current couple of seeds = 1407003853, 458097757
----------------------------------------
#
/gun/energy 100 keV
@@ -553,36 +553,36 @@ Index : 1 used in the geometry : Yes
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1795894202, 141055913
Current couple of seeds = 1407003853, 458097757
----------------------------------------
Run terminated.
Run Summary
Number of events processed : 10000
User=0.24s Real=0.24s Sys=0s
User=0.17s Real=0.17s Sys=0s
The run consists of 10000 e- of 100 keV through 100 m of Water (density: 1 g/cm3 )
Process calls frequency ---> msc = 10000
truePathLength : 6.3096 um +- 1.7987 um
geomPathLength : 6.1737 um +- 1.7263 um
lateralDisplac : 970.92 nm +- 484.45 nm
Psi : 149.37 mrad +- 44.327 mrad (8.558 deg +- 2.5398 deg)
truePathLength : 6.2884 um +- 1.8088 um
geomPathLength : 6.1532 um +- 1.7366 um
lateralDisplac : 939.94 nm +- 463.43 nm
Psi : 144.83 mrad +- 41.609 mrad (8.2982 deg +- 2.384 deg)
Theta_plane : 252.34 mrad (14.458 deg)
phi correlation: 0.077034 +- 0.13609 (std::cos(phi_pos - phi_dir))
Theta_plane : 233.32 mrad (13.368 deg)
phi correlation: 0.16258 +- 0.15273 (std::cos(phi_pos - phi_dir))
Verification from G4EmCalculator.
transport mean free path : 157.63 um
transport mean free path : 1.5763 cm
range from restrict dE/dx: 143.25 um
---> effective facRange : 0.040029
---> effective facRange : 0.00039894
compute theta0 from Highland : 180.76 mrad (10.357 deg)
compute theta0 from Highland : 180.41 mrad (10.337 deg)
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 25306853, 2038673675
Current couple of seeds = 163536160, 1014324879
----------------------------------------
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -594,8 +594,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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.000961 MB
Pool ID '7G4Track', size : 0.000961 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.0096 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.014 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm16/.README"
///\file "electromagnetic/TestEm16/.README.txt"
///\brief Example TestEm16 README page
/*! \page ExampleTestEm16 Example TestEm16
@@ -1,4 +1,4 @@
$Id: History 85257 2014-10-27 08:50:30Z gcosmo $
$Id: History 87529 2014-12-08 08:25:04Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,9 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
05-12-14 V.Ivant (testem16-V10-01-00)
- Run - fixed computation of max gamma energy for MT mode
24-10-14 mma (testem16-V10-00-04)
- in TestEm16.in : /run/numberOfThreads 2
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -16,37 +16,37 @@
Material: Beryllium density: 1.848 g/cm3 RadL: 35.276 cm Nucl.Int.Length: 39.413 cm
Imean: 63.700 eV
---> Element: Be (Be) Z = 4.0 N = 9.0 A = 9.01 g/mole
---> Isotope: Be9 Z = 4 N = 9 A = 9.01 g/mole abundance: 100.00 %
---> Element: Be (Be) Z = 4.0 N = 9 A = 9.012 g/mole
---> Isotope: Be9 Z = 4 N = 9 A = 9.01 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Carbon density: 2.265 g/cm3 RadL: 18.851 cm Nucl.Int.Length: 35.388 cm
Imean: 81.000 eV
---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: C (C) Z = 6.0 N = 12 A = 12.011 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Vacuum density: 0.000 kg/m3 RadL: 25050955080.963 km Nucl.Int.Length: 55627603572.843 km
Material: Vacuum density: 0.000 kg/m3 RadL: 25050955080.963 km Nucl.Int.Length: 55627603577.738 km
Imean: 82.000 eV temperature: 296.15 K pressure: 0.00 atm
---> Element: N (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: N (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -130,7 +130,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -153,7 +153,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -163,7 +163,7 @@ annihil: for e+, integral: 1 SubType= 5 BuildTable= 0
eplus2gg : Emin= 0 eV Emax= 10 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -189,7 +189,7 @@ hPairProd: for proton SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -216,7 +216,7 @@ muPairProd: for mu+ SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -268,7 +268,7 @@ G4SynchrotronRadiation::GetRandomEnergySR :
Run terminated.
Run Summary
Number of events processed : 100
User=0.76s Real=0.75s Sys=0s
User=0.38s Real=0.39s Sys=0s
Summary for synchrotron radiation :
Number of photons = 64554
Emean = 20.24 +/- 0.1449 keV
@@ -281,9 +281,8 @@ Summary for synchrotron radiation :
Current couple of seeds = 1554742231, 6856043
----------------------------------------
G4 kernel has come to Quit state.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.35 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.35 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -65,9 +65,9 @@ void Run::Merge(const G4Run* run)
f_n_gam_sync += localRun->f_n_gam_sync;
f_e_gam_sync += localRun->f_e_gam_sync;
f_e_gam_sync2 += localRun->f_e_gam_sync2;
f_e_gam_sync_max += localRun->f_e_gam_sync_max;
f_e_gam_sync_max = std::max(f_e_gam_sync_max, localRun->f_e_gam_sync_max);
f_lam_gam_sync += localRun->f_lam_gam_sync;
G4Run::Merge(run);
}
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm17/.README"
///\file "electromagnetic/TestEm17/.README.txt"
///\brief Example TestEm17 README page
/*! \page ExampleTestEm17 Example TestEm17
@@ -1,4 +1,4 @@
$Id: History 86746 2014-11-17 15:00:13Z gcosmo $
$Id: History 94383 2015-11-13 10:20:27Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,13 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
13-11-14 V.Ivant (testem17-V10-01-01)
- PhysicsList, PhysListEmStandard - fixed upper energy for
physics tables (A.Bogdanov)
26-10-15 D.Sawkey (testem17-V10-01-00)
- Set default EmParameters in PhysListEmStandard
16-11-14 V.Ivant (testem17-V10-00-01)
- fixed ROOT macro and README
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -16,98 +16,98 @@
Material: galactic density: 0.000 kg/m3 RadL: 204727512.315 pc Nucl.Int.Length: 113427275.267 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: H (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: CaCO3 density: 2.800 g/cm3 RadL: 8.581 cm Nucl.Int.Length: 34.749 cm
Imean: 123.236 eV
---> Element: Calcium (Ca) Z = 20.0 N = 40.1 A = 40.08 g/mole
---> Isotope: Ca40 Z = 20 N = 40 A = 39.96 g/mole abundance: 96.94 %
---> Isotope: Ca42 Z = 20 N = 42 A = 41.96 g/mole abundance: 0.65 %
---> Isotope: Ca43 Z = 20 N = 43 A = 42.96 g/mole abundance: 0.14 %
---> Isotope: Ca44 Z = 20 N = 44 A = 43.96 g/mole abundance: 2.09 %
---> Isotope: Ca46 Z = 20 N = 46 A = 45.95 g/mole abundance: 0.00 %
---> Isotope: Ca48 Z = 20 N = 48 A = 47.95 g/mole abundance: 0.19 %
---> Element: Calcium (Ca) Z = 20.0 N = 40 A = 40.080 g/mole
---> Isotope: Ca40 Z = 20 N = 40 A = 39.96 g/mole abundance: 96.941 %
---> Isotope: Ca42 Z = 20 N = 42 A = 41.96 g/mole abundance: 0.647 %
---> Isotope: Ca43 Z = 20 N = 43 A = 42.96 g/mole abundance: 0.135 %
---> Isotope: Ca44 Z = 20 N = 44 A = 43.96 g/mole abundance: 2.086 %
---> Isotope: Ca46 Z = 20 N = 46 A = 45.95 g/mole abundance: 0.004 %
---> Isotope: Ca48 Z = 20 N = 48 A = 47.95 g/mole abundance: 0.187 %
ElmMassFraction: 40.04 % ElmAbundance 20.00 %
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 12.00 % ElmAbundance 20.00 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 47.96 % ElmAbundance 60.00 %
Material: Carbon density: 2.265 g/cm3 RadL: 18.850 cm Nucl.Int.Length: 35.387 cm
Imean: 81.000 eV
---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: C (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tin density: 7.310 g/cm3 RadL: 1.206 cm Nucl.Int.Length: 23.531 cm
Imean: 488.000 eV
---> Element: Sn (Sn) Z = 50.0 N = 118.7 A = 118.70 g/mole
---> Isotope: Sn112 Z = 50 N = 112 A = 111.90 g/mole abundance: 0.97 %
---> Isotope: Sn114 Z = 50 N = 114 A = 113.90 g/mole abundance: 0.66 %
---> Isotope: Sn115 Z = 50 N = 115 A = 114.90 g/mole abundance: 0.34 %
---> Isotope: Sn116 Z = 50 N = 116 A = 115.90 g/mole abundance: 14.54 %
---> Isotope: Sn117 Z = 50 N = 117 A = 116.90 g/mole abundance: 7.68 %
---> Isotope: Sn118 Z = 50 N = 118 A = 117.90 g/mole abundance: 24.22 %
---> Isotope: Sn119 Z = 50 N = 119 A = 118.90 g/mole abundance: 8.59 %
---> Isotope: Sn120 Z = 50 N = 120 A = 119.90 g/mole abundance: 32.58 %
---> Isotope: Sn122 Z = 50 N = 122 A = 121.90 g/mole abundance: 4.63 %
---> Isotope: Sn124 Z = 50 N = 124 A = 123.91 g/mole abundance: 5.79 %
---> Element: Sn (Sn) Z = 50.0 N = 119 A = 118.700 g/mole
---> Isotope: Sn112 Z = 50 N = 112 A = 111.90 g/mole abundance: 0.970 %
---> Isotope: Sn114 Z = 50 N = 114 A = 113.90 g/mole abundance: 0.660 %
---> Isotope: Sn115 Z = 50 N = 115 A = 114.90 g/mole abundance: 0.340 %
---> Isotope: Sn116 Z = 50 N = 116 A = 115.90 g/mole abundance: 14.540 %
---> Isotope: Sn117 Z = 50 N = 117 A = 116.90 g/mole abundance: 7.680 %
---> Isotope: Sn118 Z = 50 N = 118 A = 117.90 g/mole abundance: 24.220 %
---> Isotope: Sn119 Z = 50 N = 119 A = 118.90 g/mole abundance: 8.590 %
---> Isotope: Sn120 Z = 50 N = 120 A = 119.90 g/mole abundance: 32.580 %
---> Isotope: Sn122 Z = 50 N = 122 A = 121.90 g/mole abundance: 4.630 %
---> Isotope: Sn124 Z = 50 N = 124 A = 123.91 g/mole abundance: 5.790 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: HI density: 2.800 g/cm3 RadL: 3.049 cm Nucl.Int.Length: 60.880 cm
Imean: 462.393 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 0.79 % ElmAbundance 50.00 %
---> Element: Iodine (I) Z = 53.0 N = 126.9 A = 126.90 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.00 %
---> Element: Iodine (I) Z = 53.0 N = 127 A = 126.900 g/mole
---> Isotope: I127 Z = 53 N = 127 A = 126.90 g/mole abundance: 100.000 %
ElmMassFraction: 99.21 % ElmAbundance 50.00 %
@@ -187,18 +187,18 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 10000
User=4.17s Real=4.18s Sys=0s
User=3.17s Real=3.18s Sys=0s
The run consists of 10000 mu+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> muIoni : 462331 muPairProd : 63528 muBrems : 636 CoulombScat : 5663
Number of process calls ---> muIoni : 463280 muPairProd : 63677 muBrems : 674 CoulombScat : 5656
Simulation: total CrossSection = 0.53216 /cm MeanFreePath = 1.8791 cm massicCrossSection = 0.067619 cm2/g
Simulation: total CrossSection = 0.53329 /cm MeanFreePath = 1.8752 cm massicCrossSection = 0.067762 cm2/g
Theory: total CrossSection = 0.53938 /cm MeanFreePath = 1.854 cm massicCrossSection = 0.068536 cm2/g
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 2008814643, 184536882
Current couple of seeds = 1974484803, 47695379
----------------------------------------
#
/gun/particle pi+
@@ -233,7 +233,7 @@ Index : 0 used in the geometry : Yes
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 2008814643, 184536882
Current couple of seeds = 1974484803, 47695379
----------------------------------------
--> Event 0 starts.
@@ -250,17 +250,17 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 10000
User=4.33s Real=4.34s Sys=0s
User=3.1s Real=3.1s Sys=0s
The run consists of 10000 pi+ of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> hIoni : 433951 hPairProd : 59640 CoulombScat : 5532 hBrems : 370
Number of process calls ---> hIoni : 434781 hPairProd : 59329 CoulombScat : 5587 hBrems : 353
Simulation: total CrossSection = 0.49949 /cm MeanFreePath = 2.002 cm massicCrossSection = 0.063468 cm2/g
Simulation: total CrossSection = 0.50005 /cm MeanFreePath = 1.9998 cm massicCrossSection = 0.063539 cm2/g
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1574244970, 1420150899
Current couple of seeds = 697528997, 1765016416
----------------------------------------
#
/gun/particle proton
@@ -295,7 +295,7 @@ Index : 0 used in the geometry : Yes
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1574244970, 1420150899
Current couple of seeds = 697528997, 1765016416
----------------------------------------
--> Event 0 starts.
@@ -312,17 +312,17 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 10000
User=4.25s Real=4.26s Sys=0s
User=2.8s Real=2.79s Sys=0s
The run consists of 10000 proton of 10 TeV through 1 m of Iron (density: 7.9 g/cm3 )
Number of process calls ---> hIoni : 434125 hPairProd : 34066 CoulombScat : 5548 hBrems : 10
Number of process calls ---> hIoni : 434179 hPairProd : 34242 CoulombScat : 5609 hBrems : 7
Simulation: total CrossSection = 0.47375 /cm MeanFreePath = 2.1108 cm massicCrossSection = 0.060197 cm2/g
Simulation: total CrossSection = 0.47404 /cm MeanFreePath = 2.1095 cm massicCrossSection = 0.060233 cm2/g
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1606888756, 1920299008
Current couple of seeds = 1105838860, 1013245767
----------------------------------------
#
G4 kernel has come to Quit state.
@@ -335,8 +335,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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 '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.056 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.059 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm17/src/PhysListEmStandard.cc
/// \brief Implementation of the PhysListEmStandard class
//
// $Id: PhysListEmStandard.cc 85311 2014-10-27 14:23:25Z gcosmo $
// $Id: PhysListEmStandard.cc 94383 2015-11-13 10:20:27Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -49,13 +49,19 @@
#include "G4hBremsstrahlung.hh"
#include "G4hPairProduction.hh"
#include "G4EmParameters.hh"
#include "G4SystemOfUnits.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
PhysListEmStandard::PhysListEmStandard(const G4String& name)
: G4VPhysicsConstructor(name)
{}
{
G4EmParameters* param = G4EmParameters::Instance();
param->SetDefaults();
param->SetMinEnergy(100*eV);
param->SetMaxEnergy(1000*PeV);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -27,7 +27,7 @@
/// \brief Implementation of the PhysicsList class
//
//
// $Id: PhysicsList.cc 85311 2014-10-27 14:23:25Z gcosmo $
// $Id: PhysicsList.cc 94383 2015-11-13 10:20:27Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -65,16 +65,16 @@ PhysicsList::PhysicsList() : G4VModularPhysicsList(),
SetVerboseLevel(1);
fMessenger = new PhysicsListMessenger(this);
// EM physics
fEmName = G4String("emstandard_opt0");
fEmPhysicsList = new G4EmStandardPhysics();
//extend energy range of PhysicsTables
//
G4EmParameters* param = G4EmParameters::Instance();
param->SetMinEnergy(100*eV);
param->SetMaxEnergy(1000*PeV);
// EM physics
fEmName = G4String("emstandard_opt0");
fEmPhysicsList = new G4EmStandardPhysics();
fMuNuclPhysicsList = 0;
}
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm18/.README"
///\file "electromagnetic/TestEm18/.README.txt"
///\brief Example TestEm18 README page
/*! \page ExampleTestEm18 Example TestEm18
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -14,140 +14,140 @@
***** Table : Nb of materials = 12 *****
Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Nucl.Int.Length: 662.680 m
Imean: 85.703 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 85.703 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.63 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.37 %
---> Element: Nitrogen (N) Z = 7.0 N = 14 A = 14.010 g/mole
---> Isotope: N14 Z = 7 N = 14 A = 14.00 g/mole abundance: 99.632 %
---> Isotope: N15 Z = 7 N = 15 A = 15.00 g/mole abundance: 0.368 %
ElmMassFraction: 70.00 % ElmAbundance 72.71 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 30.00 % ElmAbundance 27.29 %
Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: Water_vapor density: 1.000 mg/cm3 RadL: 360.924 m Nucl.Int.Length: 753.560 m
Imean: 78.000 eV temperature: 273.15 K pressure: 1.00 atm
Imean: 78.000 eV temperature: 293.15 K pressure: 1.00 atm
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: Carbon density: 2.267 g/cm3 RadL: 18.833 cm Nucl.Int.Length: 35.356 cm
Imean: 81.000 eV
---> Element: C (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: C (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Silicon density: 2.330 g/cm3 RadL: 9.368 cm Nucl.Int.Length: 45.663 cm
Imean: 173.000 eV
---> Element: Si (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.23 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.68 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.09 %
---> Element: Si (Si) Z = 14.0 N = 28 A = 28.090 g/mole
---> Isotope: Si28 Z = 14 N = 28 A = 27.98 g/mole abundance: 92.230 %
---> Isotope: Si29 Z = 14 N = 29 A = 28.98 g/mole abundance: 4.683 %
---> Isotope: Si30 Z = 14 N = 30 A = 29.97 g/mole abundance: 3.087 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Germanium density: 5.323 g/cm3 RadL: 2.301 cm Nucl.Int.Length: 27.431 cm
Imean: 350.000 eV
---> Element: Ge (Ge) Z = 32.0 N = 72.6 A = 72.61 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Ge (Ge) Z = 32.0 N = 73 A = 72.610 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.300 g/cm3 RadL: 3.504 mm Nucl.Int.Length: 10.312 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.85 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.850 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: ArgonGas density: 1.782 mg/cm3 RadL: 109.702 m Nucl.Int.Length: 671.417 m
Imean: 188.000 eV temperature: 273.15 K pressure: 1.00 atm
---> Element: Ar (Ar) Z = 18.0 N = 39.9 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -177,6 +177,9 @@ physicsList->setCut() start.
#
/run/beamOn 100000
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 10 TeV in 154 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
@@ -194,9 +197,6 @@ conv: for gamma SubType= 14 BuildTable= 1
BetheHeitler : Emin= 0 eV Emax= 80 GeV
BetheHeitlerLPM : Emin= 80 GeV Emax= 10 TeV
### === Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld
eIoni: for e- SubType= 2
dE/dx and range tables from 10 eV to 10 TeV in 240 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
@@ -208,7 +208,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 10 eV to 10 TeV in 240 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -224,7 +224,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 10 eV to 10 TeV in 240 bins
Lambda tables from threshold to 10 TeV, 20 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -435,7 +435,7 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 100000
User=2.62s Real=2.63s Sys=0s
User=2.03s Real=2.03s Sys=0s
======================== run summary ======================
@@ -467,8 +467,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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.00192 MB
Pool ID '7G4Track', size : 0.00288 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.012 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.017 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm2/.README"
///\file "electromagnetic/TestEm2/.README.txt"
///\brief Example TestEm2 README page
/*! \page ExampleTestEm2 Example TestEm2
@@ -10,7 +10,7 @@
\section TestEm2_s1 GEOMETRY DEFINITION
The geometry consists of a cylinder of homegenous material.
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
@@ -22,9 +22,9 @@
/testem/det/setMat PbWO4
\endverbatim
The cylinder is virtually sliced longitudinaly (slice) and radialy (ring).
The size of the slices and rings are expressed in radiation length units
and can be changed.
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
@@ -40,24 +40,36 @@
\endverbatim
\section TestEm2_s2 PHYSICS LISTS
Physics lists can be local (eg. in this example) or from G4 kernel
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 lists:
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "emstandard_opt2" similar fast simulation
- "emstandard_opt3" best standard EM options - analog to "local" above
- "emstandard_opt4" best current advanced EM options standard + lowenergy
- "emstandardWVI" standard EM physics and WentzelVI multiple scattering
- "emstandardSS" standard EM physics and single scattering model
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
- "emlowenergy" low-energy EM physics implementing experimental
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
@@ -73,7 +85,7 @@
\section TestEm2_s4 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm2.cc).
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
@@ -84,15 +96,15 @@ PreInit or Idle > /control/execute vis.mac
cylinder.
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,
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 physic processes which will be available
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 proname)
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.
@@ -1,4 +1,4 @@
$Id: History 85267 2014-10-27 09:03:32Z gcosmo $
$Id: History 93736 2015-10-30 11:01:12Z gcosmo $
----------------------------------------------------
=========================================================
@@ -14,6 +14,18 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
28-10-15 D.Sawkey (testem2-V10-01-03)
- Update description of physics lists in README, again
26-10-15 D.Sawkey (testem2-V10-01-02)
- Match .README to README
26-10-15 D.Sawkey (testem2-V10-01-01)
- Update description of physics lists in README
12-05-15 V.Ivant (testem2-V10-01-00)
- PhysicsList - use GS, WVI, SS EM physics from physics_list library
23-10-14 mma (testem2-V10-00-08)
- in TestEm1.in : /run/numberOfThreads 2
@@ -1,4 +1,4 @@
$Id: README 78550 2014-01-07 09:43:41Z gcosmo $
$Id: README 93736 2015-10-30 11:01:12Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -13,7 +13,7 @@ $Id: README 78550 2014-01-07 09:43:41Z gcosmo $
1- GEOMETRY DEFINITION
The geometry consists of a cylinder of homegenous material.
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
@@ -22,9 +22,9 @@ $Id: README 78550 2014-01-07 09:43:41Z gcosmo $
Material can be choosen: Air Water lAr Al Fe BGO PbWO4 Pb.
eg: /testem/det/setMat PbWO4
The cylinder is virtually sliced longitudinaly (slice) and radialy (ring).
The size of the slices and rings are expressed in radiation length units
and can be changed.
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
@@ -35,24 +35,36 @@ $Id: README 78550 2014-01-07 09:43:41Z gcosmo $
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
Physics lists can be local (eg. in this example) or from G4 kernel
EM physics builders can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics lists:
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
From geant4/source/physics_lists/builders:
- "emstandard_opt0" recommended standard EM physics for LHC
- "emstandard_opt1" best CPU performance standard physics for LHC
- "emstandard_opt2" similar fast simulation
- "emstandard_opt3" best standard EM options - analog to "local" above
- "emstandard_opt4" best current advanced EM options standard + lowenergy
- "emstandardWVI" standard EM physics and WentzelVI multiple scattering
- "emstandardSS" standard EM physics and single scattering model
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
- "emlowenergy" low-energy EM physics implementing experimental
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
@@ -61,14 +73,14 @@ $Id: README 78550 2014-01-07 09:43:41Z gcosmo $
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 ParticleGun class (see
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().
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
@@ -77,15 +89,15 @@ $Id: README 78550 2014-01-07 09:43:41Z gcosmo $
cylinder.
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,
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 physic processes which will be available
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 proname)
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.
@@ -103,7 +115,7 @@ $Id: README 78550 2014-01-07 09:43:41Z gcosmo $
- Execute TestEm2 in 'batch' mode using multi-threading
% TestEm2 run01.mac 4
here 4 is number of threads, it should be user defined,
optimel value dependents on hardware
optimal value depends on hardware
- Execute TestEm2 in 'interactive mode' with visualization
% TestEm2
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -31,133 +31,133 @@ PhysicsList::AddPhysicsList: <emstandard_opt0>
Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Nucl.Int.Length: 75.356 cm
Imean: 78.000 eV
---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: Hydrogen (H) Z = 1.0 N = 1 A = 1.010 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 11.21 % ElmAbundance 66.67 %
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 88.79 % ElmAbundance 33.33 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Nucl.Int.Length: 86.078 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.950 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Nucl.Int.Length: 38.879 cm
Imean: 166.000 eV
---> Element: Al (Al) Z = 13.0 N = 27.0 A = 26.98 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.00 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.980 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Iron density: 7.870 g/cm3 RadL: 1.759 cm Nucl.Int.Length: 16.999 cm
Imean: 286.000 eV
---> Element: Fe (Fe) Z = 26.0 N = 55.8 A = 55.85 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.84 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.75 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.12 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.28 %
---> Element: Fe (Fe) Z = 26.0 N = 56 A = 55.850 g/mole
---> Isotope: Fe54 Z = 26 N = 54 A = 53.94 g/mole abundance: 5.845 %
---> Isotope: Fe56 Z = 26 N = 56 A = 55.93 g/mole abundance: 91.754 %
---> Isotope: Fe57 Z = 26 N = 57 A = 56.94 g/mole abundance: 2.119 %
---> Isotope: Fe58 Z = 26 N = 58 A = 57.93 g/mole abundance: 0.282 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Copper density: 8.960 g/cm3 RadL: 1.436 cm Nucl.Int.Length: 15.588 cm
Imean: 322.000 eV
---> Element: Cu (Cu) Z = 29.0 N = 63.5 A = 63.55 g/mole
---> Isotope: Cu63 Z = 29 N = 63 A = 62.93 g/mole abundance: 69.17 %
---> Isotope: Cu65 Z = 29 N = 65 A = 64.93 g/mole abundance: 30.83 %
---> Element: Cu (Cu) Z = 29.0 N = 64 A = 63.550 g/mole
---> Isotope: Cu63 Z = 29 N = 63 A = 62.93 g/mole abundance: 69.170 %
---> Isotope: Cu65 Z = 29 N = 65 A = 64.93 g/mole abundance: 30.830 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Tungsten density: 19.350 g/cm3 RadL: 3.495 mm Nucl.Int.Length: 10.285 cm
Imean: 727.000 eV
---> Element: W (W) Z = 74.0 N = 183.8 A = 183.84 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.840 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Nucl.Int.Length: 18.247 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.19 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.190 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Uranium density: 18.950 g/cm3 RadL: 3.166 mm Nucl.Int.Length: 11.446 cm
Imean: 890.000 eV
---> Element: U (U) Z = 92.0 N = 238.0 A = 238.03 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.01 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.72 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.27 %
---> Element: U (U) Z = 92.0 N = 238 A = 238.030 g/mole
---> Isotope: U234 Z = 92 N = 234 A = 234.04 g/mole abundance: 0.005 %
---> Isotope: U235 Z = 92 N = 235 A = 235.04 g/mole abundance: 0.720 %
---> Isotope: U238 Z = 92 N = 238 A = 238.05 g/mole abundance: 99.275 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: BGO density: 7.100 g/cm3 RadL: 1.123 cm Nucl.Int.Length: 22.806 cm
Imean: 473.785 eV
---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: Oxygen (O) Z = 8.0 N = 16 A = 16.000 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 15.41 % ElmAbundance 63.16 %
---> Element: Germanium (Ge) Z = 32.0 N = 72.6 A = 72.59 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.84 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.54 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.73 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.28 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.61 %
---> Element: Germanium (Ge) Z = 32.0 N = 73 A = 72.590 g/mole
---> Isotope: Ge70 Z = 32 N = 70 A = 69.92 g/mole abundance: 20.840 %
---> Isotope: Ge72 Z = 32 N = 72 A = 71.92 g/mole abundance: 27.540 %
---> Isotope: Ge73 Z = 32 N = 73 A = 72.92 g/mole abundance: 7.730 %
---> Isotope: Ge74 Z = 32 N = 74 A = 73.92 g/mole abundance: 36.280 %
---> Isotope: Ge76 Z = 32 N = 76 A = 75.92 g/mole abundance: 7.610 %
ElmMassFraction: 17.48 % ElmAbundance 15.79 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209.0 A = 208.98 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.00 %
---> Element: Bismuth (Bi) Z = 83.0 N = 209 A = 208.980 g/mole
---> Isotope: Bi209 Z = 83 N = 209 A = 208.98 g/mole abundance: 100.000 %
ElmMassFraction: 67.10 % ElmAbundance 21.05 %
Material: G4_PbWO4 density: 8.280 g/cm3 RadL: 8.925 mm Nucl.Int.Length: 20.737 cm
Material: G4_PbWO4 density: 8.280 g/cm3 RadL: 8.925 mm Nucl.Int.Length: 20.740 cm
Imean: 542.741 eV
---> Element: O (O) Z = 8.0 N = 16.0 A = 16.00 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.76 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.04 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.20 %
---> Element: O (O) Z = 8.0 N = 16 A = 15.999 g/mole
---> Isotope: O16 Z = 8 N = 16 A = 15.99 g/mole abundance: 99.757 %
---> Isotope: O17 Z = 8 N = 17 A = 17.00 g/mole abundance: 0.038 %
---> Isotope: O18 Z = 8 N = 18 A = 18.00 g/mole abundance: 0.205 %
ElmMassFraction: 14.06 % ElmAbundance 66.67 %
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.22 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.217 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 45.54 % ElmAbundance 16.67 %
---> Element: W (W) Z = 74.0 N = 183.9 A = 183.84 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.12 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.50 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.31 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.64 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.43 %
---> Element: W (W) Z = 74.0 N = 184 A = 183.842 g/mole
---> Isotope: W180 Z = 74 N = 180 A = 179.95 g/mole abundance: 0.120 %
---> Isotope: W182 Z = 74 N = 182 A = 181.95 g/mole abundance: 26.500 %
---> Isotope: W183 Z = 74 N = 183 A = 182.95 g/mole abundance: 14.310 %
---> Isotope: W184 Z = 74 N = 184 A = 183.95 g/mole abundance: 30.640 %
---> Isotope: W186 Z = 74 N = 186 A = 185.95 g/mole abundance: 28.430 %
ElmMassFraction: 40.40 % ElmAbundance 16.67 %
@@ -204,7 +204,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -231,7 +231,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -247,7 +247,7 @@ CoulombScat: for e+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 100 MeV Emax= 10 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -273,6 +273,7 @@ hPairProd: for proton SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for proton, integral: 1 SubType= 1 BuildTable= 1
Used Lambda table of anti_proton
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
@@ -305,7 +306,7 @@ ionIoni: for alpha SubType= 2
BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -337,7 +338,7 @@ CoulombScat: for anti_proton, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -369,7 +370,7 @@ CoulombScat: for kaon+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -395,13 +396,13 @@ hPairProd: for kaon- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for kaon-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of kaon+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -434,7 +435,7 @@ CoulombScat: for mu+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -461,13 +462,13 @@ muPairProd: for mu- SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for mu-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of mu+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -499,7 +500,7 @@ CoulombScat: for pi+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -525,7 +526,7 @@ hPairProd: for pi- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of pi+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
@@ -557,36 +558,35 @@ Index : 0 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 100
User=6.91s Real=6.94s Sys=0s
User=6.32s Real=6.39s Sys=0s
===== SUMMARY =====
Total number of events: 100
Mean number of charged steps: 7253.87
Mean number of neutral steps: 3909.81
Mean number of charged steps: 7215.84
Mean number of neutral steps: 3893.77
energy deposit : 94.88 % E0 +- 1.36 % E0
charged traklen: 481.58 radl +- 7.03 radl
neutral traklen: 4219.44 radl +- 127.62 radl
energy deposit : 94.99 % E0 +- 0.92 % E0
charged traklen: 482.51 radl +- 4.72 radl
neutral traklen: 4215.26 radl +- 129.52 radl
90.00 % confinement: radius = 2.95 radl (2.63 cm )
90.00 % confinement: radius = 2.92 radl (2.60 cm )
<<<<ACCEPTANCE>>>> 100 events for Total Energy in Absorber
Edep: 0.948799 delEdep= -0.000201018 nrms= -0.245143
Erms: 0.0136215 delErms= 0.00542154 nrms= 6.61163
<<<<END>>>> IS NOT ACCEPTED
Edep: 0.949929 delEdep= 0.000929008 nrms= 1.13294
Erms: 0.00916842 delErms= 0.000968422 nrms= 1.181
<<<<END>>>> IS ACCEPTED
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 288803869, 1875579769
Current couple of seeds = 1184869450, 1689580159
----------------------------------------
... write Root file : testem2.root - done
G4 kernel has come to Quit state.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.23 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.2 MB
============================================================
RunManagerKernel is deleted. Good bye :)
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm2/src/PhysicsList.cc
/// \brief Implementation of the PhysicsList class
//
// $Id: PhysicsList.cc 82293 2014-06-13 15:23:19Z gcosmo $
// $Id: PhysicsList.cc 90968 2015-06-12 08:11:52Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -41,6 +41,9 @@
#include "G4EmStandardPhysics_option2.hh"
#include "G4EmStandardPhysics_option3.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4EmStandardPhysicsWVI.hh"
#include "G4EmStandardPhysicsGS.hh"
#include "G4EmStandardPhysicsSS.hh"
#include "G4EmLivermorePhysics.hh"
#include "G4EmPenelopePhysics.hh"
#include "G4EmLowEPPhysics.hh"
@@ -158,6 +161,24 @@ void PhysicsList::AddPhysicsList(const G4String& name)
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysics_option4();
} else if (name == "emstandardWVI") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsWVI();
} else if (name == "emstandardGS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsGS();
} else if (name == "emstandardSS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsSS();
} else if (name == "empenelope"){
fEmName = name;
delete fEmPhysicsList;
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm3/.README"
///\file "electromagnetic/TestEm3/.README.txt"
///\brief Example TestEm3 README page
/*! \page ExampleTestEm3 Example TestEm3
@@ -47,7 +47,7 @@
==========================================================================
^ ^ ^ ^ ^ ^ ^
pln1 pln2 pln3 pln4 pln5 pln6 pln7
<pre>
</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
@@ -55,26 +55,36 @@
(see the macro emtutor.mac)
\section TestEm3_s2 PHYSICS LISTS
Physics lists can be local (eg. in this example) or from G4 kernel
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 lists:
- "local" standard EM physics with current 'best' options setting.
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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "emstandard_opt2" similar fast simulation
- "emstandard_opt3" best standard EM options - analog to "local" above
- "emstandard_opt4" best current advanced EM options standard + lowenergy
- "emstandardWVI" standard EM physics and WentzelVI multiple scattering
- "emstandardSS" standard EM physics and single scattering model
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
- "emlowenergy" low-energy EM physics implementing experimental
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
@@ -92,11 +102,11 @@
A RUN is a set of events.
TestEm3 computes the energy deposited per absorber and the energy flow through
the calorimeter
the calorimeter.
\section TestEm3_s4 VISUALIZATION
The Visualization Manager is set in the main () (see TestEm3.cc).
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
@@ -106,15 +116,15 @@
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.
Optionaly one can choose to draw all particles, only the charged one, or none.
This command is defined in EventActionMessenger class.
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 physic processes which will be available
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 processName)
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.
@@ -1,4 +1,4 @@
$Id: History 85425 2014-10-29 08:24:37Z gcosmo $
$Id: History 93737 2015-10-30 11:01:43Z gcosmo $
----------------------------------------------------
=========================================================
@@ -14,6 +14,22 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
28-10-15 D.Sawkey (testem3-V10-01-04)
- update description of physics lists in README, again
26-10-15 D.Sawkey (testem3-V10-01-03)
- update description of physics lists in README
19-09-15 V.Ivant (testem3-V10-01-02)
- TestEm3.cc - use default 4 threads, improve vis.mac
- PhysListEmStandard - use G4EmParameters
12-05-15 V.Ivant (testem3-V10-01-01)
- PhysicsList - use G4EmStandardPhysicsGS from physics_list library
23-01-15 I. Hrivnacova (testem3-V10-01-00)
- fixed formatting in .README
28-10-14 mma (testem3-V10-00-16)
- in macros : /run/numberOfThreads 2
@@ -1,4 +1,4 @@
$Id: README 83395 2014-08-21 14:40:22Z gcosmo $
$Id: README 93737 2015-10-30 11:01:43Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -58,37 +58,44 @@ $Id: README 83395 2014-08-21 14:40:22Z gcosmo $
2- PHYSICS LISTS
Physics lists can be local (eg. in this example) or from G4 kernel
physics_lists subdirectory.
Local physics lists:
- "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"
- "emstandard_opt3" best current advanced EM options.
analog to "local" above
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
- "emlowenergy" experimental low-energy EM physics
- "emstandardWVI" standard EM physics and WentzelVI multiple scattering
- "emstandardSS" standard EM physics and single scattering model
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
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
Please, notice that options set through G4EmProcessOPtions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the 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 ParticleGun class (see the macros provided with this
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.
@@ -97,11 +104,11 @@ $Id: README 83395 2014-08-21 14:40:22Z gcosmo $
A RUN is a set of events.
TestEm3 computes the energy deposited per absorber and the energy flow through
the calorimeter
the calorimeter.
4- VISUALIZATION
The Visualization Manager is set in the main().
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
@@ -109,15 +116,15 @@ $Id: README 83395 2014-08-21 14:40:22Z gcosmo $
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.
Optionaly one can choose to draw all particles, only the charged one, or none.
This command is defined in EventActionMessenger class.
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 physic processes which will be available
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 processName)
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.
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm3/TestEm3.cc
/// \brief Main program of the electromagnetic/TestEm3 example
//
// $Id: TestEm3.cc 85425 2014-10-29 08:24:37Z gcosmo $
// $Id: TestEm3.cc 92914 2015-09-21 15:00:48Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -59,17 +59,26 @@ int main(int argc,char** argv) {
//choose the Random engine
G4Random::setTheEngine(new CLHEP::RanecuEngine);
G4VSteppingVerbose::SetInstance(new SteppingVerbose);
// Construct the default run manager
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
G4int nThreads = G4Threading::G4GetNumberOfCores();
if (argc==3) nThreads = G4UIcommand::ConvertToInt(argv[2]);
runManager->SetNumberOfThreads(nThreads);
// Number of threads can be defined via 3rd argument
G4int nThreads = 4;
if (argc==3) {
if(G4String(argv[2]) == "NMAX") {
nThreads = G4Threading::G4GetNumberOfCores();
} else {
nThreads = G4UIcommand::ConvertToInt(argv[2]);
}
} else if(argc==1) {
nThreads = 1;
}
if (nThreads > 0) { runManager->SetNumberOfThreads(nThreads); }
G4cout << "===== TestEm3 is started with "
<< runManager->GetNumberOfThreads() << " threads =====" << G4endl;
#else
G4VSteppingVerbose::SetInstance(new SteppingVerbose);
#else
G4RunManager* runManager = new G4RunManager;
#endif
@@ -86,16 +95,15 @@ int main(int argc,char** argv) {
if (argc!=1) // batch mode
{
G4String command = "/control/execute ";
G4String fileName = argv[1];
UI->ApplyCommand(command+fileName);
G4String command = "/control/execute ";
G4String fileName = argv[1];
UI->ApplyCommand(command+fileName);
}
else //define visualization and UI terminal for interactive mode
{
#ifdef G4VIS_USE
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
G4VisManager* visManager = new G4VisExecutive;
visManager->Initialize();
#endif
#ifdef G4UI_USE
@@ -105,14 +113,13 @@ int main(int argc,char** argv) {
#endif
#ifdef G4VIS_USE
delete visManager;
delete visManager;
#endif
}
// job termination
//
delete runManager;
return 0;
}
@@ -1,4 +1,4 @@
# $Id: TestEm3.in 85425 2014-10-29 08:24:37Z gcosmo $
# $Id: TestEm3.in 92914 2015-09-21 15:00:48Z gcosmo $
#
# Macro file for "exampleN03.cc"
# (can be run in batch, without graphic)
@@ -8,7 +8,6 @@
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/run/numberOfThreads 2
#
/testem/phys/addPhysics emstandard_opt0
#
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -12,9 +12,6 @@
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/run/numberOfThreads 2
*** /run/numberOfThreads command is issued in sequential mode.
Command is ignored.
#
/testem/phys/addPhysics emstandard_opt0
#
@@ -30,30 +27,30 @@ userDetector->Construct() start.
Material: Galactic density: 0.000 kg/m3 RadL: 204322111.300 pc Nucl.Int.Length: 113427275.267 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1.0 A = 1.01 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.99 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.01 %
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
---> Isotope: H1 Z = 1 N = 1 A = 1.01 g/mole abundance: 99.989 %
---> Isotope: H2 Z = 1 N = 2 A = 2.01 g/mole abundance: 0.011 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Lead density: 11.350 g/cm3 RadL: 5.613 mm Nucl.Int.Length: 18.247 cm
Material: Lead density: 11.350 g/cm3 RadL: 5.613 mm Nucl.Int.Length: 18.248 cm
Imean: 823.000 eV
---> Element: Pb (Pb) Z = 82.0 N = 207.2 A = 207.22 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.40 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.10 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.10 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.40 %
---> Element: Pb (Pb) Z = 82.0 N = 207 A = 207.217 g/mole
---> Isotope: Pb204 Z = 82 N = 204 A = 203.97 g/mole abundance: 1.400 %
---> Isotope: Pb206 Z = 82 N = 206 A = 205.97 g/mole abundance: 24.100 %
---> Isotope: Pb207 Z = 82 N = 207 A = 206.98 g/mole abundance: 22.100 %
---> Isotope: Pb208 Z = 82 N = 208 A = 207.98 g/mole abundance: 52.400 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.064 cm Nucl.Int.Length: 86.022 cm
Material: liquidArgon density: 1.390 g/cm3 RadL: 14.064 cm Nucl.Int.Length: 86.076 cm
Imean: 188.000 eV
---> Element: Ar (Ar) Z = 18.0 N = 40.0 A = 39.95 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.34 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.06 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.60 %
---> Element: Ar (Ar) Z = 18.0 N = 40 A = 39.948 g/mole
---> Isotope: Ar36 Z = 18 N = 36 A = 35.97 g/mole abundance: 0.337 %
---> Isotope: Ar38 Z = 18 N = 38 A = 37.96 g/mole abundance: 0.063 %
---> Isotope: Ar40 Z = 18 N = 40 A = 39.96 g/mole abundance: 99.600 %
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
@@ -114,7 +111,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -141,7 +138,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -157,7 +154,7 @@ CoulombScat: for e+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 100 MeV Emax= 10 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -183,6 +180,7 @@ hPairProd: for proton SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for proton, integral: 1 SubType= 1 BuildTable= 1
Used Lambda table of anti_proton
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
@@ -215,7 +213,7 @@ ionIoni: for alpha SubType= 2
BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -247,7 +245,7 @@ CoulombScat: for anti_proton, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -279,7 +277,7 @@ CoulombScat: for kaon+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -305,13 +303,13 @@ hPairProd: for kaon- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for kaon-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of kaon+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -344,7 +342,7 @@ CoulombScat: for mu+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -371,13 +369,13 @@ muPairProd: for mu- SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for mu-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of mu+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -409,7 +407,7 @@ CoulombScat: for pi+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -435,7 +433,7 @@ hPairProd: for pi- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of pi+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
@@ -496,46 +494,36 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
92.05 2k 1 50 50 0.00 Calorimeter
7.95 0k 1 3 4 0.00 Layer
### Run 0 starts.
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 9876, 54321
----------------------------------------
--> Event 0 starts.
--> Event 50 starts.
Run terminated.
Run Summary
Number of events processed : 100
User=5.65s Real=5.67s Sys=0.01s
User=5.37s Real=5.38s Sys=0s
------------------------------------------------------------
material Edep RMS sqrt(E0(GeV))*rmsE/Emean total tracklen
Lead: 775.61 MeV : 16.66 MeV 2.148 +- 0.2148 % 54.3 cm +- 1.21 cm
liquidArgon: 214.92 MeV : 16.86 MeV 7.843 +- 0.7843 % 1.06 m +- 8.53 cm
Lead: 778.42 MeV : 17.35 MeV 2.229 +- 0.2229 % 54.7 cm +- 1.36 cm
liquidArgon: 210.83 MeV : 15.81 MeV 7.497 +- 0.7497 % 1.04 m +- 8.27 cm
------------------------------------------------------------
Beam particle e- E = 1 GeV
Mean number of gamma 508
Mean number of e- 868
Mean number of e+ 53.5
Mean number of charged steps 4618.66
Mean number of neutral steps 3647.09
Mean number of e- 867
Mean number of e+ 53.6
Mean number of charged steps 3566.29
Mean number of neutral steps 3649.09
------------------------------------------------------------
Energy deposition from Energy flow balance :
material Total Edep
Lead: 775.608 MeV
liquidArgon: 214.819 MeV
Lead: 778.421 MeV
liquidArgon: 210.599 MeV
------------------------------------------------------------
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 667551838, 1565497027
----------------------------------------
#
/process/em/setSecBiasing eIoni World 0.3 2 MeV
/run/physicsModified
@@ -585,7 +573,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -612,7 +600,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -628,7 +616,7 @@ CoulombScat: for e+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 100 MeV Emax= 10 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -654,7 +642,7 @@ hPairProd: for proton SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for proton, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of anti_proton
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
@@ -687,7 +675,7 @@ ionIoni: for alpha SubType= 2
BetheBloch : Emin= 7.9452 MeV Emax= 10 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -719,7 +707,7 @@ CoulombScat: for anti_proton, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -751,7 +739,7 @@ CoulombScat: for kaon+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -777,13 +765,13 @@ hPairProd: for kaon- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for kaon-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of kaon+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -816,7 +804,7 @@ CoulombScat: for mu+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -843,13 +831,13 @@ muPairProd: for mu- SubType= 4
muPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for mu-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of mu+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -881,7 +869,7 @@ CoulombScat: for pi+, integral: 1 SubType= 1 BuildTable= 1
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 180
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 10 TeV Table with 77 bins Emin= 100 eV Emax= 10 TeV
@@ -907,7 +895,7 @@ hPairProd: for pi- SubType= 4
hPairProd : Emin= 0 eV Emax= 10 TeV
CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 10 TeV, 7 bins per decade, spline: 1
Used Lambda table of pi+
180 < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 10 TeV
@@ -951,46 +939,36 @@ Index : 2 used in the geometry : Yes
====================================================================
### Run 1 starts.
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 667551838, 1565497027
----------------------------------------
--> Event 0 starts.
--> Event 50 starts.
Run terminated.
Run Summary
Number of events processed : 100
User=4.83s Real=4.83s Sys=0s
User=4.12s Real=4.12s Sys=0s
------------------------------------------------------------
material Edep RMS sqrt(E0(GeV))*rmsE/Emean total tracklen
Lead: 778.12 MeV : 18.97 MeV 2.438 +- 0.2438 % 52.1 cm +- 1.2 cm
liquidArgon: 210.53 MeV : 16.68 MeV 7.922 +- 0.7922 % 100 cm +- 7.73 cm
Lead: 779.47 MeV : 22.23 MeV 2.852 +- 0.2852 % 52.1 cm +- 1.47 cm
liquidArgon: 210.18 MeV : 16.84 MeV 8.014 +- 0.8014 % 99.3 cm +- 7.45 cm
------------------------------------------------------------
Beam particle e- E = 1 GeV
Mean number of gamma 294
Mean number of e- 560
Mean number of e+ 54.3
Mean number of charged steps 3926.05
Mean number of neutral steps 2928.94
Mean number of gamma 292
Mean number of e- 555
Mean number of e+ 53.6
Mean number of charged steps 3074.41
Mean number of neutral steps 2875.61
------------------------------------------------------------
Energy deposition from Energy flow balance :
material Total Edep
Lead: 778.099 MeV
liquidArgon: 212.636 MeV
Lead: 777.535 MeV
liquidArgon: 210.455 MeV
------------------------------------------------------------
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 1395465908, 2090053554
----------------------------------------
#
G4 kernel has come to Quit state.
UserDetectorConstruction deleted.
@@ -1001,10 +979,19 @@ UserPrimaryGenerator deleted.
RunManager is deleting RunManagerKernel.
EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 142
Total navigation history collections cleaned: 152
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.234 MB
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.0394 MB
Pool ID '7G4Track', size : 0.0788 MB
Pool ID '18G4TouchableHistory', size : 0.0183 MB
Pool ID '15G4CountedObjectIvE', size : 0.00288 MB
Number of memory pools allocated: 9 of which, static: 0
Dynamic pools deleted: 9 / Total memory freed: 0.19 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.38 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -1,4 +1,4 @@
# $Id: atlashec.mac 85425 2014-10-29 08:24:37Z gcosmo $
# $Id: atlashec.mac 92914 2015-09-21 15:00:48Z gcosmo $
#
# Macro file for "TestEm3.cc"
#
@@ -7,7 +7,6 @@
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/run/numberOfThreads 2
#
/testem/det/setNbOfLayers 25
/testem/det/setNbOfAbsor 2
@@ -1,4 +1,4 @@
# $Id: lhcb.mac 85425 2014-10-29 08:24:37Z gcosmo $
# $Id: lhcb.mac 92914 2015-09-21 15:00:48Z gcosmo $
#
# Macro file for "TestEm3.cc"
#
@@ -7,7 +7,6 @@
/control/verbose 2
/control/cout/ignoreThreadsExcept 0
/run/verbose 2
/run/numberOfThreads 2
#
/testem/det/setNbOfLayers 66
/testem/det/setNbOfAbsor 2
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: PhysListEmStandard.cc 85280 2014-10-27 09:20:14Z gcosmo $
// $Id: PhysListEmStandard.cc 92914 2015-09-21 15:00:48Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -58,9 +58,10 @@
#include "G4IonParametrisedLossModel.hh"
#include "G4NuclearStopping.hh"
#include "G4EmProcessOptions.hh"
#include "G4EmParameters.hh"
#include "G4MscStepLimitType.hh"
#include "G4BuilderType.hh"
#include "G4LossTableManager.hh"
#include "G4UAtomicDeexcitation.hh"
@@ -70,7 +71,20 @@
PhysListEmStandard::PhysListEmStandard(const G4String& name)
: G4VPhysicsConstructor(name)
{}
{
G4EmParameters* param = G4EmParameters::Instance();
param->SetDefaults();
param->SetVerbose(1);
param->SetMinEnergy(10*eV);
param->SetMaxEnergy(10*TeV);
param->SetLowestElectronEnergy(100*eV);
param->SetNumberOfBinsPerDecade(20);
param->SetMscStepLimitType(fUseSafetyPlus);
param->SetFluo(true);
param->SetAuger(false);
param->SetPixe(false);
SetPhysicsType(bElectromagnetic);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -170,30 +184,9 @@ void PhysListEmStandard::ConstructProcess()
}
}
// Em options
//
// Main options and setting parameters are shown here.
// Several of them have default values.
//
G4EmProcessOptions emOptions;
//physics tables
//
emOptions.SetMinEnergy(10*eV); //default 100 eV
emOptions.SetMaxEnergy(10*TeV); //default 100 TeV
emOptions.SetDEDXBinning(12*10); //default=12*7
emOptions.SetLambdaBinning(12*10); //default=12*7
//multiple coulomb scattering
//
emOptions.SetMscStepLimitation(fUseSafetyPlus); //default=fUseSafety
// Deexcitation
//
G4VAtomDeexcitation* de = new G4UAtomicDeexcitation();
de->SetFluo(true);
de->SetAuger(false);
de->SetPIXE(false);
G4LossTableManager::Instance()->SetAtomDeexcitation(de);
}
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm3/src/PhysicsList.cc
/// \brief Implementation of the PhysicsList class
//
// $Id: PhysicsList.cc 84857 2014-10-21 16:06:58Z gcosmo $
// $Id: PhysicsList.cc 90969 2015-06-12 08:12:57Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -42,6 +42,7 @@
#include "G4EmStandardPhysics_option3.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4EmStandardPhysicsWVI.hh"
#include "G4EmStandardPhysicsGS.hh"
#include "G4EmStandardPhysicsSS.hh"
#include "G4EmLivermorePhysics.hh"
@@ -199,6 +200,12 @@ void PhysicsList::AddPhysicsList(const G4String& name)
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsWVI();
} else if (name == "emstandardGS") {
fEmName = name;
delete fEmPhysicsList;
fEmPhysicsList = new G4EmStandardPhysicsGS();
} else if (name == "emstandardSS") {
fEmName = name;
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm3/src/RunAction.cc
/// \brief Implementation of the RunAction class
//
// $Id: RunAction.cc 85280 2014-10-27 09:20:14Z gcosmo $
// $Id: RunAction.cc 90969 2015-06-12 08:12:57Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -85,8 +85,9 @@ void RunAction::BeginOfRunAction(const G4Run*)
if (analysis->IsActive()) analysis->OpenFile();
// save Rndm status and open the timer
if (isMaster) {
G4Random::showEngineStatus();
// G4Random::showEngineStatus();
fTimer = new G4Timer();
fTimer->Start();
}
@@ -116,7 +117,7 @@ void RunAction::EndOfRunAction(const G4Run*)
}
// show Rndm status
if (isMaster) G4Random::showEngineStatus();
// if (isMaster) G4Random::showEngineStatus();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -1,4 +1,4 @@
# $Id: storeTables.mac 66241 2012-12-13 18:34:42Z gunter $
# $Id: storeTables.mac 90969 2015-06-12 08:12:57Z gcosmo $
#
# Macro file for "testEm3.cc"
#
@@ -9,11 +9,13 @@
#
/testem/phys/addPhysics emstandard_opt0
#
/run/initialize
#/run/initialize
/process/eLoss/verbose 1
/process/eLoss/CSDARange true
/run/initialize
/run/beamOn 3
#
/run/particle/dumpCutValues
/run/particle/storePhysicsTable physdata
#
/gun/particle e-
@@ -23,6 +25,6 @@
#
/run/particle/retrievePhysicsTable physdata
#
/random/resetEngineFrom currentRun.rndm
#/random/resetEngineFrom currentRun.rndm
/run/beamOn 3
#
@@ -36,7 +36,7 @@
#/vis/viewer/set/viewpointThetaPhi 90. 0.
#
# Specify zoom value:
/vis/viewer/zoom 1.4
/vis/viewer/zoom 0.75
#
# Specify style (surface or wireframe):
#/vis/viewer/set/style wireframe
@@ -69,7 +69,7 @@
#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
#
# To superimpose all of the events from a given run:
/vis/scene/endOfEventAction accumulate
/vis/scene/endOfEventAction accumulate
#
# Re-establish auto refreshing and verbosity:
/vis/viewer/set/autoRefresh true
@@ -1,6 +1,6 @@
//$Id$
///\file "electromagnetic/TestEm4/.README"
///\file "electromagnetic/TestEm4/.README.txt"
///\brief Example TestEm4 README page
/*! \page ExampleTestEm4 Example TestEm4
@@ -4,7 +4,7 @@
############################################
*************************************************************
Geant4 version Name: geant4-10-01-ref-00 (5-December-2014)
Geant4 version Name: geant4-10-02-ref-00 (4-December-2015)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -13,13 +13,13 @@
Material: FluorCarbonate density: 1.610 g/cm3 RadL: 22.435 cm Nucl.Int.Length: 54.514 cm
Imean: 99.957 eV
---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.93 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.07 %
---> Element: Carbon (C) Z = 6.0 N = 12 A = 12.010 g/mole
---> Isotope: C12 Z = 6 N = 12 A = 12.00 g/mole abundance: 98.930 %
---> Isotope: C13 Z = 6 N = 13 A = 13.00 g/mole abundance: 1.070 %
ElmMassFraction: 38.74 % ElmAbundance 50.00 %
---> Element: Fluorine (N) Z = 9.0 N = 19.0 A = 18.99 g/mole
---> Isotope: N19 Z = 9 N = 19 A = 19.00 g/mole abundance: 100.00 %
---> Element: Fluorine (N) Z = 9.0 N = 19 A = 18.990 g/mole
---> Isotope: N19 Z = 9 N = 19 A = 19.00 g/mole abundance: 100.000 %
ElmMassFraction: 61.26 % ElmAbundance 50.00 %
PhysicsList::SetCuts:CutLength : 1 (mm)
@@ -62,7 +62,7 @@ eIoni: for e- SubType= 2
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -82,7 +82,7 @@ eIoni: for e+ SubType= 2
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 10 TeV in 77 bins
Lambda tables from threshold to 10 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV
LPM flag: 1 for E > 1 GeV, HighEnergyThreshold(GeV)= 10000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 10 TeV DipBustGen
@@ -140,11 +140,11 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
Run terminated.
Run Summary
Number of events processed : 100000
User=2.21s Real=2.21s Sys=0s
User=2.62s Real=2.63s Sys=0s
--------- Ranecu engine status ---------
Initial seed (index) = 0
Current couple of seeds = 233693817, 1551035915
Current couple of seeds = 478461045, 560725148
----------------------------------------
... write Root file : testem4.root - done
G4 kernel has come to Quit state.
@@ -158,8 +158,17 @@ EventManager deleted.
Units table cleared.
Total navigation history collections cleaned: 6
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.00673 MB
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.00288 MB
Pool ID '7G4Track', size : 0.00577 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.018 Mb
Dynamic pools deleted: 9 / Total memory freed: 0.021 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -1,13 +1,13 @@
//$Id$
///\file "electromagnetic/TestEm5/.README"
///\file "electromagnetic/TestEm5/.README.txt"
///\brief Example TestEm5 README page
/*! \page ExampleTestEm5 Example TestEm5
How to study the transmission, absorption and reflexion of particles through
How to study the transmission, absorption and reflection of particles through
a single, thin or thick, layer of material.
In particular, the effects of the multiple scattering can be ploted.
In particular, the effects of the multiple scattering can be plotted.
\section TestEm5_s1 GEOMETRY DEFINITION
@@ -28,32 +28,41 @@
is not set to vacuum, the plots 10->43 below may be not pertinent.
\section TestEm5_s2 PHYSICS LIST
Physics lists can be local (eg. in this example) or from G4 kernel
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 lists:
- "local" standard EM physics with current 'best' options setting.
these options are explicited in PhysListEmStandard
From geant4/source/physics_lists/builders:
Local physics builders:
- "local" standard EM physics with current 'best' options setting
these options are explicited in PhysListEmStandard
- "standardSSM" standard EM physics with alternative single Coulomb
scattering model instead of multiple scattering.
From geant4/source/physics_lists/builders:
- "emstandard_opt0" recommended standard EM physics for LHC
- "emstandard_opt1" best CPU performance standard physics for LHC
- "emstandard_opt2"
- "emstandard_opt2" similar fast simulation
- "emstandard_opt3" best standard EM options - analog to "local" above
- "emstandard_opt4" best current advanced EM options standard + lowenergy
- "emstandardWVI" standard EM physics and WentzelVI multiple scattering
- "emstandardSS" standard EM physics and single scattering model
- "emlivermore" low-energy EM physics using Livermore data
- "empenelope" low-energy EM physics implementing Penelope models
- "emlowenergy" low-energy EM physics implementing experimental
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
\section TestEm5_s3 AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the absorber
@@ -76,7 +85,7 @@
The example has a default view which is a longitudinal view of the detector.
The tracks are drawn at the end of event, and erased at the end of run.
Optionaly one can choose to draw all particles, only the charged, or none.
Optionally one can choose to draw all particles, only the charged, or none.
This command is defined in EventActionMessenger class.
\section TestEm5_s5 TRACKING
@@ -1,4 +1,4 @@
$Id: History 85279 2014-10-27 09:19:21Z gcosmo $
$Id: History 94333 2015-11-12 09:57:47Z gcosmo $
----------------------------------------------------
=========================================================
@@ -14,6 +14,32 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
12-11-15 V.Ivant (testem5-V10-01-06)
- TrackingAction - more accurate fix which does not change results
11-11-15 V.Ivant (testem5-V10-01-05)
- TrackingAction - transmitted/reflected charged particles should
have energy above zero to be included into histograms for
transmitted/reflected particles energy and angles at exit
28-10-15 D.Sawkey (testem5-V10-01-04)
- update READMEs, again
27-10-15 D.Sawkey (testem5-V10-01-03)
- update physics list descriptions in .README, README
11-08-15 V.Ivant (testem5-V10-01-02)
- DetectorConstruction - do not remove volumes when sizes are changed
- SteppingVerbose - restore usage of this class
- TrackingAction - cleanup logic of transmitted/reflected particles
12-05-15 V.Ivant (testem5-V10-01-01)
- PhysicsList - use G4EmStandardPhysicsGS from physics_list library
04-03-15 V.Ivant (testem5-V10-01-00)
- Run - added forgotten fill of projectile scattering angle
for printed output (printed value was zero)
23-10-14 mma (testem5-V10-00-12)
- PhysListEmStandard : msc algorithm fUseSafetyPlus
@@ -1,4 +1,4 @@
$Id: README 85031 2014-10-23 10:03:11Z gcosmo $
$Id: README 93738 2015-10-30 11:03:07Z gcosmo $
-----------------------------------------------------
=========================================================
@@ -7,9 +7,9 @@ $Id: README 85031 2014-10-23 10:03:11Z gcosmo $
TestEm5
-------
How to study the transmission, absorption and reflexion of particles through
How to study the transmission, absorption and reflection of particles through
a single, thin or thick, layer of material.
In particular, the effects of the multiple scattering can be ploted.
In particular, the effects of the multiple scattering can be plotted.
1- GEOMETRY DEFINITION
@@ -30,11 +30,17 @@ $Id: README 85031 2014-10-23 10:03:11Z gcosmo $
is not set to vacuum, the plots 10->43 below may be not pertinent.
2- PHYSICS LIST
Physics lists can be local (eg. in this example) or from G4 kernel
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 lists:
Local physics builders:
- "local" standard EM physics with current 'best' options setting
these options are explicited in PhysListEmStandard
- "standardSSM" standard EM physics with alternative single Coulomb
@@ -51,15 +57,14 @@ $Id: README 85031 2014-10-23 10:03:11Z gcosmo $
- "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 low-enegry WentzelVI model
low-energy models
Physics lists and options can be (re)set with UI commands
Please, notice that options set through G4EmProcessOPtions are global, eg
Please, notice that options set through G4EmProcessOptions are global, eg
for all particle types. In G4 builders, it is shown how to set options per
particle type.
3- AN EVENT : THE PRIMARY GENERATOR
The primary kinematic consists of a single particle which hits the absorber
@@ -81,7 +86,7 @@ $Id: README 85031 2014-10-23 10:03:11Z gcosmo $
The example has a default view which is a longitudinal view of the detector.
The tracks are drawn at the end of event, and erased at the end of run.
Optionaly one can choose to draw all particles, only the charged, or none.
Optionally one can choose to draw all particles, only the charged, or none.
This command is defined in EventActionMessenger class.
5- TRACKING
@@ -120,15 +125,15 @@ $Id: README 85031 2014-10-23 10:03:11Z gcosmo $
6 "x_vertex of charged secondaries (all)"
7 "x_vertex of charged secondaries (not absorbed)"
10 "(transmit, charged) : kinetic energy at exit of world"
11 "(transmit, charged) : ener fluence: dE(MeV)/dOmega"
11 "(transmit, charged) : ener fluence: dE(MeV)/dOmega"
12 "(transmit, charged) : space angle dN/dOmega"
13 "(transmit, charged) : projected angle at exit of world"
14 "(transmit, charged) : projected position at exit of world"
15 "(transmit, charged) : radius at exit of world"
16 "energy of Auger e- at creation"
17 "energy of fluorescence gamma at creation"
18 "energy of Auger e- at creation (log scale)"
19 "energy of fluorescence gamma at creation (log scale)"
16 "energy of Auger e- at creation"
17 "energy of fluorescence gamma at creation"
18 "energy of Auger e- at creation (log scale)"
19 "energy of fluorescence gamma at creation (log scale)"
20 "(transmit, neutral) : kinetic energy at exit of world"
21 "(transmit, neutral) : ener fluence: dE(MeV)/dOmega"
22 "(transmit, neutral) : space angle dN/dOmega"
@@ -141,10 +146,10 @@ $Id: README 85031 2014-10-23 10:03:11Z gcosmo $
41 "(reflect , neutral) : ener fluence: dE(MeV)/dOmega"
42 "(reflect , neutral) : space angle dN/dOmega"
43 "(reflect , neutral) : projected angle at exit of world"
44 "energy of PIXE Auger e- at creation"
45 "energy of PIXE gamma at creation"
46 "energy of PIXE Auger e- at creation (log scale)"
47 "energy of PIXE gamma at creation (log scale)"
44 "energy of PIXE Auger e- at creation"
45 "energy of PIXE gamma at creation"
46 "energy of PIXE Auger e- at creation (log scale)"
47 "energy of PIXE gamma at creation (log scale)"
The histograms can be viewed using ROOT or PAW.
@@ -27,7 +27,7 @@
/// \brief Main program of the electromagnetic/TestEm5 example
//
//
// $Id: TestEm5.cc 85031 2014-10-23 10:03:11Z gcosmo $
// $Id: TestEm5.cc 91972 2015-08-12 13:48:40Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -60,17 +60,17 @@ int main(int argc,char** argv) {
//choose the Random engine
G4Random::setTheEngine(new CLHEP::RanecuEngine);
G4VSteppingVerbose::SetInstance(new SteppingVerbose);
// Construct the default run manager
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
G4int nThreads = G4Threading::G4GetNumberOfCores();
G4int nThreads = std::min(G4Threading::G4GetNumberOfCores(),4);
if (argc==3) nThreads = G4UIcommand::ConvertToInt(argv[2]);
runManager->SetNumberOfThreads(nThreads);
G4cout << "===== TestEm5 is started with "
<< runManager->GetNumberOfThreads() << " threads =====" << G4endl;
#else
G4VSteppingVerbose::SetInstance(new SteppingVerbose);
G4RunManager* runManager = new G4RunManager;
#endif
File diff suppressed because it is too large Load Diff
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm5/include/DetectorConstruction.hh
/// \brief Definition of the DetectorConstruction class
//
// $Id: DetectorConstruction.hh 77600 2013-11-26 17:07:41Z gcosmo $
// $Id: DetectorConstruction.hh 91972 2015-08-12 13:48:40Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -87,14 +87,13 @@ class DetectorConstruction : public G4VUserDetectorConstruction
G4Material* GetWorldMaterial() {return fWorldMaterial;};
G4double GetWorldSizeX() {return fWorldSizeX;};
G4double GetWorldSizeYZ() {return fWorldSizeYZ;};
const G4VPhysicalVolume* GetphysiWorld() {return fPhysiWorld;};
const G4VPhysicalVolume* GetAbsorber() {return fPhysiAbsorber;};
const G4MaterialCutsCouple* GetAbsorbMaterialCut() const
{return fLogicAbsorber->GetMaterialCutsCouple();};
const G4VPhysicalVolume* GetAbsorber() {return fPhysiAbsorber;};
private:
void ChangeGeometry();
G4Material* fAbsorberMaterial;
G4double fAbsorberThickness;
G4double fAbsorberSizeYZ;

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