Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ int main(int argc,char** argv) {
// Physics List name defined via environment variable
if("" == physName) {
char* path = getenv("PHYSLIST");
char* path = std::getenv("PHYSLIST");
if (path) { physName = G4String(path); }
}
@@ -14,6 +14,10 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
21-08-19 V.Ivanchenko (exhadr01-V10-05-01)
- DetectorConstruction - added "Battery" material from problem
report 2175 and new macro test_battery.in
17-12-18 V.Ivanchenko (exhadr01-V10-05-00)
- HistoManager - added linear histogram for pion energy at production
+111 -60
View File
@@ -1,6 +1,10 @@
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-05-ref-06 (30-June-2019)
Geant4 version Name: geant4-10-06-ref-00 (6-December-2019)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -26,7 +30,7 @@ PhysicsList::AddPhysicsList: <emstandard_opt0>
userDetector->Construct() start.
### Target consist of 100 disks of G4_Al with R(mm)= 10 Width(mm)= 1 Total Length(mm)= 100 ###
***** Table : Nb of materials = 2 *****
***** Table : Nb of materials = 3 *****
Material: G4_Al density: 2.699 g/cm3 RadL: 8.896 cm Nucl.Int.Length: 38.894 cm
Imean: 166.000 eV temperature: 293.15 K pressure: 1.00 atm
@@ -45,6 +49,52 @@ userDetector->Construct() start.
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Battery density: 2.165 g/cm3 RadL: 10.553 cm Nucl.Int.Length: 46.079 cm
Imean: 144.880 eV temperature: 293.15 K pressure: 1.00 atm
---> 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: 19.52 % ElmAbundance 30.66 %
---> Element: Al (Al) Z = 13.0 N = 27 A = 26.982 g/mole
---> Isotope: Al27 Z = 13 N = 27 A = 26.98 g/mole abundance: 100.000 %
ElmMassFraction: 39.80 % ElmAbundance 27.83 %
---> Element: Ti (Ti) Z = 22.0 N = 48 A = 47.867 g/mole
---> Isotope: Ti46 Z = 22 N = 46 A = 45.95 g/mole abundance: 8.250 %
---> Isotope: Ti47 Z = 22 N = 47 A = 46.95 g/mole abundance: 7.440 %
---> Isotope: Ti48 Z = 22 N = 48 A = 47.95 g/mole abundance: 73.720 %
---> Isotope: Ti49 Z = 22 N = 49 A = 48.95 g/mole abundance: 5.410 %
---> Isotope: Ti50 Z = 22 N = 50 A = 49.94 g/mole abundance: 5.180 %
ElmMassFraction: 2.00 % ElmAbundance 0.79 %
---> Element: Cu (Cu) Z = 29.0 N = 64 A = 63.546 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: 8.40 % ElmAbundance 2.49 %
---> Element: Li (Li) Z = 3.0 N = 7 A = 6.940 g/mole
---> Isotope: Li6 Z = 3 N = 6 A = 6.02 g/mole abundance: 7.590 %
---> Isotope: Li7 Z = 3 N = 7 A = 7.02 g/mole abundance: 92.410 %
ElmMassFraction: 1.70 % ElmAbundance 4.62 %
---> Element: Co (Co) Z = 27.0 N = 59 A = 58.933 g/mole
---> Isotope: Co59 Z = 27 N = 59 A = 58.93 g/mole abundance: 100.000 %
ElmMassFraction: 14.46 % ElmAbundance 4.63 %
---> 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: 13.42 % ElmAbundance 15.82 %
---> 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: 0.70 % ElmAbundance 13.16 %
World is registered to the default region.
physicsList->Construct() start.
@@ -70,8 +120,7 @@ compt: for gamma SubType=13 BuildTable=1
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 100 TeV, 18 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
BetheHeitler : Emin= 0 eV Emax= 80 GeV ModifiedTsai
BetheHeitlerLPM : Emin= 80 GeV Emax= 100 TeV ModifiedTsai
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
@@ -434,7 +483,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: neutronInelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 1 GeV ---> 5 GeV
Model: BertiniCascade: 1 GeV ---> 6 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: G4NeutronInelasticXS: 0 eV ---> 100 TeV
@@ -448,8 +497,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for GenericIon
Process: ionInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: ionElastic
@@ -464,8 +513,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: He3Inelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -476,8 +525,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: alphaInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -526,8 +575,9 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for anti_neutron
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Model: hElasticLHEP: 0 eV ---> 100.1 MeV
Model: AntiAElastic: 100 MeV ---> 100 TeV
Cr_sctns: AntiAGlauber: 0 eV ---> 100 TeV
Process: anti_neutronInelastic
Model: FTFP: 0 eV ---> 100 TeV
@@ -571,14 +621,14 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: dInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for e+
Process: positronNuclear
Process: electronNuclear
Model: G4ElectroVDNuclearModel: 0 eV ---> 1 PeV
Cr_sctns: ElectroNuclearXS: 0 eV ---> 100 TeV
@@ -593,7 +643,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for gamma
Process: photonNuclear
Model: BertiniCascade: 0 eV ---> 3.5 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: TheoFSGenerator: 3 GeV ---> 100 TeV
Cr_sctns: PhotoNuclearXS: 0 eV ---> 100 TeV
@@ -606,7 +656,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: kaon+Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 5 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -618,7 +668,7 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: kaon-Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 5 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -632,8 +682,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: lambdaInelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 5 GeV
Cr_sctns: ChipsHyperonInelasticXS: 0 eV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for mu+
@@ -655,26 +705,24 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Hadronic Processes for pi+
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 1.0001 GeV
Model: hElasticGlauber: 1 GeV ---> 100 TeV
Model: hElasticGlauber: 0 eV ---> 100 TeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: pi+Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 5 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for pi-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 1.0001 GeV
Model: hElasticGlauber: 1 GeV ---> 100 TeV
Model: hElasticGlauber: 0 eV ---> 100 TeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: pi-Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 5 GeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -688,9 +736,9 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: protonInelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 1 GeV ---> 5 GeV
Model: BertiniCascade: 1 GeV ---> 6 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for triton
@@ -700,8 +748,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov Nucl-nucl: 0 eV ---> 100 TeV
Process: tInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 4 GeV/n
Model: FTFP: 2 GeV/n ---> 100 TeV/n
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
================================================================
@@ -710,21 +758,24 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
=======================================================================
Type of pre-compound inverse x-section 3
Pre-compound model active 1
Pre-compound low energy (MeV) 0.1
Pre-compound excitation low energy (MeV) 0.1
Pre-compound excitation high energy (MeV) 30
Type of de-excitation inverse x-section 3
Type of de-excitation factory Evaporation+GEM
Number of de-excitation channels 68
Min excitation energy (keV) 0.01
Min energy per nucleon for multifragmentation (MeV) 1e+05
Min energy per nucleon for multifragmentation (MeV) 2e+05
Limit excitation energy for Fermi BreakUp (MeV) 20
Level density (1/MeV) 0.075
Model of level density flag 1
Use simple level density model 1
Use discrete excitation energy of the residual 0
Time limit for long lived isomeres (ns) 1e+12
Internal e- conversion flag 1
Store e- internal conversion data 0
Electron internal conversion ID 0
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
Upload data before 1st event for Z < 9
=======================================================================
Region <DefaultRegionForTheWorld> -- -- appears in <World> world volume
@@ -775,8 +826,8 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
100.00 10k 1 197 200 0.00 Check
### Run 0 starts.
### Run 0 start
RunAction::BeginOfRunAction: User=0.830000s Real=0.885516s Sys=0.010000s
NuclearData: User=0.000000s Real=0.000005s Sys=0.000000s
RunAction::BeginOfRunAction: User=0.910000s Real=0.975400s Sys=0.020000s
NuclearData: User=0.000000s Real=0.000004s Sys=0.000000s
EventAction: Event # 0 started
EventAction: Event # 10 started
EventAction: Event # 20 started
@@ -790,33 +841,33 @@ EventAction: Event # 90 started
Run terminated.
Run Summary
Number of events processed : 100
User=0.090000s Real=0.093757s Sys=0.010000s
User=0.090000s Real=0.107910s Sys=0.000000s
RunAction: End of run actions are started
HistoManager: End of run actions are started
========================================================
Beam particle proton
Beam Energy(MeV) 3000
Number of events 100
Average energy deposit (MeV) 63.94 RMS(MeV) 65.22
Average number of steps 202.2
Average number of gamma 1.65
Average number of e- 3.82
Average number of e+ 0.04
Average number of neutrons 0.6
Average number of protons 0.77
Average energy deposit (MeV) 62.17 RMS(MeV) 49
Average number of steps 201.6
Average number of gamma 1.44
Average number of e- 3.73
Average number of e+ 0.03
Average number of neutrons 0.76
Average number of protons 0.76
Average number of antiprotons 0
Average number of pi+ & pi- 0.2
Average number of pi0 0.17
Average number of pi+ & pi- 0.22
Average number of pi0 0.09
Average number of kaons 0
Average number of muons 0
Average number of deuterons+tritons 0.21
Average number of He3+alpha 0.22
Average number of ions 0.38
Average number of forward neutrons 0.06
Average number of reflected neutrons 0.52
Average number of leaked neutrons 0.01
Average number of proton leak 0.39
Average number of pion leak 0.16
Average number of deuterons+tritons 0.23
Average number of He3+alpha 0.2
Average number of ions 0.44
Average number of forward neutrons 0.12
Average number of reflected neutrons 0.62
Average number of leaked neutrons 0
Average number of proton leak 0.36
Average number of pion leak 0.21
========================================================
#
@@ -830,22 +881,22 @@ G4SDManager deleted.
EventManager deleted.
Units table cleared.
TransportationManager deleted.
Total navigation history collections cleaned: 16
Total navigation history collections cleaned: 15
================== Deleting memory pools ===================
Pool ID '20G4NavigationLevelRep', size : 0.0231 MB
Pool ID '20G4NavigationLevelRep', size : 0.0211 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 '15G4HCofThisEvent', size : 0.000961 MB
Pool ID '17G4DynamicParticle', size : 0.00385 MB
Pool ID '7G4Track', size : 0.00769 MB
Pool ID '17G4DynamicParticle', size : 0.00481 MB
Pool ID '7G4Track', size : 0.00865 MB
Pool ID '18G4TouchableHistory', size : 0.00192 MB
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
Pool ID '10G4Fragment', size : 0.00192 MB
Pool ID '17G4ReactionProduct', size : 0.00288 MB
Pool ID '17G4ReactionProduct', size : 0.00192 MB
Number of memory pools allocated: 12 of which, static: 0
Dynamic pools deleted: 12 / Total memory freed: 0.047 MB
Dynamic pools deleted: 12 / Total memory freed: 0.046 MB
============================================================
G4Allocator objects are deleted.
UImanager deleted.
@@ -88,9 +88,32 @@ DetectorConstruction::DetectorConstruction()
fRadius = 10.*cm;
fTargetMaterial = G4NistManager::Instance()->FindOrBuildMaterial("G4_Al");
fWorldMaterial =
G4NistManager::Instance()->FindOrBuildMaterial("G4_Galactic");
G4NistManager* nist = G4NistManager::Instance();
fTargetMaterial = nist->FindOrBuildMaterial("G4_Al");
fWorldMaterial = nist->FindOrBuildMaterial("G4_Galactic");
//
// define battery material using Bugzilla 2175 data
//
G4Element* elH = nist->FindOrBuildElement(1);
G4Element* elLi = nist->FindOrBuildElement(3);
G4Element* elC = nist->FindOrBuildElement(6);
G4Element* elO = nist->FindOrBuildElement(8);
G4Element* elAl = nist->FindOrBuildElement(13);
G4Element* elTi = nist->FindOrBuildElement(22);
G4Element* elCo = nist->FindOrBuildElement(27);
G4Element* elCu = nist->FindOrBuildElement(29);
G4Material* bat = new G4Material("Battery",2.165*CLHEP::g/CLHEP::cm3,8);
bat->AddElement(elC, 0.19518445618745);
bat->AddElement(elAl, 0.398);
bat->AddElement(elTi, 0.02);
bat->AddElement(elCu, 0.084);
bat->AddElement(elLi, 0.0170098229419813);
bat->AddElement(elCo, 0.144570016541753);
bat->AddElement(elO, 0.134206611504321);
bat->AddElement(elH, 0.0070290928244947);
bat->GetIonisation()->SetMeanExcitationEnergy(144.88*eV);
ComputeGeomParameters();
}
+1 -1
View File
@@ -79,7 +79,7 @@ void PhysicsListMessenger::SetNewValue(G4UIcommand* command, G4String newValue)
if(fPhysicsList) {
G4String name = newValue;
if(name == "PHYSLIST") {
char* path = getenv(name);
char* path = std::getenv(name);
if (path) name = G4String(path);
else {
G4cout << "### PhysicsListMessenger WARNING: "
@@ -0,0 +1,25 @@
#================================================
# Macro file for Hadr01
# 21.08.2019 V.Ivanchneko
#================================================
/control/verbose 2
/run/verbose 1
/tracking/verbose 0
#
/testhadr/TargetMat Battery
/testhadr/TargetRadius 100 cm
/testhadr/TargetLength 100 cm
/testhadr/NumberDivZ 100
/testhadr/PrintModulo 100
#
/run/setCut 1 mm
#/testhadr/Physics QBBC
#
/run/initialize
#
#/gun/particle pi+
/gun/particle ion
/gun/ion 6 12
/gun/energy 30. GeV
/run/beamOn 2000
#