|
| 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. |
0 commit comments