Skip to content

Commit e2d2f98

Browse files
committed
Import Geant4 9.6.0 source tree
1 parent b1eb542 commit e2d2f98

File tree

10,611 files changed

+708050
-638304
lines changed

Some content is hidden

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

10,611 files changed

+708050
-638304
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ endif()
2323
#------------------------------------------------------------------------------
2424
# - Define CMake requirements and override make rules as needed
2525
#
26-
cmake_minimum_required(VERSION 2.6)
26+
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)
2727
set(CMAKE_USER_MAKE_RULES_OVERRIDE_CXX
2828
${CMAKE_SOURCE_DIR}/cmake/Modules/Geant4MakeRules_cxx.cmake)
2929

@@ -52,9 +52,9 @@ set(CMAKE_MODULE_PATH
5252
# See the documentation in each of these modules for further details.
5353
#
5454
# - Versioning. We do this here for now
55-
set(${PROJECT_NAME}_VERSION "9.5.0")
55+
set(${PROJECT_NAME}_VERSION "9.6.0")
5656
set(${PROJECT_NAME}_VERSION_MAJOR "9")
57-
set(${PROJECT_NAME}_VERSION_MINOR "5")
57+
set(${PROJECT_NAME}_VERSION_MINOR "6")
5858
set(${PROJECT_NAME}_VERSION_PATCH "0")
5959

6060
# - Provide dependent options as these are needed for some Geant4 features

ReleaseNotes/Beta4.9.6-1.txt

+1,038
Large diffs are not rendered by default.

ReleaseNotes/Patch4.9.4-3.txt

+184
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
2+
Geant4 9.4 - patch-03 Release Notes
3+
-----------------------------------
4+
5+
9 December 2011
6+
7+
List of fixes included in this public patch since the public release 9.4.p02:
8+
9+
o Configuration:
10+
-------------
11+
+ Darwin-g++.gmk: modified OGLLIBS settings for proper configuration of
12+
OpenGL libraries in combination with Qt. Allow use of Qt libraries not
13+
installed as Framework. Also addressing problem report #1267.
14+
Removed unnecessary 'gcov' linkage for dynamic libraries.
15+
+ G4UI_BUILD.gmk: added setting of G4INTY_BUILD_XT for OPENGLXM and OIX.
16+
Visualization drivers need Xt, so this covers the case when the user
17+
does not build Xt from G4UI_BUILD flags. Addressing problem report #1250.
18+
19+
o Digits_Hits:
20+
-----------
21+
+ G4THitsMap: removed the print-out of total value, to avoid inconsistency
22+
caused by a class <T> which does not have += operator or cannot be
23+
initilized to 0. Addressing to the problem report #1258.
24+
+ Fixed some Coverity defects for uninitialised pointers in
25+
G4TDigiCollection and G4THitsCollection.
26+
27+
o Error Propagation:
28+
-----------------
29+
+ Defined method GetTranfMat() in G4ErrorFreeTrajectoryState.
30+
Addresses problem report #1248.
31+
32+
o Geometry:
33+
--------
34+
+ divisions:
35+
o Optimise initialization of phi angles in parameterisation for tubs
36+
and cons.
37+
+ magnetic_field:
38+
o Corrected computation of 'omegac' G4EqEMFieldWithEDM, G4Mag_SpinEqRhs
39+
and G4EqEMFieldWithSpin with more coherent formula. Simplified formula
40+
for computation of kinetic energy in G4FieldTrack.
41+
+ navigation:
42+
o Fix in locator classes and navigator to address cases of tracks stuck
43+
on boundary of volumes: improved the condition for accepting a
44+
candidate intersection with a boundary in all locator classes, now
45+
checking if the track enters in the new volume.
46+
Resolves long-standing issue reported by ATLAS.
47+
+ solids/Boolean:
48+
o Corrected protection in G4SubtractionSolid::DistanceToIn(p,v)
49+
introduced previously and relaxed to not cause event abortion.
50+
+ solids/CSG:
51+
o G4Sphere: fix for setting of relative radial tolerances when setters
52+
for radiuses are explicitely called (affecting parameterisations on
53+
radius for spheres).
54+
Relaxed validity condition in construction for the minimum size of the
55+
outer radius.
56+
+ solids/specific:
57+
o Fix in G4TriangularFacet::Intersect() to take into account geometrical
58+
tolerance and cases of zero distance from surface's facet; fixed tests
59+
where square root was compared to half Cartesian tolerance; now
60+
compared to kCarTolerance. Addressing problem report #1242.
61+
o Fix in G4TessellatedSolid::DistanceToOut(p) and DistanceToIn(p) to
62+
exactly compute distance from facet avoiding use of 'outgoing' flag
63+
shortcut variant. Addressing problem report #1242.
64+
o Fix in G4Paraboloid::DistanceToIn(p,v) and DistanceToIn(p) to properly
65+
take into account tolerance and provide better estimation of distance
66+
respectively. Addresses problem report #1234.
67+
o Fix in G4EllipticalCone in DistanceToIn(p,v) to exclude imaginary
68+
solution (virtual cone) when distance is calculated.
69+
o Defined SetReferences() and InvertFacets() to
70+
G4GenericTrap::CreatePolyhedron() for proper visualisation of Boolean
71+
compositions with G4GenericTrap.
72+
o Defined SetReferences() to G4TessellatedSolid::CreatePolyhedron()
73+
for proper visualisation of Boolean compositions with
74+
G4TessellatedSolid. Addresses problem report #1235.
75+
o Fixed logic in G4VTwistSurface::GetEdgeVisibility() in treatment of
76+
corners.
77+
+ volumes:
78+
o Use WIN32 instead of G4LIB_BUILD_DLL as flag for protecting allocator
79+
choice in G4NavigationHistory on Windows.
80+
81+
o Global:
82+
------
83+
+ Added missing post-const qualifier to G4String::compareTo() methods
84+
+ Changed date for patch-03 to release 9.4.
85+
86+
o Graphical Representations:
87+
-------------------------
88+
+ G4PolyhedronArbitrary: defined SetReferences() and InvertFacets() methods
89+
necessary at the end to complete the polyhedron, in particular if the
90+
polyhedron suffers subsequent Boolean operations.
91+
+ Consistently make use of G4 types in HepPolyhedron and BooleanProcessor.
92+
93+
o Persistency:
94+
-----------
95+
+ ascii:
96+
* Fixed case of dereferencing null pointer in G4tgbGeometryDumper
97+
DumpRotationMatrix() method.
98+
* Fixed bug on the usage of units. Addressing problem report #1240.
99+
* Fixed trivial compilation warning from Xcode in G4tgbVolume.
100+
+ gdml:
101+
* Fixes in reader to properly consider units in import for G4GenericTrap,
102+
G4EllipticalTube, G4TessellatedSolid and G4Tet.
103+
104+
o Electromagnetic Processes:
105+
-------------------------
106+
+ HighEnergy:
107+
o Removed include of unused header in G4GammaConversionToMuons.
108+
+ Standard:
109+
o G4CoulombScatteringModel, G4eCoulombScatteringModel: increased
110+
low-energy threshold from 1 eV to 1 keV, below this threshold
111+
particle energy is set to zero
112+
o G4UrbanMscModel90, G4UrbanMscModel92, G4UrbanMscModel93: added
113+
protection for sampling of angle for very small steps and high
114+
energy e-. Fixing rare cases of back-reflection.
115+
+ Utils:
116+
o G4EmModelManager: fixed bug in algorithm to smooth cross-sections
117+
between different models. Responsible for observed discrepancy in
118+
lateral shower shapes reported by CMS.
119+
+ Xrays:
120+
o G4SynchrotronRadiation, G4SynchrotronRadiationInMat: fixed length
121+
of C-arrays for the interface with EM field.
122+
Addressing problem report #1236.
123+
o Fixed compilation warnings for variables set but not used.
124+
Fixed some Coverity defects.
125+
126+
o Hadronic Processes:
127+
------------------
128+
+ cross_sections:
129+
o G4ElectroNuclearCrossSection: protections to avoid FPE numerical
130+
problems at low energies
131+
+ management:
132+
o G4HadronicProcess: changed order of checks, first track status,
133+
second cross-section (avoid computation of cross-section for zero
134+
energy particles).
135+
+ models/cascade:
136+
o G4CascadeInterface: added protection for proton target conservation
137+
failures. These happen due to elastic scattering near threshold.
138+
139+
o Generic Processes:
140+
-----------------
141+
+ Parameterisations/gflash:
142+
o Fixed bug in G4FlashShowerModel::ModelTrigger() for energy condition.
143+
o Fixed Coverity defects, mainly related to uninitialised static data.
144+
+ Transportation:
145+
o Modified calcuation of 'deltaTime' for optical photons in
146+
G4Transportation (and G4CoupledTtansportation). The final velocity
147+
obtained by G4Track CalculateVelocityForOpticalPhoton() should be
148+
used instead of the initial velocity of the step.
149+
Addressing problem report #1239.
150+
151+
o Track:
152+
-----
153+
+ Fix problems related to treatment of weight in G4ParticleChange.
154+
Addressing problem report #1243.
155+
+ Use G4VelocityTable as singleton to avoid unnecessary creation of
156+
G4PhysicsVector objects in the event loop.
157+
158+
o Examples:
159+
--------
160+
+ Updated reference outputs.
161+
+ extended/parameterisations/gflash
162+
o Fixed bug in ExGflashSensitiveDetector::Initialize() for creation of
163+
new hits collection.
164+
+ novice/N04
165+
o Optimised initialisation of Phi angles in parameterisations to avoid
166+
recomputation of trigonometry.
167+
168+
169+
----------------------------------------------------------------------------
170+
171+
Technical Notes
172+
---------------
173+
174+
o This patch should be applied on top of release 9.4 or 9.4.p02.
175+
o Technical notes distributed for release 9.4 are also applicable and
176+
valid for this patch.
177+
178+
The code and rebuilt binary libraries for release 9.4.p03 are available
179+
through our "Download" Web page:
180+
http://cern.ch/geant4/support/download.shtml
181+
182+
Please refer to the Geant4 User Documentation:
183+
http://cern.ch/geant4/support/userdocuments.shtml
184+
for further information about using Geant4.

ReleaseNotes/Patch4.9.4-4.txt

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
2+
Geant4 9.4 - patch-04 Release Notes
3+
-----------------------------------
4+
5+
13 April 2012
6+
7+
List of fixes included in this public patch since the public release 9.4.p03:
8+
9+
o Geometry:
10+
--------
11+
+ Magnetic Field:
12+
o G4FieldTrack: added inline method to set the Rest Mass. Needed in
13+
order to reset this and keep reuse the same G4FieldTrack in a
14+
client across tracks.
15+
16+
o Global:
17+
------
18+
+ G4Pow: reduced vector for factorial from 512 to 170 (result should be
19+
below DBL_MAX). Fixed computation of log(factorial).
20+
Added protection in powN() method for high exponent values.
21+
+ Changed date for patch-04 to release 9.4.
22+
23+
o Electromagnetic Processes:
24+
-------------------------
25+
+ Standard:
26+
o G4UrbanMscModel92, G4UrbanMscModel93, G4UrbanMscModel95: added
27+
protection against big scattering angles for e+- (E > 20 MeV); the
28+
protection cuts tail of scattering angles to avoid artificial
29+
scattering of high energy e+-.
30+
o G4WentzelVIModel: fixed algorithm for sampling of single scattering
31+
along step.
32+
o G4WentzelOKandVIxSection: fixed incorrect angular limit for protons.
33+
Fixed screening function for low Z materials.
34+
o G4UniversalFluctuation: fixed sampling at small steps (below 10 um)
35+
in heavy media about shift in range of 3 MeV muons.
36+
o G4eCoulombScatteringModel: fixed initialisation of base class data
37+
in method SetLowEnergyLimit(). Fixed cross-section in compounds.
38+
39+
o Hadronic Processes:
40+
------------------
41+
+ models/CHIPS:
42+
o G4QCaptureAtRest: added check on 4-momentum balance for violations
43+
of more than 2 GeV; repeat sampling again. Check baryon number of
44+
final state and take into account nuclear recoil at rest which is
45+
not produced as a final particle.
46+
47+
o Track:
48+
-----
49+
+ Fix to reset 'RestMass' in G4FieldTrackUpdator::Update() method
50+
as it is used to initialise each track by ParallelWorldScoringProcess.
51+
52+
----------------------------------------------------------------------------
53+
54+
Technical Notes
55+
---------------
56+
57+
o This patch should be applied on top of release 9.4 or 9.4.p03.
58+
o Technical notes distributed for release 9.4 are also applicable and
59+
valid for this patch.
60+
61+
The code and rebuilt binary libraries for release 9.4.p04 are available
62+
through our "Download" Web page:
63+
http://cern.ch/geant4/support/download.shtml
64+
65+
Please refer to the Geant4 User Documentation:
66+
http://cern.ch/geant4/support/userdocuments.shtml
67+
for further information about using Geant4.

0 commit comments

Comments
 (0)