Import Geant4 11.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2022-12-09 14:43:28 +01:00
parent c07cea1fe0
commit 9f34590941
3810 changed files with 200490 additions and 182326 deletions
+30 -22
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-01-beta-01 (30-June-2022)
Geant4 version Name: geant4-11-01-ref-00 (9-December-2022)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,6 +33,8 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
@@ -134,6 +136,7 @@ Apply cuts on all EM processes 0
Use combined TransportationWithMsc Disabled
Use general process 1
Enable linear polarisation for gamma 0
Enable photoeffect sampling below K-shell 1
Enable sampling of quantum entanglement 0
X-section factor for integral approach 0.8
Min kinetic energy for tables 100 eV
@@ -161,7 +164,7 @@ Lowest e+e- kinetic energy 1 keV
Lowest muon/hadron kinetic energy 1 keV
Use ICRU90 data 0
Fluctuations of dE/dx are enabled 1
Type of fluctuation model 2
Type of fluctuation model for leptons and hadrons Urban
Use built-in Birks satuaration 0
Build CSDA range enabled 0
Use cut as a final range enabled 0
@@ -212,8 +215,8 @@ conv: for gamma SubType=14 BuildTable=1
BetheHeitlerLPM : Emin= 0 eV Emax= 100 TeV ModifiedTsai
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 7 bins/decade, spline: 0
LambdaPrime table from 100 keV to 100 TeV in 63 bins
Lambda table from 100 eV to 150 keV, 7 bins/decade, spline: 0
LambdaPrime table from 150 keV to 100 TeV in 62 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
@@ -695,6 +698,11 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_hypertriton
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_lambda
@@ -977,15 +985,15 @@ Setting was ignored.
Using
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 265.157 MeV total track length: 19.1896 cm
Gap: total energy: 9.08988 MeV total track length: 4.65633 cm
Absorber: total energy: 259.894 MeV total track length: 18.9569 cm
Gap: total energy: 17.4244 MeV total track length: 8.74398 cm
----> print histograms statistic for the entire run
EAbs : mean = 265.157 MeV rms = 0 eV
EGap : mean = 9.08988 MeV rms = 0 eV
LAbs : mean = 19.1896 cm rms = 0 fm
LGap : mean = 4.65633 cm rms = 0 fm
EAbs : mean = 259.894 MeV rms = 0 eV
EGap : mean = 17.4244 MeV rms = 0 eV
LAbs : mean = 18.9569 cm rms = 0 fm
LGap : mean = 8.74398 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are 4 h1 histograms
@@ -1056,15 +1064,15 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
Using
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 263.024 MeV total track length: 19.1493 cm
Gap: total energy: 23.8653 MeV total track length: 12.0298 cm
Absorber: total energy: 278.136 MeV total track length: 20.1737 cm
Gap: total energy: 19.9095 MeV total track length: 10.0917 cm
----> print histograms statistic for the entire run
EAbs : mean = 263.024 MeV rms = 0 eV
EGap : mean = 23.8653 MeV rms = 0 eV
LAbs : mean = 19.1493 cm rms = 0 fm
LGap : mean = 12.0298 cm rms = 0 fm
EAbs : mean = 278.136 MeV rms = 0 eV
EGap : mean = 19.9095 MeV rms = 0 eV
LAbs : mean = 20.1737 cm rms = 0 fm
LGap : mean = 10.0917 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are 4 h1 histograms
@@ -1081,15 +1089,15 @@ View them with "/vis/plot" or "/vis/reviewPlots".
Using
--> Event 0 starts.
---> End of event: 0
Absorber: total energy: 452.086 MeV total track length: 32.6243 cm
Gap: total energy: 26.9004 MeV total track length: 13.1264 cm
Absorber: total energy: 435.043 MeV total track length: 31.1955 cm
Gap: total energy: 37.3961 MeV total track length: 18.5223 cm
----> print histograms statistic for the entire run
EAbs : mean = 452.086 MeV rms = 0 eV
EGap : mean = 26.9004 MeV rms = 0 eV
LAbs : mean = 32.6243 cm rms = 0 fm
LGap : mean = 13.1264 cm rms = 0 fm
EAbs : mean = 435.043 MeV rms = 0 eV
EGap : mean = 37.3961 MeV rms = 0 eV
LAbs : mean = 31.1955 cm rms = 0 fm
LGap : mean = 18.5223 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are 4 h1 histograms
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file ActionInitialization.hh
/// \brief Definition of the ActionInitialization class
/// \file B4/B4a/include/ActionInitialization.hh
/// \brief Definition of the B4a::ActionInitialization class
#ifndef B4aActionInitialization_h
#define B4aActionInitialization_h 1
@@ -47,7 +47,7 @@ class ActionInitialization : public G4VUserActionInitialization
{
public:
ActionInitialization(B4::DetectorConstruction*);
~ActionInitialization() override;
~ActionInitialization() override = default;
void BuildForMaster() const override;
void Build() const override;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file DetectorConstruction.hh
/// \brief Definition of the DetectorConstruction class
/// \file B4/B4a/include/DetectorConstruction.hh
/// \brief Definition of the B4::DetectorConstruction class
#ifndef B4DetectorConstruction_h
#define B4DetectorConstruction_h 1
@@ -56,8 +56,8 @@ namespace B4
class DetectorConstruction : public G4VUserDetectorConstruction
{
public:
DetectorConstruction();
~DetectorConstruction() override;
DetectorConstruction() = default;
~DetectorConstruction() override = default;
public:
G4VPhysicalVolume* Construct() override;
+4 -4
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file EventAction.hh
/// \brief Definition of the EventAction class
/// \file B4/B4a/include/EventAction.hh
/// \brief Definition of the B4a::EventAction class
#ifndef B4aEventAction_h
#define B4aEventAction_h 1
@@ -47,8 +47,8 @@ namespace B4a
class EventAction : public G4UserEventAction
{
public:
EventAction();
~EventAction() override;
EventAction() = default;
~EventAction() override = default;
void BeginOfEventAction(const G4Event* event) override;
void EndOfEventAction(const G4Event* event) override;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file PrimaryGeneratorAction.hh
/// \brief Definition of the PrimaryGeneratorAction class
/// \file B4/B4a/include/PrimaryGeneratorAction.hh
/// \brief Definition of the B4::PrimaryGeneratorAction class
#ifndef B4PrimaryGeneratorAction_h
#define B4PrimaryGeneratorAction_h 1
+3 -3
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file RunAction.hh
/// \brief Definition of the RunAction class
/// \file B4/B4a/include/RunAction.hh
/// \brief Definition of the B4::RunAction class
#ifndef B4RunAction_h
#define B4RunAction_h 1
@@ -60,7 +60,7 @@ class RunAction : public G4UserRunAction
{
public:
RunAction();
~RunAction() override;
~RunAction() override = default;
void BeginOfRunAction(const G4Run*) override;
void EndOfRunAction(const G4Run*) override;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file SteppingAction.hh
/// \brief Definition of the SteppingAction class
/// \file B4/B4a/include/SteppingAction.hh
/// \brief Definition of the B4a::SteppingAction class
#ifndef B4aSteppingAction_h
#define B4aSteppingAction_h 1
@@ -53,7 +53,7 @@ class SteppingAction : public G4UserSteppingAction
public:
SteppingAction(const B4::DetectorConstruction* detConstruction,
EventAction* eventAction);
~SteppingAction() override;
~SteppingAction() override = default;
void UserSteppingAction(const G4Step* step) override;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file ActionInitialization.cc
/// \brief Implementation of the ActionInitialization class
/// \file B4/B4a/src/ActionInitialization.cc
/// \brief Implementation of the B4a::ActionInitialization class
#include "ActionInitialization.hh"
#include "PrimaryGeneratorAction.hh"
@@ -41,18 +41,12 @@ namespace B4a
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ActionInitialization::ActionInitialization
(DetectorConstruction* detConstruction)
ActionInitialization::ActionInitialization(DetectorConstruction* detConstruction)
: fDetConstruction(detConstruction)
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
ActionInitialization::~ActionInitialization()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void ActionInitialization::BuildForMaster() const
{
SetUserAction(new RunAction);
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
/// \file B4/B4a/src/DetectorConstruction.cc
/// \brief Implementation of the B4::DetectorConstruction class
#include "DetectorConstruction.hh"
@@ -60,18 +60,6 @@ G4GlobalMagFieldMessenger* DetectorConstruction::fMagFieldMessenger = nullptr;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
DetectorConstruction::DetectorConstruction()
{
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
DetectorConstruction::~DetectorConstruction()
{
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
G4VPhysicalVolume* DetectorConstruction::Construct()
{
// Define materials
@@ -144,16 +132,14 @@ G4VPhysicalVolume* DetectorConstruction::DefineVolumes()
defaultMaterial, // its material
"World"); // its name
auto worldPV
= new G4PVPlacement(
0, // no rotation
G4ThreeVector(), // at (0,0,0)
worldLV, // its logical volume
"World", // its name
0, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
auto worldPV = new G4PVPlacement(nullptr, // no rotation
G4ThreeVector(), // at (0,0,0)
worldLV, // its logical volume
"World", // its name
nullptr, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
//
// Calorimeter
@@ -168,15 +154,14 @@ G4VPhysicalVolume* DetectorConstruction::DefineVolumes()
defaultMaterial, // its material
"Calorimeter"); // its name
new G4PVPlacement(
0, // no rotation
G4ThreeVector(), // at (0,0,0)
calorLV, // its logical volume
"Calorimeter", // its name
worldLV, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
new G4PVPlacement(nullptr, // no rotation
G4ThreeVector(), // at (0,0,0)
calorLV, // its logical volume
"Calorimeter", // its name
worldLV, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
//
// Layer
@@ -212,16 +197,14 @@ G4VPhysicalVolume* DetectorConstruction::DefineVolumes()
absorberMaterial, // its material
"Abso"); // its name
fAbsorberPV
= new G4PVPlacement(
0, // no rotation
G4ThreeVector(0., 0., -gapThickness/2), // its position
absorberLV, // its logical volume
"Abso", // its name
layerLV, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
fAbsorberPV = new G4PVPlacement(nullptr, // no rotation
G4ThreeVector(0., 0., -gapThickness / 2), // its position
absorberLV, // its logical volume
"Abso", // its name
layerLV, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
//
// Gap
@@ -236,16 +219,14 @@ G4VPhysicalVolume* DetectorConstruction::DefineVolumes()
gapMaterial, // its material
"Gap"); // its name
fGapPV
= new G4PVPlacement(
0, // no rotation
G4ThreeVector(0., 0., absoThickness/2), // its position
gapLV, // its logical volume
"Gap", // its name
layerLV, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
fGapPV = new G4PVPlacement(nullptr, // no rotation
G4ThreeVector(0., 0., absoThickness / 2), // its position
gapLV, // its logical volume
"Gap", // its name
layerLV, // its mother volume
false, // no boolean operation
0, // copy number
fCheckOverlaps); // checking overlaps
//
// print parameters
+1 -11
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file EventAction.cc
/// \file B4/B4a/src/EventAction.cc
/// \brief Implementation of the B4a::EventAction class
#include "EventAction.hh"
@@ -43,16 +43,6 @@ namespace B4a
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
EventAction::EventAction()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
EventAction::~EventAction()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void EventAction::BeginOfEventAction(const G4Event* /*event*/)
{
// initialisation per event
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file PrimaryGeneratorAction.cc
/// \brief Implementation of the PrimaryGeneratorAction class
/// \file B4/B4a/src/PrimaryGeneratorAction.cc
/// \brief Implementation of the B4::PrimaryGeneratorAction class
#include "PrimaryGeneratorAction.hh"
+1 -7
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
/// \file RunAction.cc
/// \file B4/B4a/src/RunAction.cc
/// \brief Implementation of the B4::RunAction class
#include "RunAction.hh"
@@ -78,12 +78,6 @@ RunAction::RunAction()
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
RunAction::~RunAction()
{
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void RunAction::BeginOfRunAction(const G4Run* /*run*/)
{
//inform the runManager to save random number seed
+2 -7
View File
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
/// \file SteppingAction.cc
/// \brief Implementation of the SteppingAction class
/// \file B4/B4a/src/SteppingAction.cc
/// \brief Implementation of the B4a::SteppingAction class
#include "SteppingAction.hh"
#include "EventAction.hh"
@@ -49,11 +49,6 @@ SteppingAction::SteppingAction(const DetectorConstruction* detConstruction,
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
SteppingAction::~SteppingAction()
{}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void SteppingAction::UserSteppingAction(const G4Step* step)
{
// Collect energy and track length step by step