Skip to content

Commit

Permalink
Import Geant4 10.0.4 source tree
Browse files Browse the repository at this point in the history
  • Loading branch information
gcosmo committed Jun 10, 2016
1 parent 8276762 commit f794fcf
Show file tree
Hide file tree
Showing 142 changed files with 7,495 additions and 6,247 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# 21st September 2010 Ben Morgan
#
# $Id: CMakeLists.txt 84874 2014-10-22 06:41:21Z gcosmo $
# $Id: CMakeLists.txt 88523 2015-02-25 15:01:37Z gcosmo $
#

#------------------------------------------------------------------------------
Expand Down Expand Up @@ -76,10 +76,10 @@ set(CMAKE_MODULE_PATH
# See the documentation in each of these modules for further details.
#
# - Versioning. We do this here for now
set(${PROJECT_NAME}_VERSION "10.0.3")
set(${PROJECT_NAME}_VERSION "10.0.4")
set(${PROJECT_NAME}_VERSION_MAJOR "10")
set(${PROJECT_NAME}_VERSION_MINOR "0")
set(${PROJECT_NAME}_VERSION_PATCH "3")
set(${PROJECT_NAME}_VERSION_PATCH "4")

# - Provide dependent options as these are needed for some Geant4 features
include(CMakeDependentOption)
Expand Down
2 changes: 1 addition & 1 deletion ReleaseNotes/Patch4.10.0-1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ List of fixes included in this public patch since the public release 10.0:

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

Expand Down
6 changes: 3 additions & 3 deletions ReleaseNotes/Patch4.10.0-2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,12 @@ List of fixes included in this public patch since the public release 10.0.p01:

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

o Materials:
---------
+ G4Material, G4Element: define default names and symbols for elements (o)
+ G4Material, G4Element: define default names and symbols for elements
and isotopes when loaded from NIST and not explicitly defined by users.
Fixes exporting of names in GDML when writing detector description.
+ G4Material: corrected initialisation of pointers in fake default
Expand Down Expand Up @@ -273,7 +273,7 @@ List of fixes included in this public patch since the public release 10.0.p01:
o Processes - Hadronic:
--------------------
+ models/binary_cascade:
o G4BinaryCasacde: improved calculation of mass, and of correction for (o)
o G4BinaryCasacde: improved calculation of mass, and of correction for
outgoing particles by always using GetIon() method; addresses potential
crash for p+d seen in d+H in BIC.
o G4{Proton,Neutron}Field.cc: protect against negative index into buffer.
Expand Down
140 changes: 140 additions & 0 deletions ReleaseNotes/Patch4.10.0-4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@

Geant4 10.0 - patch-04 Release Notes
------------------------------------

6 March 2015

List of fixes included in this public patch since the public release 10.0.p03:

o Geometry:
--------
+ navigation:
o G4Navigator: corrections in the computation of exit normal and small
fix to calculation of stored step endpoint, for steps that do not hit
a boundary. Some code cleanup.
o Added protection in G4ReplicaNavigation::DistanceToOutRad() for
potential rare cases of negative value to sqrt() in equation
calculation for rmin/rmax intersection.
o G4ErrorPropagationNavigator: added GetGlobalExitNormal() method to
match the update of G4Navigator interface made back in release 9.5.
Fix to make normal a unit vector, and fixed Coverity defect to protect
against null 'target'. Revised implementation of ComputeStep(),
to avoid calling G4Navigator::ComputeSafety().
Addresses problem report #1679.
+ solids/CSG:
o Fixed typo in copy-ctor and assignment operator for G4Tubs and G4OTubs.
o Fix in temporary class G4OTubs to include symbol in library in any case.
+ solids/specific:
o Fixed triangularisation method AddGeneralPOlygoneFacets() in
G4ExtrudedSolid by avoiding flat triangles. Added warning message to
G4TriangularFacet constructor if Area is 0; i.e., case of flat triangle.
Addressing problem report #1703.
o Added special DistanceAway() method for Inside() in order to fix
precision problem in calculation of DistanceToSide() in G4PolyconeSide.
o Fix in SetOriginalParameters() for G4Polycone and G4Polyhedra, in case
of presence of 'rings' structures. Addressing problem report #1705.
o Use canonical form for operator=() in G4PolyconeHistorical and
G4PolyhedraHistorical.
+ solids/usolids:
o UPolycone: correction in Capacity() for iteration over the number of
sections and in SurfaceArea() in case opening-angle is less than 2*pi.
Fixes in InsideSection() for openPhi when StartPhi is negative,
in Init() for Polycone defined from ZPlane[0]>ZPlane[N],
and in DistanceToOut() for points starting on internal surface.
Fix in InsideSection() for points(0,0,z).
Fix in SetOriginalParameters(), in case of presence of 'rings'
structures constructed by (r,z) corners.
Use canonical form for operator=(). Code cleanup and formatting.
o Added special DistanceAway() method for Inside() in order to fix
precision problem in calculation of DistanceToSide() in UPolyconeSide.
o Fixed typo in copy-ctor and assignment operator for UTubs.
o UPolyhedra: moved Extent() from protected to public.
o UTet: fixed approximation in Extent().
o Minor fixes of errors reported by Coverity and unit tests in
UTubs,UCons, UTet.
o Removed useless 'inline' specification for pure virtual function
StreamInfo() in VUSolid base class.
o Renamed ExceptionSeverity struct to UExceptionSeverity in UUtils to
avoid possible clashes with external libraries.
+ volumes:
o Avoid post-increment in G4NavigationLevelRep::AddAReference().

o Generic Processes:
-----------------
+ Management:
o Fixed logic in G4ProcessManager::SetProcessOrderingToSecond() to make
sure the process is always set before the process that has ordering
index 1.
+ Transportation:
o G4Transportation, G4CoupledTransportation: in AlongStepGetPIL(), (o)
initialize restMass with G4DynamicParticle (as is used in DoIt()),
not with G4ParticleDefinition. Resolves inconsistent kinematics
when dynamic mass is measurably different from "PDG" mass.

o Global:
------
+ G4FPEDetection.hh: restrict FPE trapping to GCC only, excluding CLang.
Addresses problem with Qt generating an apparent FPE deep inside its
code with MacOSX CLang builds.
Added call to 'sigfillset' to clear any signals before any use of
sigset_t in InvalidOperationDetection() for both MacOS and Linux, as
suggested in specifications.
+ Added missing G4GLOB_DLL specification for DLL import/export to
G4CacheDetails specialization of cache reference for double.
+ Updated date and version for 10.0.p04.

o Persistency:
-----------
+ gdml:
o Fixed typo in G4GDMLWriteSolids::BooleanWrite() for the case of
repeated displacements of the reference solid in the same Boolean
operation (issue reported by ATLAS).
o Correction to G4GDMLReadMaterials::MixtureRead() to revert order of
reading (first elements then materials) for mixtures by fraction;
corrects referencing for cases when elements and materials may carry
the same name (case reported by ATLAS).

o Physics Lists:
-------------
+ constructors/hadron_inelastic:
o Added protection in destructors to avoid double deletes.
+ constructors/limiters:
o Fix in G4ParallelWorldProcess to correctly use method
SetProcessOrderingToSecond().
+ lists:
o INCLXXPhysicsListHelper: avoid use of G4NeutronTrackingCut
for *_HP physics-lists.

o Processes - Hadronic:
--------------------
+ management:
o G4HadronicProcess::CheckResult(): added check for dynamic mass
to correspond to PDG mass within ~10%.
+ models/cascade:
o G4CascadeInterface: fixed possible infinite-loop condition where
(nTries >= maxTries) and momentum balance fails.
+ stopping:
o G4HadronStoppingProcess, G4MuonMinusBoundDecay: fixed time of muon
nuclear capture secondaries. Addressing problem report #1695.

o Examples:
--------
+ Updated reference outputs.


----------------------------------------------------------------------------

Technical Notes
---------------

o This patch should be applied on top of release 10.0 or 10.0.p01/2/3.
o Technical notes distributed for release 10.0 are also applicable and
valid for this patch.

The code and rebuilt binary libraries for release 10.0.p04 are available
through our "Download" Web page:
http://cern.ch/geant4/support/download.shtml

Please refer to the Geant4 User Documentation:
http://cern.ch/geant4/support/userdocuments.shtml
for further information about using Geant4.
175 changes: 175 additions & 0 deletions ReleaseNotes/Patch4.9.6-3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@

Geant4 9.6 - patch-03 Release Notes
-----------------------------------

14 March 2014

List of fixes included in this public patch since the public release 9.6.p02:

o Configuration:
-------------
+ CMake:
o Fixed bug in checking of status of Xmu include path and library
variables that resulted in no error being emitted if these were not
found.
o Ported scripts to MacOSX 10.9 and use of Qt5.
+ GNUMake:
o Updated settings for Darwin targets.

o Analysis:
--------
+ Updated to g4tools 1.4.4, to fix incorrect setting of the list
of free blocks in a Root file; addressing problem report #1523.
Fixed failure in writing empty ntuples (in tools/wroot/basket).
+ Fix in G4RootAnalysisManager::WriteOnAscii().
Addressing problem report report #1473.

o Digits_Hits:
-----------
+ Fixed angle factor in G4PSSphereSurfaceFlux to keep it always
positive. Addressing problem report #1479.

o Geometry:
--------
+ management:
o Fix to G4VSolid::EstimateCubicVolume() to make proper use of specified
accuracy. Addressing problem report #1493.
+ navigation:
o G4MultiNavigator: fixed use of enum as Boolean in GetGlobalExitNormal().
+ solids/CSG:
o Corrected sanity check for wrong/small dimensions in G4Box constructor.
o Correctly initialise fSPhi to zero in G4Sphere constructor.
+ solids/specific:
o Fix in G4SurfaceVoxelizer affecting tessellated-solid (and
extruded-solid) for wrong computation of DistanceToIn(p,v) for
points outside, when optimisation is active.
o Fix in G4TessellatedSolid::DistanceToIn(p,v) for specific cases
where points are located near surface.
o Fix in G4GenericTrap::InsidePolygone() to check if p lies between
the two extremes of the segment. Addressing problem report #1541.

o Global:
------
+ Updated date and version for 9.6.p03.

o Electromagnetic Processes:
-------------------------
+ Low Energy:
o Fixed case of exception from G4PenelopeOscillatorManager for
specific materials.
+ Muons:
o G4MuPairProductionModel, G4MuBremsstrahlungModel: complete fix for
cross-section computation. Addresses problem report #1471.
+ Standard:
o G4UrbanMscModel95, G4UrbanMscModel96: fixed bug in randomisation
of 1st step in a volume (useDistanceToBoundary option).
o G4NuclearStopping: do not reset dynamic charge of an ion, because
G4ionIonisation process is responsible for that (fix for partially
charged ion beam)
+ Utils:
o G4VMultipleScattering: increased lowest limit from 1 eV to 10 eV to
avoid semi-infinite loop for low-energy particle tracking;
fixed re-computation of post-step safety in AlongStepDoIt method.
o G4VEnergyLossProcess, G4VEmProcess: set interaction length to
DBL_MAX if process is de-activated (fixed problem of DNA simulation);
fixed CrossSectionPerVolume access method.
o Fixed typo in G4EmBiasingManager.

o Generic Processes:
-----------------
+ Decay:
o Fixed problem of wrong global time for secondaries in case that the
primary track stops during along step. Addressing problem report #1555.

o Hadronic Processes:
------------------
+ cross_sections:
o Code optimization for G4ElectroNuclearCrossSection and
G4PhotoNuclearCrossSection.
+ models/cascade:
o G4NucleiModel: fixed rare cases of non-reproducibility in
method generateParticleFate(). Some data was not properly
initialized in the case that the interaction-partners list has
one single element.
o Fixed implementation of G4CascadeParameters singleton to follow
canonical format. Addressing problem report #1557.
o G4ParticleLargerEkin, G4ParticleLargerBeta: correct ">=" to ">"
conditions to avoid error in case that both inputs are identical.
+ models/de_excitation:
o G4NeutronRadCapture: fixed run time memory leak, fixed time of
reaction products.
o G4ExcitationHandler: if FermiBreakUp returns unchanged fragment
delete it to avoid minor memory leak; addressing HyperNews post
#1371. Fixed typo in GetPhotoEvaporation() method name.
Fixed typo in the SetMaxAForFermiBreakUp() method.
o G4FermiFragmentsPool: fixed typo for use of G4endl for end line.
o G4LevelReader, G4NuclearLevelManager: fixed trivial compilation issues
detected on Visual C++ 18.
+ models/em_dissociation:
o Fixed memory leak of products from G4ExcitationHandler.
+ models/parton_string/hadronization:
o Fixed two mistakes in the index manipulation of the BaryonWeight
4-dimensional vector in G4LundStringFragmentation.
+ models/parton_string/management:
o Fix to remove 'inline' qualifier from methods in G4VParticipants.cc
and G4PomeronCrossSection.cc, responsible for cases of run-time
errors for undefined symbols in library...
+ stopping:
o G4MuMinusCapturePrecompound: fixed case of infinite loop by
reimplementing old algorithm of mu- capture which does not include
direct muon reaction but only considering de-excitation of residual
fragment. Addressing problem report #1536.

o Materials:
---------
+ G4IonisParamMat: fixed density effect parameterisation.

o Particles:
---------
+ Fixed properties for heavy anti-baryons G4AntiLambdab, G4AntiSigmabZero
and G4AntiLambdacPlus. Addressing problem report #1571.

o Persistency:
-----------
+ ascii:
o Corrected typo in G4tgrPlaceParameterisation::operator<<().
Addressing problem report #1504.
o Corrected typo in G4tgrUtils::WordIsUnit().
o Replaced deprecated calls to solids accessor methods.
+ gdml:
o Fix in G4GDMLReadParamvol::ParametersRead() for reading parameterised
Sphere, Orb, Torus and Para.
o Replaced deprecated calls to G4Sphere accessor methods.

o Physics Lists:
-------------
+ G4EmStandardPhysics_option3, G4EmStandardPhysics_option4,
G4EmLivermorePhysics, G4EmPenelopePhysics: use RangeFactor=0.01
for increased simulation accuracy; use G4UrbanMscModel96.

o Visualization:
-------------
+ OpenGL:
o Fixed bug in the G4OpenGLQtViewer for viewer iterator increment
checking. Corrected use of 'true' in G4OpenGLQtExportDialog.

o Examples:
--------
+ Updated reference outputs.

----------------------------------------------------------------------------

Technical Notes
---------------

o This patch should be applied on top of release 9.6.
o Technical notes distributed for release 9.6 are also applicable and
valid for this patch.

The code and rebuilt binary libraries for release 9.6.p03 are available
through our "Download" Web page:
http://cern.ch/geant4/support/download.shtml

Please refer to the Geant4 User Documentation:
http://cern.ch/geant4/support/userdocuments.shtml
for further information about using Geant4.
Loading

0 comments on commit f794fcf

Please sign in to comment.