Skip to content

Commit dab42d2

Browse files
committed
Import Geant4 10.7.0 source tree
1 parent 67ba86d commit dab42d2

File tree

3,770 files changed

+217771
-277888
lines changed

Some content is hidden

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

3,770 files changed

+217771
-277888
lines changed

CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ endif()
1616
#-----------------------------------------------------------------------
1717
# - Define CMake requirements and override make rules as needed
1818
#
19-
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
20-
21-
# - Any policy requirements should go here
19+
cmake_minimum_required(VERSION 3.8...3.18 FATAL_ERROR)
20+
if(${CMAKE_VERSION} VERSION_LESS 3.12)
21+
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION})
22+
endif()
2223

2324
# - Make overrides for default flags, so they appear in interfaces
2425
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ the development repository of Geant4, to be included in a future release or
1111
patch.
1212

1313
For simple bug-fixes, it is anyhow recommended to use the official
14-
[Bugzilla problem reporting system](https://bugzilla-geant4.kek.jp).
14+
`Bugzilla problem reporting system <https://bugzilla-geant4.kek.jp/>`.
1515

1616
The Geant4 Collaboration

ReleaseNotes/Beta4.10.3-1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ List of features and fixes included in this Beta release since 10.2.p02:
224224
hadrons.
225225
- G4EmStandardPhysicsGS: set default range factor to 0.1.
226226
- DNA and ModelActivator constructors: corrected model/process names;
227-
adjusted high energythreshold ofsolvation (kill) in respect to the
228-
energy rangeof the elastic model.
227+
adjusted high energy threshold of solvation (kill) in respect to the
228+
energy range of the elastic model.
229229
Added G4DNAElectronSolvation to all DNA constructors.
230230
- Updated G4EmDNAPhysics_option5 and G4EmDNAChemistry.
231231
- Updated G4EmDNAPhysics_option7 constructor.

ReleaseNotes/Beta4.10.7-1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Migration Notes & Main New Features
88
-----------------------------------
99

10-
o Introducing new optional (experimental) tasking system, based on TBL
10+
o Introducing new optional (experimental) tasking system, based on PTL
1111
(Parallel Tasking Library), dedicated run manager (G4TaskRunManager) and
1212
factory (G4RunManagerFactory), enabling use of tasks for the event loop.
1313
The tasking system is fully compatible with Intel TBB, which can be
@@ -740,7 +740,7 @@ List of features and fixes included in this Beta release since 10.6.p02:
740740
o Tasking
741741
-------
742742
+ New module implementing a new Geant4 run manager, G4TaskRunManager,
743-
enabling use of the TBL tasking system for the event loop. The tasking
743+
enabling use of the PTL tasking system for the event loop. The tasking
744744
system is fully compatible with Intel TBB, which can be selected if
745745
GEANT4_USE_TBB=ON is specified when configuring CMake. The default
746746
behavior, however, is to submit the tasks to an internal thread-pool

ReleaseNotes/Patch4.10.6-3.txt

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
2+
Geant4 10.6 - patch-03 Release Notes
3+
------------------------------------
4+
5+
6 November 2020
6+
7+
List of fixes included in this public patch since the public release 10.6.p02:
8+
9+
o Analysis:
10+
--------
11+
+ Fixed definition of UI commands in G4AnalysisMessenger (for 2D and
12+
3D histograms).
13+
+ Updated to g4tools 5.0.6:
14+
o Changed usage of Google style fonts.
15+
o Fixed compilation warnings on clang-10.
16+
17+
o Event:
18+
-----
19+
+ Fixed misleading error message in G4SPSPosDistribution.
20+
Addressing problem report #2275.
21+
22+
o Global:
23+
------
24+
+ Re-instate static pointer for 'masterG4coutDestination' in
25+
G4coutDestination with proper symbol exporting on Windows
26+
(necessary for MT builds). Restores trapping of G4cout from
27+
workers in Qt GUI.
28+
+ Updated date and version for 10.6.p03.
29+
30+
o Intercoms:
31+
---------
32+
+ Added StoL() method in G4UImessenger for parsing string to long int.
33+
Addressing problem report #2276.
34+
35+
o Interfaces:
36+
----------
37+
+ Added fix in G4Qt to properly set GL on Windows (see Forum topic #3144).
38+
39+
o Persistency - gdml:
40+
------------------
41+
+ Fixed treatment of loops. Addressing problem report #2273.
42+
43+
o Processes - Hadronic:
44+
--------------------
45+
+ cross_sections:
46+
o G4CrossSectionElastic, G4CrossSectionInelastic: fix for ions and
47+
anti-ions, where the max energy of applicability of the (elastic and
48+
inelastic) cross-sections must scale with the absolute baryonic number;
49+
however, the cross-sections objects are often shared between the
50+
different types of ions (d, t, He3, alpha, and genericIon), therefore
51+
we scale by a large value (256, safely larger than the number of
52+
nucleons of the heaviest nuclides).
53+
+ models/de_excitation:
54+
o G4NuclearLevelData: more safe initialisation of data in MT mode, use
55+
mutex locks only within each method, whithout calls to other methods.
56+
o G4ExcitationHandler: call to G4NuclearLevelData to initialise data for
57+
levels for all elements possibly involved in the geometry.
58+
o G4FermiFragmentsPoolVI: use old interface to nuclear levels.
59+
+ models/particle_hp:
60+
o G4ParticleHPInelastic, G4ParticleHPInelasticData: improved error
61+
message in the case that both G4PARTICLEHPDATA and the related
62+
particle-specific environmental variable (e.g. G4PROTONHPDATA) are
63+
not defined. The recommendation is to define only G4PARTICLEHPDATA.
64+
+ models/parton_string/diffraction:
65+
o G4FTFModel: quasi-elastic is not applied any longer when the target
66+
nucleus has one nucleon and the projectile hadron is not an ion. This
67+
avoids to double count elastic scattering (as reported by NA61/SHINE
68+
in 158 GeV/c proton interactions on liquid hydrogen).
69+
Addressing problem report #2274.
70+
+ models/parton_string/hadronization:
71+
o G4VLongitudinalStringDecay: fix in ProduceOneHadron() method, to remove
72+
an inconsistency in the treatment of low-mass strings with respect to
73+
the method G4QGSMFragmentation::FragmentString(). As consequence of
74+
this inconsistency, interactions with fewer intra-nuclear collisions
75+
were favored, therefore producing fewer secondary hadrons.
76+
o G4QGSMFragmentation : proper exit in the method FragmentString()
77+
when the string mass is below the threshold.
78+
+ models/parton_string/qgsm:
79+
o G4BaryonSplitter: removed inexisting in Geant4 excited hyperon states
80+
(Sigma* and Xi*).
81+
82+
o Run:
83+
---
84+
+ Fix for rndmSaveThisEvent() not properly working in multi-threaded mode.
85+
Addressing problem report #2278.
86+
+ Allow setting of seeds with 'long' values for '/random/setSeeds'
87+
UI command. Addresses problem report #2276.
88+
89+
o Visualization:
90+
-------------
91+
+ Fixed compilation warnings on clang-10 in gMocren and gl2ps.
92+
93+
o Examples:
94+
--------
95+
+ advanced/brachytherapy
96+
o Added missing call to "/run/initialize" in VisualisationMacro.mac.
97+
+ advanced/purging_magnet
98+
+ advanced/STCyclotron
99+
o Fixed README.
100+
101+
----------------------------------------------------------------------------
102+
103+
Technical Notes
104+
---------------
105+
106+
o This patch should be applied on top of release 10.6 or 10.6.p01/p02.
107+
o Technical notes distributed for release 10.6 are also applicable and
108+
valid for this patch.
109+
110+
The code and rebuilt binary libraries for release 10.6.p03 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.

ReleaseNotes/ReleaseNotes4.10.0.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ <H2>3. Items for migration of the user code</H2>
174174
<LI>The <TT>G4Polycone</TT> solid no longer supports the case in which
175175
either the outer or the inner surface has more than one cone or tube
176176
section over a finite interval of Z values. These shapes must use the
177-
new class <TT>G4GenericPolycone</TT> instead. The general constructor
177+
new class <TT>G4GenericPolycone</TT> instead. The general constructor
178178
of <TT>G4Polycone</TT>, which uses a series of vertices, includes a
179179
check whether the vertices are monotonic along Z for its inner and
180180
outer surfaces, and issues an error if not.</LI>

0 commit comments

Comments
 (0)