Skip to content

Commit 62f62ec

Browse files
committed
Import Geant4 11.3.2 source tree
1 parent 7342122 commit 62f62ec

File tree

266 files changed

+7941
-7753
lines changed

Some content is hidden

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

266 files changed

+7941
-7753
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 1)
34+
set(${PROJECT_NAME}_VERSION_PATCH 2)
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-2.txt

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
2+
Geant4 11.3 - patch-02 Release Notes
3+
------------------------------------
4+
5+
25 April 2025
6+
7+
List of fixes included in this public patch since release 11.3.1:
8+
9+
o Externals
10+
---------
11+
+ g4tools:
12+
o Fixed compilation errors on Windows in glarea header, triggered when enabling
13+
GL WIN32 support, as reported in problem report #2599.
14+
+ zlib:
15+
o Fix in zutil.h to remove redundant block on macOS and allow for porting on
16+
macOS-15.4 with clang-17.0.0.
17+
18+
o Geometry
19+
--------
20+
+ management:
21+
o In G4GeometryManager, removed redundant declaration of not implemented method
22+
ChooseSequentialOptimisation().
23+
24+
o Global
25+
------
26+
+ Added Scintillation, Cherenkov, Transition Radiation and Synchrotron Radiation
27+
processes to G4PhysicsModelCatalog::Initialize().
28+
Addressing problem report #2651.
29+
+ Updated date and version for 11.3.2.
30+
31+
o Parameterisations
32+
-----------------
33+
+ channeling:
34+
o In G4VChannelingFastSimCrystalData::IonizationLosses(), fixed bug in the
35+
electron ionisation loss correction formula.
36+
37+
o Physics Lists
38+
-------------
39+
+ lists:
40+
o In FTFP_BERT_ATL, use the default FTF tuning parameters, as for all other
41+
reference physics lists. In order to enable the special FTF tune for ATLAS,
42+
one can either use the following C++ call in user code:
43+
G4FTFTunings::Instance()->SetTuneApplicabilityState( 4, 1 );
44+
or the UI command (before run-initialisation):
45+
/process/had/models/ftf/selectTuneByIndex 4
46+
47+
o Processes - Decay
48+
-----------------
49+
+ Removed approximation in calculation of G4Decay path length.
50+
Addressing problem report #2645.
51+
52+
o Processes - Electromagnetic
53+
---------------------------
54+
+ utils:
55+
o G4VAtomDeexcitation: fix to allow PIXE simulation.
56+
Addressing problem report #2650.
57+
o Fix in G4EmTableType header to make it self-consistent.
58+
Reported in [GitHub PR#85](https://github.com/Geant4/geant4/pull/85).
59+
60+
o Processes - Hadronic
61+
--------------------
62+
+ models/cascade:
63+
o In G4CascadeFinalStateAlgorithm and G4NucleiModel, introduced the
64+
possibility to enable behaviour as either in Geant4 version 11.3
65+
(default) or as in 11.2, according to the value of Boolean flags
66+
through the call in G4HadronicParameters:
67+
SetBertiniAs11_2( true ).
68+
Also possible to configure the properties of nuclei of G4NucleiModel
69+
through the call in G4HadronicParameters:
70+
SetBertiniNucleiModelAs11_2( true )
71+
and the angular distribution of >= 4-body final-state emissions in
72+
G4CascadeFinalStateAlgorithm, through the call in G4HadronicParameters:
73+
SetBertiniAngularEmissionsAs11_2( true ).
74+
Note that the default changes introduced in release 11.3 are to be
75+
considered as a real improvement of the Bertini model, although some
76+
degradation of thin-target data, in particular for the pion production
77+
in HARP data, is observed. A retuning of the parameters of the model
78+
will be likely necessary in the near future, based on these changes.
79+
+ util
80+
o Added accessor and modifier in G4HadronicDeveloperParameters for
81+
selecting the Bertini model mode as Geant4 version 11.3 (default)
82+
or 11.2.
83+
84+
o Visualization
85+
-------------
86+
+ OpenGL:
87+
o Fixed compilation errors on Windows in G4OpenGLWin32Viewer, triggered
88+
when enabling GL WIN32 support, as reported in problem report #2599.
89+
+ RayTracer:
90+
o Fix in G4RayTracerXViewer for use of MT.
91+
92+
o Examples
93+
--------
94+
+ extended/geometry/vecGeomNavigation
95+
o Use G4cout for VecGeom logger output.
96+
+ extended/hadronic/FlukaCern
97+
o Ensure compatibility with FLUKA v4-5.0: make the link time resolution
98+
of COMMON blocks (declared as external structs in the C++ source)
99+
compatible with the new FLUKA version.
100+
101+
----------------------------------------------------------------------------
102+
103+
Technical Notes
104+
---------------
105+
106+
o This patch should be applied on top of release 11.3 series.
107+
o Technical notes distributed for release 11.3 are also applicable and
108+
valid for this patch.
109+
110+
The code and rebuilt binary libraries for release 11.3.2 are available
111+
through the Geant4 "Download" Web page.
112+
113+
Please refer to the Geant4 User Documentation for further information about
114+
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-patch-01 (21-March-2025)
41+
Geant4 version Name: geant4-11-03-patch-02 (25-April-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> 13.981 2.200
784+
TimeTotal> 2.324 1.420

examples/advanced/ChargeExchangeMC/ChargeExchangeMC.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
**************************************************************
13-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
13+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1414
Copyright : Geant4 Collaboration
1515
References : NIM A 506 (2003), 250-303
1616
: IEEE-TNS 53 (2006), 270-278
@@ -1487,7 +1487,7 @@ Event 13268
14871487
Run terminated.
14881488
Run Summary
14891489
Number of events processed : 13269, effectively: 10
1490-
User=4.980000s Real=5.031478s Sys=0.000000s
1490+
User=2.900000s Real=2.906851s Sys=0.000000s
14911491

14921492
--- Setup acceptances (range | real (trg / mon) | rec (trg / mon / all)):
14931493
1 [ 1.0000, 0.8000) | 0.00100604 ( 1 / 994 ) | 0.00100604 ( 1 / 994 / 1229 )

examples/advanced/HGCal_testbeam/testbeam_electron.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278

examples/advanced/ICRP110_HumanPhantoms/ICRP110Phantoms.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278

examples/advanced/ICRP145_HumanPhantoms/ICRP145Phantoms.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278

examples/advanced/STCyclotron/STCyclotron.out

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278
@@ -159,14 +159,14 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
159159
Run terminated.
160160
Run Summary
161161
Number of events processed : 10
162-
User=17.940000s Real=18.456672s Sys=0.010000s
162+
User=10.450000s Real=10.453247s Sys=0.000000s
163163
... write file : SolidTargetCyclotron.root - done
164164
... close file : SolidTargetCyclotron.root - done
165165
G4 kernel has come to Quit state.
166166
Deleting G4Run (id:0)
167-
UserDetectorConstruction deleted 0xf14c50
168-
UserPhysicsList deleted 0xf1c1b0
169-
UserActionInitialization deleted 0x10a2b20
167+
UserDetectorConstruction deleted 0x9b7020
168+
UserPhysicsList deleted 0x9be580
169+
UserActionInitialization deleted 0xb44ef0
170170
UserWorkerInitialization deleted 0
171171
UserWorkerThreadInitialization deleted 0
172172
UserRunAction deleted.

examples/advanced/air_shower/air_shower.out

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278
@@ -778,8 +778,8 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
778778
ooo Run 0 starts (global).
779779

780780
--------- Ranlux engine status ---------
781-
Initial seed = 1742561474
782-
float_seed_table[] = 0.57739 0.703981 0.268808 0.267803 0.927248 0.120821 0.595837 0.0118513 0.322893 0.412143 0.647073 0.0984073 0.842813 0.474125 0.654698 0.176873 0.422134 0.350676 0.111626 0.678596 0.356478 0.258324 0.777584 0.370067
781+
Initial seed = 1745424550
782+
float_seed_table[] = 0.0719131 0.622099 0.693342 0.583129 0.453345 0.335303 0.892736 0.113858 0.0750468 0.936936 0.64502 0.915509 0.25001 0.0199363 0.842928 0.117684 0.0681565 0.30302 0.218614 0.764352 0.943045 0.0840406 0.921154 0.242968
783783
i_lag = 23, j_lag = 9
784784
carry = 0, count24 = 0
785785
luxury = 3 nskip = 199
@@ -790,15 +790,15 @@ mu- Mono Plane
790790
Run terminated.
791791
Run Summary
792792
Number of events processed : 100
793-
User=0.950000s Real=0.948389s Sys=0.000000s
793+
User=0.610000s Real=0.611277s Sys=0.000000s
794794
### Run 0 (global) ended.
795795
Graphics systems deleted.
796796
Visualization Manager deleting...
797797
G4 kernel has come to Quit state.
798798
Deleting G4Run (id:0)
799-
UserDetectorConstruction deleted 0x19f0b80
800-
UserPhysicsList deleted 0x1a31d28
801-
UserActionInitialization deleted 0x1bc6b90
799+
UserDetectorConstruction deleted 0x15c5f50
800+
UserPhysicsList deleted 0x16070f8
801+
UserActionInitialization deleted 0x179bf60
802802
UserWorkerInitialization deleted 0
803803
UserWorkerThreadInitialization deleted 0
804804
UserRunAction deleted.
@@ -808,23 +808,23 @@ G4SDManager deleted.
808808
EventManager deleted.
809809
Units table cleared.
810810
TransportationManager deleted.
811-
Total navigation history collections cleaned: 9
811+
Total navigation history collections cleaned: 10
812812
G4RNGHelper object is deleted.
813813
================== Deleting memory pools ===================
814-
Pool ID '20G4NavigationLevelRep', size : 0.0115 MB
814+
Pool ID '20G4NavigationLevelRep', size : 0.0135 MB
815815
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
816-
Pool ID '17G4DynamicParticle', size : 0.024 MB
816+
Pool ID '17G4DynamicParticle', size : 0.0231 MB
817817
Pool ID '7G4Event', size : 0.000961 MB
818818
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
819819
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
820820
Pool ID '15G4HCofThisEvent', size : 0.000961 MB
821821
Pool ID '16G4HitsCollection', size : 0.000961 MB
822-
Pool ID '7G4Track', size : 0.0471 MB
822+
Pool ID '7G4Track', size : 0.0461 MB
823823
Pool ID '18G4TouchableHistory', size : 0.000961 MB
824824
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
825-
Pool ID '15UltraOpticalHit', size : 0.000961 MB
825+
Pool ID '15UltraOpticalHit', size : 0.00385 MB
826826
Number of memory pools allocated: 12 of which, static: 0
827-
Dynamic pools deleted: 12 / Total memory freed: 0.091 MB
827+
Dynamic pools deleted: 12 / Total memory freed: 0.094 MB
828828
============================================================
829829
G4Allocator objects are deleted.
830830
UImanager deleted.

examples/advanced/amsEcal/run1.out

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278
@@ -199,7 +199,7 @@ N=17 V[N]={906770732717044781, 629165745432651234, 1235682547346241386, 68420008
199199
Run terminated.
200200
Run Summary
201201
Number of events processed : 10000
202-
User=2.840000s Real=2.855239s Sys=0.000000s
202+
User=1.710000s Real=1.718713s Sys=0.000000s
203203

204204
-------------------------------------------------------------
205205
---> The calorimeter is 9 Modules
@@ -326,9 +326,9 @@ N=17 V[N]={2125414173700100552, 2142585805957254368, 76522162894449253, 17841580
326326
---------------------------------------
327327
G4 kernel has come to Quit state.
328328
Deleting G4Run (id:0)
329-
UserDetectorConstruction deleted 0x1edf200
330-
UserPhysicsList deleted 0x1f12df0
331-
UserActionInitialization deleted 0x2099880
329+
UserDetectorConstruction deleted 0x108b5d0
330+
UserPhysicsList deleted 0x10bf1c0
331+
UserActionInitialization deleted 0x1245c50
332332
UserWorkerInitialization deleted 0
333333
UserWorkerThreadInitialization deleted 0
334334
UserRunAction deleted.

examples/advanced/brachytherapy/brachytherapy.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278

examples/advanced/composite_calorimeter/composite_calorimeter.out

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Environment variable "G4FORCE_RUN_MANAGER_TYPE" enabled with value == Serial. Fo
1111

1212

1313
**************************************************************
14-
Geant4 version Name: geant4-11-03-patch-01 (21-March-2025)
14+
Geant4 version Name: geant4-11-03-patch-02 (25-April-2025)
1515
Copyright : Geant4 Collaboration
1616
References : NIM A 506 (2003), 250-303
1717
: IEEE-TNS 53 (2006), 270-278
@@ -957,15 +957,15 @@ G4GeometryManager::ReportVoxelStats -- Voxel Statistics
957957
Run terminated.
958958
Run Summary
959959
Number of events processed : 20
960-
User=13.010000s Real=13.223118s Sys=0.050000s
960+
User=7.050000s Real=7.069787s Sys=0.000000s
961961
### Run 0 end.
962962
... write file : ccal.root - done
963963
... close file : ccal.root - done
964964
G4 kernel has come to Quit state.
965965
Deleting G4Run (id:0)
966-
UserDetectorConstruction deleted 0x13d9120
967-
UserPhysicsList deleted 0x13da2e0
968-
UserActionInitialization deleted 0x15959e0
966+
UserDetectorConstruction deleted 0xba44f0
967+
UserPhysicsList deleted 0xba56b0
968+
UserActionInitialization deleted 0xd60db0
969969
UserWorkerInitialization deleted 0
970970
UserWorkerThreadInitialization deleted 0
971971
UserRunAction deleted.
@@ -976,24 +976,24 @@ G4SDManager deleted.
976976
EventManager deleted.
977977
Units table cleared.
978978
TransportationManager deleted.
979-
Total navigation history collections cleaned: 49
979+
Total navigation history collections cleaned: 56
980980
G4RNGHelper object is deleted.
981981
================== Deleting memory pools ===================
982-
Pool ID '20G4NavigationLevelRep', size : 0.0731 MB
982+
Pool ID '20G4NavigationLevelRep', size : 0.0798 MB
983983
Pool ID '24G4ReferenceCountedHandleIvE', size : 0.000961 MB
984-
Pool ID '17G4DynamicParticle', size : 0.0952 MB
984+
Pool ID '17G4DynamicParticle', size : 0.0461 MB
985985
Pool ID '7G4Event', size : 0.000961 MB
986986
Pool ID '15G4PrimaryVertex', size : 0.000961 MB
987987
Pool ID '17G4PrimaryParticle', size : 0.000961 MB
988988
Pool ID '15G4HCofThisEvent', size : 0.000961 MB
989989
Pool ID '16G4HitsCollection', size : 0.000961 MB
990-
Pool ID '7G4Track', size : 0.189 MB
991-
Pool ID '18G4TouchableHistory', size : 0.00577 MB
990+
Pool ID '7G4Track', size : 0.0913 MB
991+
Pool ID '18G4TouchableHistory', size : 0.00673 MB
992992
Pool ID '15G4CountedObjectIvE', size : 0.000961 MB
993-
Pool ID '17G4ReactionProduct', size : 0.0125 MB
994-
Pool ID '10G4Fragment', size : 0.00577 MB
993+
Pool ID '17G4ReactionProduct', size : 0.0135 MB
994+
Pool ID '10G4Fragment', size : 0.00481 MB
995995
Number of memory pools allocated: 13 of which, static: 0
996-
Dynamic pools deleted: 13 / Total memory freed: 0.39 MB
996+
Dynamic pools deleted: 13 / Total memory freed: 0.25 MB
997997
============================================================
998998
G4Allocator objects are deleted.
999999
UImanager deleted.

0 commit comments

Comments
 (0)