Skip to content

Commit 1326130

Browse files
committed
Import Geant4 10.7.2 source tree
1 parent 460fe6d commit 1326130

File tree

271 files changed

+20867
-16444
lines changed

Some content is hidden

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

271 files changed

+20867
-16444
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
3333
project(Geant4)
3434
set(${PROJECT_NAME}_VERSION_MAJOR 10)
3535
set(${PROJECT_NAME}_VERSION_MINOR 7)
36-
set(${PROJECT_NAME}_VERSION_PATCH 1)
36+
set(${PROJECT_NAME}_VERSION_PATCH 2)
3737
set(${PROJECT_NAME}_VERSION "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_PATCH}")
3838

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

ReleaseNotes/Patch4.10.7-2.txt

+185
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
2+
Geant4 10.7 - patch-02 Release Notes
3+
------------------------------------
4+
5+
11 June 2021
6+
7+
List of fixes included in this public patch since the public release 10.7.p01:
8+
9+
o Configuration
10+
-------------
11+
+ CMake:
12+
o Fixed optional G4TENDL version to 1.3.2. Addressing problem report #2341.
13+
+ GNUmake:
14+
o Fixed name of internal PTL module library for DLL build in WIN32-VC
15+
configuration.
16+
17+
o Analysis:
18+
--------
19+
+ Fixed n-tuple indexing when FinishNtuple() is called in different order
20+
than CreateNtuple(). Addressing problem report #2335.
21+
22+
o Event:
23+
-----
24+
+ G4GeneralParticleSourceMessenger: fixed default value of
25+
"/gps/ang/maxphi" UI command. Addressing problem report #2383.
26+
27+
o Externals:
28+
----------
29+
+ CLHEP: Fixed trivial compilation warnings on gcc-11 in Random headers.
30+
+ zlib: Use separate genexes in G4zlib include directories to prevent
31+
parsing issues.
32+
33+
o Geometry:
34+
--------
35+
+ solids/CSG:
36+
o G4Sphere: bux fix in GetSurfaceArea(); revised implementation of
37+
GetPointOnSurface(); moved to source GetCubicVolume() implementation.
38+
+ solids/specific:
39+
o G4Polyhedra, G4Polycone: fixed setting of 'endPhi' for the case
40+
of negative 'phiStart'. It addresses also problem report #2362.
41+
o Fixed use of conversion factor in G4UPolyhedra wrapper for "generic"
42+
polyhedra constructs.
43+
o G4Voxelizer: fixed calculation of bounding box position in function
44+
BuildVoxelLimits(), resolving cases of skipped components in G4MultiUnion
45+
structures. Addressing problem report #2301.
46+
47+
o Global:
48+
------
49+
+ Zero terminate buffer in G4strstreambuf destructor before flushing.
50+
Addressing problem report #2350.
51+
+ Removed spurious spaces in #define in G4Version header.
52+
Addressing problem report #2384.
53+
+ Updated date and version for 10.7.p02.
54+
55+
o Graphics Representations:
56+
------------------------
57+
+ Fixed shadowing compilation warning in G4Colours on gcc-11.
58+
59+
o Intercoms:
60+
---------
61+
+ Fixed shadowing compilation warning in G4UImanager on gcc-11.
62+
63+
o Interfaces:
64+
----------
65+
+ G4UIQt::ReceiveG4cout/G4cerr: trap empty string with empty() instead of
66+
using unary operator. Addressing problem report #2347.
67+
68+
o Materials:
69+
---------
70+
+ G4DensityEffectData: fixed typo in Z=37 elementary material name.
71+
Addressing problem report #2324.
72+
+ In G4AtomicShells and G4AtomicShells_XDB_EADL, fixed method
73+
GetNumberOfFreeElectrons(). Addressing problem report #2356.
74+
+ Fixed shadowing compilation warning in G4Isotope on gcc-11.
75+
76+
o Particles:
77+
---------
78+
+ Fixed shadowing compilation warning in G4IonTable on gcc-11.
79+
80+
o Persistency:
81+
-----------
82+
+ ASCII
83+
o G4tgbVolume: fixed definition of generic polyhedra in function
84+
FindOrConstructG4Solid() for POLYHEDRA tag.
85+
Based on findings in GitHub PR#24.
86+
+ GDML
87+
o G4GDMLReadSolids: updated optical surface properties to reflect
88+
introduction of DAVIS interface. Addressing problem report #2371.
89+
o Removed hardcoded size 10000 in G4GDMLWrite causing the values in GDML
90+
truncated. Adressing problem report #2336.
91+
o Fixed case of writing degenerated names (position, rotation and nodes)
92+
for multiUnion and assembly entities. Addressing problem report #2342.
93+
o Fixed problem of not complete writing of assemblies to GDML file.
94+
Addressing problem report #2343.
95+
96+
o Physics Lists:
97+
-------------
98+
+ constructors/electromagnetic
99+
o G4EmBuilder: added geantinos to the minimal list of EM particles.
100+
o GeneralGammaProcess: reduced usage of protected variables.
101+
o G4EmStandardPhysics, G4EmStandardPhysicsGS: set default verbosity to 1.
102+
+ constructors/hadron_inelastic
103+
o G4HadronPhysicsShielding: corrected parameters of the M variant
104+
of the Shielding physics list.
105+
+ lists
106+
o Updated list of EM extension shorthands known to extensible factory to
107+
match old factory.
108+
109+
o Processes - Electromagnetic:
110+
---------------------------
111+
+ muons
112+
o G4EnergyLossForExtrapolator, G4TablesForExtrapolator: allow several runs
113+
with extrapolator; fixed extrapolation for hadrons.
114+
More thread safe initialisation and destruction.
115+
+ utils
116+
o G4EmParameters: fixed line breaking in printouts.
117+
Addressing problem report #2350.
118+
o Fixed shadowing compilation warning in G4EmCorrections on gcc-11.
119+
+ xrays
120+
o G4Scintillation: changed 'IsApplicable' to all particles except
121+
optical-photon and short-lived. Addressing problem report #2372.
122+
123+
o Processes - Hadronic:
124+
--------------------
125+
+ models/de_excitation
126+
o G4DeexPrecoParameters: changed half-life time threshold for isomer
127+
production from 1 microsecond to 1 nanosecond.
128+
The goal is to avoid unphysical missing energy cases as reported by
129+
NA61/SHINE Collaboration.
130+
Fixed line breaking in printouts. Addressing problem report #2350.
131+
o G4PolarizationTransition: fixed sampling of angular correlations.
132+
Addressing problem report #2344.
133+
+ models/particle_hp
134+
o Fixed condition in G4ParticleHPInelasticCompFS:::CompositeApply().
135+
Addressing problem report #2333.
136+
+ radioactive_decay
137+
o G4RadioactiveDecayBase: set the weight of secondaries tracks to the
138+
mother's weight value in the method G4RadioactiveDecayBase::DecayAnalog().
139+
This bug, present since a long time, affects only simulations that use
140+
Radioactive Decay in analogue mode with "external" biasing (e.g. generic
141+
biasing, GPS generator with weights, etc.).
142+
Corresponding fix was done also in deprecated class G4RadioactiveDecay.
143+
Fixed line breaking in printouts. Addressing problem report #2350.
144+
145+
o Processes - Management
146+
----------------------
147+
+ G4ProcessTable: added missing checks, protecting against null elements.
148+
149+
o Examples:
150+
--------
151+
+ advanced/gammaknife:
152+
o Use default MixMax random number engine.
153+
o Fixed interactive run to just execute defaultMacro.mac.
154+
o Added forgotten header in GammaKnifePhysicsList.
155+
+ advanced/purging_magnet:
156+
o Removed call to obsolete ResetCuts() in PurgMagPhysicsList.
157+
+ advanced/STCyclotron:
158+
o Update README to recommend correct version of G4TENDL-1.3.2.
159+
Addressing problem report #2341.
160+
o Fixed gui.mac macro to invoke init_parameters.mac.
161+
Addressing GitHub PR#25.
162+
+ advanced/xray_telescope:
163+
o Removed calls to obsolete ResetCuts() in XrayTelPhysicsList.
164+
+ extended/hadronic/Hadr02:
165+
o Migrated to newer CRMC and more modern approach to physics lists.
166+
+ extended/hadronic/FissionFragment:
167+
o Fixed CMake build script to define target properly.
168+
o Improved comments.
169+
+ extended/medical/GammaTherapy:
170+
o Use default MixMax generator instead of obsolete RanecuEngine.
171+
172+
----------------------------------------------------------------------------
173+
174+
Technical Notes
175+
---------------
176+
177+
o This patch should be applied on top of release 10.7 or 10.7.p01.
178+
o Technical notes distributed for release 10.7 are also applicable and
179+
valid for this patch.
180+
181+
The code and rebuilt binary libraries for release 10.7.p02 are available
182+
through the Geant4 "Download" Web page.
183+
184+
Please refer to the Geant4 User Documentation for further information about
185+
using Geant4.

cmake/History

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ add this in the documentation for the changed file as [BUGFIX #BUGNUMBER].
3030

3131
----------------------------------------------------------
3232

33+
19th March 2021 - Gunter Folger (cmake-V10-06-52)
34+
- Update to older G4TENDL 1.3.2, 1.4 has problems.
35+
3336
30th January 2021 - Gunter Folger (cmake-V10-06-51)
3437
- Update to patched dataset G4PARTICLEXS 3.1.1 as provided by Vladimir I.
3538

cmake/Modules/G4DatasetDefinitions.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,11 @@ mark_as_advanced(GEANT4_INSTALL_DATASETS_TENDL)
123123
if(GEANT4_INSTALL_DATASETS_TENDL)
124124
geant4_add_dataset(
125125
NAME G4TENDL
126-
VERSION 1.4
126+
VERSION 1.3.2
127127
FILENAME G4TENDL
128128
EXTENSION tar.gz
129129
ENVVAR G4PARTICLEHPDATA
130-
MD5SUM ecdad2f8234c10caecaac82ac0cb96f8
130+
MD5SUM 209f878b777a36842d20a47ca53c6f93
131131
)
132132

133133
endif()

config/History

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ committal in the CVS repository !
1515
* Reverse chronological order (last date on top), please *
1616
----------------------------------------------------------
1717

18+
12th March 2021 Gabriele Cosmo (config-V10-06-09)
19+
- Fixed name of internal PTL module library for DLL build.
20+
1821
11th December 2020 Gabriele Cosmo (config-V10-06-08)
1922
- Updated Qt5 settings in Linux targets.
2023

config/sys/WIN32-VC.gmk

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ ifeq ($(G4SYSTEM),WIN32-VC)
8686
GLOBLIBS += libG4clhep.lib
8787
endif
8888
ifdef G4LIB_USE_PTL
89-
GLOBLIBS += libptl.lib
89+
GLOBLIBS += libG4ptl.lib
9090
endif
9191
define build-granular-shared-lib
9292
@libdir=`(cd $(@D);/bin/pwd)`;\

0 commit comments

Comments
 (0)