Skip to content

Commit fc6af9e

Browse files
committed
Import Geant4 10.4.0 source tree
1 parent 98e455a commit fc6af9e

File tree

2,166 files changed

+269138
-93251
lines changed

Some content is hidden

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

2,166 files changed

+269138
-93251
lines changed

ReleaseNotes/Patch4.10.3-2.txt

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,219 @@
1+
2+
Geant4 10.3 - patch-02 Release Notes
3+
------------------------------------
4+
5+
27 July 2017
6+
7+
List of fixes included in this public patch since the public release 10.3.p01:
8+
9+
o Configuration:
10+
-------------
11+
+ CMake:
12+
o Added VECGEOM_DEFINITIONS and VECGEOM_EXTERNAL_INCLUDES when compiling
13+
with USolids/VecGeom enabled, to allow for detection of external
14+
packages paths from VecGeom.
15+
o Corrected Qt setup for GNUmake builds, avoid setting QTLIBS and
16+
GLQTLIBS as already handled by the GNUmake system for Qt4 and Qt5.
17+
+ GNUmake:
18+
o Corrected order of linkage in binmake.gmk for analysis global library.
19+
20+
o Analysis:
21+
--------
22+
+ Fixed problem of removing non-empty ntuple files in user application
23+
where ntuples are created after open file.
24+
+ Added GetP[1,2]Id(const G4String&) functions to G4AnaysisManager.
25+
Addressing problem report #1949.
26+
+ Corrected handling of open file failure.
27+
Addressing problem report #1957.
28+
29+
o Event:
30+
-----
31+
+ Fixed 'fallthrough' compilation warnings in case statements on gcc-7.1.
32+
33+
o Externals:
34+
---------
35+
+ Fixed compilation warnings on gcc-7.1.
36+
37+
o G3toG4:
38+
------
39+
+ Fixed compilation warnings on gcc-7.1.
40+
41+
o Generic Processes:
42+
-----------------
43+
+ biasing:
44+
o G4GeometrySampler: removed unnecessary ClearSampling() from the
45+
destructor.
46+
+ scoring:
47+
o G4ParallelWorldProcess: fix to have a valid pointer to secondaries
48+
in G4Step of a parallel world.
49+
50+
o Geometry:
51+
--------
52+
+ biasing:
53+
o Added mutex locks to methods within G4IStore and G4ImportanceAlgorithm.
54+
Temporary fix for erratic behaviour in MT-mode and crashing if bounds-
55+
checking is switched on with many threads/events.
56+
Addressing problem report #1945.
57+
+ solids/CSG:
58+
o Fixed possible rounding off error in calculation of 'astep' (max angle
59+
for one step) in CalculateExtent() for G4Cons, G4Tubs, G4CutTubs
60+
and related USolids wrappers.
61+
o Added accessor to G4Orb and G4UOrb for retrieving cached max radius
62+
tolerance.
63+
o Fix in G4CutTubs::Inside() for case where inside points were considered
64+
as points on surface. Addressing problem report #1973.
65+
+ solids/specific:
66+
o Fixed possible rounding off error in calculation of 'astep' (max angle
67+
for one step) in CalculateExtent() for G4Polycone, G4GenericPolycone
68+
and related USolids wrappers.
69+
o Removed potential race condition in G4VTwistSurface::AmIOnLeftSide().
70+
Addressing problem report #1972.
71+
72+
o Global:
73+
------
74+
+ Corrected TLS setup in tls.hh for gcc compiler.
75+
+ Updated date and version for 10.3.p02.
76+
77+
o Intercoms:
78+
---------
79+
+ Fix to G4GenericMessenger::Command::SetUnit: do not ignore setting and
80+
issue a warning when running sequential application built against Geant4
81+
libraries compiled with MT enabled.
82+
83+
o Physics Lists
84+
-------------
85+
+ constructors/electromagnetic:
86+
o G4EmStandardPhysicsSS: apply single scattering to all particles.
87+
Addressing problem report #1966.
88+
o G4EmModelActivator: fixed Opt4 and SS per region.
89+
+ lists:
90+
o G4PhysListFactory: fixed EM option "__SS".
91+
Addressing problem report #1966.
92+
93+
o Processes - Electromagnetic:
94+
---------------------------
95+
+ dna:
96+
o Fixed compilation warnings on gcc-7.1.
97+
+ lowenergy:
98+
o G4LowEPPolarizedComptonModel: fixed FPE in comptation of std::acos().
99+
o Fixed compilation warnings on gcc-7.1.
100+
+ standard:
101+
o G4UniversalFluctuation: fixed numerical problem for sampling
102+
low-energy anti-protons with very small steps.
103+
o G4NuclearStopping, G4ICRU49NuclearStoppingModel: fixed nuclear
104+
stopping power computation addressed in Hypernews post #1595 in the
105+
Hadronic Processes Forum.
106+
o G4hIonisation: fixed min/max energy for dEdx table for the case when
107+
the mass of a hadron is very different from the mass of proton.
108+
+ utils:
109+
o G4EmCalculator: for computation of the nuclear stopping power, use
110+
concrete model (applied at run time) instead of G4EmCorrections
111+
emulation; to get cross section per volume for discrete processes
112+
use interface of the process. Addressing Hypernwes post #1595 in the
113+
Hadronic Processes Forum.
114+
o G4VEmModel: added extra protected class member for nuclear stopping.
115+
o G4EmSaturation: fixed typo in printout.
116+
117+
o Processes - Hadronic:
118+
--------------------
119+
+ models/cascade:
120+
o G4CascadeCoalescence: removed clusterHash() function and 'triedClusters'
121+
registry. Droped redundant calls of tryCluster() with subcombinatorics;
122+
all combinations are handled, uniquely, in main loop over indices.
123+
This eliminates significant memory usage observed with high-energy
124+
applications of BERT.
125+
+ models/de_excitation:
126+
o G4DeexPrecoParameters: disabled parameter change in G4_Idle state,
127+
only G4_PreInit is allowed; disabled correlated gamma;
128+
set default time limit to 1000s (if radioactive decay is enabled this
129+
time may be set to the limit of the G4NuclideTable), this allows do
130+
not create extra isomeres if radioactive decay is not included in the
131+
physics list
132+
o G4LevelReader, G4LevelManager, G4PhotonEvaporation: for stable states
133+
(ground state isotopes) set life time to "-1"; changed all checks
134+
accordingly.
135+
o G4LevelReader: issue fatal exception if data file is not open.
136+
Addressing problem report #1942.
137+
o G4PhotonEvaporation: always have gamma transition to the discrete
138+
level (if there is no levels, go to the ground state).
139+
Addressing problem report #1950.
140+
+ models/lend:
141+
o Fixed compilation warnings on gcc-7.1.
142+
o Fixed Coverity defects.
143+
+ models/particle_hp:
144+
o Added check for He3 projectile. Addressing problem report #1907.
145+
o G4ParticleHPThermalScattering: fixed angular distribution sampling
146+
problem. Addressing problem report #1971.
147+
o Fix in destructor of processes to protect against concurrent deletion.
148+
o Bug fix and improved stability in G4ParticleHPFinalState.
149+
o Suppressed unnecessary warning messages in G4ParticleHPEnAngCorrelation.
150+
o Fixed minor inconsistency between documentation and code.
151+
+ models/radioactive_decay:
152+
o G4RadioactiveDecay::DecayIt(): added statement to propagate weight of
153+
parent track. Addressing problem report #1946.
154+
+ models/util:
155+
o G4Fragment: fixed destructor and printout.
156+
o G4PolynomialPDF: fix for potential division by zero.
157+
+ util:
158+
o G4GHEKinematicsVector: fixed case of variable shadowing.
159+
160+
o Run:
161+
---
162+
+ G4RunManagerKernel: removed unnecessary warning message.
163+
164+
o Visualization:
165+
-------------
166+
+ Fixed compilation warnings on gcc-7.1.
167+
168+
o Examples:
169+
--------
170+
+ Updated reference outputs.
171+
+ Fixed compilation warning on gcc-7.1.
172+
+ advanced/air_shower:
173+
o Updated setup for visualization in main() and Visualisation.mac.
174+
+ extended/biasing/B01:
175+
+ extended/biasing/B02:
176+
o Removed unnecessary clearing of sampling.
177+
+ extended/biasing/B03:
178+
o B03PhysicsList: removed obsolete unnecessary instantiation of
179+
de-excitation sub-models.
180+
o Removed unnecessary clearing of sampling.
181+
+ extended/eventgenerator/HepMC/MCTruth:
182+
o Fixed typo in initialisation.
183+
+ extended/g3tog4:
184+
o Fixed linking problem for static build.
185+
+ extended/optical/LXe:
186+
o Fix for issue reported on Hypernews Optical-Photons Forum #651.
187+
+ extended/medical/DICOM:
188+
o Fix to DicomRun::RecordEvent() that was incrementing the inherited
189+
numberOfEvent variable from G4Run twice causing the output of the
190+
number of events to be twice the actual value.
191+
o Corrected element definitions for Potassium and Phosphorus in
192+
DetectorConstruction.
193+
+ extended/persistency/gdml/G01:
194+
o Updated setup for visualization in main program.
195+
o Added missing gdml files to CMake installation script.
196+
+ extended/persistency/gdml/G02:
197+
+ extended/persistency/gdml/G03:
198+
o Updated setup for visualization in main program.
199+
+ extended/radioactivedecay/rdecay02:
200+
o Updated README, adding a note stating that all histograms but one are
201+
turned off by default, and describing how to turn them back on.
202+
Addressing problem report #1936.
203+
+ extended/runAndEvent/RE05:
204+
o Fixed potential rare race condition issue in RE05PrimaryGeneratorAction.
205+
206+
----------------------------------------------------------------------------
207+
208+
Technical Notes
209+
---------------
210+
211+
o This patch should be applied on top of release 10.3.p01.
212+
o Technical notes distributed for release 10.3 are also applicable and
213+
valid for this patch.
214+
215+
The code and rebuilt binary libraries for release 10.3.p02 are available
216+
through our "Download" Web page.
217+
218+
Please refer to the Geant4 User Documentation for further information about
219+
using Geant4.

ReleaseNotes/Patch4.10.3-3.txt

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
2+
Geant4 10.3 - patch-03 Release Notes
3+
------------------------------------
4+
5+
20 October 2017
6+
7+
List of fixes included in this public patch since the public release 10.3.p02:
8+
9+
o Digits_hits:
10+
-----------
11+
+ Fixed propagation of warning flag in G4SDStructure.
12+
Addressing problem report #1993.
13+
14+
o Geometry:
15+
--------
16+
+ magnetic-field:
17+
o G4NystromRK4: fixed caching of momentum, field location & value.
18+
Addressing problem report #1996, reported by ALICE.
19+
Correction in call to getField().
20+
+ solids/specific:
21+
o Twisted solids: fixed bug in drawing polyhedra with negative twist
22+
angle. Addressing problem report #1995.
23+
o G4SurfaceVoxelizer: directly set components for bounding-box instead
24+
of recreating it in BuildBoundingBox(..).
25+
26+
o Global:
27+
------
28+
+ Updated date and version for 10.3.p03.
29+
30+
o Intercoms:
31+
---------
32+
+ Explicitly remove constness in G4AnyMethod by means of remove_const.
33+
Addressing problem report #1803.
34+
35+
o Interfaces:
36+
----------
37+
+ G4VBasicShell: fixed std::out_of_range exception in ModifyPath() when
38+
typing 'ls' command at the top directory.
39+
Addressing problem report #1989.
40+
+ G4UIQt: set always-on-top to the picking windows.
41+
42+
o Physics Lists:
43+
-------------
44+
+ constructors/hadron_elastic:
45+
o G4HadronElasticPhysics, G4HadronHElasticPhysics: changed kaon elastic
46+
cross-sections from, respectively, Gheisha and Chips, to Glauber Gribov
47+
ones. This way, the total (elastic + inelastic) kaon cross sections are
48+
consistent with the PDG ones.
49+
50+
o Processes - Hadronic:
51+
--------------------
52+
+ cross_sections:
53+
o Bug fix in G4ComponentGGHadronNucleusXsc to use the correct cross-
54+
sections for kaons on Hydrogen; use Starkov parameterization for them.
55+
+ models/cascade:
56+
o G4ElementaryParticleCollider::generateSCMmuonAbsorption: fixed case of
57+
rare segmentation-fault. Added clearing of particles if
58+
GetThreeBodyMomenta() returns no momenta.
59+
+ processes:
60+
o Use class name in process description.
61+
+ stopping:
62+
o Fixed Coverity defect in G4AntiNeutronAnnihilationAtRest.
63+
Removed static thread-local variables and simply made them local.
64+
65+
o Visualization:
66+
-------------
67+
+ OpenGL:
68+
o Fixed issue affecting repaint for external applications.
69+
Addressing problem report #1959.
70+
71+
----------------------------------------------------------------------------
72+
73+
Technical Notes
74+
---------------
75+
76+
o This patch should be applied on top of release 10.3.p02.
77+
o Technical notes distributed for release 10.3 are also applicable and
78+
valid for this patch.
79+
80+
The code and rebuilt binary libraries for release 10.3.p03 are available
81+
through our "Download" Web page.
82+
83+
Please refer to the Geant4 User Documentation for further information about
84+
using Geant4.

0 commit comments

Comments
 (0)