Import Geant4 10.5.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2018-06-29 10:58:11 +02:00
parent fe81a77428
commit 6aa23be517
1581 changed files with 124288 additions and 83758 deletions
@@ -1,4 +1,4 @@
$Id: History 106960 2017-10-31 08:35:19Z gcosmo $
$Id: History 110166 2018-05-16 15:54:41Z gcosmo $
-------------------------------------------------------------------
=========================================================
@@ -15,6 +15,25 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
16-05-18 J.Allison (testem8-V10-04-05)
- RunAction.cc: Removed vis commands.
01-05-18 J.Allison (testem8-V10-04-04)
- RunAction.cc: Removed G4VIS_USE and G4UI_USE.
29-03-18 V.Ivant (testem8-V10-04-03)
- TestEm8.cc - minor optimisation
26-03-18 V.Ivant (testem8-V10-04-02)
- PrimaryGeneratorAction - fixed thread safety
- TestEm8.in - disable tracking cuts
17-03-18 mma (testem8-V10-04-01)
- testem8.cc : remove G4UI_USE and G4VIS_USE
14-12-17 V.Ivant (testem8-V10-04-00)
- corrected default macro to optimise output
27-10-17 V.Ivant (testem8-V10-03-01)
- PhysicsList, DetectorConstruction, DetectorMesenger, StepMax
make StepMax initialisation to be more thread safe
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm8/TestEm8.cc
/// \brief Main program of the electromagnetic/TestEm8 example
//
// $Id: TestEm8.cc 106960 2017-10-31 08:35:19Z gcosmo $
// $Id: TestEm8.cc 109180 2018-04-03 07:15:22Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -41,18 +41,17 @@
#include "PhysicsList.hh"
#include "ActionInitialization.hh"
#ifdef G4VIS_USE
#include "G4VisExecutive.hh"
#endif
#ifdef G4UI_USE
#include "G4UIExecutive.hh"
#endif
#include "G4VisExecutive.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
int main(int argc,char** argv)
{
int main(int argc,char** argv) {
//detect interactive mode (if no arguments) and define UI session
G4UIExecutive* ui = nullptr;
if (argc == 1) { ui = new G4UIExecutive(argc,argv); }
//choose the Random engine
CLHEP::HepRandom::setTheEngine(new CLHEP::MixMaxRng);
@@ -76,46 +75,36 @@ int main(int argc,char** argv)
G4RunManager* runManager = new G4RunManager;
#endif
// set mandatory initialization classes
//set mandatory initialization classes
DetectorConstruction* det = new DetectorConstruction();
runManager->SetUserInitialization(det);
runManager->SetUserInitialization(new PhysicsList(det));
// set user action classes
//set user action classes
runManager->SetUserInitialization(new ActionInitialization());
G4UImanager* UI = G4UImanager::GetUIpointer();
if (argc!=1) // batch mode
{
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();
#endif
#ifdef G4UI_USE
G4UIExecutive * ui = new G4UIExecutive(argc,argv);
ui->SessionStart();
delete ui;
#endif
#ifdef G4VIS_USE
delete visManager;
#endif
}
// job termination
//
//initialize visualization
G4VisManager* visManager = nullptr;
//get the pointer to the User Interface manager
G4UImanager* UImanager = G4UImanager::GetUIpointer();
if (ui) {
//interactive mode
visManager = new G4VisExecutive();
visManager->Initialize();
ui->SessionStart();
delete ui;
} else {
//batch mode
G4String command = "/control/execute ";
G4String fileName = argv[1];
UImanager->ApplyCommand(command+fileName);
}
//job termination
delete visManager;
delete runManager;
return 0;
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -19,14 +19,17 @@
/testem/phys/setNbinsE 20
/testem/phys/setMaxE 0.060 MeV
#
/process/em/lowestElectronEnergy 0.0 MeV
/process/em/lowestMuHadEnergy 0.0 MeV
#
/run/initialize
#
/process/em/verbose 0
/run/setCut 0.5 mm
/run/setCutForAGivenParticle proton 0.0 mm
/run/setCutForRegion GasDetector 1.8 mm
/process/em/verbose 1
#/run/particle/dumpCutValues
#
#/process/eLoss/fluct false
#/gun/particle e-
#
/gun/particle proton
@@ -17,7 +17,7 @@
#
/run/initialize
#
/process/em/verbose 1
/process/em/verbose 0
/run/setCut 1 mm
/run/setCutForRegion GasDetector 0.2 mm
#/run/particle/dumpCutValues
@@ -4,7 +4,7 @@
############################################
**************************************************************
Geant4 version Name: geant4-10-04-patch-02 (25-May-2018)
Geant4 version Name: geant4-10-05-beta-01 (29-June-2018)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -420,6 +420,11 @@
/testem/phys/setNbinsE 20
/testem/phys/setMaxE 0.060 MeV
#
/process/em/lowestElectronEnergy 0.0 MeV
/run/physicsModified
/process/em/lowestMuHadEnergy 0.0 MeV
/run/physicsModified
#
/run/initialize
The WORLD is made of 27.7224mm of G4_Galactic, the transverse size (R) of the world is 120.122 mm.
@@ -427,13 +432,13 @@
The TARGET is made of 23mm of XeCH4C3H8, the transverse size (R) is 100 mm.
#
/run/setCut 0.5 mm
/run/setCutForRegion GasDetector 1.8 mm
/process/em/verbose 1
/process/em/verbose 0
/run/physicsModified
/run/setCut 0.5 mm
/run/setCutForAGivenParticle proton 0.0 mm
/run/setCutForRegion GasDetector 1.8 mm
#/run/particle/dumpCutValues
#
#/process/eLoss/fluct false
#/gun/particle e-
#
/gun/particle proton
@@ -444,417 +449,19 @@
#
/run/beamOn 1000
phot: for gamma SubType= 12 BuildTable= 0
LambdaPrime table from 200 keV to 100 TeV in 61 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermorePhElectric : Emin= 0 eV Emax= 100 TeV AngularGenSauterGavrila FluoActive
compt: for gamma SubType= 13 BuildTable= 1
Lambda table from 100 eV to 1 MeV, 7 bins per decade, spline: 1
LambdaPrime table from 1 MeV to 100 TeV in 56 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
Klein-Nishina : Emin= 0 eV Emax= 100 TeV
conv: for gamma SubType= 14 BuildTable= 1
Lambda table from 1.022 MeV to 100 TeV, 18 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitler : Emin= 0 eV Emax= 80 GeV
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV
Rayl: for gamma SubType= 11 BuildTable= 1
Lambda table from 100 eV to 100 keV, 7 bins per decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Table with 42 bins Emin= 100 eV Emax= 100 MeV
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Table with 42 bins Emin= 100 MeV Emax= 100 TeV
eIoni: for e- SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 eV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
eBrem: for e- SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 100 TeV DipBustGen
CoulombScat: for e-, integral: 1 SubType= 1 BuildTable= 1
Lambda table from 100 MeV to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Table with 42 bins Emin= 100 eV Emax= 100 MeV
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Table with 42 bins Emin= 100 MeV Emax= 100 TeV
eIoni: for e+ SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
MollerBhabha : Emin= 0 eV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
eBrem: for e+ SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
LPM flag: 1 for E > 1 GeV, VertexHighEnergyTh(GeV)= 100000
===== EM models for the G4Region DefaultRegionForTheWorld ======
eBremSB : Emin= 0 eV Emax= 1 GeV DipBustGen
eBremLPM : Emin= 1 GeV Emax= 100 TeV DipBustGen
annihil: for e+, integral: 1 SubType= 5 BuildTable= 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
eplus2gg : Emin= 0 eV Emax= 100 TeV
CoulombScat: for e+, integral: 1 SubType= 1 BuildTable= 1
Lambda table from 100 MeV to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
hIoni: for proton SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
hBrems: for proton SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
hPairProd: for proton SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for proton, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
ionIoni: for GenericIon SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.02
Stopping Power data for 17 ion/material pairs
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
ionIoni: for alpha SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 7.9452 MeV
BetheBloch : Emin= 7.9452 MeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
hIoni: for anti_proton SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
hBrems: for anti_proton SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
hPairProd: for anti_proton SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for anti_proton, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
hIoni: for kaon+ SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 1.05231 MeV
BetheBloch : Emin= 1.05231 MeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
hBrems: for kaon+ SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
hPairProd: for kaon+ SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for kaon+, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
hIoni: for kaon- SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 1.05231 MeV
BetheBloch : Emin= 1.05231 MeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
hBrems: for kaon- SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
hPairProd: for kaon- SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for kaon-, integral: 1 SubType= 1 BuildTable= 1
Used Lambda table of kaon+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
muIoni: for mu+ SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
muBrems: for mu+ SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
muPairProd: for mu+ SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for mu+, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 0, polarAngleLimit(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
muIoni: for mu- SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 200 keV
BetheBloch : Emin= 200 keV Emax= 1 GeV
MuBetheBloch : Emin= 1 GeV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
muBrems: for mu- SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
muPairProd: for mu- SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for mu-, integral: 1 SubType= 1 BuildTable= 1
Used Lambda table of mu+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
hIoni: for pi+ SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
Bragg : Emin= 0 eV Emax= 297.505 keV
BetheBloch : Emin= 297.505 keV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
hBrems: for pi+ SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
hPairProd: for pi+ SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for pi+, integral: 1 SubType= 1 BuildTable= 1
Lambda table from threshold to 100 TeV, 7 bins per decade, spline: 1
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Table with 84 bins Emin= 100 eV Emax= 100 TeV
hIoni: for pi- SubType= 2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
finalRange(mm)= 0.1, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
===== EM models for the G4Region DefaultRegionForTheWorld ======
ICRU73QO : Emin= 0 eV Emax= 297.505 keV
BetheBloch : Emin= 297.505 keV Emax= 100 TeV
===== EM models for the G4Region GasDetector ======
PAIModel : Emin= 0 eV Emax= 100 TeV deltaVI
hBrems: for pi- SubType= 3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
===== Limit on energy threshold has been applied
hPairProd: for pi- SubType= 4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins per decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
CoulombScat: for pi-, integral: 1 SubType= 1 BuildTable= 1
Used Lambda table of pi+
ThetaMin(p) < Theta(degree) < 180 pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : G4_Galactic
Range cuts : gamma 500 um e- 500 um e+ 500 um proton 500 um
Energy thresholds : gamma 25 eV e- 25 eV e+ 25 eV proton 50 keV
Range cuts : gamma 500 um e- 500 um e+ 500 um proton 0 fm
Energy thresholds : gamma 25 eV e- 25 eV e+ 25 eV proton 0 eV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : G4_MYLAR
Range cuts : gamma 500 um e- 500 um e+ 500 um proton 500 um
Energy thresholds : gamma 2.28293 keV e- 264.842 keV e+ 257.302 keV proton 50 keV
Range cuts : gamma 500 um e- 500 um e+ 500 um proton 0 fm
Energy thresholds : gamma 2.28293 keV e- 264.842 keV e+ 257.302 keV proton 0 eV
Region(s) which use this couple :
DefaultRegionForTheWorld
@@ -875,8 +482,8 @@ Index : 2 used in the geometry : Yes
Run terminated.
Run Summary
Number of events processed : 1000
User=0.11s Real=0.11s Sys=0s
RunAction: End of run actions are started 1 Nevt= 1000 Edep= 0.0162951
User=0.070000s Real=0.069175s Sys=0.000000s
RunAction: End of run actions are started 1 Nevt= 1000 Edep= 0.0159854
====================================================
Beam Particle: proton
Ekin(MeV) = 200000
@@ -885,30 +492,30 @@ RunAction: End of run actions are started 1 Nevt= 1000 Edep= 0.0162951
End of Run TotNbofEvents = 1000
Energy(keV) per ADC channel = 3.0769
Mean energy deposit in absorber = 16.295 +- 0.37224 keV RMS/Emean = 0.72238
Mean number of steps in absorber= 1.251 mean number of ion-clusters = 813.71 MeanCluster= 814.72
Mean energy deposit in absorber = 15.985 +- 0.36547 keV RMS/Emean = 0.72299
Mean number of steps in absorber= 1.235 mean number of ion-clusters = 799.4 MeanCluster= 799.23
====== Energy deposit distribution Noverflows= 0.009 ======
====== Energy deposit distribution Noverflows= 0.014 ======
bin nb Elow entries normalized
0 0 0 0
1 3 5 0.005
2 6 107 0.107
3 9 255 0.255
4 12 240 0.24
5 15 153 0.153
6 18 88 0.088
7 21 44 0.044
1 3 7 0.007
2 6 102 0.102
3 9 260 0.26
4 12 249 0.249
5 15 159 0.159
6 18 86 0.086
7 21 42 0.042
8 24 29 0.029
9 27 19 0.019
10 30 12 0.012
11 33 7 0.007
12 36 3 0.003
13 39 5 0.005
14 42 5 0.005
15 45 8 0.008
16 48 2 0.002
17 51 5 0.005
18 54 2 0.002
10 30 4 0.004
11 33 10 0.01
12 36 6 0.006
13 39 3 0.003
14 42 3 0.003
15 45 2 0.002
16 48 0 0
17 51 0 0
18 54 3 0.003
19 57 2 0.002
================== run end ==========================
... write Root file : testem8.root - done
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm8/src/DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
//
// $Id: DetectorConstruction.cc 106960 2017-10-31 08:35:19Z gcosmo $
// $Id: DetectorConstruction.cc 109102 2018-03-27 07:38:33Z gcosmo $
//
/////////////////////////////////////////////////////////////////////////
//
@@ -75,10 +75,10 @@
DetectorConstruction::DetectorConstruction()
: G4VUserDetectorConstruction(),
fGasMat(0), fWindowMat(0), fWorldMaterial(0),
fSolidWorld(0), fSolidContainer(0), fSolidDetector(0),
fPhysWorld(0), fLogicWorld(0), fLogicContainer(0), fLogicDetector(0),
fDetectorMessenger(0), fGasDetectorCuts(0), fRegGasDet(0)
fGasMat(nullptr), fWindowMat(nullptr), fWorldMaterial(nullptr),
fSolidWorld(nullptr), fSolidContainer(nullptr), fSolidDetector(nullptr),
fPhysWorld(nullptr), fLogicWorld(nullptr), fLogicContainer(nullptr),
fLogicDetector(nullptr),fRegGasDet(nullptr)
{
fGasThickness = 23.0*mm;
fGasRadius = 10.*cm;
@@ -90,7 +90,7 @@ DetectorConstruction::DetectorConstruction()
fDetectorMessenger = new DetectorMessenger(this);
G4double cut = 23.*mm;
G4double cut = 0.7*mm;
fGasDetectorCuts = new G4ProductionCuts();
fGasDetectorCuts->SetProductionCut(cut,"gamma");
fGasDetectorCuts->SetProductionCut(cut,"e-");
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm8/src/PrimaryGeneratorAction.cc
/// \brief Implementation of the PrimaryGeneratorAction class
//
// $Id: PrimaryGeneratorAction.cc 95713 2016-02-22 08:08:38Z gcosmo $
// $Id: PrimaryGeneratorAction.cc 109102 2018-03-27 07:38:33Z gcosmo $
//
/////////////////////////////////////////////////////////////////////////
//
@@ -73,10 +73,8 @@ PrimaryGeneratorAction::~PrimaryGeneratorAction()
void PrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
{
G4double z = fParam->GetPositionZ();
if(0 == anEvent->GetEventID()) {
fParam->SetBeamParticle(fParticleGun->GetParticleDefinition());
fParam->SetBeamEnergy(fParticleGun->GetParticleEnergy());
}
fParam->SetBeamParticle(fParticleGun->GetParticleDefinition());
fParam->SetBeamEnergy(fParticleGun->GetParticleEnergy());
fParticleGun->SetParticlePosition(G4ThreeVector(0.,0.,z));
fParticleGun->GeneratePrimaryVertex(anEvent);
}
@@ -26,7 +26,7 @@
/// \file electromagnetic/TestEm8/src/RunAction.cc
/// \brief Implementation of the RunAction class
//
// $Id: RunAction.cc 92047 2015-08-14 07:23:37Z gcosmo $
// $Id: RunAction.cc 110166 2018-05-16 15:54:41Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -45,8 +45,6 @@
#include "TestParameters.hh"
#include "G4Run.hh"
#include "G4RunManager.hh"
#include "G4UImanager.hh"
#include "G4VVisManager.hh"
#include "G4SystemOfUnits.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -131,12 +129,6 @@ void RunAction::EndOfRunAction(const G4Run*)
fAnalysisManager->CloseFile();
}
//delete fAnalysisManager;
#ifdef G4VIS_USE
if (G4VVisManager::GetConcreteInstance()) {
G4UImanager::GetUIpointer()->ApplyCommand("/vis/viewer/update");
}
#endif
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -24,7 +24,7 @@
#
/run/initialize
#
/process/em/verbose 1
/process/em/verbose 0
/run/setCut 1 mm
/run/setCutForRegion GasDetector 1 mm
#/testem/killSecondaries true
@@ -38,7 +38,7 @@
#
/run/setCut 1 mm
/run/setCutForRegion GasDetector 1 mm
/process/em/verbose 1
/process/em/verbose 0
#
#/run/particle/dumpCutValues
#
@@ -43,6 +43,7 @@
#
/run/setCut 0.5 mm
/run/setCutForRegion GasDetector 1.8 mm
/process/em/verbose 0
#/run/particle/dumpCutValues
#
#/gun/particle e-