|
| 1 | + |
| 2 | + Geant4 9.5 - patch-02 Release Notes |
| 3 | + ----------------------------------- |
| 4 | + |
| 5 | + 22 October 2012 |
| 6 | + |
| 7 | +List of fixes included in this public patch since the public release 9.5.p01: |
| 8 | + |
| 9 | + o Environments |
| 10 | + ------------ |
| 11 | + + G4Py: |
| 12 | + o Updated scripts for use of internal CLHEP module. |
| 13 | + o Added necessary updates for 9.5.p01. Addressing problem report #1317. |
| 14 | + o Fixed logics in configuration script for specifying Python include |
| 15 | + path. Addressing problem report #1316. |
| 16 | + o Fixes in pyG4VisManager: added static statement for GetVerbosity() and |
| 17 | + fixed GetConcreteInstance() returning an insufficient class pointer. |
| 18 | + Addressing problem report #1318. |
| 19 | + |
| 20 | + o Digits_Hits: |
| 21 | + ----------- |
| 22 | + + G4VScoringMesh: avoid updating size and segment in command-line scoring |
| 23 | + and print warning when SetSize() or SetNumberOfSegments is called more |
| 24 | + then once. |
| 25 | + |
| 26 | + o Error Propagation: |
| 27 | + ----------------- |
| 28 | + + Fixes in G4ErrorTrackLengthTarget and G4VErrorLimitProcess to solve |
| 29 | + memory leak. Addressing problem report #1284. |
| 30 | + + Fixed variable name (partType -> partName) in G4ErrorFreeTrajState |
| 31 | + and delete code not needed in G4ErrorPhysicsList. |
| 32 | + + Explicitly use inclusion of headers for system of units and physical |
| 33 | + constants and fixed spurious cases of hidden variables. |
| 34 | + |
| 35 | + o Event: |
| 36 | + ----- |
| 37 | + + Correction for orthogonalization of rotation matrix in |
| 38 | + G4SPSPosDistribution::GenerateRotationMatrices() method. |
| 39 | + Addressing problem report #1299. |
| 40 | + |
| 41 | + o Geometry: |
| 42 | + -------- |
| 43 | + + biasing: |
| 44 | + + divisions: |
| 45 | + + management: |
| 46 | + o Fixed trivial cases of variable shadowing. |
| 47 | + + navigation: |
| 48 | + o G4Navigator: added method GetGlobalExitNormal() to be used in place |
| 49 | + of GetLocalExitNormal() by optical processes, to address problem |
| 50 | + report #1300. Compute normals also for replicas. |
| 51 | + Moved internal methods GetSavedState() and RestoreSavedState() to |
| 52 | + protected. |
| 53 | + o G4PropagatorInField, G4VIntersectionLocator: corrected two arguments |
| 54 | + of IntersectChord() to be const references instead of copy (fix for |
| 55 | + CPU performance). |
| 56 | + o G4Navigator, G4MultiNavigator and G4ErrorPropagationNavigator: |
| 57 | + use 'true' as default value for state keeping. |
| 58 | + o Fixed trivial cases of variable shadowing. |
| 59 | + + solids/Boolean: |
| 60 | + o G4SubtractionSolid: refined protection for potential cases of |
| 61 | + infinite loop in DistanceToIn(p,v); return computed distance instead |
| 62 | + of zero and provide more descriptive information when issuing warning. |
| 63 | + + solids/BREPS: |
| 64 | + o Fixed trivial cases of variable shadowing. |
| 65 | + + solids/CSG: |
| 66 | + o G4Para::SurfaceNormal(): fixed calculation of sin(alpha) from |
| 67 | + cosine and tangent. |
| 68 | + o G4Torus: revised values of delta, to account for precision loss |
| 69 | + in calculating radius 'pt'. Reordered a few computation for better |
| 70 | + FP accuracy. |
| 71 | + + volumes: |
| 72 | + o Corrected GNUMakefile for spurious inclusion path. |
| 73 | + |
| 74 | + o Global: |
| 75 | + ------ |
| 76 | + + G4PhysicsVector: added GetMaxEnergy() inlined method; indicate inline |
| 77 | + methods in header file by explicitly adding inline keyword; added inline |
| 78 | + method Value() and private method ComputeValue() in order to have inline |
| 79 | + access to the value for the case of multiple calls with the the same |
| 80 | + energy value. |
| 81 | + + Correction to G4PhysicsOrderedFreeVector to fix ordering of elements. |
| 82 | + + G4UnitsTable: added call to BuildUnitsTable() from static accessor to |
| 83 | + guarantee proper initialization of units in static calls. |
| 84 | + Modified warnings in cout to be compliant with G4Exception syntax. |
| 85 | + + Implemented workaround to aid for templated symbols of |
| 86 | + G4ReferenceCountedHandle to be properly imported/exported |
| 87 | + for DLL build on Windows systems based on CMake. |
| 88 | + Addressing problem report #1329. |
| 89 | + + Fixed trivial cases of variable shadowing. |
| 90 | + + Updated date and version for 9.5.p02. |
| 91 | + |
| 92 | + o Intercoms: |
| 93 | + --------- |
| 94 | + + Fixed trivial cases of variable shadowing. |
| 95 | + |
| 96 | + o Interfaces: |
| 97 | + ---------- |
| 98 | + + Fix in G4UIWin32 to make it work on Win64; replaced [Get|Set]WindowLong() |
| 99 | + with [Get|Set]WindowLongPtr() and GWL_USERDATA by GWLP_USERDATA. |
| 100 | + |
| 101 | + o Particles: |
| 102 | + --------- |
| 103 | + + Fixed bug in decay table for k_star-. |
| 104 | + + Modified G4eDecayProduct to use std::vector instead of fixed size array, |
| 105 | + removing limitation of number of daughters. |
| 106 | + |
| 107 | + o Persistency: |
| 108 | + ----------- |
| 109 | + + ASCII: |
| 110 | + o Fixed case of conversion from size_t to G4int in G4tgrUtils in |
| 111 | + function AreWordsEquivalent(), detected on win64 system. |
| 112 | + + GDML: |
| 113 | + o Proper handling of constant material properties. |
| 114 | + o Fixed trivial cases of variable shadowing. |
| 115 | + |
| 116 | + o Electromagnetic Processes: |
| 117 | + ------------------------- |
| 118 | + + Standard: |
| 119 | + o G4eplusAnnihilation: fixed weight propagation for annihilation at rest. |
| 120 | + o G4IonFluctuations: use simplified algorithm for very small steps to |
| 121 | + avoid infinite loop in tracking of very low energy (~10 eV) ions. |
| 122 | + Addressing problem report #1345. |
| 123 | + o G4UrbanMscModel90: added protection against very low step limit to |
| 124 | + avoid infinite loop in tracking of very low energy (~10 eV) ions. |
| 125 | + Addressing problem report #1345. |
| 126 | + o G4UrbanMscModel92: use more loose protection against large angle |
| 127 | + scattering (1000 -> 10000). |
| 128 | + o Added missing reference to G4UrbanMscModel92 files in CMake script. |
| 129 | + + Utils: |
| 130 | + o Fixed weight propagation from primary to secondaries in G4VEmProcess. |
| 131 | + |
| 132 | + o Hadronic Processes: |
| 133 | + ------------------ |
| 134 | + + cross_sections: |
| 135 | + o G4HadronCrossSections: use cache of previous cross-section and G4Pow |
| 136 | + to save some CPU time. |
| 137 | + + management: |
| 138 | + o G4HadronicProcess: avoid cross-section computation in PostStepDoIt |
| 139 | + for neutral hadrons (minor improvement in CPU time). |
| 140 | + + models/binary_cascade: |
| 141 | + o Fixed case of use of Lorentz vector explicit contructor in |
| 142 | + G4BinaryCascade. |
| 143 | + + models/CHIPS: |
| 144 | + o Fix to linear table update for quasi-elastic cross-sections, also |
| 145 | + responsible for event non-reproducibility. |
| 146 | + o Fixed bug in ElectroNuclearReaction. Addressing problem report #1354. |
| 147 | + o Fixed cases of use of Lorentz vector explicit contructor in |
| 148 | + G4QFragmentation and G4Quasmon. |
| 149 | + + models/de_excitation: |
| 150 | + o G4DiscreteGammaTransition: fixed algorithm of selection of discrete |
| 151 | + transition; restore transition to the ground state in gamma+C12 |
| 152 | + reaction. Addressing problem report #1338. |
| 153 | + + models/lend: |
| 154 | + o Fixed GNUmakefile for use of internal expat library, if explicitely |
| 155 | + chosen. |
| 156 | + o Fixed trivial cases of variable shadowing. |
| 157 | + + models/neutron_hp: |
| 158 | + o Fixed case of use of Lorentz vector explicit contructor in |
| 159 | + G4NeutronHPCaptureFS. |
| 160 | + + models/parton_string/hadronization: |
| 161 | + o Removed unnecessary assertions in G4ExcitedStringDecay and removed |
| 162 | + debug printouts. |
| 163 | + o Made copy ctor, =, == , and != operators private without |
| 164 | + implementation in G4LundStringFragmentation and G4QGSMFragmentation, |
| 165 | + fixing coverity warnings. |
| 166 | + + models/qmd: |
| 167 | + o Fixed compilation warning on win64 in G4QMDMeanField. |
| 168 | + + models/quasi_elastic |
| 169 | + o Bug fix in G4QuasiElRatios affecting the initialisation of table. |
| 170 | + Bug fix fixing wrong initialization of linear table and influencing |
| 171 | + event reproducibility. |
| 172 | + + processes: |
| 173 | + o G4WHadronElasticProcess: fixed time and weight of recoil nuclear. |
| 174 | + o Fixed trivial cases of variable shadowing. |
| 175 | + + stopping: |
| 176 | + o G4PiMinusAbsorptionBertini: if Bertini fails to interact projectile, |
| 177 | + return untouched projectile track as G4ParticleChange, so process |
| 178 | + manager can decay it. |
| 179 | + |
| 180 | + o Generic Processes: |
| 181 | + ----------------- |
| 182 | + + Biasing: |
| 183 | + o Fixed trivial cases of variable shadowing. |
| 184 | + + Cuts: |
| 185 | + o Fixed compilation warning in G4VRangeToEnergyConverter |
| 186 | + if G4_NO_VERBOSE set. |
| 187 | + o Fixed trivial cases of variable shadowing. |
| 188 | + + Optical: |
| 189 | + o Adopt call to GlobalExitNormal() from G4Navigator in G4OpBoundaryProcess |
| 190 | + for proper extrapolation of normals on boundaries. |
| 191 | + Addressing problem report #1300. |
| 192 | + o Fixed Coverity defects and cases of variable shadowing. |
| 193 | + + Transportation: |
| 194 | + o G4Transportation: corrected issues with initilisation of data members |
| 195 | + reported by Coverity. |
| 196 | + o Explicitly use inclusion of headers for system of units and physical |
| 197 | + constants and fixed cases of variable shadowing. |
| 198 | + |
| 199 | + o Track: |
| 200 | + ----- |
| 201 | + + Fixed bug in copy constructor of G4VUUserTrackInformation. |
| 202 | + Addressing problem report #1346. |
| 203 | + |
| 204 | + o Visualization: |
| 205 | + ------------- |
| 206 | + + OpenGL: fix in G4OpenGLWin32Viewer to make it work on Win64; replaced |
| 207 | + [Get|Set]WindowLong() with [Get|Set]WindowLongPtr() and GWL_USERDATA by |
| 208 | + GWLP_USERDATA. |
| 209 | + |
| 210 | + o Examples: |
| 211 | + -------- |
| 212 | + + Updated reference outputs. |
| 213 | + + advanced/composite_calorimeter: |
| 214 | + o Fixed crashes due to high global times converted to integers values. |
| 215 | + Addressing problem report #1337. |
| 216 | + + advanced/human_phantom: |
| 217 | + o Make destructor virtual in G4BasePhantomBuilder. |
| 218 | + + extended/electromagnetic/TestEm7 |
| 219 | + o Fixed compilation problems on Mac for c2_functions. |
| 220 | + o Fixed case of division by zero at initialisation in |
| 221 | + G4ScreenedNuclearRecoil |
| 222 | + + extended/field/field04 |
| 223 | + o Renamed global allocator for F04Trajectory to not clash with one |
| 224 | + defined in the kernel. Fixes compilation problem on Windows. |
| 225 | + + extended/persistency/gdml/G01: |
| 226 | + o Added missing unit in opticalsurfaces.gdml. |
| 227 | + + extended/persistency/P01: |
| 228 | + o Fixes in GNUMakefile and CMake scripts. |
| 229 | + o Removed unnecessary G4Exception from the code. |
| 230 | + o Added root macro to read the hits. |
| 231 | + o Removed debug printout; small fix in the iterator type. |
| 232 | + + examples/novice/N07: |
| 233 | + o Added protection within G4VERBOSE in ExN07SteppingVerbose. |
| 234 | + |
| 235 | + ---------------------------------------------------------------------------- |
| 236 | + |
| 237 | + Technical Notes |
| 238 | + --------------- |
| 239 | + |
| 240 | + o This patch should be applied on top of release 9.5 or 9.5.p01. |
| 241 | + o Technical notes distributed for release 9.5 are also applicable and |
| 242 | + valid for this patch. |
| 243 | + |
| 244 | +The code and rebuilt binary libraries for release 9.5.p02 are available |
| 245 | +through our "Download" Web page: |
| 246 | + http://cern.ch/geant4/support/download.shtml |
| 247 | + |
| 248 | +Please refer to the Geant4 User Documentation: |
| 249 | + http://cern.ch/geant4/support/userdocuments.shtml |
| 250 | +for further information about using Geant4. |
0 commit comments