Import Geant4 10.7.0 source tree

This commit is contained in:
Gabriele Cosmo
2020-12-04 12:30:43 +01:00
parent 67ba86d073
commit dab42d2018
3770 changed files with 226369 additions and 286486 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ development.
G4 sensitive detector and hits
- Geant4 physics list (FTFP_BERT) with step limiter
- UI commans defined using G4GenericMessenger
- Histograms (1D, 2D) and ntuple saved in the output file
- Histograms (1D, 2D) and ntuple saved in two output files
- Started from extended/analysis/A01
*/
+4 -5
View File
@@ -1,7 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B1)
#----------------------------------------------------------------------------
@@ -23,7 +25,6 @@ endif()
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
# NB: headers are included so they will show up in IDEs
@@ -69,5 +70,3 @@ add_custom_target(B1 DEPENDS exampleB1)
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB1 DESTINATION bin)
+17 -10
View File
@@ -13,7 +13,14 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
02/11/20 B.Morgan (exampleB1-V10-06-01)
- Support same CMake version range as core Geant4
30/06/20 G. Cosmo (exampleB1-V10-06-00)
- Migrated to use G4RunManagerFactory, therefore implicitly enabling
tasking by default in MT builds.
21/11/19 G. Cosmo (exampleB1-V10-05-00)
- Use default MixMax random engine.
@@ -30,13 +37,13 @@ track of all tags.
04/05/15 I. Hrivnacova (exampleB1-V10-01-02)
- Coding guidelines: removed empty lines
23/04/15 mma (exampleB1-V10-01-01)
- RunAction : come back to previous formula
21/04/15 mma (exampleB1-V10-01-00)
- RunAction : correct calculation of rmsEdep
29/11/14 I. Hrivnacova
- Use G4endl instead of \n in G4cout;
this makes each new line in the output on threads preceded with
@@ -49,7 +56,7 @@ track of all tags.
28/10/13 I. Hrivnacova (exampleB1-V09-06-06)
- Removed SetNumberOfThreads(4) from main (use Geant4 default)
26/10/13 mma (exampleB1-V09-06-05)
- Use /run/printProgress. Cleanup in EventAction
@@ -57,10 +64,10 @@ track of all tags.
- Removed B1EventInformation for keeping maximum simplicity
- Improved documentation (added paragraph on Run::Merge())
- Code clean-up
09/06/13 I. Hrivnacova (exampleB1-V09-06-03)
- clarify local names in user actions
05/06/13 mma (exampleB1-V09-06-02)
- add section about ACTION INITALIZATION to README and .README
- update section DETECTOR RESPONSE
@@ -86,11 +93,11 @@ track of all tags.
14/11/11 I. Hrivnacova
- The first tagged version of the new B1 example
(tagged in basic)
(tagged in basic)
31/10/11 I. Hrivnacova
- change volume names
- scoring in 1 volume only, with new scheme
- scoring in 1 volume only, with new scheme
05/09/11 M. Maire, P. Gueye
- Created.
+3 -10
View File
@@ -30,11 +30,7 @@
#include "B1DetectorConstruction.hh"
#include "B1ActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "QBBC.hh"
@@ -60,11 +56,8 @@ int main(int argc,char** argv)
// Construct the default run manager
//
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
#else
G4RunManager* runManager = new G4RunManager;
#endif
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
// Set mandatory initialization classes
//
+89 -38
View File
@@ -1,10 +1,11 @@
Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Forcing G4RunManager type...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -27,10 +28,12 @@ Registered graphics systems are:
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
OpenGLImmediateXm (OGLIXm, OGLI)
OpenGLStoredXm (OGLSXm, OGL, OGLS)
OpenGLImmediateX (OGLIX, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSXm_FALLBACK)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
RayTracerX (RayTracerX)
Registering model factories...
@@ -67,6 +70,10 @@ Some /vis commands (optionally) take a string to specify colour.
Checking overlaps for volume Envelope (G4Box) ... OK!
Checking overlaps for volume Shape1 (G4Cons) ... OK!
Checking overlaps for volume Shape2 (G4Trd) ... OK!
### HadronInelasticQBBC Construct Process:
Emin(FTFP)= 3 GeV Emax(FTFP)= 100000 GeV
Emin(BERT)= 1 GeV Emax(BERT)= 6 GeV Emax(BERTpions)= 12 GeV
Emin(BIC) = 0 GeV Emax(BIC)= 1.5 GeV.
### Adding tracking cuts for neutron TimeCut(ns)= 10000 KinEnergyCut(MeV)= 0
phot: for gamma SubType=12 BuildTable=0
@@ -92,10 +99,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -119,10 +127,11 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -150,9 +159,9 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -166,14 +175,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -182,9 +191,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -196,9 +205,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -209,9 +218,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -225,14 +234,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -241,9 +250,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -257,14 +266,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -273,9 +282,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -289,14 +298,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -305,9 +314,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -322,14 +331,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -338,9 +347,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -355,14 +364,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -371,9 +380,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -387,14 +396,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -403,9 +412,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -419,14 +428,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -456,6 +465,28 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: nKiller
---------------------------------------------------
Hadronic Processes for B-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: B-Inelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for D-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: D-Inelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for GenericIon
@@ -534,6 +565,19 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_lambda
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: anti_lambdaInelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_neutron
@@ -674,7 +718,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: pi+Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: BertiniCascade: 1 GeV ---> 12 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -686,7 +731,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: pi-Inelastic
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: BertiniCascade: 1 GeV ---> 12 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: BarashenkovGlauberGribov: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -754,7 +800,6 @@ Store e- internal conversion data 0
Electron internal conversion ID 2
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
Upload data before 1st event for Z < 9
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
@@ -772,9 +817,12 @@ See commands in /vis/modeling/trajectories/ for other options.
--------------------End of Global Run-----------------------
The run consists of 1000 gamma of 6 MeV
Cumulated dose per run, in scoring volume : 40.6239 picoGy rms = 3.75185 picoGy
Cumulated dose per run, in scoring volume : 45.6428 picoGy rms = 3.94852 picoGy
------------------------------------------------------------
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
### Run 1 starts.
--> Event 0 starts.
--> Event 100 starts.
@@ -789,8 +837,11 @@ See commands in /vis/modeling/trajectories/ for other options.
--------------------End of Global Run-----------------------
The run consists of 1000 proton of 210 MeV
Cumulated dose per run, in scoring volume : 5.16439 nanoGy rms = 144.962 picoGy
Cumulated dose per run, in scoring volume : 4.75061 nanoGy rms = 147.024 picoGy
------------------------------------------------------------
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...
+4 -3
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B2a)
#----------------------------------------------------------------------------
@@ -64,4 +66,3 @@ endforeach()
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB2a DESTINATION bin)
+3 -10
View File
@@ -30,11 +30,7 @@
#include "B2aDetectorConstruction.hh"
#include "B2ActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "FTFP_BERT.hh"
@@ -61,11 +57,8 @@ int main(int argc,char** argv)
// Construct the default run manager
//
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
#else
G4RunManager* runManager = new G4RunManager;
#endif
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
// Set mandatory initialization classes
//
+285 -237
View File
@@ -1,10 +1,11 @@
Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Forcing G4RunManager type...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -28,10 +29,12 @@ Registered graphics systems are:
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
OpenGLImmediateXm (OGLIXm, OGLI)
OpenGLStoredXm (OGLSXm, OGL, OGLS)
OpenGLImmediateX (OGLIX, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSXm_FALLBACK)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
RayTracerX (RayTracerX)
Registering model factories...
@@ -114,7 +117,7 @@ Some /vis commands (optionally) take a string to specify colour.
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.920 %
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.440 %
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.080 %
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.180 %
---> Isotope: Xe131 Z = 54 N = 131 A = 130.91 g/mole abundance: 21.180 %
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.890 %
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.440 %
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.870 %
@@ -135,7 +138,7 @@ Checking overlaps for volume Chamber_PV (G4Tubs) ... OK!
Checking overlaps for volume Chamber_PV (G4Tubs) ... OK!
Checking overlaps for volume Chamber_PV (G4Tubs) ... OK!
FTFP_BERT : new threshold between BERT and FTFP is over the interval
hInelastic FTFP_BERT : threshold between BERT and FTFP is over the interval
for pions : 3 to 6 GeV
for kaons : 3 to 6 GeV
for proton : 3 to 6 GeV
@@ -166,10 +169,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -193,10 +197,11 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -224,9 +229,9 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -240,14 +245,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -256,9 +261,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -270,9 +275,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -283,9 +288,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -299,14 +304,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -315,9 +320,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -331,14 +336,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -347,9 +352,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -363,14 +368,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -379,9 +384,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -396,14 +401,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -412,9 +417,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -429,14 +434,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -445,9 +450,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -461,14 +466,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -477,9 +482,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -493,14 +498,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -529,6 +534,28 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: nKiller
---------------------------------------------------
Hadronic Processes for B-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: B-Inelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for D-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: D-Inelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for GenericIon
@@ -603,6 +630,19 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_lambda
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: anti_lambdaInelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_neutron
@@ -714,8 +754,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: lambdaInelastic
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -780,8 +820,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: sigma-Inelastic
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -822,7 +862,6 @@ Store e- internal conversion data 0
Electron internal conversion ID 2
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
Upload data before 1st event for Z < 9
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
@@ -843,13 +882,13 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 6
0 hits stored in this event
>>> Event: 7
27 hits stored in this event
0 hits stored in this event
>>> Event: 8
0 hits stored in this event
>>> Event: 9
72 hits stored in this event
>>> Event: 10
0 hits stored in this event
>>> Event: 10
29 hits stored in this event
>>> Event: 11
0 hits stored in this event
>>> Event: 12
@@ -867,7 +906,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 18
0 hits stored in this event
>>> Event: 19
0 hits stored in this event
3 hits stored in this event
>>> Event: 20
0 hits stored in this event
>>> Event: 21
@@ -875,15 +914,15 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 22
0 hits stored in this event
>>> Event: 23
0 hits stored in this event
60 hits stored in this event
>>> Event: 24
0 hits stored in this event
>>> Event: 25
59 hits stored in this event
0 hits stored in this event
>>> Event: 26
12 hits stored in this event
178 hits stored in this event
>>> Event: 27
73 hits stored in this event
0 hits stored in this event
>>> Event: 28
0 hits stored in this event
>>> Event: 29
@@ -893,7 +932,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 31
0 hits stored in this event
>>> Event: 32
0 hits stored in this event
63 hits stored in this event
>>> Event: 33
0 hits stored in this event
>>> Event: 34
@@ -903,9 +942,9 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 36
0 hits stored in this event
>>> Event: 37
152 hits stored in this event
144 hits stored in this event
>>> Event: 38
0 hits stored in this event
80 hits stored in this event
>>> Event: 39
0 hits stored in this event
>>> Event: 40
@@ -913,19 +952,19 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 41
0 hits stored in this event
>>> Event: 42
32 hits stored in this event
132 hits stored in this event
>>> Event: 43
0 hits stored in this event
>>> Event: 44
0 hits stored in this event
>>> Event: 45
0 hits stored in this event
62 hits stored in this event
>>> Event: 46
0 hits stored in this event
>>> Event: 47
127 hits stored in this event
>>> Event: 48
0 hits stored in this event
>>> Event: 48
29 hits stored in this event
>>> Event: 49
0 hits stored in this event
>>> Event: 50
@@ -935,9 +974,9 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 52
0 hits stored in this event
>>> Event: 53
0 hits stored in this event
38 hits stored in this event
>>> Event: 54
109 hits stored in this event
0 hits stored in this event
>>> Event: 55
0 hits stored in this event
>>> Event: 56
@@ -951,17 +990,17 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 60
0 hits stored in this event
>>> Event: 61
0 hits stored in this event
15 hits stored in this event
>>> Event: 62
0 hits stored in this event
>>> Event: 63
0 hits stored in this event
49 hits stored in this event
>>> Event: 64
0 hits stored in this event
>>> Event: 65
0 hits stored in this event
>>> Event: 66
92 hits stored in this event
0 hits stored in this event
>>> Event: 67
0 hits stored in this event
>>> Event: 68
@@ -975,31 +1014,31 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 72
0 hits stored in this event
>>> Event: 73
0 hits stored in this event
42 hits stored in this event
>>> Event: 74
0 hits stored in this event
34 hits stored in this event
>>> Event: 75
0 hits stored in this event
>>> Event: 76
33 hits stored in this event
>>> Event: 77
29 hits stored in this event
>>> Event: 78
0 hits stored in this event
>>> Event: 77
182 hits stored in this event
>>> Event: 78
23 hits stored in this event
>>> Event: 79
32 hits stored in this event
0 hits stored in this event
>>> Event: 80
0 hits stored in this event
>>> Event: 81
113 hits stored in this event
0 hits stored in this event
>>> Event: 82
0 hits stored in this event
>>> Event: 83
21 hits stored in this event
0 hits stored in this event
>>> Event: 84
41 hits stored in this event
0 hits stored in this event
>>> Event: 85
89 hits stored in this event
24 hits stored in this event
>>> Event: 86
0 hits stored in this event
>>> Event: 87
@@ -1017,9 +1056,9 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 93
0 hits stored in this event
>>> Event: 94
0 hits stored in this event
254 hits stored in this event
>>> Event: 95
0 hits stored in this event
180 hits stored in this event
>>> Event: 96
4 hits stored in this event
>>> Event: 97
@@ -1028,208 +1067,214 @@ See commands in /vis/modeling/trajectories/ for other options.
0 hits stored in this event
>>> Event: 99
0 hits stored in this event
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
### Run 1 starts.
--> Event 0 starts.
>>> Event: 0
745 hits stored in this event
438 hits stored in this event
>>> Event: 1
98 hits stored in this event
108 hits stored in this event
>>> Event: 2
3975 hits stored in this event
110 hits stored in this event
>>> Event: 3
80 hits stored in this event
61 hits stored in this event
>>> Event: 4
74 hits stored in this event
99 hits stored in this event
>>> Event: 5
178 hits stored in this event
76 hits stored in this event
>>> Event: 6
59 hits stored in this event
66 hits stored in this event
>>> Event: 7
212 hits stored in this event
135 hits stored in this event
>>> Event: 8
203 hits stored in this event
97 hits stored in this event
>>> Event: 9
929 hits stored in this event
235 hits stored in this event
>>> Event: 10
73 hits stored in this event
78 hits stored in this event
>>> Event: 11
58 hits stored in this event
59 hits stored in this event
>>> Event: 12
152 hits stored in this event
1609 hits stored in this event
>>> Event: 13
134 hits stored in this event
59 hits stored in this event
>>> Event: 14
58 hits stored in this event
108 hits stored in this event
>>> Event: 15
74 hits stored in this event
260 hits stored in this event
>>> Event: 16
73 hits stored in this event
104 hits stored in this event
>>> Event: 17
252 hits stored in this event
65 hits stored in this event
>>> Event: 18
244 hits stored in this event
73 hits stored in this event
>>> Event: 19
83 hits stored in this event
>>> Event: 20
132 hits stored in this event
454 hits stored in this event
>>> Event: 21
165 hits stored in this event
>>> Event: 22
77 hits stored in this event
>>> Event: 23
60 hits stored in this event
>>> Event: 24
87 hits stored in this event
>>> Event: 25
317 hits stored in this event
>>> Event: 26
164 hits stored in this event
>>> Event: 27
65 hits stored in this event
>>> Event: 28
62 hits stored in this event
>>> Event: 29
214 hits stored in this event
>>> Event: 30
79 hits stored in this event
>>> Event: 31
73 hits stored in this event
>>> Event: 32
53 hits stored in this event
>>> Event: 33
86 hits stored in this event
>>> Event: 34
295 hits stored in this event
>>> Event: 35
112 hits stored in this event
>>> Event: 36
140 hits stored in this event
>>> Event: 37
82 hits stored in this event
>>> Event: 38
147 hits stored in this event
>>> Event: 39
95 hits stored in this event
>>> Event: 40
67 hits stored in this event
>>> Event: 41
122 hits stored in this event
>>> Event: 42
95 hits stored in this event
>>> Event: 43
52 hits stored in this event
>>> Event: 44
83 hits stored in this event
>>> Event: 45
70 hits stored in this event
>>> Event: 46
80 hits stored in this event
>>> Event: 47
1256 hits stored in this event
>>> Event: 48
54 hits stored in this event
>>> Event: 49
49 hits stored in this event
>>> Event: 50
98 hits stored in this event
>>> Event: 51
347 hits stored in this event
>>> Event: 52
36 hits stored in this event
>>> Event: 53
178 hits stored in this event
>>> Event: 54
70 hits stored in this event
>>> Event: 55
290 hits stored in this event
>>> Event: 56
82 hits stored in this event
>>> Event: 57
216 hits stored in this event
>>> Event: 58
63 hits stored in this event
>>> Event: 59
64 hits stored in this event
>>> Event: 60
248 hits stored in this event
>>> Event: 61
74 hits stored in this event
>>> Event: 62
89 hits stored in this event
>>> Event: 63
111 hits stored in this event
>>> Event: 64
415 hits stored in this event
>>> Event: 65
63 hits stored in this event
>>> Event: 66
180 hits stored in this event
>>> Event: 67
63 hits stored in this event
>>> Event: 68
71 hits stored in this event
>>> Event: 69
540 hits stored in this event
>>> Event: 70
38 hits stored in this event
>>> Event: 71
75 hits stored in this event
>>> Event: 72
92 hits stored in this event
>>> Event: 73
>>> Event: 22
69 hits stored in this event
>>> Event: 74
110 hits stored in this event
>>> Event: 75
602 hits stored in this event
>>> Event: 76
135 hits stored in this event
>>> Event: 77
416 hits stored in this event
>>> Event: 78
129 hits stored in this event
>>> Event: 79
53 hits stored in this event
>>> Event: 80
171 hits stored in this event
>>> Event: 81
68 hits stored in this event
>>> Event: 82
1230 hits stored in this event
>>> Event: 83
104 hits stored in this event
>>> Event: 84
1055 hits stored in this event
>>> Event: 85
168 hits stored in this event
>>> Event: 86
77 hits stored in this event
>>> Event: 87
119 hits stored in this event
>>> Event: 88
67 hits stored in this event
>>> Event: 89
213 hits stored in this event
>>> Event: 90
63 hits stored in this event
>>> Event: 91
>>> Event: 23
337 hits stored in this event
>>> Event: 24
112 hits stored in this event
>>> Event: 25
107 hits stored in this event
>>> Event: 26
94 hits stored in this event
>>> Event: 27
128 hits stored in this event
>>> Event: 28
74 hits stored in this event
>>> Event: 29
77 hits stored in this event
>>> Event: 30
60 hits stored in this event
>>> Event: 31
50 hits stored in this event
>>> Event: 32
83 hits stored in this event
>>> Event: 33
460 hits stored in this event
>>> Event: 34
59 hits stored in this event
>>> Event: 35
68 hits stored in this event
>>> Event: 36
196 hits stored in this event
>>> Event: 37
175 hits stored in this event
>>> Event: 38
80 hits stored in this event
>>> Event: 39
397 hits stored in this event
>>> Event: 40
104 hits stored in this event
>>> Event: 41
233 hits stored in this event
>>> Event: 42
106 hits stored in this event
>>> Event: 43
97 hits stored in this event
>>> Event: 44
90 hits stored in this event
>>> Event: 45
796 hits stored in this event
>>> Event: 46
19250 hits stored in this event
>>> Event: 47
102 hits stored in this event
>>> Event: 48
116 hits stored in this event
>>> Event: 49
84 hits stored in this event
>>> Event: 50
122 hits stored in this event
>>> Event: 51
157 hits stored in this event
>>> Event: 52
126 hits stored in this event
>>> Event: 53
83 hits stored in this event
>>> Event: 54
68 hits stored in this event
>>> Event: 55
76 hits stored in this event
>>> Event: 56
69 hits stored in this event
>>> Event: 57
217 hits stored in this event
>>> Event: 58
86 hits stored in this event
>>> Event: 59
154 hits stored in this event
>>> Event: 60
78 hits stored in this event
>>> Event: 61
71 hits stored in this event
>>> Event: 62
683 hits stored in this event
>>> Event: 63
896 hits stored in this event
>>> Event: 64
92 hits stored in this event
>>> Event: 65
100 hits stored in this event
>>> Event: 66
2254 hits stored in this event
>>> Event: 67
90 hits stored in this event
>>> Event: 68
89 hits stored in this event
>>> Event: 69
94 hits stored in this event
>>> Event: 70
53 hits stored in this event
>>> Event: 71
420 hits stored in this event
>>> Event: 72
113 hits stored in this event
>>> Event: 73
245 hits stored in this event
>>> Event: 74
78 hits stored in this event
>>> Event: 75
87 hits stored in this event
>>> Event: 76
60 hits stored in this event
>>> Event: 77
86 hits stored in this event
>>> Event: 78
63 hits stored in this event
>>> Event: 79
80 hits stored in this event
>>> Event: 80
53 hits stored in this event
>>> Event: 81
60 hits stored in this event
>>> Event: 82
60 hits stored in this event
>>> Event: 83
59 hits stored in this event
>>> Event: 84
81 hits stored in this event
>>> Event: 85
119 hits stored in this event
>>> Event: 86
54 hits stored in this event
>>> Event: 87
262 hits stored in this event
>>> Event: 88
71 hits stored in this event
>>> Event: 89
147 hits stored in this event
>>> Event: 90
506 hits stored in this event
>>> Event: 91
474 hits stored in this event
>>> Event: 92
85 hits stored in this event
58 hits stored in this event
>>> Event: 93
2820 hits stored in this event
92 hits stored in this event
>>> Event: 94
271 hits stored in this event
119 hits stored in this event
>>> Event: 95
140 hits stored in this event
52 hits stored in this event
>>> Event: 96
96 hits stored in this event
125 hits stored in this event
>>> Event: 97
65 hits stored in this event
109 hits stored in this event
>>> Event: 98
40 hits stored in this event
304 hits stored in this event
>>> Event: 99
42 hits stored in this event
609 hits stored in this event
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
### Run 2 starts.
--> Event 0 starts.
@@ -1255,5 +1300,8 @@ Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolu
14 0 0 2.94e+03 1e+06 0 540 5.88e+03 OutOfWorld Transportation
>>> Event: 0
0 hits stored in this event
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...
+4 -3
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B2b)
#----------------------------------------------------------------------------
@@ -64,4 +66,3 @@ endforeach()
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB2b DESTINATION bin)
+3 -10
View File
@@ -30,11 +30,7 @@
#include "B2bDetectorConstruction.hh"
#include "B2ActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "FTFP_BERT.hh"
@@ -61,11 +57,8 @@ int main(int argc,char** argv)
// Construct the default run manager
//
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
#else
G4RunManager* runManager = new G4RunManager;
#endif
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
// Set mandatory initialization classes
//
+314 -266
View File
@@ -1,10 +1,11 @@
Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Forcing G4RunManager type...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -28,10 +29,12 @@ Registered graphics systems are:
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
OpenGLImmediateXm (OGLIXm, OGLI)
OpenGLStoredXm (OGLSXm, OGL, OGLS)
OpenGLImmediateX (OGLIX, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSXm_FALLBACK)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
RayTracerX (RayTracerX)
Registering model factories...
@@ -114,7 +117,7 @@ Some /vis commands (optionally) take a string to specify colour.
---> Isotope: Xe128 Z = 54 N = 128 A = 127.90 g/mole abundance: 1.920 %
---> Isotope: Xe129 Z = 54 N = 129 A = 128.91 g/mole abundance: 26.440 %
---> Isotope: Xe130 Z = 54 N = 130 A = 129.90 g/mole abundance: 4.080 %
---> Isotope: Xe131 Z = 54 N = 131 A = 130.90 g/mole abundance: 21.180 %
---> Isotope: Xe131 Z = 54 N = 131 A = 130.91 g/mole abundance: 21.180 %
---> Isotope: Xe132 Z = 54 N = 132 A = 131.90 g/mole abundance: 26.890 %
---> Isotope: Xe134 Z = 54 N = 134 A = 133.91 g/mole abundance: 10.440 %
---> Isotope: Xe136 Z = 54 N = 136 A = 135.91 g/mole abundance: 8.870 %
@@ -131,7 +134,7 @@ There are 5 chambers in the tracker region.
The chambers are 20 cm of G4_Xe
The distance between chamber is 80 cm
FTFP_BERT : new threshold between BERT and FTFP is over the interval
hInelastic FTFP_BERT : threshold between BERT and FTFP is over the interval
for pions : 3 to 6 GeV
for kaons : 3 to 6 GeV
for proton : 3 to 6 GeV
@@ -162,10 +165,11 @@ Rayl: for gamma SubType=11 BuildTable=1
LivermoreRayleigh : Emin= 0 eV Emax= 100 TeV CullenGenerator
msc: for e- SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -189,10 +193,11 @@ CoulombScat: for e-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for e+ SubType= 10
RangeFactor= 0.04, stepLimType: 1, latDisp: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 MeV Nbins=42 100 eV - 100 MeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
WentzelVIUni : Emin= 100 MeV Emax= 100 TeV Nbins=42 100 MeV - 100 TeV
StepLim=UseSafety Rfact=0.04 Gfact=2.5 Sfact=0.6 DispFlag:1 Skin=1 Llimit=1
eIoni: for e+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -220,9 +225,9 @@ CoulombScat: for e+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 100 MeV Emax= 100 TeV
msc: for proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -236,14 +241,14 @@ hBrems: for proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -252,9 +257,9 @@ CoulombScat: for proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for GenericIon SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for GenericIon SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -266,9 +271,9 @@ ionIoni: for GenericIon SubType=2
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
UrbanMsc : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
ionIoni: for alpha SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -279,9 +284,9 @@ ionIoni: for alpha SubType=2
BetheBloch : Emin=7.9452 MeV Emax= 100 TeV
msc: for anti_proton SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for anti_proton SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -295,14 +300,14 @@ hBrems: for anti_proton SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for anti_proton SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 17x1001 from 7.50618 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -311,9 +316,9 @@ CoulombScat: for anti_proton, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -327,14 +332,14 @@ hBrems: for kaon+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -343,9 +348,9 @@ CoulombScat: for kaon+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for kaon- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for kaon- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -359,14 +364,14 @@ hBrems: for kaon- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for kaon- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 18x1001 from 3.94942 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
Used Lambda table of kaon+
@@ -375,9 +380,9 @@ CoulombScat: for kaon-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -392,14 +397,14 @@ muBrems: for mu+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -408,9 +413,9 @@ CoulombScat: for mu+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for mu- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0, polarAngLim(deg)= 180
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
muIoni: for mu- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -425,14 +430,14 @@ muBrems: for mu- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
MuBrem : Emin= 0 eV Emax= 100 TeV
MuBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
muPairProd: for mu- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 21x1001 from 1 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
muPairProd : Emin= 0 eV Emax= 100 TeV
muPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
Used Lambda table of mu+
@@ -441,9 +446,9 @@ CoulombScat: for mu-, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi+ SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi+ SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -457,14 +462,14 @@ hBrems: for pi+ SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi+ SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
Lambda table from threshold to 100 TeV, 7 bins/decade, spline: 1
@@ -473,9 +478,9 @@ CoulombScat: for pi+, integral:1 SubType=1 BuildTable=1
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
msc: for pi- SubType= 10
RangeFactor= 0.2, stepLimType: 0, latDisp: 0
===== EM models for the G4Region DefaultRegionForTheWorld ======
WentzelVIUni : Emin= 0 eV Emax= 100 TeV Nbins=84 100 eV - 100 TeV
StepLim=Minimal Rfact=0.2 Gfact=2.5 Sfact=0.6 DispFlag:0 Skin=1 Llimit=1
hIoni: for pi- SubType=2
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
@@ -489,14 +494,14 @@ hBrems: for pi- SubType=3
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
hBrem : Emin= 0 eV Emax= 100 TeV
hBrem : Emin= 0 eV Emax= 100 TeV ModifiedMephi
hPairProd: for pi- SubType=4
dE/dx and range tables from 100 eV to 100 TeV in 84 bins
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
Sampling table 20x1001 from 1.11656 GeV to 100 TeV
===== EM models for the G4Region DefaultRegionForTheWorld ======
hPairProd : Emin= 0 eV Emax= 100 TeV
hPairProd : Emin= 0 eV Emax= 100 TeV ModifiedMephi
CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Used Lambda table of pi+
@@ -525,6 +530,28 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: nKiller
---------------------------------------------------
Hadronic Processes for B-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: B-Inelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for D-
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: D-Inelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
Hadronic Processes for GenericIon
@@ -599,6 +626,19 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_lambda
Process: hadElastic
Model: hElasticLHEP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: anti_lambdaInelastic
Model: FTFP: 0 eV ---> 100 TeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: hFritiofCaptureAtRest
---------------------------------------------------
Hadronic Processes for anti_neutron
@@ -710,8 +750,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: lambdaInelastic
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
---------------------------------------------------
@@ -776,8 +816,8 @@ CoulombScat: for pi-, integral:1 SubType=1 BuildTable=1
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: sigma-Inelastic
Model: BertiniCascade: 0 eV ---> 6 GeV
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 0 eV ---> 6 GeV
Cr_sctns: Glauber-Gribov: 0 eV ---> 100 TeV
Process: hBertiniCaptureAtRest
@@ -818,7 +858,6 @@ Store e- internal conversion data 0
Electron internal conversion ID 2
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
Upload data before 1st event for Z < 9
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
@@ -833,41 +872,41 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 3
0 hits stored in this event
>>> Event: 4
0 hits stored in this event
3 hits stored in this event
>>> Event: 5
0 hits stored in this event
>>> Event: 6
0 hits stored in this event
>>> Event: 7
152 hits stored in this event
>>> Event: 8
107 hits stored in this event
>>> Event: 9
0 hits stored in this event
>>> Event: 8
14 hits stored in this event
>>> Event: 9
74 hits stored in this event
>>> Event: 10
0 hits stored in this event
>>> Event: 11
0 hits stored in this event
>>> Event: 12
0 hits stored in this event
49 hits stored in this event
>>> Event: 13
0 hits stored in this event
>>> Event: 14
114 hits stored in this event
0 hits stored in this event
>>> Event: 15
30 hits stored in this event
0 hits stored in this event
>>> Event: 16
0 hits stored in this event
>>> Event: 17
0 hits stored in this event
133 hits stored in this event
>>> Event: 18
0 hits stored in this event
>>> Event: 19
127 hits stored in this event
0 hits stored in this event
>>> Event: 20
0 hits stored in this event
>>> Event: 21
57 hits stored in this event
0 hits stored in this event
>>> Event: 22
0 hits stored in this event
>>> Event: 23
@@ -883,7 +922,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 28
0 hits stored in this event
>>> Event: 29
16 hits stored in this event
0 hits stored in this event
>>> Event: 30
0 hits stored in this event
>>> Event: 31
@@ -891,17 +930,17 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 32
0 hits stored in this event
>>> Event: 33
0 hits stored in this event
169 hits stored in this event
>>> Event: 34
0 hits stored in this event
84 hits stored in this event
>>> Event: 35
0 hits stored in this event
58 hits stored in this event
>>> Event: 36
0 hits stored in this event
90 hits stored in this event
>>> Event: 37
0 hits stored in this event
>>> Event: 38
0 hits stored in this event
11 hits stored in this event
>>> Event: 39
0 hits stored in this event
>>> Event: 40
@@ -911,11 +950,11 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 42
0 hits stored in this event
>>> Event: 43
0 hits stored in this event
128 hits stored in this event
>>> Event: 44
0 hits stored in this event
>>> Event: 45
59 hits stored in this event
0 hits stored in this event
>>> Event: 46
0 hits stored in this event
>>> Event: 47
@@ -923,7 +962,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 48
0 hits stored in this event
>>> Event: 49
0 hits stored in this event
155 hits stored in this event
>>> Event: 50
0 hits stored in this event
>>> Event: 51
@@ -931,7 +970,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 52
0 hits stored in this event
>>> Event: 53
0 hits stored in this event
10 hits stored in this event
>>> Event: 54
0 hits stored in this event
>>> Event: 55
@@ -941,9 +980,9 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 57
0 hits stored in this event
>>> Event: 58
0 hits stored in this event
89 hits stored in this event
>>> Event: 59
0 hits stored in this event
130 hits stored in this event
>>> Event: 60
0 hits stored in this event
>>> Event: 61
@@ -951,7 +990,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 62
0 hits stored in this event
>>> Event: 63
58 hits stored in this event
0 hits stored in this event
>>> Event: 64
0 hits stored in this event
>>> Event: 65
@@ -963,23 +1002,23 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 68
0 hits stored in this event
>>> Event: 69
99 hits stored in this event
0 hits stored in this event
>>> Event: 70
0 hits stored in this event
>>> Event: 71
0 hits stored in this event
>>> Event: 72
123 hits stored in this event
0 hits stored in this event
>>> Event: 73
55 hits stored in this event
0 hits stored in this event
>>> Event: 74
81 hits stored in this event
0 hits stored in this event
>>> Event: 75
0 hits stored in this event
>>> Event: 76
0 hits stored in this event
>>> Event: 77
0 hits stored in this event
27 hits stored in this event
>>> Event: 78
0 hits stored in this event
>>> Event: 79
@@ -991,11 +1030,11 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 82
0 hits stored in this event
>>> Event: 83
78 hits stored in this event
0 hits stored in this event
>>> Event: 84
127 hits stored in this event
0 hits stored in this event
>>> Event: 85
81 hits stored in this event
0 hits stored in this event
>>> Event: 86
0 hits stored in this event
>>> Event: 87
@@ -1007,15 +1046,15 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 90
0 hits stored in this event
>>> Event: 91
38 hits stored in this event
0 hits stored in this event
>>> Event: 92
0 hits stored in this event
>>> Event: 93
0 hits stored in this event
36 hits stored in this event
>>> Event: 94
0 hits stored in this event
>>> Event: 95
21 hits stored in this event
0 hits stored in this event
>>> Event: 96
0 hits stored in this event
>>> Event: 97
@@ -1023,209 +1062,215 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 98
0 hits stored in this event
>>> Event: 99
1 hits stored in this event
38 hits stored in this event
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
### Run 1 starts.
--> Event 0 starts.
>>> Event: 0
293 hits stored in this event
>>> Event: 1
111 hits stored in this event
>>> Event: 2
165 hits stored in this event
>>> Event: 3
4251 hits stored in this event
>>> Event: 4
105 hits stored in this event
>>> Event: 5
66 hits stored in this event
>>> Event: 6
86 hits stored in this event
>>> Event: 7
273 hits stored in this event
>>> Event: 8
1054 hits stored in this event
>>> Event: 9
79 hits stored in this event
>>> Event: 10
50 hits stored in this event
>>> Event: 11
111 hits stored in this event
>>> Event: 12
71 hits stored in this event
>>> Event: 13
118 hits stored in this event
>>> Event: 14
49 hits stored in this event
>>> Event: 15
37 hits stored in this event
>>> Event: 16
243 hits stored in this event
>>> Event: 17
62 hits stored in this event
>>> Event: 18
234 hits stored in this event
>>> Event: 19
136 hits stored in this event
>>> Event: 20
70 hits stored in this event
>>> Event: 21
69 hits stored in this event
>>> Event: 22
1242 hits stored in this event
>>> Event: 23
43 hits stored in this event
>>> Event: 24
58 hits stored in this event
>>> Event: 25
63 hits stored in this event
>>> Event: 26
115 hits stored in this event
>>> Event: 27
90 hits stored in this event
>>> Event: 28
185 hits stored in this event
>>> Event: 29
1122 hits stored in this event
>>> Event: 30
83 hits stored in this event
>>> Event: 31
73 hits stored in this event
>>> Event: 32
63 hits stored in this event
>>> Event: 33
89 hits stored in this event
>>> Event: 34
323 hits stored in this event
>>> Event: 35
92 hits stored in this event
>>> Event: 36
123 hits stored in this event
>>> Event: 37
136 hits stored in this event
>>> Event: 38
925 hits stored in this event
>>> Event: 39
63 hits stored in this event
>>> Event: 40
64 hits stored in this event
>>> Event: 41
56 hits stored in this event
>>> Event: 42
66 hits stored in this event
>>> Event: 43
87 hits stored in this event
>>> Event: 44
552 hits stored in this event
>>> Event: 45
419 hits stored in this event
>>> Event: 46
140 hits stored in this event
>>> Event: 47
102 hits stored in this event
>>> Event: 48
82 hits stored in this event
>>> Event: 49
107 hits stored in this event
>>> Event: 50
171 hits stored in this event
>>> Event: 51
189 hits stored in this event
>>> Event: 52
63 hits stored in this event
>>> Event: 53
217 hits stored in this event
>>> Event: 54
195 hits stored in this event
>>> Event: 55
198 hits stored in this event
>>> Event: 56
>>> Event: 1
104 hits stored in this event
>>> Event: 2
73 hits stored in this event
>>> Event: 3
100 hits stored in this event
>>> Event: 57
64 hits stored in this event
>>> Event: 58
95 hits stored in this event
>>> Event: 59
101 hits stored in this event
>>> Event: 60
76 hits stored in this event
>>> Event: 61
58 hits stored in this event
>>> Event: 62
108 hits stored in this event
>>> Event: 63
92 hits stored in this event
>>> Event: 64
108 hits stored in this event
>>> Event: 65
49 hits stored in this event
>>> Event: 66
164 hits stored in this event
>>> Event: 67
114 hits stored in this event
>>> Event: 68
95 hits stored in this event
>>> Event: 69
152 hits stored in this event
>>> Event: 70
47 hits stored in this event
>>> Event: 71
241 hits stored in this event
>>> Event: 72
132 hits stored in this event
>>> Event: 73
46 hits stored in this event
>>> Event: 74
49 hits stored in this event
>>> Event: 75
514 hits stored in this event
>>> Event: 76
89 hits stored in this event
>>> Event: 77
93 hits stored in this event
>>> Event: 78
54 hits stored in this event
>>> Event: 79
674 hits stored in this event
>>> Event: 80
376 hits stored in this event
>>> Event: 81
97 hits stored in this event
>>> Event: 82
72 hits stored in this event
>>> Event: 83
87 hits stored in this event
>>> Event: 84
67 hits stored in this event
>>> Event: 85
98 hits stored in this event
>>> Event: 86
109 hits stored in this event
>>> Event: 87
60 hits stored in this event
>>> Event: 88
78 hits stored in this event
>>> Event: 89
703 hits stored in this event
>>> Event: 90
96 hits stored in this event
>>> Event: 91
125 hits stored in this event
>>> Event: 92
267 hits stored in this event
>>> Event: 93
56 hits stored in this event
>>> Event: 94
>>> Event: 4
84 hits stored in this event
>>> Event: 95
133 hits stored in this event
>>> Event: 96
>>> Event: 5
120 hits stored in this event
>>> Event: 6
77 hits stored in this event
>>> Event: 7
66 hits stored in this event
>>> Event: 8
118 hits stored in this event
>>> Event: 9
220 hits stored in this event
>>> Event: 10
109 hits stored in this event
>>> Event: 11
77 hits stored in this event
>>> Event: 12
114 hits stored in this event
>>> Event: 13
84 hits stored in this event
>>> Event: 14
56 hits stored in this event
>>> Event: 15
232 hits stored in this event
>>> Event: 16
211 hits stored in this event
>>> Event: 17
1225 hits stored in this event
>>> Event: 18
339 hits stored in this event
>>> Event: 19
107 hits stored in this event
>>> Event: 20
628 hits stored in this event
>>> Event: 21
82 hits stored in this event
>>> Event: 22
146 hits stored in this event
>>> Event: 23
66 hits stored in this event
>>> Event: 24
109 hits stored in this event
>>> Event: 25
58 hits stored in this event
>>> Event: 26
87 hits stored in this event
>>> Event: 27
51 hits stored in this event
>>> Event: 28
682 hits stored in this event
>>> Event: 29
151 hits stored in this event
>>> Event: 30
342 hits stored in this event
>>> Event: 31
141 hits stored in this event
>>> Event: 32
171 hits stored in this event
>>> Event: 33
95 hits stored in this event
>>> Event: 34
106 hits stored in this event
>>> Event: 35
55 hits stored in this event
>>> Event: 36
66 hits stored in this event
>>> Event: 37
84 hits stored in this event
>>> Event: 38
78 hits stored in this event
>>> Event: 39
55 hits stored in this event
>>> Event: 40
54 hits stored in this event
>>> Event: 41
79 hits stored in this event
>>> Event: 42
270 hits stored in this event
>>> Event: 43
49 hits stored in this event
>>> Event: 44
229 hits stored in this event
>>> Event: 45
794 hits stored in this event
>>> Event: 46
82 hits stored in this event
>>> Event: 47
42 hits stored in this event
>>> Event: 48
81 hits stored in this event
>>> Event: 49
105 hits stored in this event
>>> Event: 50
123 hits stored in this event
>>> Event: 51
146 hits stored in this event
>>> Event: 52
78 hits stored in this event
>>> Event: 53
86 hits stored in this event
>>> Event: 54
80 hits stored in this event
>>> Event: 55
82 hits stored in this event
>>> Event: 56
234 hits stored in this event
>>> Event: 57
184 hits stored in this event
>>> Event: 58
68 hits stored in this event
>>> Event: 59
88 hits stored in this event
>>> Event: 60
46 hits stored in this event
>>> Event: 61
192 hits stored in this event
>>> Event: 62
333 hits stored in this event
>>> Event: 63
704 hits stored in this event
>>> Event: 64
970 hits stored in this event
>>> Event: 65
862 hits stored in this event
>>> Event: 66
76 hits stored in this event
>>> Event: 67
286 hits stored in this event
>>> Event: 68
81 hits stored in this event
>>> Event: 69
76 hits stored in this event
>>> Event: 70
53 hits stored in this event
>>> Event: 71
74 hits stored in this event
>>> Event: 72
61 hits stored in this event
>>> Event: 73
85 hits stored in this event
>>> Event: 74
217 hits stored in this event
>>> Event: 75
63 hits stored in this event
>>> Event: 76
69 hits stored in this event
>>> Event: 77
72 hits stored in this event
>>> Event: 78
248 hits stored in this event
>>> Event: 79
94 hits stored in this event
>>> Event: 80
1352 hits stored in this event
>>> Event: 81
2476 hits stored in this event
>>> Event: 82
138 hits stored in this event
>>> Event: 83
80 hits stored in this event
>>> Event: 84
72 hits stored in this event
>>> Event: 85
97 hits stored in this event
>>> Event: 86
91 hits stored in this event
>>> Event: 87
149 hits stored in this event
>>> Event: 88
310 hits stored in this event
>>> Event: 89
75 hits stored in this event
>>> Event: 90
90 hits stored in this event
>>> Event: 91
94 hits stored in this event
>>> Event: 92
105 hits stored in this event
>>> Event: 93
108 hits stored in this event
>>> Event: 94
1445 hits stored in this event
>>> Event: 95
65 hits stored in this event
>>> Event: 96
66 hits stored in this event
>>> Event: 97
125 hits stored in this event
149 hits stored in this event
>>> Event: 98
179 hits stored in this event
103 hits stored in this event
>>> Event: 99
131 hits stored in this event
102 hits stored in this event
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
### Run 2 starts.
--> Event 0 starts.
@@ -1251,5 +1296,8 @@ Step# X(mm) Y(mm) Z(mm) KinE(MeV) dE(MeV) StepLeng TrackLeng NextVolu
14 0 0 2.94e+03 1e+06 0 540 5.88e+03 OutOfWorld Transportation
>>> Event: 0
0 hits stored in this event
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...
+5 -4
View File
@@ -1,8 +1,9 @@
#---Adding example B2 subdirectories explicitly
#---Adding example B2 subdirectories explicitly
# and a custom target to for building all example B2 options ----------
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
add_subdirectory(B2a)
add_subdirectory(B2b)
+60 -53
View File
@@ -14,9 +14,16 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
02/11/20 B.Morgan (exampleB2-V10-06-02)
- Support same CMake version range as core Geant4
30/06/20 G. Cosmo (exampleB2-V10-06-01)
- Migrated examples to use G4RunManagerFactory, therefore implicitly enabling
tasking by default in MT builds.
13/02/20 I. Hrivnacova (exampleB2-V10-06-00)
- Updated READMEs and added a comment in B2PrimaryGeneratorAction
that starting a primary particle on the world boundary
that starting a primary particle on the world boundary
requires shooting in a direction towards inside the world
21/11/19 G. Cosmo (exampleB2-V10-05-00)
@@ -48,13 +55,13 @@ track of all tags.
- Fix a warning "'ui' may be used uninitialized in this function"
31/10/14 L. Garnier (exampleB2-V10-00-01)
exampleB2a/exampleB2b :
exampleB2a/exampleB2b :
- Remove old G4UI_USE/G4VIS_USE
- Move G4UIExecutive at the beginning of main()
- Move G4UIExecutive at the beginning of main()
02 December 2013 Ivana Hrivnacova
02 December 2013 Ivana Hrivnacova
- Fixed gui.mac:
corrected wireframe parameter, removed run2.mac from gui
corrected wireframe parameter, removed run2.mac from gui
30/11/13 I. Hrivnacova
- Fixed B2a/gui.mac
@@ -66,7 +73,7 @@ track of all tags.
- Fixed deleting fMagFieldMessenger with use of G4AutoDelete utility
12/11/13 I. Hrivnacova (exampleB2-V09-06-10)
- Avoid long lines
- Avoid long lines
29/10/13 I. Hrivnacova (exampleB2-V09-06-09)
- Using G4RunManager::SetPrintProgress()
@@ -100,13 +107,13 @@ track of all tags.
10/05/13 I. Hrivnacova (exampleB2-V09-06-01)
- Minor fixes in documentation
- Added initialization of base class in constructors where missing
09/05/13 M. Asai
- Migration to multi-threading
28/02/13 I. Hrivnacova
- When building materials with NistManager
do not set fromIsotopes argument (which was set to false),
do not set fromIsotopes argument (which was set to false),
as since 9.6 all materials have to be built from isotopes.
Thanks to V. Ivantchenko for pointing at this.
@@ -118,64 +125,64 @@ track of all tags.
- Updated vis.mac (on suggestions by John Al.):
- Activating drawing hits in vis.mac macros
- Increased hit screen size (from 2 to 4)
- In TrackerSD: removing obsolete line with
- In TrackerSD: removing obsolete line with
//newHit->Draw();
- General changes (see basic/History)
15/11/11 I. Hrivnacova
15/11/11 I. Hrivnacova
- Migration to new G4Exception in B2aDetectorConstruction.cc
and B2bChamberParameterisation.cc.
14/11/11 I. Hrivnacova
- The first tagged version of the new B2 example created from N02
example by P. Gumplinger (tagged in basic).
Started from novice/N03.
05-07-11 gum
05-07-11 gum
migrate to new novice example code guidelines
03-06-11 mma (exampleN02-V09-04-02)
03-06-11 mma (exampleN02-V09-04-02)
PhysicsList migrated to new scheme G4PhysListHelper
10-02-11 mma (exampleN02-V09-04-01)
- update SteppingVerbose
01-02-11 mma (exampleN02-V09-04-00)
- /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 1
04-06-10 J.Perl (exampleN02-V09-03-01)
- Updated vis usage
22-01-10 mma (exampleN02-V09-03-00)
- DetectorConstruction::SetMagField() : fpMagField->SetMagFieldValue()
15-11-09 mma (exampleN02-V09-02-01)
- Use G4MuMultipleScattering for muons
- Separate alpha from GenericIon
- Separate alpha from GenericIon
30 October 2009 John Allison (exampleN02-V09-02-00)
- Introduced G4UIExecutive.
- Introduced G4UIExecutive.
17-12-08 mma
- vis.mac : /vis/scene/add/trajectories smooth
- vis.mac : /vis/scene/add/trajectories smooth
31-10-08 mma (exampleN02-V09-01-04)
- Use G4hMultipleScattering for muons and protons
26-10-08 mma (exampleN02-V09-01-03)
- Update PhysicsList for proton and ions
22-09-08 mma (exampleN02-V09-01-02)
- PhysicsList : AddStepMax() for G4StepLimiter
- DetectorConstruction : SetMaxStep(value)
- DetectorMessenger : /N02/det/stepMax
07-05-08 J.Allison (exampleN02-V09-01-01)
- Protected "/control/execute vis.mac" with G4VIS_USE flag.
03-05-08 mma (exampleN02-V09-01-00)
- PhysicsList : replace G4MultipleScattering by G4eMultipleScattering
17-10-07 G.Cosmo (exampleN02-V09-00-02)
- Explicitely delete allocated parameterisation and step-limit objects
in ExN02DetectorConstruction class.
@@ -205,16 +212,16 @@ PhysicsList migrated to new scheme G4PhysListHelper
02-06-06 mma (exampleN02-V08-00-01)
- ExN02TrackerSD.cc: replace Touchable by TouchableHandle
31-03-06 mma (exampleN02-V08-00-00)
- Add a sentence in README for G4UserLimits and G4StepLimiter.
01-06-05 J.Allison (exampleN02-V07-00-03)
- ExN02TrackerHit.cc: Changed screen size to 2 pixels.
31-05-05 mma (exampleN02-V07-00-02)
- G4UserLimits + G4StepLimiter become uncommented
30-05-05 J.Allison (exampleN02-V07-00-01)
- Completed replacement of vis manager with G4VisExecutive.
@@ -223,20 +230,20 @@ PhysicsList migrated to new scheme G4PhysListHelper
28-01-05 mma (exampleN02-V07-00-00)
- PhysicsList: add G4StepLimiter (in a commented line)
16-09-04 mma (exampleN02-V06-02-01)
- DetectorConstruction: modify a comment in PVPlacement. // copy number
08-09-04 J.Allison (exampleN02-V06-02-00)
- Removed trajectory printing from ExN02EventAction - now available
with /vis/scene/add/trajectories, which is now included in vis.mac.
05-04-04 mma (exampleN02-V06-01-00)
- ExN02DetectorConstruction: correct definition of XenonGas
19-03-04 mma (exampleN02-V06-00-01)
- ExN02PhysicsList: cleanup of include
08-03-04 mma (exampleN02-V06-00-00)
- ExN02RunAction: removed ApplyCommand("/vis/...") statements.
@@ -249,7 +256,7 @@ PhysicsList migrated to new scheme G4PhysListHelper
24-10-03 mma (exampleN02-V05-02-01)
- PhysicsList: AddProcess(Bremsstrahlung,-1,3,3) ..etc..
06-10-03 mma (exampleN02-V05-02-00)
- cosmetic cleanup in material definitions
@@ -257,11 +264,11 @@ PhysicsList migrated to new scheme G4PhysListHelper
- Get rid of pedantic warnings...
25-03-03 mma (exampleN02-V05-00-02)
- Use G4PVPlacement and G4PVParametrised constructors in logical mother.
- Use G4PVPlacement and G4PVParametrised constructors in logical mother.
11-02-03 mma (exampleN02-V05-00-00)
- a blank in SteppingVerbose
27-11-01 mma (exampleN02-V03-02-04)
- vis.mac: /vis/viewer/set/viewpointThetaPhi
@@ -269,21 +276,21 @@ PhysicsList migrated to new scheme G4PhysListHelper
- Updated ExN02VisManager.cc for new graphics systems and defaults.
07-11-01 S.Tanaka (exampleN02-V03-02-02)
- vis.mac: /vis/viewer/refresh + /vis/viewer/update is replaced
with their equivalent command /vis/viewer/flush.
- vis.mac: /vis/viewer/refresh + /vis/viewer/update is replaced
with their equivalent command /vis/viewer/flush.
24-10-01 mma (exampleN02-V03-02-01)
- initInter.mac renamed vis.mac
19-10-01 S.O'Neale (examples-V03-02-00)
- Update reference output
11-10-01 mma (exampleN02-V03-02-00)
- adapted to new visualisation commands (initInter and EventAction)
- 80 columns max everywhere
12-07-01 mma
- DetectorMessenger: setField, help: magnetic field in X dirction
- DetectorMessenger: setField, help: magnetic field in X dirction
20-02-01 S.O'Neale (exampleN02-V03-00-03) update reference outputs following
materials-V03-00-04 (tagset 268)
@@ -329,7 +336,7 @@ PhysicsList migrated to new scheme G4PhysListHelper
- TrackerHit: a Hit = 4 informations: trackID, chamberNb, edep, position.
Draw and Print
- TrackerSD: ProcessHits.
Print HitsCollection at end of event
Print HitsCollection at end of event
25th November 2000 Steve O'Neale (tagset210)
- Update test outputs for min.delta energy cut
@@ -354,11 +361,11 @@ June 17, 2000 John Allison (exampleN02-V01-01-00)
- Updated exampleN02.out for geant4-01-01-ref-06.
25-02-00 H.Kurashige
- removed RhoZeroDefinition from PhysicsList
- removed RhoZeroDefinition from PhysicsList
15-11-99 M.Maire
- example of user SteppingVerbose class: verbose with units
16th April 1999 H.Kurashige
- modify ExN02SteppingAction::UserSteppingAction
- modify ExN02PhysicsList::SetCuts
@@ -367,13 +374,13 @@ June 17, 2000 John Allison (exampleN02-V01-01-00)
- corrected the Magnetic Field SetField methods
- cosmetic change to the name of a volume (chamber), as it was too long.
12th Sptember 1998 Michel Maire
- removed the function SetEmProcess() ( contained cin)
- removed the function SetEmProcess() ( contained cin)
and the class ExN02PhysicsListMessenger
Interchanged N02 and N03.
9th August 1998 John Allison
- Removed trackerChamber_logVisAtt->SetForceWireframe(true);
- Removed G4_SOLVE_TEMPLATES macros (now done in architecture.gmk).
@@ -392,7 +399,7 @@ June 17, 2000 John Allison (exampleN02-V01-01-00)
- Simplified ExN03VisManager.
June 29 , 98 H.Kurashige
- Modified ExN03PhysicsList.
- Modified ExN03PhysicsList.
May 15, 98 G. Cosmo
@@ -413,8 +420,8 @@ May 05, 98 J. Apostolakis
May 01, 98 J. Apostolakis
- Files created by copying from exampleEmPhys2, renaming the files
and the classes within them, changing the string "My" into
- Files created by copying from exampleEmPhys2, renaming the files
and the classes within them, changing the string "My" into
- Major changes made:
* Event action: deleted energy counting.
+4 -2
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B3a)
#----------------------------------------------------------------------------
+3 -10
View File
@@ -29,11 +29,7 @@
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "G4VisExecutive.hh"
@@ -64,11 +60,8 @@ int main(int argc,char** argv)
// Construct the default run manager
//
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
#else
G4RunManager* runManager = new G4RunManager;
#endif
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
// Set mandatory initialization classes
//
+17 -10
View File
@@ -1,10 +1,11 @@
Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Forcing G4RunManager type...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -26,10 +27,12 @@ Registered graphics systems are:
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
OpenGLImmediateXm (OGLIXm, OGLI)
OpenGLStoredXm (OGLSXm, OGL, OGLS)
OpenGLImmediateX (OGLIX, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSXm_FALLBACK)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
RayTracerX (RayTracerX)
Registering model factories...
@@ -231,7 +234,8 @@ G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
### Run 0 start.
... open Root analysis file : scoring.root - done
... create file : scoring.root - done
... open analysis file : scoring.root - done
--> Event 0 starts.
--> Event 1000 starts.
--> Event 2000 starts.
@@ -244,11 +248,14 @@ See commands in /vis/modeling/trajectories/ for other options.
--> Event 9000 starts.
--------------------End of Global Run-----------------------
The run was 10000 events Nb of 'good' e+ annihilations: 1356
Total dose in patient : 305.61 picoGy
The run was 10000 events Nb of 'good' e+ annihilations: 1290
Total dose in patient : 307.356 picoGy
------------------------------------------------------------
... write Root file : scoring.root - done
... close Root file : scoring.root - done
... write file : scoring.root - done
... close file : scoring.root - done
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...
+4 -2
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B3b)
#----------------------------------------------------------------------------
+3 -10
View File
@@ -29,11 +29,7 @@
#include "G4Types.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "G4VisExecutive.hh"
@@ -64,11 +60,8 @@ int main(int argc,char** argv)
// Construct the default run manager
//
#ifdef G4MULTITHREADED
G4MTRunManager* runManager = new G4MTRunManager;
#else
G4RunManager* runManager = new G4RunManager;
#endif
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
// Set mandatory initialization classes
//
+18 -11
View File
@@ -1,10 +1,11 @@
Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Forcing G4RunManager type...
############################################
!!! WARNING - FPE detection is activated !!!
############################################
**************************************************************
Geant4 version Name: geant4-10-06-ref-06 (26-June-2020)
Geant4 version Name: geant4-10-07-ref-00 (4-December-2020)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -26,10 +27,12 @@ Registered graphics systems are:
VRML1FILE (VRML1FILE)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
OpenGLImmediateXm (OGLIXm, OGLI)
OpenGLStoredXm (OGLSXm, OGL, OGLS)
OpenGLImmediateX (OGLIX, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSXm_FALLBACK)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
OpenGLImmediateXm (OGLIXm, OGLIQt_FALLBACK)
OpenGLStoredXm (OGLSXm, OGLSQt_FALLBACK)
OpenGLImmediateX (OGLIX, OGLIQt_FALLBACK, OGLIXm_FALLBACK)
OpenGLStoredX (OGLSX, OGLSQt_FALLBACK, OGLSXm_FALLBACK)
RayTracerX (RayTracerX)
Registering model factories...
@@ -231,7 +234,8 @@ G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
### Run 0 start.
... open Root analysis file : scoring.root - done
... create file : scoring.root - done
... open analysis file : scoring.root - done
--> Event 0 starts.
---> end of event: 0
@@ -246,12 +250,15 @@ See commands in /vis/modeling/trajectories/ for other options.
--> Event 9000 starts.
--------------------End of Global Run-----------------------
The run was 10000 events Nb of 'good' e+ annihilations: 1356
Total dose in patient : 305.61 picoGy
Total dose in patient : 3.0561e-10 [sigma: 1.73976e-14 | error: 0.00569274 | coeff: 0.00569274 | eff: 1 | fom: 2805.2 | r2int: 3.24041e-05 | r2eff: 0 | hits: 10000 ] Gy
The run was 10000 events Nb of 'good' e+ annihilations: 1290
Total dose in patient : 307.356 picoGy
Total dose in patient : 3.07356e-10 [sigma: 1.76019e-14 | error: 0.00572687 | coeff: 0.00572687 | eff: 1 | fom: 30490.6 | r2int: 3.27938e-05 | r2eff: 0 | hits: 10000 ] Gy
------------------------------------------------------------
... write Root file : scoring.root - done
... close Root file : scoring.root - done
... write file : scoring.root - done
... close file : scoring.root - done
0 events have been kept for refreshing and/or reviewing.
"/vis/reviewKeptEvents" to review them one by one.
"/vis/enable", then "/vis/viewer/flush" or "/vis/viewer/rebuild" to see them accumulated.
Graphics systems deleted.
Visualization Manager deleting...
+5 -4
View File
@@ -1,8 +1,9 @@
#---Adding example B2 subdirectories explicitly
#---Adding example B3 subdirectories explicitly
# and a custom target to for building all example B2 options ----------
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
add_subdirectory(B3a)
add_subdirectory(B3b)
+27 -20
View File
@@ -14,6 +14,13 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
02/11/20 B.Morgan (exampleB3-V10-06-01)
- Support same CMake version range as core Geant4
30/06/20 G. Cosmo (exampleB3-V10-06-00)
- Migrated examples to use G4RunManagerFactory, therefore implicitly enabling
tasking by default in MT builds.
21/11/19 G. Cosmo (exampleB3-V10-05-02)
- Use default MixMax random engine.
@@ -25,7 +32,7 @@ track of all tags.
30/11/18 I. Hrivnacova (exampleB3-V10-04-05)
- Moved the previous update from B3b in B3 documentation
and removed obsolete README files from B3a and B3b.
and removed obsolete README files from B3a and B3b.
16/11/18 J. Madsen (exampleB3-V10-04-04)
- Updated documentation for example B3b
@@ -35,7 +42,7 @@ track of all tags.
to demonstrate statistical computations in a basic example
30/10/18 I. Hrivnacova (exampleB3-V10-04-02)
- Removed usage of G4ScoreNtupleWriter;
- Removed usage of G4ScoreNtupleWriter;
will be demonstrated in a new extended analysis example
26/10/18 I. Hrivnacova (exampleB3-V10-04-01)
@@ -72,12 +79,12 @@ track of all tags.
05/11/15 I. Hrivnacova (exampleB3-V10-01-01)
- Splitting example in two variants of merging data:
-B3a (new) with the code based on G4Parameter
-B3a (new) with the code based on G4Parameter
-B3b (as previous B3) with the code based on G4Run
04/05/15 I. Hrivnacova (exampleB3-V10-01-00)
- Coding guidelines: removed empty lines
29/11/14 I. Hrivnacova
- Use G4endl instead of \n in G4cout;
this makes each new line in the output on threads preceded with
@@ -91,12 +98,12 @@ track of all tags.
04/11/14 L. Garnier (exampleB3-V10-00-01)
- Remove old G4UI_USE/G4VIS_USE
- Move G4UIExecutive at the beginning of main()
- Move G4UIExecutive at the beginning of main()
29/10/13 I. Hrivnacova (exampleB3-V09-06-06)
- Removed SetNumberOfThreads(4) from main (use Geant4 default)
- Updated README
09/09/13 M.Asai (exampleB3-V09-06-05)
- B3PrimaryGeneratorAction.cc : Change G4ParticleTable::GetIon() to
G4IonTable::GetIon(), as the former method becomes obsolete.
@@ -107,44 +114,44 @@ track of all tags.
- Get hits collection IDs in B3Run::RecordEvent (and not B3Run constructor)
- Add a test for primary generator action in B3RunAction::EndOfRunAction()
as it does not exist on master
05/06/13 mma (exampleB3-V09-06-03)
- add section about ACTION INITALIZATION to README and .README
01/06/13 mma (exampleB3-V09-06-02)
- Migration for MT:
forgotten to add B3Run
31/05/13 mma (exampleB3-V09-06-01)
- Migration for MT:
Added B3ActionInitialization, B3Run
Removed B3EventAction
and updated actions classes accordingly.
README files still need to be updated.
28/02/13 I. Hrivnacova
- When building materials with NistManager
do not set fromIsotopes argument (which was set to false),
do not set fromIsotopes argument (which was set to false),
as since 9.6 all materials have to be built from isotopes.
Thanks to V. Ivantchenko for pointing at this.
21/11/11 I. Hrivnacova
21/11/11 I. Hrivnacova
- Improved vis.mac
- Removed alternative detector construction class
- Removed alternative detector construction class
14/11/11 I. Hrivnacova
- The first tagged version of the new B3 example
(tagged in basic).
11-11-11 (mma)
11-11-11 (mma)
- EventAction: printModulo 10000
01-11-11 (mma)
01-11-11 (mma)
- DetectorConstruction2: - add an offset when replicate dPhi
29-09-11 (mma)
29-09-11 (mma)
- DetectorConstruction: - replace crystal shape Trd by Box
- add a gap for wrapping
27-06-11 michel maire
27-06-11 michel maire
- Created.
+4 -2
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B4a)
#----------------------------------------------------------------------------
+3 -8
View File
@@ -30,11 +30,7 @@
#include "B4DetectorConstruction.hh"
#include "B4aActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "G4UIcommand.hh"
@@ -99,13 +95,12 @@ int main(int argc,char** argv)
// Construct the default run manager
//
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
#ifdef G4MULTITHREADED
auto runManager = new G4MTRunManager;
if ( nThreads > 0 ) {
runManager->SetNumberOfThreads(nThreads);
}
#else
auto runManager = new G4RunManager;
#endif
// Set mandatory initialization classes
File diff suppressed because it is too large Load Diff
@@ -34,4 +34,7 @@
//#include "g4csv.hh"
//#include "g4xml.hh"
//#include "G4GenericAnalysisManager.hh"
//using G4AnalysisManager = G4GenericAnalysisManager;
#endif
+2
View File
@@ -4,6 +4,8 @@
# % exampleB4[a,b,c,d] run2.mac
#
#/run/numberOfThreads 4
#/control/cout/ignoreThreadsExcept 0
#
/run/initialize
#
# Default kinemtics:
+4 -2
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B4b)
#----------------------------------------------------------------------------
+3 -8
View File
@@ -30,11 +30,7 @@
#include "B4DetectorConstruction.hh"
#include "B4bActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "G4UIcommand.hh"
@@ -99,13 +95,12 @@ int main(int argc,char** argv)
// Construct the default run manager
//
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
#ifdef G4MULTITHREADED
auto runManager = new G4MTRunManager;
if ( nThreads > 0 ) {
runManager->SetNumberOfThreads(nThreads);
}
#else
auto runManager = new G4RunManager;
#endif
// Set mandatory initialization classes
File diff suppressed because it is too large Load Diff
@@ -34,4 +34,7 @@
//#include "g4csv.hh"
//#include "g4xml.hh"
//#include "G4GenericAnalysisManager.hh"
//using G4AnalysisManager = G4GenericAnalysisManager;
#endif
+2
View File
@@ -4,6 +4,8 @@
# % exampleB4[a,b,c,d] run2.mac
#
#/run/numberOfThreads 4
#/control/cout/ignoreThreadsExcept 0
#
/run/initialize
#
# Default kinemtics:
+4 -2
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B4c)
#----------------------------------------------------------------------------
+3 -8
View File
@@ -30,11 +30,7 @@
#include "B4cDetectorConstruction.hh"
#include "B4cActionInitialization.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "G4UIcommand.hh"
@@ -99,13 +95,12 @@ int main(int argc,char** argv)
// Construct the default run manager
//
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
#ifdef G4MULTITHREADED
G4MTRunManager * runManager = new G4MTRunManager;
if ( nThreads > 0 ) {
runManager->SetNumberOfThreads(nThreads);
}
#else
G4RunManager * runManager = new G4RunManager;
#endif
// Set mandatory initialization classes
File diff suppressed because it is too large Load Diff
@@ -34,4 +34,7 @@
//#include "g4csv.hh"
//#include "g4xml.hh"
//#include "G4GenericAnalysisManager.hh"
//using G4AnalysisManager = G4GenericAnalysisManager;
#endif
+2
View File
@@ -4,6 +4,8 @@
# % exampleB4[a,b,c,d] run2.mac
#
#/run/numberOfThreads 4
#/control/cout/ignoreThreadsExcept 0
#
/run/initialize
#
# Default kinemtics:
+4 -2
View File
@@ -1,8 +1,10 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B4d)
#----------------------------------------------------------------------------
+6 -10
View File
@@ -31,11 +31,7 @@
#include "B4dActionInitialization.hh"
#include "B4Analysis.hh"
#ifdef G4MULTITHREADED
#include "G4MTRunManager.hh"
#else
#include "G4RunManager.hh"
#endif
#include "G4RunManagerFactory.hh"
#include "G4UImanager.hh"
#include "FTFP_BERT.hh"
@@ -98,13 +94,13 @@ int main(int argc,char** argv)
// Construct the MT run manager
//
auto* runManager =
G4RunManagerFactory::CreateRunManager(G4RunManagerType::Default);
#ifdef G4MULTITHREADED
auto runManager = new G4MTRunManager;
if ( nThreads > 0 ) {
if ( nThreads > 0 ) {
runManager->SetNumberOfThreads(nThreads);
}
#else
auto runManager = new G4RunManager;
}
#endif
// Set mandatory initialization classes
File diff suppressed because it is too large Load Diff
@@ -34,4 +34,7 @@
//#include "g4csv.hh"
//#include "g4xml.hh"
//#include "G4GenericAnalysisManager.hh"
//using G4AnalysisManager = G4GenericAnalysisManager;
#endif
+2
View File
@@ -4,6 +4,8 @@
# % exampleB4[a,b,c,d] run2.mac
#
#/run/numberOfThreads 4
#/control/cout/ignoreThreadsExcept 0
#
/run/initialize
#
# Default kinemtics:
+5 -4
View File
@@ -1,8 +1,9 @@
#---Adding example N3 subdirectories explicitly
#---Adding example N3 subdirectories explicitly
# and a custom target to for building all example N3 options ----------
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
add_subdirectory(B4a)
add_subdirectory(B4b)
+36 -19
View File
@@ -13,7 +13,24 @@ track of all tags.
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06/11/20 I. Hrivnacova (exampleB4-V10-06-04)
- Updated B4Analysis.hh with commented lines for using new generic analysis manager
- Added "ignoreThreadsExcept 0" setting in run2.mac (commented)
02/11/20 B.Morgan (exampleB4-V10-06-03)
- Support same CMake version range as core Geant4
19/07/20 G. Cosmo (exampleB4-V10-06-02)
- Removed redundant inclusion of headers in example B4d main().
17/07/20 I. Hrivnacova (exampleB4-V10-06-01)
- Migrated B4d example to use G4RunManagerFactory.
30/06/20 G. Cosmo (exampleB4-V10-06-00)
- Migrated examples (except for B4d) to use G4RunManagerFactory, therefore
implicitly enabling tasking by default in MT builds.
21/11/19 G. Cosmo (exampleB4-V10-05-04)
- Use default MixMax random engine.
@@ -31,14 +48,14 @@ track of all tags.
- Corrected name of include file: csv.hh.
07/11/18 I. Hrivnacova (exampleB4-V10-04-03)
- Fixed CMake: added missing plotNtuple.C
- Fixed CMake: added missing plotNtuple.C
30/10/18 I. Hrivnacova (exampleB4-V10-04-02)
- Removed usage of G4ScoreNtupleWriter;
- Removed usage of G4ScoreNtupleWriter;
will be demonstrated in a new extended analysis example
26/10/18 I. Hrivnacova (exampleB4-V10-04-01)
- Activated storing scorers hits in B4d in Root file using
- Activated storing scorers hits in B4d in Root file using
new G4ScoreNtupleWriter
- Updated README
@@ -73,10 +90,10 @@ track of all tags.
04/05/15 I. Hrivnacova (exampleB4-V10-01-02)
- Coding guidelines: removed empty lines
18/02/15 I. Hrivnacova (exampleB4-V10-01-01)
- Fixed accessing gapHit (problem report #1714)
02/02/15 I. Hrivnacova (exampleB4-V10-01-00)
- Fixed documentation
@@ -102,9 +119,9 @@ track of all tags.
11/08/14 mma (exampleB4-V10-00-00)
- Restaure drawing in README and .README
02 December 2013 Ivana Hrivnacova
02 December 2013 Ivana Hrivnacova
- Fixed gui.mac:
corrected wireframe parameter, removed run2.mac from gui
corrected wireframe parameter, removed run2.mac from gui
28/11/13 I. Hrivnacova (exampleB4-V09-06-18)
- Clean-up macros (fixed obsolete comments)
@@ -113,7 +130,7 @@ track of all tags.
- Fixed deleting fMagFieldMessenger with use of G4AutoDelete utility
30/10/13 I. Hrivnacova (exampleB4-V09-06-16)
- Added a protection when /run/printProgress value is set to zero
- Added a protection when /run/printProgress value is set to zero
30/10/13 I. Hrivnacova (exampleB4-V09-06-15)
- Updated README
@@ -128,12 +145,12 @@ track of all tags.
- Using Gent4 default number of threads when not set via command line
- Updated README
01/10/13 I. Hrivnacova (exampleB4-V09-06-12)
01/10/13 I. Hrivnacova (exampleB4-V09-06-12)
- Updated for changes in analysis:
removal of G4AnalysisManager::Create(isMaster)
19/08/13 I. Hrivnacova (exampleB4-V09-06-11)
- Fixed B4[b]RunAction::EndOfRunAction() again: to get the printed
- Fixed B4[b]RunAction::EndOfRunAction() again: to get the printed
histogram statistics correct
24/07/13 P. Gumplinger (exampleB4-V09-06-10)
@@ -156,20 +173,20 @@ track of all tags.
29/05/13 I. Hrivnacova (exampleB4-V09-06-05)
- Fixed detector construction classes:
Moving creating setMagField command from the constructor in
Moving creating setMagField command from the constructor in
ConstructSDandField(), as the command has to be created per thread,
and declaring fMagField and fMessenger data members as static
and declaring fMagField and fMessenger data members as static
G4ThreadLocal
24/04/13 M. Asai (exampleB4-V09-06-04)
- Recover GNUmakefiles.
23/04/13 I. Hrivnacova (exampleB4-V09-06-03)
- Use G4Random::setTheEngine instead of CLHEP::HepRandom in main
- Use G4Random::setTheEngine instead of CLHEP::HepRandom in main
(needed for MT)
- In B4b: merged B4bRunAction and B4RunAction in one class
- Removed unnecessary includes in run action files
- Minor fixes of coding guidelines
- Minor fixes of coding guidelines
18/04/13 M. Asai (exampleB4-V09-06-02)
- Migrated to the new G4VUserActionInitialization class.
@@ -182,7 +199,7 @@ track of all tags.
28/02/13 I. Hrivnacova
- When building materials with NistManager
do not set fromIsotopes argument (which was set to false),
do not set fromIsotopes argument (which was set to false),
as since 9.6 all materials have to be built from isotopes.
Thanks to V. Ivantchenko for pointing at this.
@@ -194,7 +211,7 @@ track of all tags.
18/09/12 I. Hrivnacova
- Updated code using analysis:
- Now only a selected analysis manager is included
- Now only a selected analysis manager is included
- Making directories in output file is optional
- Adding a line using G4AnalysisManager::GetType()
- General changes (see basic/History)
@@ -205,7 +222,7 @@ track of all tags.
constructors in the constructor body and not in the initialization list
(to avoid passing 'this' in the initializer list).
14/11/11 I. Hrivnacova
14/11/11 I. Hrivnacova
- The first tagged version of the new B4 example
(tagged in basic).
(tagged in basic).
Started from novice/N03.
+2
View File
@@ -4,6 +4,8 @@
# % exampleB4[a,b,c,d] run2.mac
#
#/run/numberOfThreads 4
#/control/cout/ignoreThreadsExcept 0
#
/run/initialize
#
# Default kinemtics:
+13 -2
View File
@@ -204,8 +204,19 @@
- Vector of energy deposits in EM calorimeter cells
- Vector of energy deposits in Hadronic calorimeter cells
The histograms and ntuple are saved in the output file in a format
according to a technology selected in B5Analysis.hh.
The histograms and ntuple are saved in two output files in a default
(Root) file format.
Another file format (for example xml) can be selected either by
changing the generic analysis manager default file type:
\verbatim
analysisManager->SetDefaultFileType("xml");
\endverbatim
or by providing the file names with the extension:
\verbatim
analysisManager->SetFileName("B5.xml");
analysisManager->SetNtupleFileName(0, "B4ntuple.xml");
\endverbatim
When running in multi-threading mode, the histograms and ntuple accumulated
on threads are automatically merged in a single output file.
+11 -8
View File
@@ -1,6 +1,9 @@
#----------------------------------------------------------------------------
# Setup the project
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
project(B5)
#----------------------------------------------------------------------------
@@ -25,7 +28,7 @@ include(${Geant4_USE_FILE})
# Locate sources and headers for this project
# NB: headers are included so they will show up in IDEs
#
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include
${Geant4_INCLUDE_DIR})
file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
@@ -42,15 +45,15 @@ target_link_libraries(exampleB5 ${Geant4_LIBRARIES})
# relies on these scripts being in the current working directory.
#
set(B5_SCRIPTS
exampleB5.in
exampleB5.out
exampleB5.in
exampleB5.out
icons.mac
gui.mac
run.png
init.mac
init_vis.mac
run1.mac
run2.mac
init.mac
init_vis.mac
run1.mac
run2.mac
vis.mac
)
+8
View File
@@ -14,6 +14,14 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06 Nov 2020 I. Hrivnacova (exampleB5-V10-06-02)
- Replaced use of G4Analysis::ManagerInstance("root") with new
generic analysis manager
- Storing ntuple in a separate file
02 Nov 2020 B.Morgan (exampleB5-V10-06-01)
- Support same CMake version range as core Geant4
10 June 2020 Jonathan Madsen (exampleB5-V10-06-00)
- Migrated to new G4RunManagerFactory
+9 -2
View File
@@ -201,8 +201,15 @@
- Vector of energy deposits in EM calorimeter cells
- Vector of energy deposits in Hadronic calorimeter cells
The histograms and ntuple are saved in the output file in a format
according to a technology selected in B5Analysis.hh.
The histograms and ntuple are saved in two output files in a default
(Root) file format.
Another file format (for example xml) can be selected either by
changing the generic analysis manager default file type:
analysisManager->SetDefaultFileType("xml");
or by providing the file names with the extension:
analysisManager->SetFileName("B5.xml");
analysisManager->SetNtupleFileName(0, "B4ntuple.xml");
When running in multi-threading mode, the histograms and ntuple accumulated
on threads are automatically merged in a single output file.
+2
View File
@@ -10,6 +10,8 @@
/B5/generator/sigmaAngle 0.
/run/printProgress 5
#
/analysis/ntuple/setFileName 0 B5ntuple
#
/B5/detector/armAngle 30. deg
/gun/particle proton
/B5/generator/momentum 100. GeV
File diff suppressed because it is too large Load Diff
+5
View File
@@ -4,6 +4,8 @@
# % exampleB5 run2.mac
#
#/run/numberOfThreads 4
/control/cout/ignoreThreadsExcept 0
#
/run/initialize
#
# turn off randomization
@@ -19,6 +21,7 @@
/B5/generator/momentum 100. GeV
/B5/field/value 100. tesla
/analysis/setFileName B5_proton
/analysis/ntuple/setFileName 0 B5ntuple_proton
/run/beamOn 30
#
/B5/detector/armAngle 60. deg
@@ -26,6 +29,7 @@
/B5/generator/momentum 100. GeV
/B5/field/value 200. tesla
/analysis/setFileName B5_pi+
/analysis/ntuple/setFileName 0 B5ntuple_pi+
/run/beamOn 30
#
/gun/particle e+
@@ -33,5 +37,6 @@
/B5/generator/momentum 100. GeV
/B5/field/value 100. tesla
/analysis/setFileName B5_e+
/analysis/ntuple/setFileName 0 B5ntuple_e+
/run/beamOn 30
+14 -8
View File
@@ -33,7 +33,9 @@
#include "G4Run.hh"
#include "G4UnitsTable.hh"
#include "G4SystemOfUnits.hh"
#include "g4analysis.hh"
#include "G4GenericAnalysisManager.hh"
using G4AnalysisManager = G4GenericAnalysisManager;
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -41,19 +43,21 @@ B5RunAction::B5RunAction(B5EventAction* eventAction)
: G4UserRunAction(),
fEventAction(eventAction)
{
// Create the analysis manager using a new factory method.
// The choice of analysis technology is done via the function argument.
auto analysisManager = G4Analysis::ManagerInstance("root");
G4cout << "Using " << analysisManager->GetType() << G4endl;
// Create the generic analysis manager
// The choice of analysis technology is done according to the file extension
auto analysisManager = G4AnalysisManager::Instance();
analysisManager->SetVerboseLevel(1);
// Default settings
analysisManager->SetNtupleMerging(true);
// Note: merging ntuples is available only with Root output
analysisManager->SetVerboseLevel(1);
analysisManager->SetFileName("B5");
// If the filename extension is not provided, the default file type (root)
// will be used for all files specified without extension.
// analysisManager->SetDefaultFileType("xml");
// The default file type (root) can be redefined by the user.
// Book histograms, ntuple
//
// Creating 1D histograms
analysisManager
@@ -70,7 +74,6 @@ B5RunAction::B5RunAction(B5EventAction* eventAction)
50, -1500., 1500, 50, -300., 300.);
// Creating ntuple
//
if ( fEventAction ) {
analysisManager->CreateNtuple("B5", "Hits");
analysisManager->CreateNtupleIColumn("Dc1Hits"); // column Id = 0
@@ -85,6 +88,9 @@ B5RunAction::B5RunAction(B5EventAction* eventAction)
->CreateNtupleDColumn("HCEnergyVector", fEventAction->GetHadCalEdep());
analysisManager->FinishNtuple();
}
// Set ntuple output file
analysisManager->SetNtupleFileName(0, "B4ntuple");
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+5 -4
View File
@@ -1,8 +1,9 @@
#---Adding examples subdirectories explicitly
#---Adding examples subdirectories explicitly
# and a custom target to for building all basic examples -------------
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
cmake_minimum_required(VERSION 3.8...3.18)
if(${CMAKE_VERSION} VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
endif()
add_subdirectory(B1)
add_subdirectory(B2)
+22 -12
View File
@@ -6,7 +6,7 @@
Examples basic History file
----------------------------
This file should be used by the G4 example coordinator to briefly
summarize all major modifications introduced in the code and keep
track of all tags.
@@ -15,6 +15,16 @@ track of all tags.
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
06/11/20, I. Hrivnacova (exbasic-V10-06-03)
- Updated category README
02/11/20, B. Morgan (exbasic-V10-06-02)
- Support same CMake version range as core Geant4
30/06/20, G. Cosmo (exbasic-V10-06-01)
- Migrated all basic examples to use G4RunManagerFactory, therefore
implicitly enabling tasking by default in MT builds.
24/01/20, A. Zaborowska (exbasic-V10-06-00)
- Fix suggested in macros command /run/numberOfThreads
@@ -42,10 +52,10 @@ track of all tags.
02/12/13 I. Hrivnacova (exbasic-V09-06-03)
- Fixed gui.mac in B2, B4 and B5:
corrected wireframe parameter, removed run2.mac from gui
corrected wireframe parameter, removed run2.mac from gui
30/11/13 I. Hrivnacova (exbasic-V09-06-02)
- Fixes in documentation
- Fixes in documentation
- Fixed B2a/gui.mac and obsolete comments in a few more macros
09/11/13 I. Hrivnacova (exbasic-V09-06-01)
@@ -54,7 +64,7 @@ track of all tags.
28/02/13 I. Hrivnacova (exbasic-V09-06-00)
- When building materials with NistManager
do not set fromIsotopes argument (which was set to false),
do not set fromIsotopes argument (which was set to false),
as since 9.6 all materials have to be built from isotopes.
Thanks to V. Ivantchenko for pointing at this.
@@ -69,7 +79,7 @@ track of all tags.
- Updated documentation:
- Fixed .README files for artefacts from Markdown support
- Removed obsolete instructions (how to compile & link)
- Updated info about used physics lists and needed data files
- Updated info about used physics lists and needed data files
02/11/12 I. Hrivnacova (exbasic-V09-05-02)
- Fixed CMake build for added macros in B2, B4
@@ -84,20 +94,20 @@ track of all tags.
18/09/12 I. Hrivnacova (exbasic-V09-05-00)
- Adding explicit includes of G4SystemOfUnits.hh and G4PhysicalConstants.hh
where needed
- Replaced tabulators with space characters
- Replaced tabulators with space characters
- Updated .README
29/11/11 B.Morgan (exbasic-V09-04-05)
- Fixed CMakeLists.txt to setup UI and VIS as needed, and copy all macros
to build directory so executable is runnable directly.
23/11/11 I. Hrivnacova (exbasic-V09-04-04)
23/11/11 I. Hrivnacova (exbasic-V09-04-04)
- Fixed the example name in the top comment line in init.mac and
init_vis.mac
init_vis.mac
21/11/11 I. Hrivnacova (exbasic-V09-04-03)
- Improved vis.mac
- Removed alternative detector construction class in B3
21/11/11 I. Hrivnacova (exbasic-V09-04-03)
- Improved vis.mac
- Removed alternative detector construction class in B3
18/11/11 I. Hrivnacova (exbasic-V09-04-02)
- Fixes in macros and README files
@@ -105,7 +115,7 @@ track of all tags.
15/11/11 I. Hrivnacova (exbasic-V09-04-01)
- Migration to new G4Exception in B2aDetectorConstruction.cc
and B2bChamberParameterisation.cc.
14/11/11 I. Hrivnacova (exbasic-V09-04-00)
- The first tagged version of the new basic examples.
+1 -1
View File
@@ -52,5 +52,5 @@
G4 sensitive detector and hits
- Geant4 physics list (FTFP_BERT) with step limiter
- UI commans defined using G4GenericMessenger
- Histograms (1D, 2D) and ntuple saved in the output file
- Histograms (1D, 2D) and ntuple saved in two output files
- Started from extended/analysis/A01