Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
+11
View File
@@ -144,6 +144,11 @@ The following paragraphs are common to all basic examples
ls or browse the available UI commands in the Application
Developers Guide, Section 7.1.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,\n
@@ -162,10 +167,16 @@ The following paragraphs are common to all basic examples
The user command interface is set via the G4UIExecutive class
in the main() function in exampleB1.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
\section B1_C HOW TO RUN
- Execute exampleB1 in the 'interactive mode' with visualization
+6 -28
View File
@@ -1,26 +1,14 @@
#----------------------------------------------------------------------------
# Setup the project
#
cmake_minimum_required(VERSION 3.16...3.27)
project(B1)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -30,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB1 exampleB1.cc ${sources} ${headers})
target_link_libraries(exampleB1 ${Geant4_LIBRARIES})
target_include_directories(exampleB1 PRIVATE include)
target_link_libraries(exampleB1 PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -56,14 +45,3 @@ foreach(_script ${EXAMPLEB1_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# For internal Geant4 use - but has no effect if you build this
# example standalone
#
add_custom_target(B1 DEPENDS exampleB1)
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB1 DESTINATION bin)
+4
View File
@@ -5,6 +5,10 @@ which **must** added in reverse chronological order (newest at the top). It must
be used as a substitute for writing good git commit messages!
## 2024-08-12 I. Hrivnacova (exampleB1-V11-02-00)
- Updated for changes in accumulables:
use new "Register" method with shorter name
## 2023-11-14 I. Hrivnacova (exampleB1-V11-01-03)
- Fixes for Doxygen:
Move class description comments after namespace
+11
View File
@@ -132,6 +132,11 @@
ls or browse the available UI commands in the Application
Developers Guide, Section 7.1.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,
@@ -145,10 +150,16 @@
The user command interface is set via the G4UIExecutive class
in the main() function in exampleB1.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
C- HOW TO RUN
- Execute exampleB1 in the 'interactive mode' with visualization:
+15 -13
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -20,6 +20,8 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
<<< Reference Physics List QBBC
Accumulable registered as "accumulable_0"
Accumulable registered as "accumulable_1"
Visualization Manager instantiating with verbosity "warnings (3)"...
Visualization Manager initialising...
Registering graphics systems...
@@ -32,7 +34,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -118,10 +119,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -292,7 +296,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -567,7 +571,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Process: He3Inelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 25.6 PeV
Cr_sctns: He3ParticleXS: 0 eV ---> 25.6 PeV
-----------------------------------------------------------------------
Hadronic Processes for alpha
Process: hadElastic
@@ -576,7 +580,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Process: alphaInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 25.6 PeV
Cr_sctns: alphaParticleXS: 0 eV ---> 25.6 PeV
-----------------------------------------------------------------------
Hadronic Processes for anti_He3
Process: hadElastic
@@ -657,7 +661,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Process: dInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
Cr_sctns: deuteronParticleXS: 0 eV ---> 100 TeV
-----------------------------------------------------------------------
Hadronic Processes for e+
Process: positronNuclear
@@ -757,7 +761,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Model: FTFP: 3 GeV ---> 100 TeV
Model: BertiniCascade: 1 GeV ---> 6 GeV
Model: Binary Cascade: 0 eV ---> 1.5 GeV
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 100 TeV
Cr_sctns: protonParticleXS: 0 eV ---> 100 TeV
-----------------------------------------------------------------------
Hadronic Processes for sigma-
Process: hadElastic
@@ -776,11 +780,11 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
Process: tInelastic
Model: Binary Light Ion Cascade: 0 eV /n ---> 6 GeV/n
Model: FTFP: 3 GeV/n ---> 100 TeV/n
Cr_sctns: G4ParticleInelasticXS: 0 eV ---> 25.6 PeV
Cr_sctns: tritonParticleXS: 0 eV ---> 25.6 PeV
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -805,12 +809,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
--> Event 0 starts.
--> Event 100 starts.
@@ -842,7 +844,7 @@ 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 : 4.70767 nanoGy rms = 144.639 picoGy
Cumulated dose per run, in scoring volume : 5.02923 nanoGy rms = 146.046 picoGy
------------------------------------------------------------
Graphics systems deleted.
+2 -2
View File
@@ -62,8 +62,8 @@ RunAction::RunAction()
// Register accumulable to the accumulable manager
G4AccumulableManager* accumulableManager = G4AccumulableManager::Instance();
accumulableManager->RegisterAccumulable(fEdep);
accumulableManager->RegisterAccumulable(fEdep2);
accumulableManager->Register(fEdep);
accumulableManager->Register(fEdep2);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+11
View File
@@ -179,6 +179,11 @@ This example simulates a simplified fixed target experiment.
(since they require no external libraries), but the OGL driver requires
that the Geant4 libraries have been built with the OpenGL option.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,\n
@@ -196,10 +201,16 @@ This example simulates a simplified fixed target experiment.
The user command interface is set via the G4UIExecutive class
in the main () function in exampleB2a.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB2a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
\section B2_C HOW TO RUN
- Execute exampleB2a in the 'interactive mode' with visualization
+5 -22
View File
@@ -6,22 +6,9 @@ project(B2a)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB2a exampleB2a.cc ${sources} ${headers})
target_link_libraries(exampleB2a ${Geant4_LIBRARIES})
target_include_directories(exampleB2a PRIVATE include)
target_link_libraries(exampleB2a PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -58,8 +46,3 @@ foreach(_script ${EXAMPLEB2A_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB2a DESTINATION bin)
+220 -220
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -189,10 +188,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -363,7 +365,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -845,7 +847,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -870,12 +872,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
--> Event 0 starts.
>>> Event: 0
@@ -905,7 +905,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 12
0 hits stored in this event
>>> Event: 13
136 hits stored in this event
0 hits stored in this event
>>> Event: 14
0 hits stored in this event
>>> Event: 15
@@ -929,19 +929,19 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 24
0 hits stored in this event
>>> Event: 25
0 hits stored in this event
169 hits stored in this event
>>> Event: 26
0 hits stored in this event
115 hits stored in this event
>>> Event: 27
17 hits stored in this event
0 hits stored in this event
>>> Event: 28
194 hits stored in this event
0 hits stored in this event
>>> Event: 29
0 hits stored in this event
>>> Event: 30
0 hits stored in this event
>>> Event: 31
9 hits stored in this event
0 hits stored in this event
>>> Event: 32
0 hits stored in this event
>>> Event: 33
@@ -949,9 +949,9 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 34
0 hits stored in this event
>>> Event: 35
0 hits stored in this event
146 hits stored in this event
>>> Event: 36
67 hits stored in this event
0 hits stored in this event
>>> Event: 37
0 hits stored in this event
>>> Event: 38
@@ -963,21 +963,21 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 41
0 hits stored in this event
>>> Event: 42
9 hits stored in this event
0 hits stored in this event
>>> Event: 43
0 hits stored in this event
27 hits stored in this event
>>> Event: 44
0 hits stored in this event
58 hits stored in this event
>>> Event: 45
292 hits stored in this event
0 hits stored in this event
>>> Event: 46
0 hits stored in this event
>>> Event: 47
0 hits stored in this event
47 hits stored in this event
>>> Event: 48
0 hits stored in this event
>>> Event: 49
0 hits stored in this event
89 hits stored in this event
>>> Event: 50
0 hits stored in this event
>>> Event: 51
@@ -985,7 +985,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
51 hits stored in this event
>>> Event: 54
0 hits stored in this event
>>> Event: 55
@@ -1007,7 +1007,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 63
0 hits stored in this event
>>> Event: 64
172 hits stored in this event
0 hits stored in this event
>>> Event: 65
0 hits stored in this event
>>> Event: 66
@@ -1015,17 +1015,17 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 67
0 hits stored in this event
>>> Event: 68
0 hits stored in this event
16 hits stored in this event
>>> Event: 69
61 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
87 hits stored in this event
>>> Event: 73
0 hits stored in this event
>>> Event: 73
144 hits stored in this event
>>> Event: 74
0 hits stored in this event
>>> Event: 75
@@ -1033,7 +1033,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 76
0 hits stored in this event
>>> Event: 77
0 hits stored in this event
39 hits stored in this event
>>> Event: 78
0 hits stored in this event
>>> Event: 79
@@ -1041,7 +1041,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 80
0 hits stored in this event
>>> Event: 81
0 hits stored in this event
4 hits stored in this event
>>> Event: 82
0 hits stored in this event
>>> Event: 83
@@ -1051,7 +1051,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 85
0 hits stored in this event
>>> Event: 86
0 hits stored in this event
101 hits stored in this event
>>> Event: 87
0 hits stored in this event
>>> Event: 88
@@ -1081,205 +1081,205 @@ See commands in /vis/modeling/trajectories/ for other options.
### Run 1 starts.
--> Event 0 starts.
>>> Event: 0
108 hits stored in this event
>>> Event: 1
91 hits stored in this event
>>> Event: 2
127 hits stored in this event
>>> Event: 3
103 hits stored in this event
>>> Event: 4
169 hits stored in this event
>>> Event: 5
97 hits stored in this event
>>> Event: 6
96 hits stored in this event
>>> Event: 7
161 hits stored in this event
>>> Event: 8
91 hits stored in this event
>>> Event: 9
79 hits stored in this event
>>> Event: 10
>>> Event: 1
99 hits stored in this event
>>> Event: 2
80 hits stored in this event
>>> Event: 11
100 hits stored in this event
>>> Event: 12
119 hits stored in this event
>>> Event: 13
151 hits stored in this event
>>> Event: 14
84 hits stored in this event
>>> Event: 15
126 hits stored in this event
>>> Event: 16
99 hits stored in this event
>>> Event: 17
88 hits stored in this event
>>> Event: 18
65 hits stored in this event
>>> Event: 19
99 hits stored in this event
>>> Event: 20
220 hits stored in this event
>>> Event: 21
86 hits stored in this event
>>> Event: 22
315 hits stored in this event
>>> Event: 23
99 hits stored in this event
>>> Event: 24
109 hits stored in this event
>>> Event: 25
482 hits stored in this event
>>> Event: 26
63 hits stored in this event
>>> Event: 27
135 hits stored in this event
>>> Event: 28
105 hits stored in this event
>>> Event: 29
196 hits stored in this event
>>> Event: 30
638 hits stored in this event
>>> Event: 31
184 hits stored in this event
>>> Event: 32
105 hits stored in this event
>>> Event: 33
74 hits stored in this event
>>> Event: 34
102 hits stored in this event
>>> Event: 35
289 hits stored in this event
>>> Event: 36
301 hits stored in this event
>>> Event: 37
96 hits stored in this event
>>> Event: 38
172 hits stored in this event
>>> Event: 39
116 hits stored in this event
>>> Event: 40
151 hits stored in this event
>>> Event: 41
119 hits stored in this event
>>> Event: 42
115 hits stored in this event
>>> Event: 43
71 hits stored in this event
>>> Event: 44
56 hits stored in this event
>>> Event: 45
81 hits stored in this event
>>> Event: 46
48 hits stored in this event
>>> Event: 47
92 hits stored in this event
>>> Event: 48
124 hits stored in this event
>>> Event: 49
170 hits stored in this event
>>> Event: 50
67 hits stored in this event
>>> Event: 51
181 hits stored in this event
>>> Event: 52
461 hits stored in this event
>>> Event: 53
178 hits stored in this event
>>> Event: 54
357 hits stored in this event
>>> Event: 55
836 hits stored in this event
>>> Event: 56
115 hits stored in this event
>>> Event: 57
71 hits stored in this event
>>> Event: 58
59 hits stored in this event
>>> Event: 59
102 hits stored in this event
>>> Event: 60
1648 hits stored in this event
>>> Event: 61
970 hits stored in this event
>>> Event: 62
66 hits stored in this event
>>> Event: 63
105 hits stored in this event
>>> Event: 64
72 hits stored in this event
>>> Event: 65
97 hits stored in this event
>>> Event: 66
95 hits stored in this event
>>> Event: 67
235 hits stored in this event
>>> Event: 68
164 hits stored in this event
>>> Event: 69
174 hits stored in this event
>>> Event: 70
74 hits stored in this event
>>> Event: 71
1306 hits stored in this event
>>> Event: 72
85 hits stored in this event
>>> Event: 73
70 hits stored in this event
>>> Event: 74
47 hits stored in this event
>>> Event: 75
>>> Event: 3
451 hits stored in this event
>>> Event: 4
120 hits stored in this event
>>> Event: 5
94 hits stored in this event
>>> Event: 6
369 hits stored in this event
>>> Event: 7
78 hits stored in this event
>>> Event: 76
153 hits stored in this event
>>> Event: 77
132 hits stored in this event
>>> Event: 78
148 hits stored in this event
>>> Event: 79
91 hits stored in this event
>>> Event: 80
59 hits stored in this event
>>> Event: 81
54 hits stored in this event
>>> Event: 82
72 hits stored in this event
>>> Event: 83
124 hits stored in this event
>>> Event: 84
72 hits stored in this event
>>> Event: 85
97 hits stored in this event
>>> Event: 86
174 hits stored in this event
>>> Event: 87
76 hits stored in this event
>>> Event: 88
63 hits stored in this event
>>> Event: 89
76 hits stored in this event
>>> Event: 90
82 hits stored in this event
>>> Event: 91
589 hits stored in this event
>>> Event: 92
61 hits stored in this event
>>> Event: 93
101 hits stored in this event
>>> Event: 94
>>> Event: 8
67 hits stored in this event
>>> Event: 9
426 hits stored in this event
>>> Event: 10
81 hits stored in this event
>>> Event: 11
69 hits stored in this event
>>> Event: 12
186 hits stored in this event
>>> Event: 13
72 hits stored in this event
>>> Event: 14
191 hits stored in this event
>>> Event: 15
56 hits stored in this event
>>> Event: 16
171 hits stored in this event
>>> Event: 17
200 hits stored in this event
>>> Event: 18
51 hits stored in this event
>>> Event: 19
272 hits stored in this event
>>> Event: 20
47 hits stored in this event
>>> Event: 21
66 hits stored in this event
>>> Event: 22
131 hits stored in this event
>>> Event: 23
57 hits stored in this event
>>> Event: 24
129 hits stored in this event
>>> Event: 25
203 hits stored in this event
>>> Event: 26
208 hits stored in this event
>>> Event: 27
93 hits stored in this event
>>> Event: 28
140 hits stored in this event
>>> Event: 29
142 hits stored in this event
>>> Event: 30
97 hits stored in this event
>>> Event: 31
102 hits stored in this event
>>> Event: 32
267 hits stored in this event
>>> Event: 33
151 hits stored in this event
>>> Event: 34
99 hits stored in this event
>>> Event: 35
212 hits stored in this event
>>> Event: 36
190 hits stored in this event
>>> Event: 37
1758 hits stored in this event
>>> Event: 38
205 hits stored in this event
>>> Event: 39
114 hits stored in this event
>>> Event: 40
96 hits stored in this event
>>> Event: 41
78 hits stored in this event
>>> Event: 42
80 hits stored in this event
>>> Event: 43
91 hits stored in this event
>>> Event: 44
80 hits stored in this event
>>> Event: 45
85 hits stored in this event
>>> Event: 46
327 hits stored in this event
>>> Event: 47
171 hits stored in this event
>>> Event: 48
99 hits stored in this event
>>> Event: 49
90 hits stored in this event
>>> Event: 50
120 hits stored in this event
>>> Event: 51
153 hits stored in this event
>>> Event: 52
91 hits stored in this event
>>> Event: 53
1417 hits stored in this event
>>> Event: 54
372 hits stored in this event
>>> Event: 55
70 hits stored in this event
>>> Event: 56
210 hits stored in this event
>>> Event: 57
92 hits stored in this event
>>> Event: 58
61 hits stored in this event
>>> Event: 59
233 hits stored in this event
>>> Event: 60
254 hits stored in this event
>>> Event: 61
423 hits stored in this event
>>> Event: 62
5754 hits stored in this event
>>> Event: 63
73 hits stored in this event
>>> Event: 64
88 hits stored in this event
>>> Event: 65
505 hits stored in this event
>>> Event: 66
58 hits stored in this event
>>> Event: 67
119 hits stored in this event
>>> Event: 68
307 hits stored in this event
>>> Event: 69
96 hits stored in this event
>>> Event: 70
102 hits stored in this event
>>> Event: 71
65 hits stored in this event
>>> Event: 72
88 hits stored in this event
>>> Event: 73
1573 hits stored in this event
>>> Event: 74
96 hits stored in this event
>>> Event: 75
75 hits stored in this event
>>> Event: 76
129 hits stored in this event
>>> Event: 77
66 hits stored in this event
>>> Event: 78
51 hits stored in this event
>>> Event: 79
100 hits stored in this event
>>> Event: 80
171 hits stored in this event
>>> Event: 81
97 hits stored in this event
>>> Event: 82
110 hits stored in this event
>>> Event: 83
237 hits stored in this event
>>> Event: 84
83 hits stored in this event
>>> Event: 85
64 hits stored in this event
>>> Event: 86
71 hits stored in this event
>>> Event: 87
250 hits stored in this event
>>> Event: 88
90 hits stored in this event
>>> Event: 89
111 hits stored in this event
>>> Event: 90
176 hits stored in this event
>>> Event: 91
94 hits stored in this event
>>> Event: 92
74 hits stored in this event
>>> Event: 93
56 hits stored in this event
>>> Event: 94
63 hits stored in this event
>>> Event: 95
82 hits stored in this event
92 hits stored in this event
>>> Event: 96
170 hits stored in this event
100 hits stored in this event
>>> Event: 97
189 hits stored in this event
74 hits stored in this event
>>> Event: 98
178 hits stored in this event
107 hits stored in this event
>>> Event: 99
7434 hits stored in this event
98 hits stored in this event
### Run 2 starts.
--> Event 0 starts.
+5 -22
View File
@@ -6,22 +6,9 @@ project(B2b)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB2b exampleB2b.cc ${sources} ${headers})
target_link_libraries(exampleB2b ${Geant4_LIBRARIES})
target_include_directories(exampleB2b PRIVATE include)
target_link_libraries(exampleB2b PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -58,8 +46,3 @@ foreach(_script ${EXAMPLEB2B_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB2b DESTINATION bin)
+207 -207
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -185,10 +184,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -359,7 +361,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -841,7 +843,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -866,12 +868,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
--> Event 0 starts.
>>> Event: 0
@@ -927,7 +927,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 25
0 hits stored in this event
>>> Event: 26
0 hits stored in this event
38 hits stored in this event
>>> Event: 27
0 hits stored in this event
>>> Event: 28
@@ -939,11 +939,11 @@ 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
291 hits stored in this event
>>> Event: 33
22 hits stored in this event
0 hits stored in this event
>>> Event: 34
79 hits stored in this event
0 hits stored in this event
>>> Event: 35
0 hits stored in this event
>>> Event: 36
@@ -963,7 +963,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 43
0 hits stored in this event
>>> Event: 44
99 hits stored in this event
0 hits stored in this event
>>> Event: 45
0 hits stored in this event
>>> Event: 46
@@ -979,25 +979,25 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 51
0 hits stored in this event
>>> Event: 52
112 hits stored in this event
0 hits stored in this event
>>> Event: 53
0 hits stored in this event
>>> Event: 54
56 hits stored in this event
0 hits stored in this event
>>> Event: 55
0 hits stored in this event
>>> Event: 56
0 hits stored in this event
>>> Event: 57
21 hits stored in this event
14 hits stored in this event
>>> Event: 58
0 hits stored in this event
58 hits stored in this event
>>> Event: 59
0 hits stored in this event
>>> Event: 60
0 hits stored in this event
20 hits stored in this event
>>> Event: 61
63 hits stored in this event
5 hits stored in this event
>>> Event: 62
0 hits stored in this event
>>> Event: 63
@@ -1023,9 +1023,9 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 73
0 hits stored in this event
>>> Event: 74
0 hits stored in this event
21 hits stored in this event
>>> Event: 75
49 hits stored in this event
0 hits stored in this event
>>> Event: 76
0 hits stored in this event
>>> Event: 77
@@ -1045,7 +1045,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 84
0 hits stored in this event
>>> Event: 85
0 hits stored in this event
70 hits stored in this event
>>> Event: 86
0 hits stored in this event
>>> Event: 87
@@ -1053,11 +1053,11 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 88
0 hits stored in this event
>>> Event: 89
331 hits stored in this event
0 hits stored in this event
>>> Event: 90
0 hits stored in this event
>>> Event: 91
0 hits stored in this event
79 hits stored in this event
>>> Event: 92
0 hits stored in this event
>>> Event: 93
@@ -1069,7 +1069,7 @@ See commands in /vis/modeling/trajectories/ for other options.
>>> Event: 96
0 hits stored in this event
>>> Event: 97
46 hits stored in this event
0 hits stored in this event
>>> Event: 98
0 hits stored in this event
>>> Event: 99
@@ -1077,205 +1077,205 @@ See commands in /vis/modeling/trajectories/ for other options.
### Run 1 starts.
--> Event 0 starts.
>>> Event: 0
85 hits stored in this event
63 hits stored in this event
>>> Event: 1
86 hits stored in this event
440 hits stored in this event
>>> Event: 2
328 hits stored in this event
553 hits stored in this event
>>> Event: 3
87 hits stored in this event
2115 hits stored in this event
>>> Event: 4
120 hits stored in this event
65 hits stored in this event
>>> Event: 5
86 hits stored in this event
102 hits stored in this event
>>> Event: 6
105 hits stored in this event
350 hits stored in this event
>>> Event: 7
60 hits stored in this event
422 hits stored in this event
>>> Event: 8
121 hits stored in this event
176 hits stored in this event
>>> Event: 9
86 hits stored in this event
>>> Event: 10
361 hits stored in this event
>>> Event: 11
185 hits stored in this event
>>> Event: 12
80 hits stored in this event
>>> Event: 13
67 hits stored in this event
>>> Event: 14
93 hits stored in this event
>>> Event: 15
76 hits stored in this event
>>> Event: 16
65 hits stored in this event
>>> Event: 17
81 hits stored in this event
>>> Event: 18
124 hits stored in this event
>>> Event: 19
121 hits stored in this event
>>> Event: 20
606 hits stored in this event
>>> Event: 21
66 hits stored in this event
>>> Event: 22
207 hits stored in this event
>>> Event: 23
289 hits stored in this event
>>> Event: 24
126 hits stored in this event
>>> Event: 25
79 hits stored in this event
>>> Event: 26
81 hits stored in this event
>>> Event: 27
170 hits stored in this event
>>> Event: 28
219 hits stored in this event
>>> Event: 29
186 hits stored in this event
>>> Event: 30
61 hits stored in this event
>>> Event: 31
111 hits stored in this event
>>> Event: 32
52 hits stored in this event
>>> Event: 33
105 hits stored in this event
>>> Event: 34
72 hits stored in this event
>>> Event: 35
64 hits stored in this event
>>> Event: 36
107 hits stored in this event
>>> Event: 37
>>> Event: 10
114 hits stored in this event
>>> Event: 38
119 hits stored in this event
>>> Event: 39
76 hits stored in this event
>>> Event: 40
>>> Event: 11
528 hits stored in this event
>>> Event: 12
95 hits stored in this event
>>> Event: 13
91 hits stored in this event
>>> Event: 14
79 hits stored in this event
>>> Event: 41
105 hits stored in this event
>>> Event: 42
547 hits stored in this event
>>> Event: 43
71 hits stored in this event
>>> Event: 44
157 hits stored in this event
>>> Event: 45
104 hits stored in this event
>>> Event: 46
167 hits stored in this event
>>> Event: 47
134 hits stored in this event
>>> Event: 48
441 hits stored in this event
>>> Event: 49
>>> Event: 15
51 hits stored in this event
>>> Event: 16
72 hits stored in this event
>>> Event: 17
79 hits stored in this event
>>> Event: 50
65 hits stored in this event
>>> Event: 51
260 hits stored in this event
>>> Event: 52
75 hits stored in this event
>>> Event: 53
274 hits stored in this event
>>> Event: 54
118 hits stored in this event
>>> Event: 55
93 hits stored in this event
>>> Event: 56
231 hits stored in this event
>>> Event: 57
92 hits stored in this event
>>> Event: 58
79 hits stored in this event
>>> Event: 59
85 hits stored in this event
>>> Event: 60
150 hits stored in this event
>>> Event: 61
598 hits stored in this event
>>> Event: 62
133 hits stored in this event
>>> Event: 63
74 hits stored in this event
>>> Event: 64
177 hits stored in this event
>>> Event: 65
73 hits stored in this event
>>> Event: 66
68 hits stored in this event
>>> Event: 67
65 hits stored in this event
>>> Event: 68
922 hits stored in this event
>>> Event: 69
50 hits stored in this event
>>> Event: 70
128 hits stored in this event
>>> Event: 71
33582 hits stored in this event
>>> Event: 72
110 hits stored in this event
>>> Event: 73
119 hits stored in this event
>>> Event: 74
119 hits stored in this event
>>> Event: 75
122 hits stored in this event
>>> Event: 76
>>> Event: 18
144 hits stored in this event
>>> Event: 19
86 hits stored in this event
>>> Event: 77
929 hits stored in this event
>>> Event: 78
78 hits stored in this event
>>> Event: 79
66 hits stored in this event
>>> Event: 80
119 hits stored in this event
>>> Event: 81
225 hits stored in this event
>>> Event: 82
99 hits stored in this event
>>> Event: 83
75 hits stored in this event
>>> Event: 84
89 hits stored in this event
>>> Event: 85
108 hits stored in this event
>>> Event: 86
93 hits stored in this event
>>> Event: 87
100 hits stored in this event
>>> Event: 88
129 hits stored in this event
>>> Event: 89
>>> Event: 20
98 hits stored in this event
>>> Event: 21
76 hits stored in this event
>>> Event: 22
306 hits stored in this event
>>> Event: 23
136 hits stored in this event
>>> Event: 24
103 hits stored in this event
>>> Event: 25
87 hits stored in this event
>>> Event: 90
2147 hits stored in this event
>>> Event: 91
164 hits stored in this event
>>> Event: 92
47 hits stored in this event
>>> Event: 93
60 hits stored in this event
>>> Event: 94
184 hits stored in this event
>>> Event: 95
87 hits stored in this event
>>> Event: 96
262 hits stored in this event
>>> Event: 97
134 hits stored in this event
>>> Event: 98
68 hits stored in this event
>>> Event: 99
>>> Event: 26
107 hits stored in this event
>>> Event: 27
97 hits stored in this event
>>> Event: 28
165 hits stored in this event
>>> Event: 29
235 hits stored in this event
>>> Event: 30
90 hits stored in this event
>>> Event: 31
255 hits stored in this event
>>> Event: 32
109 hits stored in this event
>>> Event: 33
87 hits stored in this event
>>> Event: 34
379 hits stored in this event
>>> Event: 35
101 hits stored in this event
>>> Event: 36
252 hits stored in this event
>>> Event: 37
136 hits stored in this event
>>> Event: 38
67 hits stored in this event
>>> Event: 39
122 hits stored in this event
>>> Event: 40
73 hits stored in this event
>>> Event: 41
499 hits stored in this event
>>> Event: 42
101 hits stored in this event
>>> Event: 43
107 hits stored in this event
>>> Event: 44
130 hits stored in this event
>>> Event: 45
147 hits stored in this event
>>> Event: 46
99 hits stored in this event
>>> Event: 47
91 hits stored in this event
>>> Event: 48
71 hits stored in this event
>>> Event: 49
89 hits stored in this event
>>> Event: 50
67 hits stored in this event
>>> Event: 51
80 hits stored in this event
>>> Event: 52
149 hits stored in this event
>>> Event: 53
258 hits stored in this event
>>> Event: 54
83 hits stored in this event
>>> Event: 55
78 hits stored in this event
>>> Event: 56
43 hits stored in this event
>>> Event: 57
103 hits stored in this event
>>> Event: 58
194 hits stored in this event
>>> Event: 59
84 hits stored in this event
>>> Event: 60
188 hits stored in this event
>>> Event: 61
97 hits stored in this event
>>> Event: 62
543 hits stored in this event
>>> Event: 63
57 hits stored in this event
>>> Event: 64
65 hits stored in this event
>>> Event: 65
141 hits stored in this event
>>> Event: 66
79 hits stored in this event
>>> Event: 67
338 hits stored in this event
>>> Event: 68
81 hits stored in this event
>>> Event: 69
123 hits stored in this event
>>> Event: 70
52 hits stored in this event
>>> Event: 71
258 hits stored in this event
>>> Event: 72
276 hits stored in this event
>>> Event: 73
89 hits stored in this event
>>> Event: 74
130 hits stored in this event
>>> Event: 75
72 hits stored in this event
>>> Event: 76
81 hits stored in this event
>>> Event: 77
3984 hits stored in this event
>>> Event: 78
68 hits stored in this event
>>> Event: 79
67 hits stored in this event
>>> Event: 80
190 hits stored in this event
>>> Event: 81
96 hits stored in this event
>>> Event: 82
340 hits stored in this event
>>> Event: 83
464 hits stored in this event
>>> Event: 84
76 hits stored in this event
>>> Event: 85
91 hits stored in this event
>>> Event: 86
54 hits stored in this event
>>> Event: 87
85 hits stored in this event
>>> Event: 88
73 hits stored in this event
>>> Event: 89
144 hits stored in this event
>>> Event: 90
89 hits stored in this event
>>> Event: 91
102 hits stored in this event
>>> Event: 92
120 hits stored in this event
>>> Event: 93
2499 hits stored in this event
>>> Event: 94
91 hits stored in this event
>>> Event: 95
126 hits stored in this event
>>> Event: 96
65 hits stored in this event
>>> Event: 97
100 hits stored in this event
>>> Event: 98
152 hits stored in this event
>>> Event: 99
723 hits stored in this event
### Run 2 starts.
--> Event 0 starts.
+11
View File
@@ -165,6 +165,11 @@
(since they require no external libraries), but the OGL driver requires
that the Geant4 libraries have been built with the OpenGL option.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,
@@ -178,10 +183,16 @@
The user command interface is set via the G4UIExecutive class
in the main() function in exampleB2a.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
C- HOW TO RUN
- Execute exampleB2a in the 'interactive mode' with visualization
+11
View File
@@ -171,6 +171,11 @@ The following paragraphs are common to all basic examples
(since they require no external libraries), but the OGL driver requires
that the Geant4 libraries have been built with the OpenGL option.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,\n
@@ -188,10 +193,16 @@ The following paragraphs are common to all basic examples
The user command interface is set via the G4UIExecutive class
in the main () function in exampleB3.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
\section B3_C HOW TO RUN
- Execute exampleB3a in the 'interactive mode' with visualization
+5 -28
View File
@@ -6,22 +6,9 @@ project(B3a)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB3a exampleB3a.cc ${sources} ${headers})
target_link_libraries(exampleB3a ${Geant4_LIBRARIES})
target_include_directories(exampleB3a PRIVATE include)
target_link_libraries(exampleB3a PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -58,14 +46,3 @@ foreach(_script ${EXAMPLEB3_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# For internal Geant4 use - but has no effect if you build this
# example standalone
#
add_custom_target(B3a DEPENDS exampleB3a)
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB3a DESTINATION bin )
+9 -7
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -19,6 +19,8 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
WWW : http://geant4.org/
**************************************************************
Accumulable registered as "accumulable_0"
Accumulable registered as "accumulable_1"
Visualization Manager instantiating with verbosity "warnings (3)"...
Visualization Manager initialising...
Registering graphics systems...
@@ -31,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -260,10 +261,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -449,7 +453,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
======================================================================
====== Radioactive Decay Physics Parameters =======
@@ -711,8 +715,6 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
### Run 0 start.
@@ -740,8 +742,8 @@ Setting was ignored.
--> Event 9000 starts.
--------------------End of Global Run-----------------------
The run was 10000 events Nb of 'good' e+ annihilations: 1308
Total dose in patient : 305.937 picoGy
The run was 10000 events Nb of 'good' e+ annihilations: 1306
Total dose in patient : 306.658 picoGy
------------------------------------------------------------
... write file : scoring.root - done
+2 -2
View File
@@ -61,8 +61,8 @@ RunAction::RunAction()
// Register accumulable to the accumulable manager
G4AccumulableManager* accumulableManager = G4AccumulableManager::Instance();
accumulableManager->RegisterAccumulable(fGoodEvents);
accumulableManager->RegisterAccumulable(fSumDose);
accumulableManager->Register(fGoodEvents);
accumulableManager->Register(fSumDose);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+5 -28
View File
@@ -6,22 +6,9 @@ project(B3b)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB3b exampleB3b.cc ${sources} ${headers})
target_link_libraries(exampleB3b ${Geant4_LIBRARIES})
target_include_directories(exampleB3b PRIVATE include)
target_link_libraries(exampleB3b PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -58,14 +46,3 @@ foreach(_script ${EXAMPLEB3_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# For internal Geant4 use - but has no effect if you build this
# example standalone
#
add_custom_target(B3b DEPENDS exampleB3b)
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB3b DESTINATION bin )
+8 -8
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -31,7 +31,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -260,10 +259,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -449,7 +451,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
======================================================================
====== Radioactive Decay Physics Parameters =======
@@ -711,8 +713,6 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
ThetaMin(p) < Theta(degree) < 180, pLimit(GeV^1)= 0.139531
===== EM models for the G4Region DefaultRegionForTheWorld ======
eCoulombScattering : Emin= 0 eV Emax= 100 TeV
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
### Run 0 start.
@@ -742,9 +742,9 @@ Setting was ignored.
--> Event 9000 starts.
--------------------End of Global Run-----------------------
The run was 10000 events Nb of 'good' e+ annihilations: 1308
Total dose in patient : 305.937 picoGy
Total dose in patient : 3.05937e-10 [sigma: 1.73788e-14 | error: 0.0056805 | coeff: 0.0056805 | eff: 1 | fom: 30990.3 | r2int: 3.22649e-05 | r2eff: 0 | hits: 10000 ] Gy
The run was 10000 events Nb of 'good' e+ annihilations: 1306
Total dose in patient : 306.658 picoGy
Total dose in patient : 3.06658e-10 [sigma: 1.74008e-14 | error: 0.00567435 | coeff: 0.00567435 | eff: 1 | fom: 31057.6 | r2int: 3.2195e-05 | r2eff: 0 | hits: 10000 ] Gy
------------------------------------------------------------
... write file : scoring.root - done
+4
View File
@@ -6,6 +6,10 @@ It must **not** be used as a substitute for writing good git commit messages!
-------------------------------------------------------------------------------
## 2024-08-12 I. Hrivnacova (exampleB3-V11-02-00)
- Updated for changes in accumulables:
use new "Register" method with shorter name
## 2024-05-07 I. Hrivnacova (exampleB3-V11-02-00)
- Looping over G4THitsMap via range for loop instead of iterators.
+11
View File
@@ -162,6 +162,11 @@
(since they require no external libraries), but the OGL driver requires
that the Geant4 libraries have been built with the OpenGL option.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,
@@ -175,10 +180,16 @@
The user command interface is set via the G4UIExecutive class
in the main() function in exampleB3.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
C- HOW TO RUN
- Execute exampleB3a in the 'interactive mode' with visualization
+11
View File
@@ -296,6 +296,11 @@ The following paragraphs are common to all basic examples
(since they require no external libraries), but the OGL driver requires
that the Geant4 libraries have been built with the OpenGL option.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,\n
@@ -313,10 +318,16 @@ The following paragraphs are common to all basic examples
The user command interface is set via the G4UIExecutive class
in the main () function in exampleB4a.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
*/
+5 -22
View File
@@ -6,22 +6,9 @@ project(B4a)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB4a exampleB4a.cc ${sources} ${headers})
target_link_libraries(exampleB4a ${Geant4_LIBRARIES})
target_include_directories(exampleB4a PRIVATE include)
target_link_libraries(exampleB4a PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -60,8 +48,3 @@ foreach(_script ${EXAMPLEB4A_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB4a DESTINATION bin)
+25 -46
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -115,7 +114,7 @@ Some /vis commands (optionally) take a string to specify colour.
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 3240.779 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -161,10 +160,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -335,7 +337,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -817,7 +819,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -842,12 +844,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
-------- WWWW ------- G4Exception-START -------- WWWW -------
@@ -864,26 +864,19 @@ Setting was ignored.
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 279.218 MeV total track length: 20.3807 cm
Gap: total energy: 19.7181 MeV total track length: 9.43835 cm
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
--> End of event 0
----> print histograms statistic for the entire run
EAbs : mean = 279.218 MeV rms = 0 eV
EGap : mean = 19.7181 MeV rms = 0 eV
LAbs : mean = 20.3807 cm rms = 0 fm
LGap : mean = 9.43835 cm rms = 0 fm
EAbs : mean = 260.424 MeV rms = 0 eV
EGap : mean = 20.1593 MeV rms = 0 eV
LAbs : mean = 18.8985 cm rms = 0 fm
LGap : mean = 10.2646 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Transportation, GammaGeneralProc, msc, eIoni
eBrem, CoulombScat, msc, eIoni
eBrem, annihil, CoulombScat, msc
@@ -944,51 +937,37 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 253.71 MeV total track length: 18.3379 cm
Gap: total energy: 18.1797 MeV total track length: 8.925 cm
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
--> End of event 0
----> print histograms statistic for the entire run
EAbs : mean = 253.71 MeV rms = 0 eV
EGap : mean = 18.1797 MeV rms = 0 eV
LAbs : mean = 18.3379 cm rms = 0 fm
LGap : mean = 8.925 cm rms = 0 fm
EAbs : mean = 271.299 MeV rms = 0 eV
EGap : mean = 23.6238 MeV rms = 0 eV
LAbs : mean = 19.4388 cm rms = 0 fm
LGap : mean = 11.1558 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
### Run 2 starts.
... create file : B4.root - done
... open analysis file : B4.root - done
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 437.115 MeV total track length: 31.5725 cm
Gap: total energy: 19.1128 MeV total track length: 8.67887 cm
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
--> End of event 0
----> print histograms statistic for the entire run
EAbs : mean = 0 eV rms = 0 eV
EGap : mean = 19.1128 MeV rms = 0 eV
LAbs : mean = 31.5725 cm rms = 0 fm
LGap : mean = 8.67887 cm rms = 0 fm
EGap : mean = 0 eV rms = 0 eV
LAbs : mean = 32.6572 cm rms = 0 fm
LGap : mean = 21.6011 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Graphics systems deleted.
Visualization Manager deleting...
+5 -22
View File
@@ -6,22 +6,9 @@ project(B4b)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB4b exampleB4b.cc ${sources} ${headers})
target_link_libraries(exampleB4b ${Geant4_LIBRARIES})
target_include_directories(exampleB4b PRIVATE include)
target_link_libraries(exampleB4b PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -60,8 +48,3 @@ foreach(_script ${EXAMPLEB4B_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB4b DESTINATION bin)
+25 -46
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -115,7 +114,7 @@ Some /vis commands (optionally) take a string to specify colour.
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 3240.779 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -161,10 +160,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -335,7 +337,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -817,7 +819,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -842,12 +844,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
### Run 0 start.
@@ -865,26 +865,19 @@ Setting was ignored.
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 279.218 MeV total track length: 20.3807 cm
Gap: total energy: 19.7181 MeV total track length: 9.43835 cm
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
--> End of event 0
----> print histograms statistic for the entire run
EAbs : mean = 279.218 MeV rms = 0 eV
EGap : mean = 19.7181 MeV rms = 0 eV
LAbs : mean = 20.3807 cm rms = 0 fm
LGap : mean = 9.43835 cm rms = 0 fm
EAbs : mean = 260.424 MeV rms = 0 eV
EGap : mean = 20.1593 MeV rms = 0 eV
LAbs : mean = 18.8985 cm rms = 0 fm
LGap : mean = 10.2646 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Transportation, GammaGeneralProc, msc, eIoni
eBrem, CoulombScat, msc, eIoni
eBrem, annihil, CoulombScat, msc
@@ -946,26 +939,19 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 253.71 MeV total track length: 18.3379 cm
Gap: total energy: 18.1797 MeV total track length: 8.925 cm
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
--> End of event 0
----> print histograms statistic for the entire run
EAbs : mean = 253.71 MeV rms = 0 eV
EGap : mean = 18.1797 MeV rms = 0 eV
LAbs : mean = 18.3379 cm rms = 0 fm
LGap : mean = 8.925 cm rms = 0 fm
EAbs : mean = 271.299 MeV rms = 0 eV
EGap : mean = 23.6238 MeV rms = 0 eV
LAbs : mean = 19.4388 cm rms = 0 fm
LGap : mean = 11.1558 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
### Run 2 starts.
### Run 2 start.
... create file : B4.root - done
@@ -973,25 +959,18 @@ There are histograms that can be viewed with visualization:
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 437.115 MeV total track length: 31.5725 cm
Gap: total energy: 19.1128 MeV total track length: 8.67887 cm
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
--> End of event 0
----> print histograms statistic for the entire run
EAbs : mean = 0 eV rms = 0 eV
EGap : mean = 19.1128 MeV rms = 0 eV
LAbs : mean = 31.5725 cm rms = 0 fm
LGap : mean = 8.67887 cm rms = 0 fm
EGap : mean = 0 eV rms = 0 eV
LAbs : mean = 32.6572 cm rms = 0 fm
LGap : mean = 21.6011 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Graphics systems deleted.
Visualization Manager deleting...
+5 -22
View File
@@ -6,22 +6,9 @@ project(B4c)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB4c exampleB4c.cc ${sources} ${headers})
target_link_libraries(exampleB4c ${Geant4_LIBRARIES})
target_include_directories(exampleB4c PRIVATE include)
target_link_libraries(exampleB4c PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -60,8 +48,3 @@ foreach(_script ${EXAMPLEB4C_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB4c DESTINATION bin)
+25 -46
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -115,7 +114,7 @@ Some /vis commands (optionally) take a string to specify colour.
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 3240.779 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -161,10 +160,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -335,7 +337,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -817,7 +819,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -842,12 +844,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
-------- WWWW ------- G4Exception-START -------- WWWW -------
@@ -864,26 +864,19 @@ Setting was ignored.
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 279.218 MeV total track length: 20.3807 cm
Gap: total energy: 19.7181 MeV total track length: 9.43835 cm
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
--> End of event: 0
----> print histograms statistic for the entire run
EAbs : mean = 279.218 MeV rms = 0 eV
EGap : mean = 19.7181 MeV rms = 0 eV
LAbs : mean = 20.3807 cm rms = 0 fm
LGap : mean = 9.43835 cm rms = 0 fm
EAbs : mean = 260.424 MeV rms = 0 eV
EGap : mean = 20.1593 MeV rms = 0 eV
LAbs : mean = 18.8985 cm rms = 0 fm
LGap : mean = 10.2646 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Transportation, GammaGeneralProc, msc, eIoni
eBrem, CoulombScat, msc, eIoni
eBrem, annihil, CoulombScat, msc
@@ -944,51 +937,37 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 253.71 MeV total track length: 18.3379 cm
Gap: total energy: 18.1797 MeV total track length: 8.925 cm
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
--> End of event: 0
----> print histograms statistic for the entire run
EAbs : mean = 253.71 MeV rms = 0 eV
EGap : mean = 18.1797 MeV rms = 0 eV
LAbs : mean = 18.3379 cm rms = 0 fm
LGap : mean = 8.925 cm rms = 0 fm
EAbs : mean = 271.299 MeV rms = 0 eV
EGap : mean = 23.6238 MeV rms = 0 eV
LAbs : mean = 19.4388 cm rms = 0 fm
LGap : mean = 11.1558 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
### Run 2 starts.
... create file : B4.root - done
... open analysis file : B4.root - done
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 437.115 MeV total track length: 31.5725 cm
Gap: total energy: 19.1128 MeV total track length: 8.67887 cm
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
--> End of event: 0
----> print histograms statistic for the entire run
EAbs : mean = 0 eV rms = 0 eV
EGap : mean = 19.1128 MeV rms = 0 eV
LAbs : mean = 31.5725 cm rms = 0 fm
LGap : mean = 8.67887 cm rms = 0 fm
EGap : mean = 0 eV rms = 0 eV
LAbs : mean = 32.6572 cm rms = 0 fm
LGap : mean = 21.6011 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Graphics systems deleted.
Visualization Manager deleting...
+5 -22
View File
@@ -6,22 +6,9 @@ project(B4d)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
include_directories(${PROJECT_SOURCE_DIR}/include)
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# Locate sources and headers for this project
@@ -31,10 +18,11 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB4d exampleB4d.cc ${sources} ${headers})
target_link_libraries(exampleB4d ${Geant4_LIBRARIES})
target_include_directories(exampleB4d PRIVATE include)
target_link_libraries(exampleB4d PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -60,8 +48,3 @@ foreach(_script ${EXAMPLEB4D_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB4d DESTINATION bin)
+26 -47
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -115,7 +114,7 @@ Some /vis commands (optionally) take a string to specify colour.
ElmMassFraction: 100.00 % ElmAbundance 100.00 %
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 113427284.261 pc
Material: Galactic density: 0.000 mg/cm3 RadL: 204310098.490 pc Nucl.Int.Length: 3240.779 pc
Imean: 19.200 eV temperature: 2.73 K pressure: 0.00 atm
---> Element: H (H) Z = 1.0 N = 1 A = 1.008 g/mole
@@ -165,10 +164,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -339,7 +341,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -821,7 +823,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -846,12 +848,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
-------- WWWW ------- G4Exception-START -------- WWWW -------
@@ -868,26 +868,19 @@ Setting was ignored.
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 279.218 MeV total track length: 20.3807 cm
Gap: total energy: 19.7181 MeV total track length: 9.43835 cm
Absorber: total energy: 260.424 MeV total track length: 18.8985 cm
Gap: total energy: 20.1593 MeV total track length: 10.2646 cm
--> End of event: 0
----> print histograms statistic for the entire run
EAbs : mean = 279.218 MeV rms = 0 eV
EGap : mean = 19.7181 MeV rms = 0 eV
LAbs : mean = 20.3807 cm rms = 0 fm
LGap : mean = 9.43835 cm rms = 0 fm
EAbs : mean = 260.424 MeV rms = 0 eV
EGap : mean = 20.1593 MeV rms = 0 eV
LAbs : mean = 18.8985 cm rms = 0 fm
LGap : mean = 10.2646 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Transportation, GammaGeneralProc, msc, eIoni
eBrem, CoulombScat, msc, eIoni
eBrem, annihil, CoulombScat, msc
@@ -948,52 +941,38 @@ hFritiofCaptureAtRest,hBertiniCaptureAtRest,muMinusCaptureAtRest, dInela
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 253.71 MeV total track length: 18.3379 cm
Gap: total energy: 18.1797 MeV total track length: 8.925 cm
Absorber: total energy: 271.299 MeV total track length: 19.4388 cm
Gap: total energy: 23.6238 MeV total track length: 11.1558 cm
--> End of event: 0
----> print histograms statistic for the entire run
EAbs : mean = 253.71 MeV rms = 0 eV
EGap : mean = 18.1797 MeV rms = 0 eV
LAbs : mean = 18.3379 cm rms = 0 fm
LGap : mean = 8.925 cm rms = 0 fm
EAbs : mean = 271.299 MeV rms = 0 eV
EGap : mean = 23.6238 MeV rms = 0 eV
LAbs : mean = 19.4388 cm rms = 0 fm
LGap : mean = 11.1558 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
### Run 2 starts.
... create file : B4.root - done
... open analysis file : B4.root - done
... open analysis file : B4.root - done
Using
--> Event 0 starts.
Absorber: total energy: 437.115 MeV total track length: 31.5725 cm
Gap: total energy: 19.1128 MeV total track length: 8.67887 cm
Absorber: total energy: 446.304 MeV total track length: 32.6572 cm
Gap: total energy: 42.0373 MeV total track length: 21.6011 cm
--> End of event: 0
----> print histograms statistic for the entire run
EAbs : mean = 0 eV rms = 0 eV
EGap : mean = 19.1128 MeV rms = 0 eV
LAbs : mean = 31.5725 cm rms = 0 fm
LGap : mean = 8.67887 cm rms = 0 fm
EGap : mean = 0 eV rms = 0 eV
LAbs : mean = 32.6572 cm rms = 0 fm
LGap : mean = 21.6011 cm rms = 0 fm
... write file : B4.root - done
... close file : B4.root - done
There are histograms that can be viewed with visualization:
4 h1 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
But...there are no entries. To make your histograms available for
plotting in this UI session, use CloseFile(false) in your
EndOfRunAction and Reset() in your BeginOfRunAction.
Graphics systems deleted.
Visualization Manager deleting...
### deleting chargedFilter 0xb7fb80
### deleting chargedFilter 0x164e710
+11
View File
@@ -252,6 +252,11 @@
(since they require no external libraries), but the OGL driver requires
that the Geant4 libraries have been built with the OpenGL option.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,
@@ -265,6 +270,12 @@
The user command interface is set via the G4UIExecutive class
in the main() function in exampleB4a.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
+11
View File
@@ -291,6 +291,11 @@ The following paragraphs are common to all basic examples
To see even more commands use help or ls or browse the available UI commands
in the Application Developers Guide.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,\n
@@ -308,10 +313,16 @@ The following paragraphs are common to all basic examples
The user command interface is set via the G4UIExecutive class
in the main () function in exampleB5.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
\section B5_C HOW TO RUN
- Execute exampleB5 in the 'interactive mode' with visualization
+5 -30
View File
@@ -5,36 +5,23 @@ project(B5)
#----------------------------------------------------------------------------
# Find Geant4 package, activating all available UI and Vis drivers by default
# You can set WITH_GEANT4_UIVIS to OFF via the command line or ccmake/cmake-gui
# to build a batch mode only executable
# See the documentation for a guide on how to enable/disable specific components
#
option(WITH_GEANT4_UIVIS "Build example with Geant4 UI and Vis drivers" ON)
if(WITH_GEANT4_UIVIS)
find_package(Geant4 REQUIRED ui_all vis_all)
else()
find_package(Geant4 REQUIRED)
endif()
#----------------------------------------------------------------------------
# Setup Geant4 include directories and compile definitions
# Setup include directory for this project
#
include(${Geant4_USE_FILE})
find_package(Geant4 REQUIRED ui_all vis_all)
#----------------------------------------------------------------------------
# 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
${Geant4_INCLUDE_DIR})
file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc)
file(GLOB headers ${PROJECT_SOURCE_DIR}/include/*.hh)
#----------------------------------------------------------------------------
# Add the executable, and link it to the Geant4 libraries
# Add the executable, use our local headers, and link it to the Geant4 libraries
#
add_executable(exampleB5 exampleB5.cc ${sources} ${headers})
target_link_libraries(exampleB5 ${Geant4_LIBRARIES})
target_include_directories(exampleB5 PRIVATE include)
target_link_libraries(exampleB5 PRIVATE ${Geant4_LIBRARIES})
#----------------------------------------------------------------------------
# Copy all scripts to the build directory, i.e. the directory in which we
@@ -62,15 +49,3 @@ foreach(_script ${B5_SCRIPTS})
COPYONLY
)
endforeach()
#----------------------------------------------------------------------------
# Add program to the project targets
# (this avoids the need of typing the program name after make)
#
add_custom_target(B5 DEPENDS exampleB5)
#----------------------------------------------------------------------------
# Install the executable to 'bin' directory under CMAKE_INSTALL_PREFIX
#
install(TARGETS exampleB5 DESTINATION bin)
+11
View File
@@ -274,6 +274,11 @@
To see even more commands use help or ls or browse the available UI commands
in the Application Developers Guide.
Since 11.1, the TSG visualization driver can also produce the "offscrean"
file output in png, jpeg, gl2ps formats without drawing on the screen.
It can be controlled via UI commands provided in '/vis/tsg' which are
demonstrated in the tsg_offscreen.mac macro in example B5.
For more information on visualization, including information on how to
install and run DAWN, OpenGL and HepRApp, see the visualization tutorials,
for example,
@@ -287,10 +292,16 @@
The user command interface is set via the G4UIExecutive class
in the main() function in exampleB5.cc
The selection of the user command interface is then done automatically
according to the Geant4 configuration or it can be done explicitly via
the third argument of the G4UIExecutive constructor (see exampleB4a.cc).
The gui.mac macros are provided in examples B2, B4 and B5. This macro
is automatically executed if Geant4 is built with any GUI session.
It is also possible to customise the icons menu bar which is
demonstrated in the icons.mac macro in example B5.
C- HOW TO RUN
- Execute exampleB5 in the 'interactive mode' with visualization:
+167 -211
View File
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
**************************************************************
Geant4 version Name: geant4-11-02-ref-06 (28-June-2024)
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
Copyright : Geant4 Collaboration
References : NIM A 506 (2003), 250-303
: IEEE-TNS 53 (2006), 270-278
@@ -33,7 +33,6 @@ Registered graphics systems are:
RayTracer (RayTracer)
VRML2FILE (VRML2FILE)
gMocrenFile (gMocrenFile)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN)
TOOLSSG_OFFSCREEN (TSG_OFFSCREEN, TSG_FILE)
OpenGLImmediateQt (OGLIQt, OGLI)
OpenGLStoredQt (OGLSQt, OGL, OGLS)
@@ -259,10 +258,13 @@ Bremsstrahlung energy threshold above which
primary e+- is added to the list of secondary 100 TeV
Bremsstrahlung energy threshold above which primary
muon/hadron is added to the list of secondary 100 TeV
Positron annihilation at rest model SimplePositronium
Enable 3 gamma annihilation on fly 0
Lowest triplet kinetic energy 1 MeV
Enable sampling of gamma linear polarisation 0
5D gamma conversion model type 0
5D gamma conversion model on isolated ion 0
Use Ricardo-Gerardo pair production model 0
Livermore data directory epics_2017
=======================================================================
====== Ionisation Parameters ========
@@ -433,7 +435,7 @@ ionIoni: for GenericIon XStype:3 SubType=2
Lambda tables from threshold to 100 TeV, 7 bins/decade, spline: 1
StepFunction=(0.2, 0.1 mm), integ: 3, fluct: 1, linLossLim= 0.02
===== EM models for the G4Region DefaultRegionForTheWorld ======
BraggIon : Emin= 0 eV Emax= 2 MeV
Bragg : Emin= 0 eV Emax= 2 MeV
BetheBloch : Emin= 2 MeV Emax= 100 TeV
msc: for alpha SubType= 10
@@ -915,7 +917,7 @@ CoulombScat: for pi- XStype:1 SubType=1 BuildTable=1
=======================================================================
====== Geant4 Native Pre-compound Model Parameters ========
=======================================================================
Type of pre-compound inverse x-section 3
Type of pre-compound inverse x-section 1
Pre-compound model active 1
Pre-compound excitation low energy 100 keV
Pre-compound excitation high energy 30 MeV
@@ -940,12 +942,10 @@ Use discrete excitation energy of the residual 0
Time limit for long lived isomeres 1 ns
Isomer production flag 1
Internal e- conversion flag 1
Store e- internal conversion data 0
Store e- internal conversion data 1
Correlated gamma emission flag 0
Max 2J for sampling of angular correlations 10
=======================================================================
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
### Run 0 starts.
-------- WWWW ------- G4Exception-START -------- WWWW -------
@@ -968,40 +968,40 @@ Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9870027260872 (nsec)
Hodoscope 2 has 0 hits.
Drift Chamber 1 has 34 hits.
Layer[0] : time 6.6726483777458 (nsec) --- local (x,y) -2.670535957086, -15.459053892831
Layer[0] : time 6.6726483776791 (nsec) --- local (x,y) -2.6705359550686, -15.459053887043
Layer[0] : time 6.6724364438581 (nsec) --- local (x,y) -13.23780862396, 11.700787877165
Layer[0] : time 6.7007314325618 (nsec) --- local (x,y) 24.720678661792, 72.55430677598
Layer[0] : time 6.6746364704571 (nsec) --- local (x,y) -10.985158643528, -17.637883173522
Layer[0] : time 6.6730472864275 (nsec) --- local (x,y) -19.404032595146, 5.5189721190572
Layer[0] : time 6.6730472863839 (nsec) --- local (x,y) -19.404032593972, 5.5189721151471
Layer[0] : time 6.9266659511772 (nsec) --- local (x,y) -149.19886338227, -143.37147151472
Layer[0] : time 6.6951976041626 (nsec) --- local (x,y) -17.297275022687, -63.322804462041
Layer[0] : time 6.6951975886854 (nsec) --- local (x,y) -17.297275092184, -63.322804528929
Layer[0] : time 6.7888806014905 (nsec) --- local (x,y) -20.111069201463, -160.77906025403
Layer[0] : time 6.818604417594 (nsec) --- local (x,y) -127.37502702727, -85.362878844913
Layer[1] : time 8.3419372616408 (nsec) --- local (x,y) -5.3332073099432, -30.802133406915
Layer[0] : time 6.8186033614811 (nsec) --- local (x,y) -127.37502671052, -85.362879162699
Layer[1] : time 8.3419372615033 (nsec) --- local (x,y) -5.333207304657, -30.80213339434
Layer[1] : time 8.3415176165109 (nsec) --- local (x,y) -26.390080633209, 23.326526720805
Layer[1] : time 8.3979088565519 (nsec) --- local (x,y) 49.282198983599, 144.58714542264
Layer[1] : time 8.3458876712761 (nsec) --- local (x,y) -21.859635320069, -35.069195575231
Layer[1] : time 8.3427336053094 (nsec) --- local (x,y) -38.674938512116, 10.999108474538
Layer[1] : time 8.3427336052195 (nsec) --- local (x,y) -38.674938512136, 10.999108465643
Layer[1] : time 8.8478629023622 (nsec) --- local (x,y) -297.99883911916, -284.63633515014
Layer[1] : time 8.3868059018484 (nsec) --- local (x,y) -34.337423084557, -126.06141036647
Layer[1] : time 8.6326062030466 (nsec) --- local (x,y) -253.83896982921, -169.7212111701
Layer[2] : time 10.011225033619 (nsec) --- local (x,y) -7.9895583635407, -46.135170769761
Layer[1] : time 8.386805857812 (nsec) --- local (x,y) -34.337423499623, -126.06141072575
Layer[1] : time 8.6326040391362 (nsec) --- local (x,y) -253.8389702616, -169.72121686915
Layer[2] : time 10.011225033407 (nsec) --- local (x,y) -7.9895583548074, -46.135170752197
Layer[2] : time 10.01059699837 (nsec) --- local (x,y) -39.544037574704, 34.927161466643
Layer[2] : time 10.095073608334 (nsec) --- local (x,y) 73.847802219364, 216.5914881433
Layer[2] : time 10.017158870351 (nsec) --- local (x,y) -32.826710887442, -52.611822916749
Layer[2] : time 10.012419985165 (nsec) --- local (x,y) -57.933979073616, 16.521774472672
Layer[2] : time 10.078298403532 (nsec) --- local (x,y) -51.05325756474, -188.60253278252
Layer[2] : time 10.445925203612 (nsec) --- local (x,y) -379.99270523119, -253.28064639878
Layer[3] : time 11.680508403759 (nsec) --- local (x,y) -10.598675463029, -61.432985776839
Layer[2] : time 10.012419985026 (nsec) --- local (x,y) -57.933979074513, 16.521774456915
Layer[2] : time 10.078298330381 (nsec) --- local (x,y) -51.053258778404, -188.60253371918
Layer[2] : time 10.445921893215 (nsec) --- local (x,y) -379.99270754828, -253.28066013562
Layer[3] : time 11.68050840347 (nsec) --- local (x,y) -10.59867545431, -61.432985754927
Layer[3] : time 11.679674022053 (nsec) --- local (x,y) -52.678591797351, 46.519214687581
Layer[3] : time 11.792239835867 (nsec) --- local (x,y) 98.406138266742, 288.60074937808
Layer[3] : time 11.688484723609 (nsec) --- local (x,y) -43.987877415929, -70.495756737718
Layer[3] : time 11.682103339446 (nsec) --- local (x,y) -77.161785798256, 22.070482154642
Layer[3] : time 11.769767390493 (nsec) --- local (x,y) -67.679283060943, -251.10823799979
Layer[4] : time 13.349791951958 (nsec) --- local (x,y) -13.180543780017, -76.736903122195
Layer[3] : time 11.682103339256 (nsec) --- local (x,y) -77.161785801226, 22.07048213092
Layer[3] : time 11.769767287603 (nsec) --- local (x,y) -67.679285182495, -251.10823955567
Layer[4] : time 13.349791951588 (nsec) --- local (x,y) -13.180543771773, -76.736903095478
Layer[4] : time 13.348747335519 (nsec) --- local (x,y) -65.785613619161, 58.094357305148
Layer[4] : time 13.359795786022 (nsec) --- local (x,y) -55.032106933021, -88.327164570999
Layer[4] : time 13.351788490385 (nsec) --- local (x,y) -96.391692871751, 27.659586492481
Layer[4] : time 13.351788490141 (nsec) --- local (x,y) -96.391692877383, 27.659586459291
Drift Chamber 2 has 0 hits.
EM Calorimeter has 8 hits. Total Edep is 1330.2273843407 (MeV)
Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
@@ -1009,11 +1009,6 @@ Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 1 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1021,44 +1016,40 @@ There are histograms that can be viewed with visualization:
... open analysis file : B5.root - done
--> Event 0 starts.
>>> Event 0 >>> Simulation truth : pi+ (0,0,100000)
>>> Event 0 >>> Simulation truth : pi+ (-0,0,100000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867880803883 (nsec)
Hodoscope 2 has 10 hits.
Hodoscope[10] 42.693776378762 (nsec)
Hodoscope[21] 277.31081302495 (nsec)
Hodoscope[15] 55.873792498349 (nsec)
Hodoscope[11] 432.42272832113 (nsec)
Hodoscope[3] 445.37425939279 (nsec)
Hodoscope[4] 344.76454843821 (nsec)
Hodoscope[6] 56.071344077312 (nsec)
Hodoscope[23] 354.28393498159 (nsec)
Hodoscope[16] 527.29893705636 (nsec)
Hodoscope[13] 437.50952698677 (nsec)
Drift Chamber 1 has 6 hits.
Layer[0] : time 6.6709548381997 (nsec) --- local (x,y) -0.002682465132296, 0.0062123828560278
Layer[0] : time 6.8983882452069 (nsec) --- local (x,y) -72.650122610623, 250.07943892006
Layer[1] : time 8.3387769394958 (nsec) --- local (x,y) -0.0054707039837512, 0.019902898989213
Layer[2] : time 10.006599040766 (nsec) --- local (x,y) -0.010167442711037, 0.032725837248744
Layer[3] : time 11.674421141944 (nsec) --- local (x,y) -0.014068348299887, 0.044648782490179
Layer[4] : time 13.342243243137 (nsec) --- local (x,y) -0.018911672191209, 0.056301006563936
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.366460711945 (nsec) --- local (x,y) -82.787696455557, 0.19450595441458
Layer[1] : time 36.035194662319 (nsec) --- local (x,y) -99.323720581466, 0.1990617006355
Layer[2] : time 37.703928811244 (nsec) --- local (x,y) -115.86154576292, 0.20197002738172
Layer[3] : time 39.372662759407 (nsec) --- local (x,y) -132.39755023373, 0.20441553494352
Layer[4] : time 41.04139639115 (nsec) --- local (x,y) -148.93068469023, 0.20540122778311
EM Calorimeter has 70 hits. Total Edep is 17852.510954768 (MeV)
Hadron Calorimeter has 18 hits. Total Edep is 3491.4427191217 (MeV)
Hodoscope[7] 4.9867880803649 (nsec)
Hodoscope 2 has 7 hits.
Hodoscope[10] 42.693893478616 (nsec)
Hodoscope[2] 853.77866942287 (nsec)
Hodoscope[8] 250.84079578652 (nsec)
Hodoscope[19] 56.859826340972 (nsec)
Hodoscope[6] 55.343982182128 (nsec)
Hodoscope[7] 495.81935314938 (nsec)
Hodoscope[11] 203.69686923003 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709548379098 (nsec) --- local (x,y) -0.0067756403066425, 0.0073906289400873
Layer[1] : time 8.3387769388024 (nsec) --- local (x,y) -0.0099926278606033, 0.017568658924285
Layer[2] : time 10.006599039562 (nsec) --- local (x,y) -0.015479911648651, 0.024229681018116
Layer[3] : time 11.674421140242 (nsec) --- local (x,y) -0.020538462591487, 0.029163681873659
Layer[4] : time 13.34224324097 (nsec) --- local (x,y) -0.024539271250352, 0.035941087448643
Drift Chamber 2 has 10 hits.
Layer[0] : time 34.366581574853 (nsec) --- local (x,y) -82.691294357706, 0.2575490956363
Layer[1] : time 36.035314703191 (nsec) --- local (x,y) -99.219857386674, 0.27113901043004
Layer[2] : time 37.704047857661 (nsec) --- local (x,y) -115.74865880945, 0.28307290276609
Layer[2] : time 67.162264725082 (nsec) --- local (x,y) -1290.129459435, 165.55834854679
Layer[2] : time 62.984961951652 (nsec) --- local (x,y) 1356.6966797816, -48.063194168024
Layer[3] : time 39.372781000818 (nsec) --- local (x,y) -132.27735664709, 0.29610978194111
Layer[3] : time 65.183122266138 (nsec) --- local (x,y) -1013.9046848682, 222.68618979017
Layer[3] : time 61.008420084131 (nsec) --- local (x,y) 1142.2883970341, -45.167603632942
Layer[4] : time 41.041513966124 (nsec) --- local (x,y) -148.80443890137, 0.31120033346316
Layer[4] : time 59.027088728178 (nsec) --- local (x,y) 926.25949701545, -43.499779580654
EM Calorimeter has 52 hits. Total Edep is 67684.84057846 (MeV)
Hadron Calorimeter has 14 hits. Total Edep is 767.19162002928 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 2 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1068,34 +1059,28 @@ There are histograms that can be viewed with visualization:
>>> Event 0 >>> Simulation truth : e+ (-0,0,100000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867832233112 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.186002215912 (nsec)
Drift Chamber 1 has 6 hits.
Layer[0] : time 6.670948340625 (nsec) --- local (x,y) 0.0073211601586285, 0.013184225918185
Layer[0] : time 9.8122797492774 (nsec) --- local (x,y) 312.71134569564, 284.81004195729
Layer[1] : time 8.3387688171895 (nsec) --- local (x,y) 0.0098260138838844, 0.025734973476443
Layer[2] : time 10.006589293717 (nsec) --- local (x,y) 0.010605902796119, 0.038054218070042
Layer[3] : time 11.674409770463 (nsec) --- local (x,y) 0.010815725734307, 0.052876709723874
Layer[4] : time 13.342230247337 (nsec) --- local (x,y) 0.013009619247829, 0.068783939190756
Drift Chamber 2 has 6 hits.
Layer[0] : time 34.848759153407 (nsec) --- local (x,y) -147.50796217691, 0.2246569071903
Layer[0] : time 34.863435375881 (nsec) --- local (x,y) -148.97926606319, -4.8232355454257
Layer[1] : time 36.519482832009 (nsec) --- local (x,y) -177.02262981075, 0.23718191943914
Layer[2] : time 38.190206227092 (nsec) --- local (x,y) -206.53585636471, 0.24590834880824
Layer[3] : time 39.860928973385 (nsec) --- local (x,y) -236.04578202111, 0.25401929413388
Layer[4] : time 41.531651938048 (nsec) --- local (x,y) -265.55681902607, 0.26081352705045
EM Calorimeter has 49 hits. Total Edep is 76401.581521515 (MeV)
Hadron Calorimeter has 7 hits. Total Edep is 210.27083725289 (MeV)
Hodoscope[7] 4.9867832234035 (nsec)
Hodoscope 2 has 2 hits.
Hodoscope[8] 43.190330649002 (nsec)
Hodoscope[19] 57.660287089897 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709483403725 (nsec) --- local (x,y) -0.0078194544128074, 0.016877001566486
Layer[1] : time 8.3387688168624 (nsec) --- local (x,y) -0.016170330645767, 0.025466416613827
Layer[2] : time 10.006589293355 (nsec) --- local (x,y) -0.024617143733625, 0.033957207322737
Layer[3] : time 11.674409769853 (nsec) --- local (x,y) -0.032419219533725, 0.043131779952623
Layer[4] : time 13.342230246272 (nsec) --- local (x,y) -0.041127019308454, 0.04983131588152
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.847142604164 (nsec) --- local (x,y) -175.37996203, 0.097670494369148
Layer[1] : time 36.519056477252 (nsec) --- local (x,y) -210.43242993394, 0.10052973459178
Layer[2] : time 38.190970504937 (nsec) --- local (x,y) -245.48556023618, 0.10402435228797
Layer[3] : time 39.862884960085 (nsec) --- local (x,y) -280.54052266602, 0.10945869390707
Layer[4] : time 41.534800272498 (nsec) --- local (x,y) -315.59915960027, 0.11485380328862
EM Calorimeter has 36 hits. Total Edep is 90341.940603355 (MeV)
Hadron Calorimeter has 6 hits. Total Edep is 46.021064065152 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 3 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1105,34 +1090,27 @@ There are histograms that can be viewed with visualization:
>>> Event 0 >>> Simulation truth : proton (-0,0,10000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 5.0086863284267 (nsec)
Hodoscope 2 has 2 hits.
Hodoscope[9] 43.375683330743 (nsec)
Hodoscope[11] 167.0696713933 (nsec)
Drift Chamber 1 has 6 hits.
Layer[0] : time 6.7002543381721 (nsec) --- local (x,y) 0.061699955795404, 0.13367778139925
Layer[0] : time 6.9856455219212 (nsec) --- local (x,y) -214.37744560602, -58.151419376056
Layer[1] : time 8.3754061149888 (nsec) --- local (x,y) 0.095134965797631, 0.15163072174932
Layer[2] : time 10.050558032821 (nsec) --- local (x,y) 0.10184023469292, 0.14259846746547
Layer[3] : time 11.725710156547 (nsec) --- local (x,y) 0.065130155847375, 0.10109565903693
Layer[4] : time 13.400862454082 (nsec) --- local (x,y) 0.012542485167561, 0.069696686791965
Hodoscope[7] 5.0086864841725 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.372291175741 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.7002520202434 (nsec) --- local (x,y) -0.13615699291167, -0.11423808353801
Layer[1] : time 8.3754013376319 (nsec) --- local (x,y) -0.23418287293239, -0.23364684807226
Layer[2] : time 10.050550801061 (nsec) --- local (x,y) -0.32397110617685, -0.34133337768202
Layer[3] : time 11.725700371749 (nsec) --- local (x,y) -0.41033275902485, -0.41915374933057
Layer[4] : time 13.400850133958 (nsec) --- local (x,y) -0.53734923757434, -0.50072537656057
Drift Chamber 2 has 5 hits.
Layer[0] : time 35.00161826807 (nsec) --- local (x,y) -148.215910084, 0.064369430189429
Layer[1] : time 36.679712005433 (nsec) --- local (x,y) -177.84766387749, 0.11131009603679
Layer[2] : time 38.357812947108 (nsec) --- local (x,y) -207.51499347779, 0.1717486083707
Layer[3] : time 40.035915288661 (nsec) --- local (x,y) -237.18858466969, 0.29177227374236
Layer[4] : time 41.714021565584 (nsec) --- local (x,y) -266.88125849306, 0.40198631631247
EM Calorimeter has 44 hits. Total Edep is 3336.5504212072 (MeV)
Hadron Calorimeter has 13 hits. Total Edep is 83.793786862242 (MeV)
Layer[0] : time 34.998981754733 (nsec) --- local (x,y) -149.737938906, -1.9109347911622
Layer[1] : time 36.677062052274 (nsec) --- local (x,y) -179.31596936378, -2.0090738563814
Layer[2] : time 38.355112007681 (nsec) --- local (x,y) -208.63928742781, -2.9333467490963
Layer[3] : time 40.032986354926 (nsec) --- local (x,y) -236.40281513517, -9.4243058877382
Layer[4] : time 41.710860413247 (nsec) --- local (x,y) -264.15946414451, -15.934912970631
EM Calorimeter has 14 hits. Total Edep is 284.90658100546 (MeV)
Hadron Calorimeter has 10 hits. Total Edep is 477.09941960831 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 4 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1142,29 +1120,28 @@ There are histograms that can be viewed with visualization:
>>> Event 0 >>> Simulation truth : pi+ (-0,0,10000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9872689240519 (nsec)
Hodoscope 2 has 0 hits.
Drift Chamber 1 has 8 hits.
Layer[0] : time 9.6401713841559 (nsec) --- local (x,y) 710.6646447744, 42.987480887565
Layer[0] : time 9.8390975052805 (nsec) --- local (x,y) 133.39514901258, 285.38162769857
Layer[0] : time 6.6764363922637 (nsec) --- local (x,y) -17.704214866223, -26.647240764308
Layer[0] : time 12.245613277157 (nsec) --- local (x,y) 658.12078579518, 11.286923074097
Layer[1] : time 8.3492931100349 (nsec) --- local (x,y) -35.628173991906, -53.451032789776
Layer[2] : time 10.022170667797 (nsec) --- local (x,y) -53.641689364472, -80.310818909386
Layer[3] : time 11.695055245156 (nsec) --- local (x,y) -71.636226834283, -107.22182786876
Layer[4] : time 13.367942633087 (nsec) --- local (x,y) -89.714333400313, -134.09197032737
Drift Chamber 2 has 0 hits.
EM Calorimeter has 0 hits. Total Edep is 0 (MeV)
Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
Hodoscope[7] 4.9872689587926 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[10] 42.689301474077 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6715983169245 (nsec) --- local (x,y) -0.33163501705994, -0.1155679252521
Layer[1] : time 8.3395815130072 (nsec) --- local (x,y) -0.57569849160462, -0.17706776702595
Layer[2] : time 10.007564680186 (nsec) --- local (x,y) -0.79762575712661, -0.24146696426985
Layer[3] : time 11.675547847158 (nsec) --- local (x,y) -1.0179262202653, -0.30452487525457
Layer[4] : time 13.343531022748 (nsec) --- local (x,y) -1.2358604322027, -0.38412635822619
Drift Chamber 2 has 6 hits.
Layer[0] : time 34.361401678423 (nsec) --- local (x,y) -83.451028104635, -1.4818053887373
Layer[1] : time 36.030253033513 (nsec) --- local (x,y) -99.586195345323, -1.5789045262503
Layer[2] : time 37.699104028203 (nsec) --- local (x,y) -115.71796163548, -1.6785515243348
Layer[3] : time 39.367955027084 (nsec) --- local (x,y) -131.84988934723, -1.7265445491675
Layer[4] : time 41.036805419972 (nsec) --- local (x,y) -147.9760638432, -1.7828924393696
Layer[4] : time 41.396585772789 (nsec) --- local (x,y) -114.45456003947, 44.691624573626
EM Calorimeter has 11 hits. Total Edep is 206.65029203192 (MeV)
Hadron Calorimeter has 11 hits. Total Edep is 586.77210658292 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 5 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1172,35 +1149,29 @@ There are histograms that can be viewed with visualization:
... open analysis file : B5.root - done
--> Event 0 starts.
>>> Event 0 >>> Simulation truth : e+ (0,0,10000)
>>> Event 0 >>> Simulation truth : e+ (-0,0,10000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867832405997 (nsec)
Hodoscope[7] 4.9867832346592 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.182800390766 (nsec)
Drift Chamber 1 has 6 hits.
Layer[0] : time 6.6709484551684 (nsec) --- local (x,y) -0.22090305053347, 0.066588872793262
Layer[1] : time 8.3387690461902 (nsec) --- local (x,y) -0.36924457881958, 0.17498975959799
Layer[2] : time 10.006589645974 (nsec) --- local (x,y) -0.53419078543706, 0.27107912552322
Layer[3] : time 11.674410244719 (nsec) --- local (x,y) -0.70207018328634, 0.3599249414491
Layer[4] : time 13.342230840744 (nsec) --- local (x,y) -0.8511332755974, 0.473496820504
Layer[4] : time 13.997855839059 (nsec) --- local (x,y) 111.25988038367, -217.31047115656
Hodoscope[9] 43.18604133867 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709483993118 (nsec) --- local (x,y) 0.011712640370662, 0.12703744297467
Layer[1] : time 8.3387689252515 (nsec) --- local (x,y) -0.036218643390032, 0.2365727931659
Layer[2] : time 10.006589442486 (nsec) --- local (x,y) -0.083838627915537, 0.33264972552847
Layer[3] : time 11.674409955387 (nsec) --- local (x,y) -0.098062149412397, 0.4325546566709
Layer[4] : time 13.342230478456 (nsec) --- local (x,y) -0.11203689248329, 0.54743475518977
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.845535364772 (nsec) --- local (x,y) -149.59879458049, 1.9563998487088
Layer[1] : time 36.516262971347 (nsec) --- local (x,y) -179.1332840874, 2.0491820954648
Layer[2] : time 38.186991205514 (nsec) --- local (x,y) -208.67098982402, 2.1333217170481
Layer[3] : time 39.857716556029 (nsec) --- local (x,y) -238.19397508757, 2.235793645926
Layer[4] : time 41.528442278096 (nsec) --- local (x,y) -267.71886149383, 2.3340750050045
EM Calorimeter has 18 hits. Total Edep is 9422.5150523877 (MeV)
Hadron Calorimeter has 2 hits. Total Edep is 1.7568025649655 (MeV)
Layer[0] : time 34.848222964479 (nsec) --- local (x,y) -150.29800507082, 1.7136492716911
Layer[1] : time 36.519069411888 (nsec) --- local (x,y) -180.43057230248, 1.7239789352412
Layer[2] : time 38.189910665815 (nsec) --- local (x,y) -210.53668047862, 1.5047187323312
Layer[3] : time 39.860749165496 (nsec) --- local (x,y) -240.62906596803, 1.2879890303411
Layer[4] : time 41.531583286186 (nsec) --- local (x,y) -270.69955231, 1.0659886646892
EM Calorimeter has 21 hits. Total Edep is 9580.556064736 (MeV)
Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 6 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1208,34 +1179,29 @@ There are histograms that can be viewed with visualization:
... open analysis file : B5.root - done
--> Event 0 starts.
>>> Event 0 >>> Simulation truth : proton (0,0,1000)
>>> Event 0 >>> Simulation truth : proton (-0,0,1000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 6.8391001829207 (nsec)
Hodoscope[7] 6.8389558773932 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 59.388193743042 (nsec)
Hodoscope[9] 59.313581466409 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 9.1528621049605 (nsec) --- local (x,y) 0.32482730163322, -2.4357003316704
Layer[1] : time 11.444459007444 (nsec) --- local (x,y) 0.2528682274619, -4.3611803672758
Layer[2] : time 13.736307927339 (nsec) --- local (x,y) 0.22120964659181, -6.3076631384454
Layer[3] : time 16.028408290254 (nsec) --- local (x,y) 0.30987950108901, -8.5806046234649
Layer[4] : time 18.320700311448 (nsec) --- local (x,y) 0.63536370744962, -10.80852521507
Layer[0] : time 9.153197827135 (nsec) --- local (x,y) -2.5518253264194, 1.3974778512736
Layer[1] : time 11.445232775581 (nsec) --- local (x,y) -4.0608945275672, 1.7009529482719
Layer[2] : time 13.73748309333 (nsec) --- local (x,y) -6.3039643017089, 2.5364912992481
Layer[3] : time 16.029934639768 (nsec) --- local (x,y) -9.3588055899364, 3.2060440690804
Layer[4] : time 18.322596931931 (nsec) --- local (x,y) -12.424517139668, 4.1243620077777
Drift Chamber 2 has 5 hits.
Layer[0] : time 47.908009317685 (nsec) --- local (x,y) -155.01112697814, -34.745530130759
Layer[1] : time 50.208378964652 (nsec) --- local (x,y) -186.55262032559, -36.809167253659
Layer[2] : time 52.508933427837 (nsec) --- local (x,y) -218.08505590067, -38.725720148306
Layer[3] : time 54.809347877503 (nsec) --- local (x,y) -248.37458533036, -40.120353889959
Layer[4] : time 57.109935673283 (nsec) --- local (x,y) -278.15707288549, -41.330960828909
EM Calorimeter has 6 hits. Total Edep is 364.36642792611 (MeV)
Hadron Calorimeter has 1 hits. Total Edep is 0.31811752647332 (MeV)
Layer[0] : time 47.832282856649 (nsec) --- local (x,y) -188.22446947764, 7.7972538199101
Layer[1] : time 50.132657576614 (nsec) --- local (x,y) -219.03443029607, 7.4210334457103
Layer[2] : time 52.433233361606 (nsec) --- local (x,y) -249.91800962794, 6.9555908041979
Layer[3] : time 54.733932432893 (nsec) --- local (x,y) -280.48368613494, 6.4558433540426
Layer[4] : time 57.034881014872 (nsec) --- local (x,y) -311.06799889339, 5.8403397229555
EM Calorimeter has 5 hits. Total Edep is 302.24801040526 (MeV)
Hadron Calorimeter has 2 hits. Total Edep is 1.1180453752656 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 7 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1243,34 +1209,29 @@ There are histograms that can be viewed with visualization:
... open analysis file : B5.root - done
--> Event 0 starts.
>>> Event 0 >>> Simulation truth : pi+ (-0,0,1000)
>>> Event 0 >>> Simulation truth : pi+ (0,0,1000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 5.0351318078072 (nsec)
Hodoscope[7] 5.0351370784809 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[10] 43.072896590196 (nsec)
Hodoscope[10] 43.132459781645 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.7356923333028 (nsec) --- local (x,y) -0.85873375950705, 1.6341856338631
Layer[1] : time 8.4197550753428 (nsec) --- local (x,y) -1.3130141551809, 3.5622457876611
Layer[2] : time 10.103818545477 (nsec) --- local (x,y) -1.6766366175687, 5.3749721386629
Layer[3] : time 11.787884116455 (nsec) --- local (x,y) -2.1285577151727, 7.1093526761477
Layer[4] : time 13.471955975347 (nsec) --- local (x,y) -3.1745188564809, 8.8945187605438
Layer[0] : time 6.73569156906 (nsec) --- local (x,y) -0.55036982605612, -0.075577871866188
Layer[1] : time 8.4197482214431 (nsec) --- local (x,y) -0.56242653354845, -0.81627644390484
Layer[2] : time 10.103808394726 (nsec) --- local (x,y) -0.50515642425194, -1.52404654403
Layer[3] : time 11.787871070119 (nsec) --- local (x,y) -0.31209730444132, -2.1344770232806
Layer[4] : time 13.471936639176 (nsec) --- local (x,y) -0.054349427338769, -2.792202083006
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.664282312828 (nsec) --- local (x,y) -92.682607258069, 29.077500946997
Layer[1] : time 36.349260230187 (nsec) --- local (x,y) -108.8250631018, 30.633262316121
Layer[2] : time 38.034261315287 (nsec) --- local (x,y) -125.14753595421, 32.241213853556
Layer[3] : time 39.719311095294 (nsec) --- local (x,y) -141.88330022045, 33.704712574853
Layer[4] : time 41.404361855542 (nsec) --- local (x,y) -158.57684989402, 35.124246922144
EM Calorimeter has 5 hits. Total Edep is 196.69605970148 (MeV)
Hadron Calorimeter has 6 hits. Total Edep is 42.471579465713 (MeV)
Layer[0] : time 34.722820355096 (nsec) --- local (x,y) -83.519319236587, -15.613211399321
Layer[1] : time 36.408084178667 (nsec) --- local (x,y) -102.0193839761, -17.081571285398
Layer[2] : time 38.09330363207 (nsec) --- local (x,y) -120.14763215434, -18.414672478742
Layer[3] : time 39.778518713733 (nsec) --- local (x,y) -138.20577565528, -19.844844579434
Layer[4] : time 41.463750398005 (nsec) --- local (x,y) -156.3700294203, -21.305399733146
EM Calorimeter has 16 hits. Total Edep is 581.67383203992 (MeV)
Hadron Calorimeter has 1 hits. Total Edep is 0.037339796506785 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
### Run 8 starts.
... create file : B5.root - done
... open analysis file : B5.root - done
@@ -1280,32 +1241,27 @@ There are histograms that can be viewed with visualization:
>>> Event 0 >>> Simulation truth : e+ (0,0,1000)
Hodoscope 1 has 1 hits.
Hodoscope[7] 4.9867843864763 (nsec)
Hodoscope[7] 4.9867842458664 (nsec)
Hodoscope 2 has 1 hits.
Hodoscope[9] 43.208367138885 (nsec)
Drift Chamber 1 has 5 hits.
Layer[0] : time 6.6709542559535 (nsec) --- local (x,y) 1.6498495250725, 0.33962536871918
Layer[1] : time 8.3387787117601 (nsec) --- local (x,y) 2.6945524636116, 0.51456778633208
Layer[2] : time 10.0066026537 (nsec) --- local (x,y) 3.6005666163972, 0.87201050718744
Layer[3] : time 11.674427832295 (nsec) --- local (x,y) 4.5076409425278, 1.5933905877985
Layer[4] : time 13.342252849605 (nsec) --- local (x,y) 5.4666651096915, 2.2013551379382
Drift Chamber 2 has 6 hits.
Layer[0] : time 34.868326480027 (nsec) --- local (x,y) -147.35717133647, -1.1282361988465
Layer[1] : time 36.539562723469 (nsec) --- local (x,y) -179.35984464524, -2.0374666553141
Layer[2] : time 38.210811190297 (nsec) --- local (x,y) -211.41320395303, -3.1569140140396
Layer[3] : time 39.882096559817 (nsec) --- local (x,y) -243.62823576861, -4.5499999464813
Layer[4] : time 41.553393733957 (nsec) --- local (x,y) -275.91044761426, -5.6205877630586
Layer[4] : time 41.799469076123 (nsec) --- local (x,y) -192.97247751191, -13.536093243078
EM Calorimeter has 9 hits. Total Edep is 965.27562419886 (MeV)
Hodoscope[9] 43.122772126907 (nsec)
Drift Chamber 1 has 6 hits.
Layer[0] : time 6.6709645045779 (nsec) --- local (x,y) -1.7331574975067, -0.094926214328247
Layer[1] : time 8.3388021532606 (nsec) --- local (x,y) -3.9568779767214, -0.45874350551086
Layer[2] : time 10.006644263377 (nsec) --- local (x,y) -6.445017885804, -0.92798868028034
Layer[3] : time 11.674494262959 (nsec) --- local (x,y) -9.3871860206838, -1.2755599004368
Layer[4] : time 13.342352377042 (nsec) --- local (x,y) -12.574158458145, -2.2963429738764
Layer[4] : time 13.720500496896 (nsec) --- local (x,y) 154.23526451345, 290.36839894796
Drift Chamber 2 has 5 hits.
Layer[0] : time 34.784049178336 (nsec) --- local (x,y) -195.04583188566, -22.32950225775
Layer[1] : time 36.45509028051 (nsec) --- local (x,y) -226.0558728001, -24.507291518148
Layer[2] : time 38.126121230655 (nsec) --- local (x,y) -257.00443160134, -26.855973179648
Layer[3] : time 39.79715415644 (nsec) --- local (x,y) -287.95951010076, -29.245458454357
Layer[4] : time 41.468167412331 (nsec) --- local (x,y) -318.80604790358, -31.796973240453
EM Calorimeter has 9 hits. Total Edep is 966.70057239402 (MeV)
Hadron Calorimeter has 0 hits. Total Edep is 0 (MeV)
... write file : B5.root - done
... write file : B5ntuple.root - done
... close file : B5.root - done
... close file : B5ntuple.root - done
There are histograms that can be viewed with visualization:
2 h1 histograms(s)
2 h2 histograms(s)
List them with "/analysis/list".
View them immediately with "/vis/plot" or "/vis/reviewPlots".
Graphics systems deleted.
Visualization Manager deleting...
+1 -1
View File
@@ -8,4 +8,4 @@ add_subdirectory(B3)
add_subdirectory(B4)
add_subdirectory(B5)
add_custom_target(basic DEPENDS B1 B2 B3 B4 B5)
add_custom_target(basic DEPENDS exampleB1 B2 B3 B4 exampleB5)
+11
View File
@@ -5,6 +5,17 @@ which **must** added in reverse chronological order (newest at the top). It must
be used as a substitute for writing good git commit messages!
## 2024-09-18 I. Hrivnacova (exbasic-V11-02-04)
- Added information about gui.mac and icons.mac
in the USER INTERFACES section in README
## 2024-09-16 I. Hrivnacova (exbasic-V11-02-03)
- Added information about TSG visualization driver and tsg_offscreen.mac
in the VISUALIZATION section in README
## 2024-07-01 Ben Morgan (exbasic-V11-02-02)
- Simplify and modernize CMake scripts for all basic examples
## 2024-06-10 I. Hrivnacova (exbasic-V11-02-01)
- Fix includes, simplified local variables names:
- Applied suggestions of include-what-you-use tools,