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
@@ -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