Import Geant4 11.4.0 source tree
This commit is contained in:
@@ -23,9 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file exampleB4a.cc
|
||||
/// \brief Main program of the B4a example
|
||||
/// \brief Main program of the B4/B4a example
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-03-ref-06 (30-June-2025)
|
||||
Geant4 version Name: geant4-11-04-ref-00 (5-December-2025)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -29,7 +29,6 @@ You have successfully registered the following graphics systems.
|
||||
Registered graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RT)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
@@ -42,13 +41,12 @@ Registered graphics systems are:
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RTX)
|
||||
RayTracerQt (RTQt)
|
||||
Qt3D (Qt3D)
|
||||
TOOLSSG_X11_GLES (TSG_X11_GLES, TSGX11, TSG_XT_GLES_FALLBACK)
|
||||
TOOLSSG_X11_ZB (TSG_X11_ZB, TSGX11ZB)
|
||||
TOOLSSG_XT_GLES (TSG_XT_GLES, TSGXt, TSG_QT_GLES_FALLBACK)
|
||||
TOOLSSG_XT_ZB (TSG_XT_ZB, TSGXtZB)
|
||||
TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG, OGL)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB, TSGZB)
|
||||
You may choose a graphics system (driver) with a parameter of
|
||||
the command "/vis/open" or "/vis/sceneHandler/create",
|
||||
or you may omit the driver parameter and choose at run time:
|
||||
@@ -181,7 +179,7 @@ Lowest muon/hadron kinetic energy 1 keV
|
||||
Use ICRU90 data 0
|
||||
Fluctuations of dE/dx are enabled 1
|
||||
Type of fluctuation model for leptons and hadrons Urban
|
||||
Use built-in Birks satuaration 0
|
||||
Use built-in Birks saturation 0
|
||||
Build CSDA range enabled 0
|
||||
Use cut as a final range enabled 0
|
||||
Enable angular generator interface 0
|
||||
@@ -318,7 +316,7 @@ hBrems: for proton XStype:1 SubType=3
|
||||
hPairProd: for proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -376,7 +374,7 @@ hBrems: for anti_proton XStype:1 SubType=3
|
||||
hPairProd: for anti_proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -408,7 +406,7 @@ hBrems: for kaon+ XStype:1 SubType=3
|
||||
hPairProd: for kaon+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -440,7 +438,7 @@ hBrems: for kaon- XStype:1 SubType=3
|
||||
hPairProd: for kaon- XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -472,7 +470,7 @@ muBrems: for mu+ XStype:1 SubType=3
|
||||
muPairProd: for mu+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -504,7 +502,7 @@ muBrems: for mu- XStype:1 SubType=3
|
||||
muPairProd: for mu- XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -536,7 +534,7 @@ hBrems: for pi+ XStype:1 SubType=3
|
||||
hPairProd: for pi+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -568,7 +566,7 @@ hBrems: for pi- XStype:1 SubType=3
|
||||
hPairProd: for pi- XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -823,8 +821,8 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
|
||||
Type of pre-compound model 0
|
||||
Type of pre-compound inverse x-section 1
|
||||
Pre-compound model active 1
|
||||
Pre-compound excitation low energy 100 keV
|
||||
Pre-compound excitation high energy 30 MeV
|
||||
Pre-compound excitation low energy 0.1 MeV
|
||||
Pre-compound excitation high energy 15 MeV
|
||||
Angular generator for pre-compound model 1
|
||||
Use NeverGoBack option for pre-compound model 0
|
||||
Use SoftCutOff option for pre-compound model 0
|
||||
@@ -838,9 +836,8 @@ Type of de-excitation inverse x-section 3
|
||||
Type of de-excitation factory Evaporation+GEM
|
||||
Number of de-excitation channels 68
|
||||
Type of Fermi BreakUp model ModelVI
|
||||
Min excitation energy 10 eV
|
||||
Min energy per nucleon for multifragmentation 200 GeV
|
||||
Limit excitation energy for Fermi BreakUp 20 MeV
|
||||
Min excitation energy 0.01 keV
|
||||
Min energy per nucleon for multifragmentation 2e+05 MeV
|
||||
Level density (1/MeV) 0.075
|
||||
Use simple level density model 1
|
||||
Use discrete excitation energy of the residual 0
|
||||
@@ -867,17 +864,17 @@ Setting was ignored.
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
|
||||
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
|
||||
Absorber: total energy: 272.002 MeV total track length: 19.8684 cm
|
||||
Gap: total energy: 18.8093 MeV total track length: 10.1507 cm
|
||||
--> End of event 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 260.424 MeV rms = 0 eV
|
||||
EGap : mean = 20.1593 MeV rms = 0 eV
|
||||
LAbs : mean = 18.8985 cm rms = 0 fm
|
||||
LGap : mean = 10.2646 cm rms = 0 fm
|
||||
EAbs : mean = 272.002 MeV rms = 0 eV
|
||||
EGap : mean = 18.8093 MeV rms = 0 eV
|
||||
LAbs : mean = 19.8684 cm rms = 0 fm
|
||||
LGap : mean = 10.1507 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Transportation, GammaGeneralProc, msc, eIoni
|
||||
@@ -940,17 +937,17 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
|
||||
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
|
||||
Absorber: total energy: 279.218 MeV total track length: 19.9689 cm
|
||||
Gap: total energy: 15.6063 MeV total track length: 8.05553 cm
|
||||
--> End of event 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 271.299 MeV rms = 0 eV
|
||||
EGap : mean = 23.6238 MeV rms = 0 eV
|
||||
LAbs : mean = 19.4388 cm rms = 0 fm
|
||||
LGap : mean = 11.1558 cm rms = 0 fm
|
||||
EAbs : mean = 279.218 MeV rms = 0 eV
|
||||
EGap : mean = 15.6063 MeV rms = 0 eV
|
||||
LAbs : mean = 19.9689 cm rms = 0 fm
|
||||
LGap : mean = 8.05553 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
### Run 2 starts.
|
||||
@@ -959,17 +956,17 @@ Using
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
|
||||
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
|
||||
Absorber: total energy: 461.252 MeV total track length: 32.7167 cm
|
||||
Gap: total energy: 20.8926 MeV total track length: 10.5882 cm
|
||||
--> End of event 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 0 eV rms = 0 eV
|
||||
EGap : mean = 0 eV rms = 0 eV
|
||||
LAbs : mean = 32.6572 cm rms = 0 fm
|
||||
LGap : mean = 21.6011 cm rms = 0 fm
|
||||
EGap : mean = 20.8926 MeV rms = 0 eV
|
||||
LAbs : mean = 32.7167 cm rms = 0 fm
|
||||
LGap : mean = 10.5882 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Graphics systems deleted.
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/include/ActionInitialization.hh
|
||||
/// \file ActionInitialization.hh
|
||||
/// \brief Definition of the B4a::ActionInitialization class
|
||||
|
||||
#ifndef B4aActionInitialization_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/include/DetectorConstruction.hh
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the B4::DetectorConstruction class
|
||||
|
||||
#ifndef B4DetectorConstruction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/include/EventAction.hh
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the B4a::EventAction class
|
||||
|
||||
#ifndef B4aEventAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/include/PrimaryGeneratorAction.hh
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#ifndef B4PrimaryGeneratorAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/include/RunAction.hh
|
||||
/// \file RunAction.hh
|
||||
/// \brief Definition of the B4::RunAction class
|
||||
|
||||
#ifndef B4RunAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/include/SteppingAction.hh
|
||||
/// \file SteppingAction.hh
|
||||
/// \brief Definition of the B4a::SteppingAction class
|
||||
|
||||
#ifndef B4aSteppingAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/src/ActionInitialization.cc
|
||||
/// \file ActionInitialization.cc
|
||||
/// \brief Implementation of the B4a::ActionInitialization class
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/src/DetectorConstruction.cc
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \brief Implementation of the B4::DetectorConstruction class
|
||||
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/src/EventAction.cc
|
||||
/// \file EventAction.cc
|
||||
/// \brief Implementation of the B4a::EventAction class
|
||||
|
||||
#include "EventAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/src/PrimaryGeneratorAction.cc
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/src/RunAction.cc
|
||||
/// \file RunAction.cc
|
||||
/// \brief Implementation of the B4::RunAction class
|
||||
|
||||
#include "RunAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4a/src/SteppingAction.cc
|
||||
/// \file SteppingAction.cc
|
||||
/// \brief Implementation of the B4a::SteppingAction class
|
||||
|
||||
#include "SteppingAction.hh"
|
||||
|
||||
@@ -23,9 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file exampleB4b.cc
|
||||
/// \brief Main program of the B4b example
|
||||
/// \brief Main program of the B4/B4b example
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-03-ref-06 (30-June-2025)
|
||||
Geant4 version Name: geant4-11-04-ref-00 (5-December-2025)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -29,7 +29,6 @@ You have successfully registered the following graphics systems.
|
||||
Registered graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RT)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
@@ -42,13 +41,12 @@ Registered graphics systems are:
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RTX)
|
||||
RayTracerQt (RTQt)
|
||||
Qt3D (Qt3D)
|
||||
TOOLSSG_X11_GLES (TSG_X11_GLES, TSGX11, TSG_XT_GLES_FALLBACK)
|
||||
TOOLSSG_X11_ZB (TSG_X11_ZB, TSGX11ZB)
|
||||
TOOLSSG_XT_GLES (TSG_XT_GLES, TSGXt, TSG_QT_GLES_FALLBACK)
|
||||
TOOLSSG_XT_ZB (TSG_XT_ZB, TSGXtZB)
|
||||
TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG, OGL)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB, TSGZB)
|
||||
You may choose a graphics system (driver) with a parameter of
|
||||
the command "/vis/open" or "/vis/sceneHandler/create",
|
||||
or you may omit the driver parameter and choose at run time:
|
||||
@@ -181,7 +179,7 @@ Lowest muon/hadron kinetic energy 1 keV
|
||||
Use ICRU90 data 0
|
||||
Fluctuations of dE/dx are enabled 1
|
||||
Type of fluctuation model for leptons and hadrons Urban
|
||||
Use built-in Birks satuaration 0
|
||||
Use built-in Birks saturation 0
|
||||
Build CSDA range enabled 0
|
||||
Use cut as a final range enabled 0
|
||||
Enable angular generator interface 0
|
||||
@@ -318,7 +316,7 @@ hBrems: for proton XStype:1 SubType=3
|
||||
hPairProd: for proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -376,7 +374,7 @@ hBrems: for anti_proton XStype:1 SubType=3
|
||||
hPairProd: for anti_proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -408,7 +406,7 @@ hBrems: for kaon+ XStype:1 SubType=3
|
||||
hPairProd: for kaon+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -440,7 +438,7 @@ hBrems: for kaon- XStype:1 SubType=3
|
||||
hPairProd: for kaon- XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -472,7 +470,7 @@ muBrems: for mu+ XStype:1 SubType=3
|
||||
muPairProd: for mu+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -504,7 +502,7 @@ muBrems: for mu- XStype:1 SubType=3
|
||||
muPairProd: for mu- XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -536,7 +534,7 @@ hBrems: for pi+ XStype:1 SubType=3
|
||||
hPairProd: for pi+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -568,7 +566,7 @@ hBrems: for pi- XStype:1 SubType=3
|
||||
hPairProd: for pi- XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -823,8 +821,8 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
|
||||
Type of pre-compound model 0
|
||||
Type of pre-compound inverse x-section 1
|
||||
Pre-compound model active 1
|
||||
Pre-compound excitation low energy 100 keV
|
||||
Pre-compound excitation high energy 30 MeV
|
||||
Pre-compound excitation low energy 0.1 MeV
|
||||
Pre-compound excitation high energy 15 MeV
|
||||
Angular generator for pre-compound model 1
|
||||
Use NeverGoBack option for pre-compound model 0
|
||||
Use SoftCutOff option for pre-compound model 0
|
||||
@@ -838,9 +836,8 @@ Type of de-excitation inverse x-section 3
|
||||
Type of de-excitation factory Evaporation+GEM
|
||||
Number of de-excitation channels 68
|
||||
Type of Fermi BreakUp model ModelVI
|
||||
Min excitation energy 10 eV
|
||||
Min energy per nucleon for multifragmentation 200 GeV
|
||||
Limit excitation energy for Fermi BreakUp 20 MeV
|
||||
Min excitation energy 0.01 keV
|
||||
Min energy per nucleon for multifragmentation 2e+05 MeV
|
||||
Level density (1/MeV) 0.075
|
||||
Use simple level density model 1
|
||||
Use discrete excitation energy of the residual 0
|
||||
@@ -868,17 +865,17 @@ Setting was ignored.
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
|
||||
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
|
||||
Absorber: total energy: 272.002 MeV total track length: 19.8684 cm
|
||||
Gap: total energy: 18.8093 MeV total track length: 10.1507 cm
|
||||
--> End of event 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 260.424 MeV rms = 0 eV
|
||||
EGap : mean = 20.1593 MeV rms = 0 eV
|
||||
LAbs : mean = 18.8985 cm rms = 0 fm
|
||||
LGap : mean = 10.2646 cm rms = 0 fm
|
||||
EAbs : mean = 272.002 MeV rms = 0 eV
|
||||
EGap : mean = 18.8093 MeV rms = 0 eV
|
||||
LAbs : mean = 19.8684 cm rms = 0 fm
|
||||
LGap : mean = 10.1507 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Transportation, GammaGeneralProc, msc, eIoni
|
||||
@@ -942,17 +939,17 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
|
||||
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
|
||||
Absorber: total energy: 279.218 MeV total track length: 19.9689 cm
|
||||
Gap: total energy: 15.6063 MeV total track length: 8.05553 cm
|
||||
--> End of event 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 271.299 MeV rms = 0 eV
|
||||
EGap : mean = 23.6238 MeV rms = 0 eV
|
||||
LAbs : mean = 19.4388 cm rms = 0 fm
|
||||
LGap : mean = 11.1558 cm rms = 0 fm
|
||||
EAbs : mean = 279.218 MeV rms = 0 eV
|
||||
EGap : mean = 15.6063 MeV rms = 0 eV
|
||||
LAbs : mean = 19.9689 cm rms = 0 fm
|
||||
LGap : mean = 8.05553 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
### Run 2 starts.
|
||||
@@ -962,17 +959,17 @@ Using
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
|
||||
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
|
||||
Absorber: total energy: 461.252 MeV total track length: 32.7167 cm
|
||||
Gap: total energy: 20.8926 MeV total track length: 10.5882 cm
|
||||
--> End of event 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 0 eV rms = 0 eV
|
||||
EGap : mean = 0 eV rms = 0 eV
|
||||
LAbs : mean = 32.6572 cm rms = 0 fm
|
||||
LGap : mean = 21.6011 cm rms = 0 fm
|
||||
EGap : mean = 20.8926 MeV rms = 0 eV
|
||||
LAbs : mean = 32.7167 cm rms = 0 fm
|
||||
LGap : mean = 10.5882 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Graphics systems deleted.
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/ActionInitialization.hh
|
||||
/// \file ActionInitialization.hh
|
||||
/// \brief Definition of the B4b::ActionInitialization class
|
||||
|
||||
#ifndef B4aActionInitialization_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/DetectorConstruction.hh
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the B4::DetectorConstruction class
|
||||
|
||||
#ifndef B4DetectorConstruction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/EventAction.hh
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the B4b::EventAction class
|
||||
|
||||
#ifndef B4bEventAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/PrimaryGeneratorAction.hh
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#ifndef B4PrimaryGeneratorAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/RunAction.hh
|
||||
/// \file RunAction.hh
|
||||
/// \brief Definition of the B4b::RunAction class
|
||||
|
||||
#ifndef B4bRunAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/RunData.hh
|
||||
/// \file RunData.hh
|
||||
/// \brief Definition of the B4b::RunData class
|
||||
|
||||
#ifndef B4bRunData_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/include/SteppingAction.hh
|
||||
/// \file SteppingAction.hh
|
||||
/// \brief Definition of the B4b::SteppingAction class
|
||||
|
||||
#ifndef B4bSteppingAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/ActionInitialization.cc
|
||||
/// \file ActionInitialization.cc
|
||||
/// \brief Implementation of the B4b::ActionInitialization class
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/DetectorConstruction.cc
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \brief Implementation of the B4::DetectorConstruction class
|
||||
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/EventAction.cc
|
||||
/// \file EventAction.cc
|
||||
/// \brief Implementation of the B4b::EventAction class
|
||||
|
||||
#include "EventAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/PrimaryGeneratorAction.cc
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/RunAction.cc
|
||||
/// \file RunAction.cc
|
||||
/// \brief Implementation of the B4b::RunAction class
|
||||
|
||||
#include "RunAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/RunData.cc
|
||||
/// \file RunData.cc
|
||||
/// \brief Implementation of the B4b::RunData class
|
||||
|
||||
#include "RunData.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4b/src/SteppingAction.cc
|
||||
/// \file SteppingAction.cc
|
||||
/// \brief Implementation of the B4b::SteppingAction class
|
||||
|
||||
#include "SteppingAction.hh"
|
||||
|
||||
@@ -23,9 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file exampleB4c.cc
|
||||
/// \brief Main program of the B4c example
|
||||
/// \brief Main program of the B4/B4c example
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-03-ref-06 (30-June-2025)
|
||||
Geant4 version Name: geant4-11-04-ref-00 (5-December-2025)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -29,7 +29,6 @@ You have successfully registered the following graphics systems.
|
||||
Registered graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RT)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
@@ -42,13 +41,12 @@ Registered graphics systems are:
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RTX)
|
||||
RayTracerQt (RTQt)
|
||||
Qt3D (Qt3D)
|
||||
TOOLSSG_X11_GLES (TSG_X11_GLES, TSGX11, TSG_XT_GLES_FALLBACK)
|
||||
TOOLSSG_X11_ZB (TSG_X11_ZB, TSGX11ZB)
|
||||
TOOLSSG_XT_GLES (TSG_XT_GLES, TSGXt, TSG_QT_GLES_FALLBACK)
|
||||
TOOLSSG_XT_ZB (TSG_XT_ZB, TSGXtZB)
|
||||
TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG, OGL)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB, TSGZB)
|
||||
You may choose a graphics system (driver) with a parameter of
|
||||
the command "/vis/open" or "/vis/sceneHandler/create",
|
||||
or you may omit the driver parameter and choose at run time:
|
||||
@@ -181,7 +179,7 @@ Lowest muon/hadron kinetic energy 1 keV
|
||||
Use ICRU90 data 0
|
||||
Fluctuations of dE/dx are enabled 1
|
||||
Type of fluctuation model for leptons and hadrons Urban
|
||||
Use built-in Birks satuaration 0
|
||||
Use built-in Birks saturation 0
|
||||
Build CSDA range enabled 0
|
||||
Use cut as a final range enabled 0
|
||||
Enable angular generator interface 0
|
||||
@@ -318,7 +316,7 @@ hBrems: for proton XStype:1 SubType=3
|
||||
hPairProd: for proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -376,7 +374,7 @@ hBrems: for anti_proton XStype:1 SubType=3
|
||||
hPairProd: for anti_proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -408,7 +406,7 @@ hBrems: for kaon+ XStype:1 SubType=3
|
||||
hPairProd: for kaon+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -440,7 +438,7 @@ hBrems: for kaon- XStype:1 SubType=3
|
||||
hPairProd: for kaon- XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -472,7 +470,7 @@ muBrems: for mu+ XStype:1 SubType=3
|
||||
muPairProd: for mu+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -504,7 +502,7 @@ muBrems: for mu- XStype:1 SubType=3
|
||||
muPairProd: for mu- XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -536,7 +534,7 @@ hBrems: for pi+ XStype:1 SubType=3
|
||||
hPairProd: for pi+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -568,7 +566,7 @@ hBrems: for pi- XStype:1 SubType=3
|
||||
hPairProd: for pi- XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -823,8 +821,8 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
|
||||
Type of pre-compound model 0
|
||||
Type of pre-compound inverse x-section 1
|
||||
Pre-compound model active 1
|
||||
Pre-compound excitation low energy 100 keV
|
||||
Pre-compound excitation high energy 30 MeV
|
||||
Pre-compound excitation low energy 0.1 MeV
|
||||
Pre-compound excitation high energy 15 MeV
|
||||
Angular generator for pre-compound model 1
|
||||
Use NeverGoBack option for pre-compound model 0
|
||||
Use SoftCutOff option for pre-compound model 0
|
||||
@@ -838,9 +836,8 @@ Type of de-excitation inverse x-section 3
|
||||
Type of de-excitation factory Evaporation+GEM
|
||||
Number of de-excitation channels 68
|
||||
Type of Fermi BreakUp model ModelVI
|
||||
Min excitation energy 10 eV
|
||||
Min energy per nucleon for multifragmentation 200 GeV
|
||||
Limit excitation energy for Fermi BreakUp 20 MeV
|
||||
Min excitation energy 0.01 keV
|
||||
Min energy per nucleon for multifragmentation 2e+05 MeV
|
||||
Level density (1/MeV) 0.075
|
||||
Use simple level density model 1
|
||||
Use discrete excitation energy of the residual 0
|
||||
@@ -867,17 +864,17 @@ Setting was ignored.
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
|
||||
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
|
||||
Absorber: total energy: 272.002 MeV total track length: 19.8684 cm
|
||||
Gap: total energy: 18.8093 MeV total track length: 10.1507 cm
|
||||
--> End of event: 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 260.424 MeV rms = 0 eV
|
||||
EGap : mean = 20.1593 MeV rms = 0 eV
|
||||
LAbs : mean = 18.8985 cm rms = 0 fm
|
||||
LGap : mean = 10.2646 cm rms = 0 fm
|
||||
EAbs : mean = 272.002 MeV rms = 0 eV
|
||||
EGap : mean = 18.8093 MeV rms = 0 eV
|
||||
LAbs : mean = 19.8684 cm rms = 0 fm
|
||||
LGap : mean = 10.1507 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Transportation, GammaGeneralProc, msc, eIoni
|
||||
@@ -940,17 +937,17 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
|
||||
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
|
||||
Absorber: total energy: 279.218 MeV total track length: 19.9689 cm
|
||||
Gap: total energy: 15.6063 MeV total track length: 8.05553 cm
|
||||
--> End of event: 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 271.299 MeV rms = 0 eV
|
||||
EGap : mean = 23.6238 MeV rms = 0 eV
|
||||
LAbs : mean = 19.4388 cm rms = 0 fm
|
||||
LGap : mean = 11.1558 cm rms = 0 fm
|
||||
EAbs : mean = 279.218 MeV rms = 0 eV
|
||||
EGap : mean = 15.6063 MeV rms = 0 eV
|
||||
LAbs : mean = 19.9689 cm rms = 0 fm
|
||||
LGap : mean = 8.05553 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
### Run 2 starts.
|
||||
@@ -959,17 +956,17 @@ Using
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
|
||||
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
|
||||
Absorber: total energy: 461.252 MeV total track length: 32.7167 cm
|
||||
Gap: total energy: 20.8926 MeV total track length: 10.5882 cm
|
||||
--> End of event: 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 0 eV rms = 0 eV
|
||||
EGap : mean = 0 eV rms = 0 eV
|
||||
LAbs : mean = 32.6572 cm rms = 0 fm
|
||||
LGap : mean = 21.6011 cm rms = 0 fm
|
||||
EGap : mean = 20.8926 MeV rms = 0 eV
|
||||
LAbs : mean = 32.7167 cm rms = 0 fm
|
||||
LGap : mean = 10.5882 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Graphics systems deleted.
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/ActionInitialization.hh
|
||||
/// \file ActionInitialization.hh
|
||||
/// \brief Definition of the B4c::ActionInitialization class
|
||||
|
||||
#ifndef B4cActionInitialization_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/CalorHit.hh
|
||||
/// \file CalorHit.hh
|
||||
/// \brief Definition of the B4c::CalorHit class
|
||||
|
||||
#ifndef B4cCalorHit_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/CalorimeterSD.hh
|
||||
/// \file CalorimeterSD.hh
|
||||
/// \brief Definition of the B4c::CalorimeterSD class
|
||||
|
||||
#ifndef B4cCalorimeterSD_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/DetectorConstruction.hh
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the B4c::DetectorConstruction class
|
||||
|
||||
#ifndef B4cDetectorConstruction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/EventAction.hh
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the B4c::EventAction class
|
||||
|
||||
#ifndef B4cEventAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/PrimaryGeneratorAction.hh
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#ifndef B4PrimaryGeneratorAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/include/RunAction.hh
|
||||
/// \file RunAction.hh
|
||||
/// \brief Definition of the B4::RunAction class
|
||||
|
||||
#ifndef B4RunAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/ActionInitialization.cc
|
||||
/// \file ActionInitialization.cc
|
||||
/// \brief Implementation of the B4c::ActionInitialization class
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/CalorHit.cc
|
||||
/// \file CalorHit.cc
|
||||
/// \brief Implementation of the B4c::CalorHit class
|
||||
|
||||
#include "CalorHit.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/CalorimeterSD.cc
|
||||
/// \file CalorimeterSD.cc
|
||||
/// \brief Implementation of the B4c::CalorimeterSD class
|
||||
|
||||
#include "CalorimeterSD.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/DetectorConstruction.cc
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \brief Implementation of the B4c::DetectorConstruction class
|
||||
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/EventAction.cc
|
||||
/// \file EventAction.cc
|
||||
/// \brief Implementation of the B4c::EventAction class
|
||||
|
||||
#include "EventAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/PrimaryGeneratorAction.cc
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4c/src/RunAction.cc
|
||||
/// \file RunAction.cc
|
||||
/// \brief Implementation of the B4::RunAction class
|
||||
|
||||
#include "RunAction.hh"
|
||||
|
||||
@@ -23,9 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file exampleB4d.cc
|
||||
/// \brief Main program of the B4d example
|
||||
/// \brief Main program of the B4/B4d example
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
|
||||
|
||||
|
||||
**************************************************************
|
||||
Geant4 version Name: geant4-11-03-ref-06 (30-June-2025)
|
||||
Geant4 version Name: geant4-11-04-ref-00 (5-December-2025)
|
||||
Copyright : Geant4 Collaboration
|
||||
References : NIM A 506 (2003), 250-303
|
||||
: IEEE-TNS 53 (2006), 270-278
|
||||
@@ -29,7 +29,6 @@ You have successfully registered the following graphics systems.
|
||||
Registered graphics systems are:
|
||||
ASCIITree (ATree)
|
||||
DAWNFILE (DAWNFILE)
|
||||
G4HepRepFile (HepRepFile)
|
||||
RayTracer (RT)
|
||||
VRML2FILE (VRML2FILE)
|
||||
gMocrenFile (gMocrenFile)
|
||||
@@ -42,13 +41,12 @@ Registered graphics systems are:
|
||||
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
|
||||
RayTracerX (RTX)
|
||||
RayTracerQt (RTQt)
|
||||
Qt3D (Qt3D)
|
||||
TOOLSSG_X11_GLES (TSG_X11_GLES, TSGX11, TSG_XT_GLES_FALLBACK)
|
||||
TOOLSSG_X11_ZB (TSG_X11_ZB, TSGX11ZB)
|
||||
TOOLSSG_XT_GLES (TSG_XT_GLES, TSGXt, TSG_QT_GLES_FALLBACK)
|
||||
TOOLSSG_XT_ZB (TSG_XT_ZB, TSGXtZB)
|
||||
TOOLSSG_QT_GLES (TSG_QT_GLES, TSGQt, TSG, OGL)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB)
|
||||
TOOLSSG_QT_ZB (TSG_QT_ZB, TSGQtZB, TSGZB)
|
||||
You may choose a graphics system (driver) with a parameter of
|
||||
the command "/vis/open" or "/vis/sceneHandler/create",
|
||||
or you may omit the driver parameter and choose at run time:
|
||||
@@ -185,7 +183,7 @@ Lowest muon/hadron kinetic energy 1 keV
|
||||
Use ICRU90 data 0
|
||||
Fluctuations of dE/dx are enabled 1
|
||||
Type of fluctuation model for leptons and hadrons Urban
|
||||
Use built-in Birks satuaration 0
|
||||
Use built-in Birks saturation 0
|
||||
Build CSDA range enabled 0
|
||||
Use cut as a final range enabled 0
|
||||
Enable angular generator interface 0
|
||||
@@ -322,7 +320,7 @@ hBrems: for proton XStype:1 SubType=3
|
||||
hPairProd: for proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -380,7 +378,7 @@ hBrems: for anti_proton XStype:1 SubType=3
|
||||
hPairProd: for anti_proton XStype:1 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/decade, spline: 1
|
||||
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
|
||||
Sampling table 17x1001, from 7.50618 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -412,7 +410,7 @@ hBrems: for kaon+ XStype:1 SubType=3
|
||||
hPairProd: for kaon+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -444,7 +442,7 @@ hBrems: for kaon- XStype:1 SubType=3
|
||||
hPairProd: for kaon- XStype:1 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/decade, spline: 1
|
||||
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
|
||||
Sampling table 18x1001, from 3.94942 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -476,7 +474,7 @@ muBrems: for mu+ XStype:1 SubType=3
|
||||
muPairProd: for mu+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -508,7 +506,7 @@ muBrems: for mu- XStype:1 SubType=3
|
||||
muPairProd: for mu- XStype:1 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/decade, spline: 1
|
||||
Sampling table 21x1001 from 0.85 GeV to 100 TeV
|
||||
Sampling table 21x1001, from 0.85 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -540,7 +538,7 @@ hBrems: for pi+ XStype:1 SubType=3
|
||||
hPairProd: for pi+ XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -572,7 +570,7 @@ hBrems: for pi- XStype:1 SubType=3
|
||||
hPairProd: for pi- XStype:1 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/decade, spline: 1
|
||||
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
|
||||
Sampling table 20x1001, from 1.11656 GeV to 100 TeV
|
||||
===== EM models for the G4Region DefaultRegionForTheWorld ======
|
||||
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
|
||||
|
||||
@@ -827,8 +825,8 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
|
||||
Type of pre-compound model 0
|
||||
Type of pre-compound inverse x-section 1
|
||||
Pre-compound model active 1
|
||||
Pre-compound excitation low energy 100 keV
|
||||
Pre-compound excitation high energy 30 MeV
|
||||
Pre-compound excitation low energy 0.1 MeV
|
||||
Pre-compound excitation high energy 15 MeV
|
||||
Angular generator for pre-compound model 1
|
||||
Use NeverGoBack option for pre-compound model 0
|
||||
Use SoftCutOff option for pre-compound model 0
|
||||
@@ -842,9 +840,8 @@ Type of de-excitation inverse x-section 3
|
||||
Type of de-excitation factory Evaporation+GEM
|
||||
Number of de-excitation channels 68
|
||||
Type of Fermi BreakUp model ModelVI
|
||||
Min excitation energy 10 eV
|
||||
Min energy per nucleon for multifragmentation 200 GeV
|
||||
Limit excitation energy for Fermi BreakUp 20 MeV
|
||||
Min excitation energy 0.01 keV
|
||||
Min energy per nucleon for multifragmentation 2e+05 MeV
|
||||
Level density (1/MeV) 0.075
|
||||
Use simple level density model 1
|
||||
Use discrete excitation energy of the residual 0
|
||||
@@ -871,17 +868,17 @@ Setting was ignored.
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
|
||||
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
|
||||
Absorber: total energy: 272.002 MeV total track length: 19.8684 cm
|
||||
Gap: total energy: 18.8093 MeV total track length: 10.1507 cm
|
||||
--> End of event: 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 260.424 MeV rms = 0 eV
|
||||
EGap : mean = 20.1593 MeV rms = 0 eV
|
||||
LAbs : mean = 18.8985 cm rms = 0 fm
|
||||
LGap : mean = 10.2646 cm rms = 0 fm
|
||||
EAbs : mean = 272.002 MeV rms = 0 eV
|
||||
EGap : mean = 18.8093 MeV rms = 0 eV
|
||||
LAbs : mean = 19.8684 cm rms = 0 fm
|
||||
LGap : mean = 10.1507 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Transportation, GammaGeneralProc, msc, eIoni
|
||||
@@ -944,17 +941,17 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
|
||||
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
|
||||
Absorber: total energy: 279.218 MeV total track length: 19.9689 cm
|
||||
Gap: total energy: 15.6063 MeV total track length: 8.05553 cm
|
||||
--> End of event: 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 271.299 MeV rms = 0 eV
|
||||
EGap : mean = 23.6238 MeV rms = 0 eV
|
||||
LAbs : mean = 19.4388 cm rms = 0 fm
|
||||
LGap : mean = 11.1558 cm rms = 0 fm
|
||||
EAbs : mean = 279.218 MeV rms = 0 eV
|
||||
EGap : mean = 15.6063 MeV rms = 0 eV
|
||||
LAbs : mean = 19.9689 cm rms = 0 fm
|
||||
LGap : mean = 8.05553 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
### Run 2 starts.
|
||||
@@ -963,19 +960,19 @@ Using
|
||||
... open analysis file : B4.root - done
|
||||
Using
|
||||
--> Event 0 starts.
|
||||
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
|
||||
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
|
||||
Absorber: total energy: 461.252 MeV total track length: 32.7167 cm
|
||||
Gap: total energy: 20.8926 MeV total track length: 10.5882 cm
|
||||
--> End of event: 0
|
||||
|
||||
|
||||
----> print histograms statistic for the entire run
|
||||
|
||||
EAbs : mean = 0 eV rms = 0 eV
|
||||
EGap : mean = 0 eV rms = 0 eV
|
||||
LAbs : mean = 32.6572 cm rms = 0 fm
|
||||
LGap : mean = 21.6011 cm rms = 0 fm
|
||||
EGap : mean = 20.8926 MeV rms = 0 eV
|
||||
LAbs : mean = 32.7167 cm rms = 0 fm
|
||||
LGap : mean = 10.5882 cm rms = 0 fm
|
||||
... write file : B4.root - done
|
||||
... close file : B4.root - done
|
||||
Graphics systems deleted.
|
||||
Visualization Manager deleting...
|
||||
### deleting chargedFilter 0x2037ed0
|
||||
### deleting chargedFilter 0x2588110
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/include/ActionInitialization.hh
|
||||
/// \file ActionInitialization.hh
|
||||
/// \brief Definition of the B4d::ActionInitialization class
|
||||
|
||||
#ifndef B4dActionInitialization_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/include/DetectorConstruction.hh
|
||||
/// \file DetectorConstruction.hh
|
||||
/// \brief Definition of the B4d::DetectorConstruction class
|
||||
|
||||
#ifndef B4dDetectorConstruction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/include/EventAction.hh
|
||||
/// \file EventAction.hh
|
||||
/// \brief Definition of the B4d::EventAction class
|
||||
|
||||
#ifndef EventAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/include/PrimaryGeneratorAction.hh
|
||||
/// \file PrimaryGeneratorAction.hh
|
||||
/// \brief Definition of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#ifndef B4PrimaryGeneratorAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/include/RunAction.hh
|
||||
/// \file RunAction.hh
|
||||
/// \brief Definition of the B4::RunAction class
|
||||
|
||||
#ifndef B4RunAction_h
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/src/ActionInitialization.cc
|
||||
/// \file ActionInitialization.cc
|
||||
/// \brief Implementation of the B4d::ActionInitialization class
|
||||
|
||||
#include "ActionInitialization.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/src/DetectorConstruction.cc
|
||||
/// \file DetectorConstruction.cc
|
||||
/// \brief Implementation of the B4d::DetectorConstruction class
|
||||
|
||||
#include "DetectorConstruction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/src/EventAction.cc
|
||||
/// \file EventAction.cc
|
||||
/// \brief Implementation of the B4d::EventAction class
|
||||
|
||||
#include "EventAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/src/PrimaryGeneratorAction.cc
|
||||
/// \file PrimaryGeneratorAction.cc
|
||||
/// \brief Implementation of the B4::PrimaryGeneratorAction class
|
||||
|
||||
#include "PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -23,8 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
/// \file B4/B4d/src/RunAction.cc
|
||||
/// \file RunAction.cc
|
||||
/// \brief Implementation of the B4::RunAction class
|
||||
|
||||
#include "RunAction.hh"
|
||||
|
||||
@@ -1,281 +0,0 @@
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
|
||||
=========================================================
|
||||
|
||||
Example B4
|
||||
-----------
|
||||
|
||||
This example simulates a simple Sampling Calorimeter setup.
|
||||
To demonstrate several possible ways of data scoring, the example
|
||||
is provided in four variants: B4a, B4b, B4c, B4d.
|
||||
(See also examples/extended/electromagnetic/TestEm3 or hadronic/Hadr05)
|
||||
|
||||
1- GEOMETRY DEFINITION
|
||||
|
||||
The geometry is constructed in B4[c,d]::DetectorConstruction class.
|
||||
The calorimeter is a box made of a given number of layers. A layer
|
||||
consists of an absorber plate and of a detection gap. The layer is
|
||||
replicated.
|
||||
|
||||
Four parameters define the geometry of the calorimeter :
|
||||
- the thickness of an absorber plate,
|
||||
- the thickness of a gap,
|
||||
- the number of layers, and
|
||||
- the transverse size of the calorimeter (the entrance face is a square).
|
||||
|
||||
In addition, a global, uniform, and transverse magnetic field can be
|
||||
applied using G4GlobalMagFieldMessenger, instantiated in
|
||||
B4[c,d]::DetectorConstruction::ConstructSDandField
|
||||
with a non zero field value, or via interactive commands.
|
||||
For example:
|
||||
|
||||
/globalField/setValue 0.2 0 0 tesla
|
||||
|
||||
|
||||
|<----layer 0---------->|<----layer 1---------->|<----layer 2---------->|
|
||||
| | | |
|
||||
==========================================================================
|
||||
|| | || | || | ||
|
||||
|| | || | || | ||
|
||||
beam || absorber | gap || absorber | gap || absorber | gap ||
|
||||
======> || | || | || | ||
|
||||
|| | || | || | ||
|
||||
==========================================================================
|
||||
|
||||
A more general version of this geometry can be found in:
|
||||
examples/extended/electromagnetic/TestEm3 or hadronic/Hadr05
|
||||
where all the geometry parameters, the absorber and gap materials
|
||||
can be modified interactively via the commands defined in the DetectorMessenger
|
||||
class.
|
||||
|
||||
2- PHYSICS LIST
|
||||
|
||||
The particle's type and the physic processes which will be available
|
||||
in this example are set in the FTFP_BERT physics list. This physics list
|
||||
requires data files for electromagnetic and hadronic processes.
|
||||
See more on installation of the datasets in Geant4 Installation Guide,
|
||||
Chapter 3.3: Note On Geant4 Datasets:
|
||||
http://geant4.web.cern.ch/geant4/UserDocumentation/UsersGuides/InstallationGuide/html/ch03s03.html
|
||||
The following datasets: G4LEDATA, G4LEVELGAMMADATA, G4SAIDXSDATA and
|
||||
G4ENSDFSTATEDATA are mandatory for this example.
|
||||
|
||||
In addition the build-in interactive command:
|
||||
/process/(in)activate processName
|
||||
allows to activate/inactivate the processes one by one.
|
||||
|
||||
3- ACTION INITALIZATION
|
||||
|
||||
A newly introduced class, B4[a,b,c,d]::ActionInitialization,
|
||||
instantiates and registers to Geant4 kernel all user action classes.
|
||||
|
||||
While in sequential mode the action classes are instatiated just once,
|
||||
via invoking the method:
|
||||
B4[a,b,c,d]::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 is instantiated both thread-local
|
||||
and global that's why its instance is created also in the method
|
||||
B4[a,b,c,d]::ActionInitialization::BuildForMaster()
|
||||
which is invoked only in multi-threading mode.
|
||||
|
||||
4- PRIMARY GENERATOR
|
||||
|
||||
The primary beam 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 B4::PrimaryGeneratorAction class, and can
|
||||
be changed via the G4 built-in commands of the G4ParticleGun class (see
|
||||
the macros provided with this example).
|
||||
|
||||
5- RUNS and EVENTS
|
||||
|
||||
A run is a set of events.
|
||||
The user can choose the frequency of printing via the Geant4 interactive
|
||||
command, for example:
|
||||
|
||||
/run/printProgress 100
|
||||
|
||||
6- DETECTOR RESPONSE
|
||||
|
||||
The energy deposit and track lengths of the charged particles are recorded on
|
||||
an event by event basis in the Absober and Gap layers.
|
||||
|
||||
In order to demonstrate several possible ways of data scoring,
|
||||
the example is provided in four variants:
|
||||
|
||||
Variant a: User Actions
|
||||
|
||||
These 4 quantities are data members of the B4a::EventAction class.
|
||||
They are collected step by step in
|
||||
B4a::SteppingAction::UserSteppingAction(), and passed to the event action
|
||||
via two methods: B4a::EventAction::AddAbs() and B4a::EventAction::AddGap().
|
||||
|
||||
In B4a::EventAction::EndOfEventAction(), these quantities are printed and
|
||||
filled in H1D histograms and ntuple to accumulate statistic and compute
|
||||
dispersion.
|
||||
|
||||
Variant b: User data object
|
||||
|
||||
In order to avoid dependencies between action classes, a user object
|
||||
B4b::RunData, derived from G4Run, is defined with data members needed
|
||||
for the accounted information.
|
||||
In order to reduce the number of data members a 2-dimensions array
|
||||
is introduced for each quantity.
|
||||
Then the quantities are collected step by step in user action classes:
|
||||
B4b::SteppingAction::UserSteppingAction() and
|
||||
B4b::EventAction::EndOfEventAction() in a similar way as in variant a.
|
||||
|
||||
Variant c: Hits and Sensitive detectors
|
||||
|
||||
In this option, the physics quantities are accounted using the hits
|
||||
and sensitive detectors framework defined in the Geant4 kernel.
|
||||
The physics quantities are stored in B4c::CalorHit via two B4c::CalorimeterSD
|
||||
objects, one associated with the Absorber volume and another one with Gap
|
||||
in B4c::DetectorConstruction::ConstructSDandField().
|
||||
|
||||
In contrary to the B2 example (Tracker) where a new hit is created
|
||||
with each track passing the sensitive volume (in the calorimeter), only one
|
||||
hit is created for each calorimeter layer and one more hit to account for
|
||||
the total quantities in all layers. In addition to the variants a and b,
|
||||
the quantities per each layer are also available in addition to the total
|
||||
quantities.
|
||||
|
||||
Variant d: Scorer
|
||||
|
||||
In this option, the Geant4 scorers which are defined on the top of hits
|
||||
and sensitive detectors Geant4 framework are used.
|
||||
In practice this means that the user does not need to define hits and sensitive
|
||||
detector classes but rather uses the classes already defined
|
||||
in Geant4. In this example, the G4MultiFunctionalDetector with
|
||||
G4PSEnergyDeposit and G4PSTrackLength primitive scores are used (see
|
||||
B4d::DetectorConstruction::ConstructSDandField()).
|
||||
|
||||
The scorers hits are saved in form of ntuples in a Root file using Geant4
|
||||
analysis tools. This feature is activated in the main () function with instantiating
|
||||
G4TScoreNtupleWriter.
|
||||
|
||||
Also with this approach, the quantities per each layer are available
|
||||
in addition to the total quantities.
|
||||
|
||||
7- HISTOGRAMS
|
||||
|
||||
The analysis tools are used to accumulate statistics and compute the dispersion
|
||||
of the energy deposit and track lengths of the charged particles.
|
||||
H1D histograms are created in B4[b]::RunAction::RunAction() for the
|
||||
following quantities:
|
||||
- Energy deposit in absorber
|
||||
- Energy deposit in gap
|
||||
- Track length in absorber
|
||||
- Track length in gap
|
||||
|
||||
The same values are also saved in an ntuple.
|
||||
|
||||
The histograms and the ntuple are saved in the output file in a format
|
||||
according to a specified file extension, the default in this example
|
||||
is ROOT.
|
||||
|
||||
The accumulated statistic and computed dispersion is printed at the end of
|
||||
run, in B4::RunAction::EndOfRunAction().
|
||||
When running in multi-threading mode, the histograms and the ntuple accumulated
|
||||
on threads are merged in a single output file. While merging of histograms is
|
||||
performed by default, merging of ntuples is explicitly activated in the B4::RunAction
|
||||
constructor.
|
||||
|
||||
The ROOT histograms and ntuple can be plotted with ROOT using the plotHisto.C
|
||||
and plotNtuple.C macros.
|
||||
|
||||
8- HOW TO RUN
|
||||
|
||||
This example handles the program arguments in a new way.
|
||||
It can be run with the following optional arguments:
|
||||
% exampleB4a [-m macro ] [-u UIsession] [-t nThreads] [-vDefault]
|
||||
|
||||
The -vDefault option will activate using the default Geant4 stepping verbose
|
||||
class (G4SteppingVerbose) instead of the enhanced stepping verbose with best
|
||||
units (G4SteppingVerboseWithUnits) used in the example by default.
|
||||
|
||||
The -t option is available only in multi-threading mode
|
||||
and it allows the user to override the Geant4 default number of
|
||||
threads. The number of threads can be also set via G4FORCENUMBEROFTHREADS
|
||||
environment variable which has the top priority.
|
||||
|
||||
- Execute exampleB4a in the 'interactive mode' with visualization
|
||||
% exampleB4a
|
||||
and type in the commands from run1.mac line by line:
|
||||
Idle> /tracking/verbose 1
|
||||
Idle> /run/beamOn 1
|
||||
Idle> ...
|
||||
Idle> exit
|
||||
or
|
||||
Idle> /control/execute run1.mac
|
||||
....
|
||||
Idle> exit
|
||||
|
||||
- Execute exampleB4a in the 'batch' mode from macro files
|
||||
(without visualization)
|
||||
% exampleB4a -m run2.mac
|
||||
% exampleB4a -m exampleB4.in > exampleB4.out
|
||||
|
||||
- Execute exampleB4a in the 'interactive mode' with a selected UI session,
|
||||
e.g. tcsh
|
||||
% exampleB4a -u tcsh
|
||||
|
||||
The following paragraphs are common to all basic examples
|
||||
|
||||
A- VISUALIZATION
|
||||
|
||||
The visualization manager is set via the G4VisExecutive class
|
||||
in the main() function in exampleB4a.cc.
|
||||
The initialisation of the drawing is done via a set of /vis/ commands
|
||||
in the macro vis.mac. This macro is automatically read from
|
||||
the main function when the example is used in interactive running mode.
|
||||
|
||||
By default, vis.mac opens an OpenGL viewer (/vis/open OGL).
|
||||
The user can change the initial viewer by commenting out this line
|
||||
and instead uncommenting one of the other /vis/open statements, such as
|
||||
HepRepFile or DAWNFILE (which produce files that can be viewed with the
|
||||
HepRApp and DAWN viewers, respectively). Note that one can always
|
||||
open new viewers at any time from the command line. For example, if
|
||||
you already have a view in, say, an OpenGL window with a name
|
||||
"viewer-0", then
|
||||
/vis/open DAWNFILE
|
||||
then to get the same view
|
||||
/vis/viewer/copyView viewer-0
|
||||
or to get the same view *plus* scene-modifications
|
||||
/vis/viewer/set/all viewer-0
|
||||
then to see the result
|
||||
/vis/viewer/flush
|
||||
|
||||
The DAWNFILE, HepRepFile drivers are always available
|
||||
(since they require no external libraries), but the OGL driver requires
|
||||
that the Geant4 libraries have been built with the OpenGL option.
|
||||
|
||||
Since 11.1, the TSG visualization driver can also produce the "offscrean"
|
||||
file output in png, jpeg, gl2ps formats without drawing on the screen.
|
||||
It can be controlled via UI commands provided in '/vis/tsg' which are
|
||||
demonstrated in the tsg_offscreen.mac macro in example B5.
|
||||
|
||||
For more information on visualization, including information on how to
|
||||
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
|
||||
for example,
|
||||
http://geant4.slac.stanford.edu/Presentations/vis/G4[VIS]Tutorial/G4[VIS]Tutorial.html
|
||||
(where [VIS] can be replaced by DAWN, OpenGL and HepRApp)
|
||||
|
||||
The tracks are automatically drawn at the end of each event, accumulated
|
||||
for all events and erased at the beginning of the next run.
|
||||
|
||||
B- USER INTERFACES
|
||||
|
||||
The user command interface is set via the G4UIExecutive class
|
||||
in the main() function in exampleB4a.cc
|
||||
|
||||
The selection of the user command interface is then done automatically
|
||||
according to the Geant4 configuration or it can be done explicitly via
|
||||
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
|
||||
|
||||
The gui.mac macros are provided in examples B2, B4 and B5. This macro
|
||||
is automatically executed if Geant4 is built with any GUI session.
|
||||
It is also possible to customise the icons menu bar which is
|
||||
demonstrated in the icons.mac macro in example B5.
|
||||
@@ -1,15 +1,11 @@
|
||||
|
||||
///\file "B4/.README.txt"
|
||||
///\brief Example B4 README page
|
||||
|
||||
/*! \page ExampleB4 Example %B4
|
||||
\page ExampleB4 Example B4
|
||||
|
||||
This example simulates a simple Sampling Calorimeter setup.
|
||||
To demonstrate several possible ways of data scoring, the example
|
||||
is provided in four variants: %B4a, %B4b, %B4c, %B4d.
|
||||
(See also examples/extended/electromagnetic/TestEm3 or hadronic/Hadr05)
|
||||
|
||||
\section B4_s1 GEOMETRY DEFINITION
|
||||
## GEOMETRY DEFINITION
|
||||
|
||||
The geometry is constructed in B4::DetectorConstruction class
|
||||
(see also
|
||||
@@ -34,9 +30,9 @@
|
||||
with a non zero field value, or via interactive commands.
|
||||
For example:
|
||||
|
||||
\verbatim
|
||||
```
|
||||
/globalField/setValue 0.2 0 0 tesla
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
<pre>
|
||||
|<----layer 0---------->|<----layer 1---------->|<----layer 2---------->|
|
||||
@@ -57,7 +53,7 @@
|
||||
can be modified interactively via the commands defined in the DetectorMessenger
|
||||
class.
|
||||
|
||||
\section B4_s2 PHYSICS LIST
|
||||
## PHYSICS LIST
|
||||
|
||||
The particle's type and the physic processes which will be available
|
||||
in this example are set in the FTFP_BERT physics list. This physics list
|
||||
@@ -69,12 +65,12 @@
|
||||
G4ENSDFSTATEDATA are mandatory for this example.
|
||||
|
||||
In addition the build-in interactive command:
|
||||
\verbatim
|
||||
```
|
||||
/process/(in)activate processName
|
||||
\endverbatim
|
||||
```
|
||||
allows to activate/inactivate the processes one by one.
|
||||
|
||||
\section B4_s3 ACTION INITALIZATION
|
||||
## ACTION INITALIZATION
|
||||
|
||||
A newly introduced class, B4a::ActionInitialization, (see also
|
||||
\link B4b::ActionInitialization B4b \endlink,
|
||||
@@ -101,7 +97,7 @@
|
||||
\link B4d::ActionInitialization::BuildForMaster() B4d \endlink variants),
|
||||
which is invoked only in multi-threading mode.
|
||||
|
||||
\section B4_s4 PRIMARY GENERATOR
|
||||
## PRIMARY GENERATOR
|
||||
|
||||
The primary beam consists of a single particle which hits the
|
||||
calorimeter perpendicular to the input face. The type of the particle
|
||||
@@ -109,17 +105,17 @@
|
||||
be changed via the G4 built-in commands of the G4ParticleGun class (see
|
||||
the macros provided with this example).
|
||||
|
||||
\section B4_s5 RUNS and EVENTS
|
||||
## RUNS and EVENTS
|
||||
|
||||
A run is a set of events.
|
||||
|
||||
The user can choose the frequency of printing via the Geant4 interactive
|
||||
command, for example:
|
||||
\verbatim
|
||||
```
|
||||
/run/printProgress 100
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
\section B4_s6- DETECTOR RESPONSE
|
||||
## DETECTOR RESPONSE
|
||||
|
||||
The energy deposit and track lengths of the charged particles are recorded on
|
||||
an event by event basis in the Absober and Gap layers.
|
||||
@@ -127,7 +123,7 @@
|
||||
In order to demonstrate several possible ways of data scoring,
|
||||
the example is provided in four variants:
|
||||
|
||||
\subsection s6a Variant a: User Actions
|
||||
### Variant a: User Actions
|
||||
|
||||
These 4 quantities are data members of the B4a::EventAction class.
|
||||
They are collected step by step in
|
||||
@@ -138,7 +134,7 @@
|
||||
filled in H1D histograms and ntuple to accumulate statistic and compute
|
||||
dispersion.
|
||||
|
||||
\subsection s6b Variant b: User data object
|
||||
### Variant b: User data object
|
||||
|
||||
In order to avoid dependencies between action classes, a user object
|
||||
B4b::RunData, derived from G4Run, is defined with data members needed
|
||||
@@ -149,7 +145,7 @@
|
||||
B4b::SteppingAction::UserSteppingAction() and
|
||||
B4b::EventAction::EndOfEventAction() in a similar way as in variant a.
|
||||
|
||||
\subsection s6c Variant c: Hits and Sensitive detectors
|
||||
### Variant c: Hits and Sensitive detectors
|
||||
|
||||
In this option, the physics quantities are accounted using the hits
|
||||
and sensitive detectors framework defined in the Geant4 kernel.
|
||||
@@ -164,7 +160,7 @@
|
||||
the quantities per each layer are also available in addition to the total
|
||||
quantities.
|
||||
|
||||
\subsection s6d Variant d: Scorer
|
||||
### Variant d: Scorer
|
||||
|
||||
In this option, the Geant4 scorers which are defined on the top of hits
|
||||
and sensitive detectors Geant4 framework are used.
|
||||
@@ -175,13 +171,13 @@
|
||||
B4d::DetectorConstruction::ConstructSDandField()).
|
||||
|
||||
The scorers hits are saved in form of ntuples in a Root file using Geant4
|
||||
analysis tools. This feature is activated in the main () function with instantiating
|
||||
analysis tools. This feature is activated in the main() function with instantiating
|
||||
G4TScoreNtupleWriter.
|
||||
|
||||
Also with this approach, the quantities per each layer are available
|
||||
in addition to the total quantities.
|
||||
|
||||
\section B4_s7 HISTOGRAMS
|
||||
## HISTOGRAMS
|
||||
|
||||
The analysis tools are used to accumulate statistics and compute the dispersion
|
||||
of the energy deposit and track lengths of the charged particles.
|
||||
@@ -210,13 +206,13 @@
|
||||
The ROOT histograms and ntuple can be plotted with ROOT using the plotHisto.C
|
||||
and plotNtuple.C macros.
|
||||
|
||||
\section B4_s8 HOW TO RUN
|
||||
## HOW TO RUN
|
||||
|
||||
This example handles the program arguments in a new way.
|
||||
It can be run with the following optional arguments:
|
||||
\verbatim
|
||||
```
|
||||
% exampleB4a [-m macro ] [-u UIsession] [-t nThreads] [-vDefault]
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
The -vDefault option will activate using the default Geant4 stepping verbose
|
||||
class (G4SteppingVerbose) instead of the enhanced stepping verbose with best
|
||||
@@ -228,96 +224,103 @@
|
||||
environment variable which has the top priority.
|
||||
|
||||
- Execute exampleB4a in the 'interactive mode' with visualization
|
||||
\verbatim
|
||||
```
|
||||
% exampleB4a
|
||||
and type in the commands from run1.mac line by line:
|
||||
Idle> /tracking/verbose 1
|
||||
Idle> /run/beamOn 1
|
||||
Idle> ...
|
||||
Idle> exit
|
||||
\endverbatim
|
||||
```
|
||||
or
|
||||
\verbatim
|
||||
```
|
||||
Idle> /control/execute run1.mac
|
||||
....
|
||||
Idle> exit
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
- Execute exampleB4a in the 'batch' mode from macro files
|
||||
(without visualization)
|
||||
\verbatim
|
||||
```
|
||||
% exampleB4a -m run2.mac
|
||||
% exampleB4a -m exampleB4.in > exampleB4.out
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
- Execute exampleB4a in the 'interactive mode' with a selected UI session,
|
||||
e.g. tcsh
|
||||
\verbatim
|
||||
```
|
||||
% exampleB4a -u tcsh
|
||||
\endverbatim
|
||||
```
|
||||
|
||||
<hr>
|
||||
|
||||
The following paragraphs are common to all basic examples
|
||||
|
||||
\section B4_A VISUALISATION
|
||||
## VISUALISATION
|
||||
|
||||
The visualization manager is set via the G4VisExecutive class
|
||||
in the main () function in exampleB4a.cc.
|
||||
in the main() function in exampleB4a.cc (or exampleB4b.cc, exampleB4c.cc,
|
||||
exampleB4d.cc).
|
||||
The initialisation of the drawing is done via a set of /vis/ commands
|
||||
in the macro vis.mac. This macro is automatically read from
|
||||
the main function when the example is used in interactive running mode.
|
||||
|
||||
By default, vis.mac opens an OpenGL viewer (/vis/open OGL).
|
||||
The user can change the initial viewer by commenting out this line
|
||||
and instead uncommenting one of the other /vis/open statements, such as
|
||||
HepRepFile or DAWNFILE (which produce files that can be viewed with the
|
||||
HepRApp and DAWN viewers, respectively). Note that one can always
|
||||
open new viewers at any time from the command line. For example, if
|
||||
you already have a view in, say, an OpenGL window with a name
|
||||
"viewer-0", then
|
||||
\verbatim
|
||||
/vis/open DAWNFILE
|
||||
\endverbatim
|
||||
then to get the same view
|
||||
\verbatim
|
||||
/vis/viewer/copyView viewer-0
|
||||
\endverbatim
|
||||
or to get the same view *plus* scene-modifications
|
||||
\verbatim
|
||||
/vis/viewer/set/all viewer-0
|
||||
\endverbatim
|
||||
then to see the result
|
||||
\verbatim
|
||||
/vis/viewer/flush
|
||||
\endverbatim
|
||||
By default, vis.mac opens the default viewer (/vis/open).
|
||||
This chooses a graphics system (in order of priority):
|
||||
- by argument in G4VisExecutive construction.
|
||||
- by environment variable, G4VIS_DEFAULT_DRIVER.
|
||||
- by information in ~/.g4session.
|
||||
- by mode (batch/interactive) and if interactive, by your build flags.
|
||||
|
||||
The DAWNFILE, HepRepFile drivers are always available
|
||||
The user can change the initial viewer
|
||||
- with environment variable G4VIS_DEFAULT_DRIVER. The format is
|
||||
```
|
||||
<graphics-system> [<window-size-hint>]
|
||||
```
|
||||
Set this, e.g:
|
||||
- (bash) export G4VIS_DEFAULT_DRIVER=TSG
|
||||
- (tcsh) setenv G4VIS_DEFAULT_DRIVER OI
|
||||
- The window-size-hint can optionally be added, e.g:
|
||||
- (bash) export G4VIS_DEFAULT_DRIVER="RayTracerQt 1000x1000-0+0"
|
||||
- on the command line, precede the app invocation, e.g:
|
||||
- ```
|
||||
G4VIS_DEFAULT_DRIVER=Vtk ./<application-name>
|
||||
```
|
||||
- with ~/.g4session.
|
||||
|
||||
For other suggestions for G4VIS_DEFAULT_DRIVER (see list of registered
|
||||
graphics systems printed at the start):
|
||||
- DAWNFILE: to create a .prim file suitable for viewing in DAWN.
|
||||
- VRML2FILE: to create a .wrl file suitable for viewing in a VRML viewer.
|
||||
- "TSG_OFFSCREEN 1200x1200": to create an image file with TSG.
|
||||
- See the tsg_offscreen.mac in examples/basic/B5 for more commands
|
||||
to change the file format, file name, picture size, etc.
|
||||
|
||||
See "Choosing a graphics viewer" in the Application Guide for details.
|
||||
|
||||
Of course you can change the viewer by editing the /vis/open line in vis.mac.
|
||||
|
||||
Also, after the initial viewer opens, you may open a different viewer by typing
|
||||
on the command line, e.g:
|
||||
```
|
||||
/vis/open DAWNFILE
|
||||
```
|
||||
or
|
||||
```
|
||||
/vis/open RayTraceQt
|
||||
```
|
||||
(if you are using the Qt GUI).
|
||||
|
||||
The view parameters of the existing viewer are copied.
|
||||
|
||||
The DAWNFILE and similar drivers are always available
|
||||
(since they require no external libraries), but the OGL driver requires
|
||||
that the Geant4 libraries have been built with the OpenGL option.
|
||||
|
||||
Since 11.1, the TSG visualization driver can also produce the "offscrean"
|
||||
file output in png, jpeg, gl2ps formats without drawing on the screen.
|
||||
It can be controlled via UI commands provided in '/vis/tsg' which are
|
||||
demonstrated in the tsg_offscreen.mac macro in example B5.
|
||||
|
||||
For more information on visualization, including information on how to
|
||||
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
|
||||
for example,\n
|
||||
- <a href="http://geant4.slac.stanford.edu/Presentations/vis/G4OpenGLTutorial/G4OpenGLTutorial.html">
|
||||
OpenGL Tutorial </a>
|
||||
- <a href="http://geant4.slac.stanford.edu/Presentations/vis/G4DAWNTutorial/G4DAWNTutorial.html">
|
||||
DAWN Tutorial </a>
|
||||
- <a href="http://geant4.slac.stanford.edu/Presentations/vis/G4HepRAppTutorial/G4HepRAppTutorial.html">
|
||||
HepRApp Tutorial </a>
|
||||
|
||||
The tracks are automatically drawn at the end of each event, accumulated
|
||||
for all events and erased at the beginning of the next run.
|
||||
|
||||
\section B4_B USER INTERFACES
|
||||
## USER INTERFACES
|
||||
|
||||
The user command interface is set via the G4UIExecutive class
|
||||
in the main () function in exampleB4a.cc
|
||||
in the main() function in exampleB4a.cc
|
||||
|
||||
The selection of the user command interface is then done automatically
|
||||
according to the Geant4 configuration or it can be done explicitly via
|
||||
@@ -328,6 +331,4 @@ The following paragraphs are common to all basic examples
|
||||
It is also possible to customise the icons menu bar which is
|
||||
demonstrated in the icons.mac macro in example B5.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user