-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathPatch.11.0-2.txt
200 lines (177 loc) · 8.47 KB
/
Patch.11.0-2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
Geant4 11.0 - patch-02 Release Notes
------------------------------------
25 May 2022
List of fixes included in this public patch since the public release 11.0.1:
o Configuration
-------------
+ CMake:
o Fix for CPack on Windows to avoid PATH with only '/', without '\'.
o Don't add CLHEP_INCLUDE_DIRS directly through include_directories
to prevent potential issues with it holding relative paths.
o Digits_Hits:
-----------
+ Added missing virtual keywords in G4VScoringMesh.
o Externals:
---------
+ CLHEP:
o Fixed compilation warnings on macOS in LorentzRotation header
when c++20 is enabled.
o Fixed compilation warnings for shadowing data member in RandPoisson.
o Geometry:
--------
+ management:
o G4SolidStore, G4LogicalVolumeStore, G4PhysicalVolumeStore:
extend getter methods to optionally return the last-found object.
+ navigation:
o G4RegularNavigation: reset the zero step counter when a non-zero step
is performed, to avoid aborted events. Removed tabs in source code.
Based on GitHub PR#38 (https://github.com/Geant4/geant4/pull/38).
o G4VIntersectionLocator: fixed compilation warning for unused data.
+ solids/Boolean:
o G4UnionSolid: add surface tolerance in Inside(p) for check on Z.
Minor optimisation in constructors and in caching half-tolerance.
o Global:
------
+ Replaced use of deprecated std::result_of with std::invoke_result_t,
fixes compilation warnings on Apple clang version 13.1.6.
+ In G4PhysicsModelCatalog, fixed two typos in Bremsstrahlung models name.
+ Fixed compilation warnings for shadowing variables in G4String.
+ Updated date and version for 11.0.2.
o Materials:
---------
+ G4DensityEffectData, G4IonisParamMat: fixed density effect correction
for liquid hydrogen. Addressing problem report #2346. Some code clean-up.
+ G4Material: reorganised AddElement(..) and AddMaterial(..) methods;
using temporary vector to allow addition of the same elements during
initialisation, once addition is completed the vector of elements and
arrays of fractions are created, filled and temporary vectors are deleted,
as a result the code become more transparent.
Addressing problem report #2486.
+ G4NistMaterialBuilder: fixed mean ionisation potentilal of carbon to the
current NIST value from 81 eV to 78 eV. Addressing problem report #2474.
o Particles:
---------
+ Fixed compilation warnings on Intel compiler for unused variables.
o Persistency:
-----------
+ GDML:
o In G4GDMLReadMaterials, fixed default temperature to 20°C
(NTP_Temperature).
o Addressing to the case of solid/volume name duplication when reading
more than one GDML files.
o G4GDMLReadSolids: removed a forgotten (used for debugging) cout in
PropertyRead() function.
o Physics Lists:
-------------
+ constructors/electromagnetic
o G4EmStandardPhysics_option4: use G4UrbanFluctuation model for e+-.
Addressing problem report #2466.
o Processes - Electromagnetic:
---------------------------
+ dna
o G4ITTransportation: fixed misuse of bitwise '|' operator instead of
logical.
+ utils
o G4VMultipleScattering: fixed problem responsible for energy deposition
shift in custom CMS Physics List. Addressing problem report #2480.
o G4VEnergyLossProcess: fixed fluctuation model pointer for the case an
extra model is added on top of the default list of models.
o Fixed typo in Bremsstrahlung model names.
o Processes - Generic:
-------------------
+ cuts
o G4VRangeToEnergyConverter: fixed clearing of static data in destructor.
+ optical
o G4OpBoundaryProcess: check for nullptr before dereferencing.
Addressing problem report #2471.
o G4OpWLS2: fix incorrect call to set time profile.
Addressing problem report #2482.
+ transportation
o G4Transportation, G4CoupledTransportation: fixed misuse of bitwise '|'
operator instead of logical.
o Processes - Hadronic:
--------------------
+ cross_sections
o G4HadronNucleonXsc: fixed compilation warning on unused variable.
+ models/abla
o G4Abla: fixed compilation warnings for potentially uninitialised
variables.
+ models/cascade
o Fixed compilation warnings on Intel compilers for unused variables.
o Use const iterator in G4InuclEvaporation::BreakItUp(..).
+ models/coherent_elastic
o G4ElasticHadrNucleusHE, G4NeutronElectronElModel and
G4NeutrinoElectronNcModel: fixed compilation warnings on unused
variables; removed commented lines; use Energy() method of
G4PhysicsVector instead of obsolete GetLowEdgeEnergy().
+ models/inclxx
o Fixed misuse of bitwise '|' operator instead of logical in
INCL::postCascade() and in INCL::makeCompoundNucleus().
o Fixed compilation warnings for shadowing of variables, not used
or potentially uninitialised variables.
+ models/lepto_nuclear
o G4NeutrinoNucleusModel: fixed memory leak reported by Coverity.
o Fixed compilation warning on Intel compilers for unused variables.
o G4MuonVDNuclearModel: fixed compilation warnings for potentially
uninitialised variables.
+ models/particle_hp
o Fixed issue for photons too high in energy generated from
G4NDL/Capture/FSMF6 data. Addressing problem report #2468.
o Code cleanup in G4ParticleHPContEnergyAngular and
G4ParticleHPContAngularPar.
o Fixed compilation warnings on Intel compilers for deprecated use of
operator=() in G4ParticleHPDataPoint.
o Fixed compilation warnings for potentially uninitialised variables.
+ models/parton_string
o G4QGSParticipants: do not print warning in the case of precision loss;
a confusing exception message was observed in CMS simulation, observed
in high energy gamma-nuclear interaction.
o Fixed compilation warning on Intel compilers for unused variables.
+ models/radioactive_decay
o G4RadioactiveDecay: fixed memory leak (due to decay products that were
not deleted) in the case of a radioactive decay happening later than the
time threshold.
+ processes
o Fixed compilation warning on Intel compilers for unused variables.
+ util
o Fixed compilation warning on Intel compilers for unused variables
and deprecated declaration of operator=().
o Run
---
+ In G4RunManagerKernel, check for correct state in default exception
handler before trying to access manager classes that may be nullptr
in other states. Don't create a default exception manager if one exists
already.
o Examples:
--------
+ advanced/CaTS
o Fixed compilation warnings for unused arguments.
+ advanced/composite_calorimeter
o Fixed compilation warning for unused variables.
+ advanced/eRosita
o Fixed compilation warning for unused variable.
+ advanced/xray_fluorescence
o Fixed compilation warnings on Intel-icx compiler for unused variables.
+ basic/B2
o Restored top UI commands directory name ("B2") in
B2a::DetectorMessenger removed by mistake.
Based on GitHub PR#46 (https://github.com/Geant4/geant4/pull/46).
+ extended/eventgenerator/HepMC/HepMCEx01
o Fixed compilation due to G4String changes in release 11.0.
Part of the GitHub PR #45 (https://github.com/Geant4/geant4/pull/45).
+ extended/geometry/vecGeomNavigation
o Enable use with static libraries; build g4vecgeomnav as a static
library if only Geant4 static libraries are available.
o Removed unused setting of threads causing compilation warning.
+ extended/electromagnetic/TestEm6
o Fixed compilation warning in RunAction.
----------------------------------------------------------------------------
Technical Notes
---------------
o This patch should be applied on top of release 11.0 series.
o Technical notes distributed for release 11.0 are also applicable and
valid for this patch.
The code and rebuilt binary libraries for release 11.0.2 are available
through the Geant4 "Download" Web page.
Please refer to the Geant4 User Documentation for further information about
using Geant4.