Skip to content

Commit 7342122

Browse files
committed
Import Geant4 11.3.1 source tree
1 parent 32390e8 commit 7342122

File tree

388 files changed

+28570
-28514
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

388 files changed

+28570
-28514
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ project(Geant4
3131
HOMEPAGE_URL "https://geant4.cern.ch")
3232
set(${PROJECT_NAME}_VERSION_MAJOR 11)
3333
set(${PROJECT_NAME}_VERSION_MINOR 3)
34-
set(${PROJECT_NAME}_VERSION_PATCH 0)
34+
set(${PROJECT_NAME}_VERSION_PATCH 1)
3535
set(${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}")
3636

3737
# - Prepend our own CMake Modules to the search path

ReleaseNotes/Patch.11.3-1.txt

+170
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
2+
Geant4 11.3 - patch-01 Release Notes
3+
------------------------------------
4+
5+
21 March 2025
6+
7+
List of fixes included in this public patch since the public release 11.3.0:
8+
9+
o Analysis
10+
--------
11+
+ Fix to qualify use of G4Accumulables namespace to avoid clashes and order
12+
dependence of inclusion of headers.
13+
+ Removed false warnings about non-existing n-tuple and removed debug messages
14+
when filling inactivated n-tuple.
15+
16+
o Event
17+
-----
18+
+ Fixed cut&paste error in G4StackManager::TransferStackedTracks(..),
19+
reported by Coverity.
20+
21+
o Externals
22+
---------
23+
+ CLHEP:
24+
o Properly export static symbols in RandFlat for DLL build support on Windows.
25+
26+
o Geometry
27+
--------
28+
+ magnetic_field:
29+
o Added missing guard in G4TMagFieldEquation header and minor cleanup.
30+
Fixes [GitHub PR #83](https://github.com/Geant4/geant4/pull/83).
31+
+ management:
32+
o In G4GeometryManager, fix in ConfigureParallelOptimisation() to reset
33+
logical volumes iterator; in ReportWorkerIsDoneOptimising(), added checks
34+
to report fatal error if incorrect number of volumes was voxelised, and warns
35+
if number of workers reporting is not as expected.
36+
In ConfigureParallelOptimisation(), reports on the times it was called.
37+
Applied clang-tidy and some code cleanup; moved additional checks/warnings
38+
under verbosity level.
39+
o In G4VSolid::EstimateCubicVolume(..), initialise local variable to zero
40+
to silence invalid false positive warnings reported in compilation of CMSSW.
41+
o G4UAdapter: removed fake default constructor, clearing compilation warnings
42+
on gcc-14.
43+
+ solids/CSG:
44+
o Hide all ENorm/ESide enums in anonymous namespaces to prevent ODR warnings.
45+
Identified in ATLAS Athena code built against v11.3.0.
46+
o Removed fake default constructor from G4U* wrappers, clearing compilation
47+
warnings on gcc-14.
48+
+ solids/specific:
49+
o G4Polyhedra, G4UPolyhedra: fix to verify the validity of the delta phi to
50+
restore proper visualization.
51+
o Removed fake default constructor from G4U* wrappers, clearing compilation
52+
warnings on gcc-14.
53+
54+
o Global
55+
------
56+
+ Corrected logic error in G4PhysicsTable when reading data in binary
57+
mode on Windows platforms.
58+
+ In G4ThreadLocalSingleton, removed unprotected left-over debug inclusion
59+
of G4BackTrace header. Addressing problem report #2649.
60+
+ Updated date and version for 11.3.1.
61+
62+
o Materials
63+
---------
64+
+ Made ios flags for Store/Retrieve of G4ExtDEDXTable consistent to avoid
65+
issues on Windows platforms.
66+
67+
o Physics Lists
68+
-------------
69+
+ constructors/limiters:
70+
o G4GenericBiasingPhysics: fixed exception in adding call to
71+
AddBiasingProcessLimiter() when parallel world is not defined.
72+
Ignore calls to *AddPDGRange() functions if 'PDGlow' greater
73+
than 'PDGhigh'.
74+
75+
o Processes - Cuts
76+
----------------
77+
+ In G4ProductionCutsTable::UpdateCoupleTable(), make sure that the
78+
couple tables are updated if 'userEnergyCuts' vectors are set.
79+
80+
o Processes - Electromagnetic
81+
---------------------------
82+
+ dna
83+
o Removed obsolete/commented references to G4AllocatorList.
84+
+ lowenergy:
85+
o Fixed reported Coverity defects in Penenelope models, G4ShellData,
86+
G4FluoData and G4AugerTransition.
87+
+ standard:
88+
o G4OrePowellAtRestModel: added missing decay plane rotation.
89+
90+
o Processes - Hadronic
91+
--------------------
92+
+ de_excitation:
93+
o G4ExcitationHandler, G4GammaTransition, G4PhotonEvaporation: removed
94+
production of unphysical states. Addressing problem report #2584.
95+
Changes in hadronic shower shapes for QGSP_BIC and QGSP_INCLXX physics
96+
lists are observed, with wider lateral shower shapes and increase in
97+
energy response.
98+
+ models/radioactive_decay:
99+
o Fix in G4RadioactiveDecay to enable biasing in radioactive decay.
100+
Addressing problem report #2592.
101+
+ util
102+
o G4Fragment: added protection against precision loss in computation of
103+
a boost vector at rest.
104+
o G4HadronicDeveloperParameters: added limitation of warning printout on
105+
change of parameters.
106+
107+
o processes/scoring
108+
-----------------
109+
+ Fixes to G4EnergySplitter to ensure that each call to
110+
SplitEnergyInVolumes() utilises the correct phantom parameterisation,
111+
according to [GitHub PR#80](https://github.com/Geant4/geant4/pull/80)
112+
Addressing problem report #2636.
113+
114+
o Run
115+
---
116+
+ Correction in G4WorkerRunManager::InitializeGeometry() when invoking
117+
G4GeometryManager in undertaking parallel voxelisation.
118+
119+
o Examples
120+
--------
121+
+ advanced/HGCal_testbeam
122+
o Restore the original beam energy after it is modified.
123+
o Ensure non-negative beam energy.
124+
+ extended/biasing/GB01
125+
+ extended/biasing/GB02
126+
o Propagate biasing on/off to detector construction to initialisation
127+
of biasing classes only if biasing requested.
128+
o Added vis.mac and enabled detector visualisation on startup.
129+
o Removed unused WITH_GEANT4_UIVIS cmake option.
130+
+ extended/biasing/GB03
131+
o Added option -b (biasing on/off).
132+
o Set default splitting probability to 0.2.
133+
o Instantiate G4GenericBiasingPhysics only if biasing is enabled.
134+
Propagate biasing on/off to detector construction to initialisation
135+
of biasing classes only if biasing requested.
136+
o Removed unused WITH_GEANT4_UIVIS cmake option.
137+
+ extended/biasing/GB04
138+
o Propagate biasing on/off to detector construction to initialisation
139+
of biasing classes only if biasing requested.
140+
o Added vis.mac and enabled detector visualisation on startup.
141+
o Removed unused WITH_GEANT4_UIVIS cmake option.
142+
+ extended/biasing/GB05
143+
o Propagate biasing on/off to detector construction to initialisation
144+
of biasing classes only if biasing requested.
145+
o Removed unused WITH_GEANT4_UIVIS cmake option.
146+
+ extended/biasing/GB06
147+
o Added check for null pointer to shared data; fixing detected crash
148+
when biasing is off.
149+
o Propagate biasing on/off to parallel world construction to
150+
initialization of biasing classes only if biasing requested.
151+
o Removed unused WITH_GEANT4_UIVIS cmake option.
152+
+ extended/biasing/GB07
153+
o Propagate biasing on/off to detector construction to initialisation
154+
of biasing classes only if biasing requested.
155+
o Removed unused WITH_GEANT4_UIVIS cmake option.
156+
157+
----------------------------------------------------------------------------
158+
159+
Technical Notes
160+
---------------
161+
162+
o This patch should be applied on top of release 11.3 series.
163+
o Technical notes distributed for release 11.3 are also applicable and
164+
valid for this patch.
165+
166+
The code and rebuilt binary libraries for release 11.3.1 are available
167+
through the Geant4 "Download" Web page.
168+
169+
Please refer to the Geant4 User Documentation for further information about
170+
using Geant4.

examples/advanced/CaTS/CaTS.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
3838

3939

4040
**************************************************************
41-
Geant4 version Name: geant4-11-03-ref-00 (6-December-2024)
41+
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
4242
Copyright : Geant4 Collaboration
4343
References : NIM A 506 (2003), 250-303
4444
: IEEE-TNS 53 (2006), 270-278
@@ -781,4 +781,4 @@ Correlated gamma emission flag 0
781781
Max 2J for sampling of angular correlations 10
782782
=======================================================================
783783
writing Event: 0
784-
TimeTotal> 16.787 2.800
784+
TimeTotal> 13.981 2.200

0 commit comments

Comments
 (0)