Skip to content

Commit f794fcf

Browse files
committed
Import Geant4 10.0.4 source tree
1 parent 8276762 commit f794fcf

File tree

142 files changed

+7495
-6247
lines changed

Some content is hidden

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

142 files changed

+7495
-6247
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# 21st September 2010 Ben Morgan
55
#
6-
# $Id: CMakeLists.txt 84874 2014-10-22 06:41:21Z gcosmo $
6+
# $Id: CMakeLists.txt 88523 2015-02-25 15:01:37Z gcosmo $
77
#
88

99
#------------------------------------------------------------------------------
@@ -76,10 +76,10 @@ set(CMAKE_MODULE_PATH
7676
# See the documentation in each of these modules for further details.
7777
#
7878
# - Versioning. We do this here for now
79-
set(${PROJECT_NAME}_VERSION "10.0.3")
79+
set(${PROJECT_NAME}_VERSION "10.0.4")
8080
set(${PROJECT_NAME}_VERSION_MAJOR "10")
8181
set(${PROJECT_NAME}_VERSION_MINOR "0")
82-
set(${PROJECT_NAME}_VERSION_PATCH "3")
82+
set(${PROJECT_NAME}_VERSION_PATCH "4")
8383

8484
# - Provide dependent options as these are needed for some Geant4 features
8585
include(CMakeDependentOption)

ReleaseNotes/Patch4.10.0-1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ List of fixes included in this public patch since the public release 10.0:
215215

216216
o Interfaces:
217217
----------
218-
+ Explicitly set the LC_NUMBERIC locale to "C" in G4UIQt.
218+
+ Explicitly set the LC_NUMERIC locale to "C" in G4Qt.
219219
Addressing problem report #1487.
220220
Fixed problem with resizing the QGLwidget when scene is opened from UI.
221221

ReleaseNotes/Patch4.10.0-2.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,12 @@ List of fixes included in this public patch since the public release 10.0.p01:
168168

169169
o Interfaces:
170170
----------
171-
+ G4UIterminal: fixed the problem that some commands could not be processed; (o)
171+
+ G4UIterminal: fixed the problem that some commands could not be processed;
172172
use substr() instead of () operator for the comparison of substrings.
173173

174174
o Materials:
175175
---------
176-
+ G4Material, G4Element: define default names and symbols for elements (o)
176+
+ G4Material, G4Element: define default names and symbols for elements
177177
and isotopes when loaded from NIST and not explicitly defined by users.
178178
Fixes exporting of names in GDML when writing detector description.
179179
+ G4Material: corrected initialisation of pointers in fake default
@@ -273,7 +273,7 @@ List of fixes included in this public patch since the public release 10.0.p01:
273273
o Processes - Hadronic:
274274
--------------------
275275
+ models/binary_cascade:
276-
o G4BinaryCasacde: improved calculation of mass, and of correction for (o)
276+
o G4BinaryCasacde: improved calculation of mass, and of correction for
277277
outgoing particles by always using GetIon() method; addresses potential
278278
crash for p+d seen in d+H in BIC.
279279
o G4{Proton,Neutron}Field.cc: protect against negative index into buffer.

ReleaseNotes/Patch4.10.0-4.txt

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
2+
Geant4 10.0 - patch-04 Release Notes
3+
------------------------------------
4+
5+
6 March 2015
6+
7+
List of fixes included in this public patch since the public release 10.0.p03:
8+
9+
o Geometry:
10+
--------
11+
+ navigation:
12+
o G4Navigator: corrections in the computation of exit normal and small
13+
fix to calculation of stored step endpoint, for steps that do not hit
14+
a boundary. Some code cleanup.
15+
o Added protection in G4ReplicaNavigation::DistanceToOutRad() for
16+
potential rare cases of negative value to sqrt() in equation
17+
calculation for rmin/rmax intersection.
18+
o G4ErrorPropagationNavigator: added GetGlobalExitNormal() method to
19+
match the update of G4Navigator interface made back in release 9.5.
20+
Fix to make normal a unit vector, and fixed Coverity defect to protect
21+
against null 'target'. Revised implementation of ComputeStep(),
22+
to avoid calling G4Navigator::ComputeSafety().
23+
Addresses problem report #1679.
24+
+ solids/CSG:
25+
o Fixed typo in copy-ctor and assignment operator for G4Tubs and G4OTubs.
26+
o Fix in temporary class G4OTubs to include symbol in library in any case.
27+
+ solids/specific:
28+
o Fixed triangularisation method AddGeneralPOlygoneFacets() in
29+
G4ExtrudedSolid by avoiding flat triangles. Added warning message to
30+
G4TriangularFacet constructor if Area is 0; i.e., case of flat triangle.
31+
Addressing problem report #1703.
32+
o Added special DistanceAway() method for Inside() in order to fix
33+
precision problem in calculation of DistanceToSide() in G4PolyconeSide.
34+
o Fix in SetOriginalParameters() for G4Polycone and G4Polyhedra, in case
35+
of presence of 'rings' structures. Addressing problem report #1705.
36+
o Use canonical form for operator=() in G4PolyconeHistorical and
37+
G4PolyhedraHistorical.
38+
+ solids/usolids:
39+
o UPolycone: correction in Capacity() for iteration over the number of
40+
sections and in SurfaceArea() in case opening-angle is less than 2*pi.
41+
Fixes in InsideSection() for openPhi when StartPhi is negative,
42+
in Init() for Polycone defined from ZPlane[0]>ZPlane[N],
43+
and in DistanceToOut() for points starting on internal surface.
44+
Fix in InsideSection() for points(0,0,z).
45+
Fix in SetOriginalParameters(), in case of presence of 'rings'
46+
structures constructed by (r,z) corners.
47+
Use canonical form for operator=(). Code cleanup and formatting.
48+
o Added special DistanceAway() method for Inside() in order to fix
49+
precision problem in calculation of DistanceToSide() in UPolyconeSide.
50+
o Fixed typo in copy-ctor and assignment operator for UTubs.
51+
o UPolyhedra: moved Extent() from protected to public.
52+
o UTet: fixed approximation in Extent().
53+
o Minor fixes of errors reported by Coverity and unit tests in
54+
UTubs,UCons, UTet.
55+
o Removed useless 'inline' specification for pure virtual function
56+
StreamInfo() in VUSolid base class.
57+
o Renamed ExceptionSeverity struct to UExceptionSeverity in UUtils to
58+
avoid possible clashes with external libraries.
59+
+ volumes:
60+
o Avoid post-increment in G4NavigationLevelRep::AddAReference().
61+
62+
o Generic Processes:
63+
-----------------
64+
+ Management:
65+
o Fixed logic in G4ProcessManager::SetProcessOrderingToSecond() to make
66+
sure the process is always set before the process that has ordering
67+
index 1.
68+
+ Transportation:
69+
o G4Transportation, G4CoupledTransportation: in AlongStepGetPIL(), (o)
70+
initialize restMass with G4DynamicParticle (as is used in DoIt()),
71+
not with G4ParticleDefinition. Resolves inconsistent kinematics
72+
when dynamic mass is measurably different from "PDG" mass.
73+
74+
o Global:
75+
------
76+
+ G4FPEDetection.hh: restrict FPE trapping to GCC only, excluding CLang.
77+
Addresses problem with Qt generating an apparent FPE deep inside its
78+
code with MacOSX CLang builds.
79+
Added call to 'sigfillset' to clear any signals before any use of
80+
sigset_t in InvalidOperationDetection() for both MacOS and Linux, as
81+
suggested in specifications.
82+
+ Added missing G4GLOB_DLL specification for DLL import/export to
83+
G4CacheDetails specialization of cache reference for double.
84+
+ Updated date and version for 10.0.p04.
85+
86+
o Persistency:
87+
-----------
88+
+ gdml:
89+
o Fixed typo in G4GDMLWriteSolids::BooleanWrite() for the case of
90+
repeated displacements of the reference solid in the same Boolean
91+
operation (issue reported by ATLAS).
92+
o Correction to G4GDMLReadMaterials::MixtureRead() to revert order of
93+
reading (first elements then materials) for mixtures by fraction;
94+
corrects referencing for cases when elements and materials may carry
95+
the same name (case reported by ATLAS).
96+
97+
o Physics Lists:
98+
-------------
99+
+ constructors/hadron_inelastic:
100+
o Added protection in destructors to avoid double deletes.
101+
+ constructors/limiters:
102+
o Fix in G4ParallelWorldProcess to correctly use method
103+
SetProcessOrderingToSecond().
104+
+ lists:
105+
o INCLXXPhysicsListHelper: avoid use of G4NeutronTrackingCut
106+
for *_HP physics-lists.
107+
108+
o Processes - Hadronic:
109+
--------------------
110+
+ management:
111+
o G4HadronicProcess::CheckResult(): added check for dynamic mass
112+
to correspond to PDG mass within ~10%.
113+
+ models/cascade:
114+
o G4CascadeInterface: fixed possible infinite-loop condition where
115+
(nTries >= maxTries) and momentum balance fails.
116+
+ stopping:
117+
o G4HadronStoppingProcess, G4MuonMinusBoundDecay: fixed time of muon
118+
nuclear capture secondaries. Addressing problem report #1695.
119+
120+
o Examples:
121+
--------
122+
+ Updated reference outputs.
123+
124+
125+
----------------------------------------------------------------------------
126+
127+
Technical Notes
128+
---------------
129+
130+
o This patch should be applied on top of release 10.0 or 10.0.p01/2/3.
131+
o Technical notes distributed for release 10.0 are also applicable and
132+
valid for this patch.
133+
134+
The code and rebuilt binary libraries for release 10.0.p04 are available
135+
through our "Download" Web page:
136+
http://cern.ch/geant4/support/download.shtml
137+
138+
Please refer to the Geant4 User Documentation:
139+
http://cern.ch/geant4/support/userdocuments.shtml
140+
for further information about using Geant4.

ReleaseNotes/Patch4.9.6-3.txt

Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
2+
Geant4 9.6 - patch-03 Release Notes
3+
-----------------------------------
4+
5+
14 March 2014
6+
7+
List of fixes included in this public patch since the public release 9.6.p02:
8+
9+
o Configuration:
10+
-------------
11+
+ CMake:
12+
o Fixed bug in checking of status of Xmu include path and library
13+
variables that resulted in no error being emitted if these were not
14+
found.
15+
o Ported scripts to MacOSX 10.9 and use of Qt5.
16+
+ GNUMake:
17+
o Updated settings for Darwin targets.
18+
19+
o Analysis:
20+
--------
21+
+ Updated to g4tools 1.4.4, to fix incorrect setting of the list
22+
of free blocks in a Root file; addressing problem report #1523.
23+
Fixed failure in writing empty ntuples (in tools/wroot/basket).
24+
+ Fix in G4RootAnalysisManager::WriteOnAscii().
25+
Addressing problem report report #1473.
26+
27+
o Digits_Hits:
28+
-----------
29+
+ Fixed angle factor in G4PSSphereSurfaceFlux to keep it always
30+
positive. Addressing problem report #1479.
31+
32+
o Geometry:
33+
--------
34+
+ management:
35+
o Fix to G4VSolid::EstimateCubicVolume() to make proper use of specified
36+
accuracy. Addressing problem report #1493.
37+
+ navigation:
38+
o G4MultiNavigator: fixed use of enum as Boolean in GetGlobalExitNormal().
39+
+ solids/CSG:
40+
o Corrected sanity check for wrong/small dimensions in G4Box constructor.
41+
o Correctly initialise fSPhi to zero in G4Sphere constructor.
42+
+ solids/specific:
43+
o Fix in G4SurfaceVoxelizer affecting tessellated-solid (and
44+
extruded-solid) for wrong computation of DistanceToIn(p,v) for
45+
points outside, when optimisation is active.
46+
o Fix in G4TessellatedSolid::DistanceToIn(p,v) for specific cases
47+
where points are located near surface.
48+
o Fix in G4GenericTrap::InsidePolygone() to check if p lies between
49+
the two extremes of the segment. Addressing problem report #1541.
50+
51+
o Global:
52+
------
53+
+ Updated date and version for 9.6.p03.
54+
55+
o Electromagnetic Processes:
56+
-------------------------
57+
+ Low Energy:
58+
o Fixed case of exception from G4PenelopeOscillatorManager for
59+
specific materials.
60+
+ Muons:
61+
o G4MuPairProductionModel, G4MuBremsstrahlungModel: complete fix for
62+
cross-section computation. Addresses problem report #1471.
63+
+ Standard:
64+
o G4UrbanMscModel95, G4UrbanMscModel96: fixed bug in randomisation
65+
of 1st step in a volume (useDistanceToBoundary option).
66+
o G4NuclearStopping: do not reset dynamic charge of an ion, because
67+
G4ionIonisation process is responsible for that (fix for partially
68+
charged ion beam)
69+
+ Utils:
70+
o G4VMultipleScattering: increased lowest limit from 1 eV to 10 eV to
71+
avoid semi-infinite loop for low-energy particle tracking;
72+
fixed re-computation of post-step safety in AlongStepDoIt method.
73+
o G4VEnergyLossProcess, G4VEmProcess: set interaction length to
74+
DBL_MAX if process is de-activated (fixed problem of DNA simulation);
75+
fixed CrossSectionPerVolume access method.
76+
o Fixed typo in G4EmBiasingManager.
77+
78+
o Generic Processes:
79+
-----------------
80+
+ Decay:
81+
o Fixed problem of wrong global time for secondaries in case that the
82+
primary track stops during along step. Addressing problem report #1555.
83+
84+
o Hadronic Processes:
85+
------------------
86+
+ cross_sections:
87+
o Code optimization for G4ElectroNuclearCrossSection and
88+
G4PhotoNuclearCrossSection.
89+
+ models/cascade:
90+
o G4NucleiModel: fixed rare cases of non-reproducibility in
91+
method generateParticleFate(). Some data was not properly
92+
initialized in the case that the interaction-partners list has
93+
one single element.
94+
o Fixed implementation of G4CascadeParameters singleton to follow
95+
canonical format. Addressing problem report #1557.
96+
o G4ParticleLargerEkin, G4ParticleLargerBeta: correct ">=" to ">"
97+
conditions to avoid error in case that both inputs are identical.
98+
+ models/de_excitation:
99+
o G4NeutronRadCapture: fixed run time memory leak, fixed time of
100+
reaction products.
101+
o G4ExcitationHandler: if FermiBreakUp returns unchanged fragment
102+
delete it to avoid minor memory leak; addressing HyperNews post
103+
#1371. Fixed typo in GetPhotoEvaporation() method name.
104+
Fixed typo in the SetMaxAForFermiBreakUp() method.
105+
o G4FermiFragmentsPool: fixed typo for use of G4endl for end line.
106+
o G4LevelReader, G4NuclearLevelManager: fixed trivial compilation issues
107+
detected on Visual C++ 18.
108+
+ models/em_dissociation:
109+
o Fixed memory leak of products from G4ExcitationHandler.
110+
+ models/parton_string/hadronization:
111+
o Fixed two mistakes in the index manipulation of the BaryonWeight
112+
4-dimensional vector in G4LundStringFragmentation.
113+
+ models/parton_string/management:
114+
o Fix to remove 'inline' qualifier from methods in G4VParticipants.cc
115+
and G4PomeronCrossSection.cc, responsible for cases of run-time
116+
errors for undefined symbols in library...
117+
+ stopping:
118+
o G4MuMinusCapturePrecompound: fixed case of infinite loop by
119+
reimplementing old algorithm of mu- capture which does not include
120+
direct muon reaction but only considering de-excitation of residual
121+
fragment. Addressing problem report #1536.
122+
123+
o Materials:
124+
---------
125+
+ G4IonisParamMat: fixed density effect parameterisation.
126+
127+
o Particles:
128+
---------
129+
+ Fixed properties for heavy anti-baryons G4AntiLambdab, G4AntiSigmabZero
130+
and G4AntiLambdacPlus. Addressing problem report #1571.
131+
132+
o Persistency:
133+
-----------
134+
+ ascii:
135+
o Corrected typo in G4tgrPlaceParameterisation::operator<<().
136+
Addressing problem report #1504.
137+
o Corrected typo in G4tgrUtils::WordIsUnit().
138+
o Replaced deprecated calls to solids accessor methods.
139+
+ gdml:
140+
o Fix in G4GDMLReadParamvol::ParametersRead() for reading parameterised
141+
Sphere, Orb, Torus and Para.
142+
o Replaced deprecated calls to G4Sphere accessor methods.
143+
144+
o Physics Lists:
145+
-------------
146+
+ G4EmStandardPhysics_option3, G4EmStandardPhysics_option4,
147+
G4EmLivermorePhysics, G4EmPenelopePhysics: use RangeFactor=0.01
148+
for increased simulation accuracy; use G4UrbanMscModel96.
149+
150+
o Visualization:
151+
-------------
152+
+ OpenGL:
153+
o Fixed bug in the G4OpenGLQtViewer for viewer iterator increment
154+
checking. Corrected use of 'true' in G4OpenGLQtExportDialog.
155+
156+
o Examples:
157+
--------
158+
+ Updated reference outputs.
159+
160+
----------------------------------------------------------------------------
161+
162+
Technical Notes
163+
---------------
164+
165+
o This patch should be applied on top of release 9.6.
166+
o Technical notes distributed for release 9.6 are also applicable and
167+
valid for this patch.
168+
169+
The code and rebuilt binary libraries for release 9.6.p03 are available
170+
through our "Download" Web page:
171+
http://cern.ch/geant4/support/download.shtml
172+
173+
Please refer to the Geant4 User Documentation:
174+
http://cern.ch/geant4/support/userdocuments.shtml
175+
for further information about using Geant4.

0 commit comments

Comments
 (0)