Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -135,12 +135,15 @@ int main(int argc,char** argv)
|
||||
auto UImanager = G4UImanager::GetUIpointer();
|
||||
|
||||
// Activate score ntuple writer
|
||||
// The Root output type (Root) is selected in B3Analysis.hh.
|
||||
G4TScoreNtupleWriter<G4AnalysisManager> scoreNtupleWriter;
|
||||
// The verbose level can be set via UI commands
|
||||
// The verbose level can be also set via UI commands
|
||||
// /score/ntuple/writerVerbose level
|
||||
// or via the score ntuple writer function:
|
||||
// scoreNtupleWriter.SetVerboseLevel(1);
|
||||
// The default file type ("root") can be changed in xml, csv, hdf5
|
||||
// scoreNtupleWriter.SetDefaultFileType("xml");
|
||||
G4TScoreNtupleWriter<G4AnalysisManager> scoreNtupleWriter;
|
||||
scoreNtupleWriter.SetVerboseLevel(1);
|
||||
scoreNtupleWriter.SetNtupleMerging(true);
|
||||
// Note: merging ntuples is available only with Root output
|
||||
// (the default in G4TScoreNtupleWriter)
|
||||
|
||||
// Process macro or start UI session
|
||||
//
|
||||
|
||||
@@ -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)
|
||||
@@ -138,6 +140,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
|
||||
@@ -165,7 +168,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
|
||||
@@ -216,8 +219,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
|
||||
|
||||
@@ -699,6 +702,11 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
|
||||
|
||||
Process: hFritiofCaptureAtRest
|
||||
|
||||
---------------------------------------------------
|
||||
Hadronic Processes for anti_hypertriton
|
||||
|
||||
Process: hFritiofCaptureAtRest
|
||||
|
||||
---------------------------------------------------
|
||||
Hadronic Processes for anti_lambda
|
||||
|
||||
@@ -981,15 +989,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
|
||||
@@ -1060,15 +1068,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
|
||||
@@ -1085,15 +1093,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
|
||||
@@ -1105,4 +1113,4 @@ List them with "/analysis/list".
|
||||
View them with "/vis/plot" or "/vis/reviewPlots".
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
### deleting chargedFilter 0x102f630
|
||||
### deleting chargedFilter 0x29dbec0
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file ActionInitialization.hh
|
||||
/// \file B4/B4d/include/ActionInitialization.hh
|
||||
/// \brief Definition of the B4d::ActionInitialization class
|
||||
|
||||
#ifndef B4dActionInitialization_h
|
||||
@@ -40,8 +40,8 @@ namespace B4d
|
||||
class ActionInitialization : public G4VUserActionInitialization
|
||||
{
|
||||
public:
|
||||
ActionInitialization();
|
||||
~ActionInitialization() override;
|
||||
ActionInitialization() = default;
|
||||
~ActionInitialization() override = default;
|
||||
|
||||
void BuildForMaster() const override;
|
||||
void Build() const override;
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \file B4/B4d/include/DetectorConstruction.hh
|
||||
/// \brief Definition of the B4d::DetectorConstruction class
|
||||
|
||||
#ifndef B4dDetectorConstruction_h
|
||||
@@ -58,8 +58,8 @@ namespace B4d
|
||||
class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
public:
|
||||
DetectorConstruction();
|
||||
~DetectorConstruction() override;
|
||||
DetectorConstruction() = default;
|
||||
~DetectorConstruction() override = default;
|
||||
|
||||
public:
|
||||
G4VPhysicalVolume* Construct() override;
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the EventAction class
|
||||
/// \file B4/B4d/include/EventAction.hh
|
||||
/// \brief Definition of the B4d::EventAction class
|
||||
|
||||
#ifndef EventAction_h
|
||||
#define EventAction_h 1
|
||||
@@ -47,8 +47,8 @@ namespace B4d
|
||||
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,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \file B4/B4d/include/PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the PrimaryGeneratorAction class
|
||||
|
||||
#ifndef B4PrimaryGeneratorAction_h
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file RunAction.hh
|
||||
/// \file B4/B4d/include/RunAction.hh
|
||||
/// \brief Definition of the B4::RunAction class
|
||||
|
||||
#ifndef B4RunAction_h
|
||||
@@ -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,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file ActionInitialization.cc
|
||||
/// \file B4/B4d/src/ActionInitialization.cc
|
||||
/// \brief Implementation of the B4d::ActionInitialization class
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
@@ -39,16 +39,6 @@ namespace B4d
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
ActionInitialization::ActionInitialization()
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
ActionInitialization::~ActionInitialization()
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void ActionInitialization::BuildForMaster() const
|
||||
{
|
||||
SetUserAction(new RunAction);
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \file B4/B4d/src/DetectorConstruction.cc
|
||||
/// \brief Implementation of the B4d::DetectorConstruction class
|
||||
|
||||
#include "DetectorConstruction.hh"
|
||||
@@ -62,18 +62,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
|
||||
@@ -146,16 +134,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
|
||||
@@ -170,15 +156,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
|
||||
@@ -214,15 +199,14 @@ G4VPhysicalVolume* DetectorConstruction::DefineVolumes()
|
||||
absorberMaterial, // its material
|
||||
"AbsoLV"); // its name
|
||||
|
||||
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
|
||||
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
|
||||
@@ -237,15 +221,14 @@ G4VPhysicalVolume* DetectorConstruction::DefineVolumes()
|
||||
gapMaterial, // its material
|
||||
"GapLV"); // its name
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file EventAction.cc
|
||||
/// \file B4/B4d/src/EventAction.cc
|
||||
/// \brief Implementation of the B4d::EventAction class
|
||||
|
||||
#include "EventAction.hh"
|
||||
@@ -44,16 +44,6 @@ namespace B4d
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
EventAction::EventAction()
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
EventAction::~EventAction()
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
G4THitsMap<G4double>*
|
||||
EventAction::GetHitsCollection(G4int hcID,
|
||||
const G4Event* event) const
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \file B4/B4d/src/PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file RunAction.cc
|
||||
/// \file B4/B4d/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
|
||||
|
||||
Reference in New Issue
Block a user