|
| 1 | + |
| 2 | + Geant4 10.4 - patch-03 Release Notes |
| 3 | + ------------------------------------ |
| 4 | + |
| 5 | + 8 February 2019 |
| 6 | + |
| 7 | +List of fixes included in this public patch since the public release 10.4.p02: |
| 8 | + |
| 9 | + o Configuration: |
| 10 | + ------------- |
| 11 | + + CMake: |
| 12 | + o Corrected URLs for data installation to use https; added -L flag to curl |
| 13 | + to follow redirects when accessing a dataset URL. |
| 14 | + o Geant4MakeRules_cxx.cmake: added -DGL_SILENCE_DEPRECATION to |
| 15 | + CMAKE_CXX_FLAGS_INIT for clang to silence GL deprecation compilation |
| 16 | + warnings on MacOS 10.14 Mojave. |
| 17 | + + GNUMake: |
| 18 | + o Fixed setting of G4RUNPATHOPTION in Darwin/Linux-clang/g++ and binmake.cmk. |
| 19 | + Addressing problem report #2086. |
| 20 | + o Cleanup settings for GL in Darwin-clang.gmk and Darwin-g++.gmk. |
| 21 | + Added -DGL_SILENCE_DEPRECATION to CPPFLAGS to silence GL deprecation |
| 22 | + compilation warnings on MacOS 10.14 Mojave. |
| 23 | + |
| 24 | + o Analysis: |
| 25 | + -------- |
| 26 | + + Fixed a deadlock issue with G4RootPNtupleManager where the mutex |
| 27 | + was locked before being passed to Root. |
| 28 | + + Fixed compilation warnings on gcc-8.1.0. |
| 29 | + |
| 30 | + o Geometry: |
| 31 | + -------- |
| 32 | + + management: |
| 33 | + o Use reverse_iterator in G4SolidStore::DeRegister() in order to speedup |
| 34 | + partial deregistration on setups with many solids instances. |
| 35 | + o G4Region: added possibility to disable search in the tree in |
| 36 | + AddRootLogicalVolume() for speeding up process in complex flat geometries. |
| 37 | + |
| 38 | + o Global: |
| 39 | + ------ |
| 40 | + + G4PhysicsVector, G4Physics2DVector: fixed possible out-of-bound access |
| 41 | + in FindBin() method. Addressing problem report #2087. |
| 42 | + + Updated date and version for 10.4.p03. |
| 43 | + |
| 44 | + o Interfaces: |
| 45 | + ---------- |
| 46 | + + G4Xt: fixed compilation warnings for casts on gcc-8.1. |
| 47 | + + Fixed compilation warnings for not used return parameters. |
| 48 | + |
| 49 | + o Persistency - gdml |
| 50 | + ------------------ |
| 51 | + + Clear auxiliary map information in G4GDMLReadStructure::Clear(). |
| 52 | + Addressing problem report #2064. |
| 53 | + + Added stripping of invalid characters for names generation in writer classes |
| 54 | + to prevent invalid NCName strings in exported GDML files. Adopt properly |
| 55 | + stripped generated strings for exporting names of optical surfaces. |
| 56 | + |
| 57 | + o Processes - Electromagnetic: |
| 58 | + --------------------------- |
| 59 | + + dna: |
| 60 | + o Fixed header guards in G4ITFinder and G4AllITFinder. |
| 61 | + Addressing problem report #2084. |
| 62 | + + standard: |
| 63 | + o G4GoudsmitSaundersonTable: fixed gcc-8.1.0 compilation warnings. |
| 64 | + + utils: |
| 65 | + o G4EmElementSelector: optimisation of element selection for compound |
| 66 | + materials. |
| 67 | + + xrays: |
| 68 | + o G4Cerenkov, G4Scintillation: correctly reset number of photons |
| 69 | + to 0 each step. Addressing problem report #2056. |
| 70 | + Added protection against infinite loops due to very small steps. |
| 71 | + Addressing problem report #1992. |
| 72 | + |
| 73 | + o Processes - Hadronic: |
| 74 | + -------------------- |
| 75 | + + management: |
| 76 | + o G4HadronicProcess: added check if secondary particle is on the mass |
| 77 | + shell; if its mass differ from the PDG mass more for 1.5 MeV then mass |
| 78 | + is forced to the mass shell, energy conserved, but momentum is changed. |
| 79 | + Use correct return type when calling CheckResult() from PostStepDoIt(): |
| 80 | + fixes case when the value of pointer 'result' does not get properly |
| 81 | + reset to NULL in case a non-conservation is detected, thus "bad" |
| 82 | + interaction does not get re-sampled. |
| 83 | + Fixed compilation warnings on gcc-8.1.0 regarding catching polymorphic |
| 84 | + type by value, instead of by reference. |
| 85 | + o G4HadronicProcess, G4VLeadingParticleBiasing, G4HadLeadBias: fixed |
| 86 | + compilation warning with gcc-7. |
| 87 | + + models/binary_cascade |
| 88 | + o G4GeneratorPrecompoundInterface: fixed printout typo. |
| 89 | + + models/cascade: |
| 90 | + o G4GDecay3: fixed problem reported by CMS due to wrong kinematics in |
| 91 | + the final state by removing loop check; adding protection for low value |
| 92 | + of mother mass. |
| 93 | + + models/de_excitation: |
| 94 | + o G4LevelReader: fixed initialisation of 'fAlphaMax' from 1.e+6 to 1.e+15; |
| 95 | + needed for correct IC probability of some isotopes. |
| 96 | + Addresses problem reports #1986 and #2076, by change of handling of |
| 97 | + internal conversion data. |
| 98 | + + models/particle_hp |
| 99 | + o G4ParticleHPCaptureFS::ApplyYourself(): Lorentz boost of neutron into |
| 100 | + target frame was backwards; reversed it. Also replaced SetDefinition() |
| 101 | + with SetDefinitionAndUpdateE(). Addresses problem report #1919. |
| 102 | + o Fixed definition of singletons for G4ParticleHPManager and |
| 103 | + G4ParticleHPThreadLocalManager and some code cleanup. |
| 104 | + Made G4ParticleHPThreadLocalManager a G4ThreadlLocalSingleton to avoid |
| 105 | + memory leaks generated each time a thread creates the instance. |
| 106 | + o Fixed bug for double allocation of G4ParticleHPReactionWhiteBoard in |
| 107 | + G4ParticleHPThreadLocalManager::OpenReactionWhiteBoard(). |
| 108 | + o G4ParticleHPElementData: removed unnecessary inheritance from |
| 109 | + G4HadronicCrossSection. |
| 110 | + o Fixed incorrect sampling of isotropic distribution. |
| 111 | + Addressing problem report #1745. |
| 112 | + o Fixed gamma level mismatch in G4ParticleHPInelasticCompFS. |
| 113 | + Not a complete fix because gamma data comes from ENSDF and does not |
| 114 | + necessarily match excitations in ENDF. |
| 115 | + Addressing problem report #1789. |
| 116 | + o Fixed memory leaks in G4ParticleHPContEnergyAngular::Sample() and |
| 117 | + G4ParticleHPContAngularPar::cacheInit(). |
| 118 | + Addressing problem report #2026. |
| 119 | + o G4ParticleHPElasticFS::ApplyYourself(): use correct reference frames for |
| 120 | + calculation of projectile and target momenta. Correction made for cases |
| 121 | + when cos(Theta) is given in lab frame and in center of momentum frame. |
| 122 | + Partial fix of momentum non-conservation for problem report #1918. |
| 123 | + o Fixed potential leaks in G4ParticleHPPhotonDist, G4ParticleHPContAngularPar |
| 124 | + and G4ParticleHPFinalState for use of pointers cached in G4Cache. |
| 125 | + o G4ENDFTapeRead, G4FissionProductYieldDist: fixed compilation warnings |
| 126 | + on gcc 8.1.0, regarding catching polymorphic type by value, instead of |
| 127 | + by reference. |
| 128 | + o Minor code cleanup and formatting. |
| 129 | + + models/parton_string/diffraction |
| 130 | + o G4FTFAnnihilation: fix to get flat cos(theta) and phi distributions for |
| 131 | + antiproton annihilation at rest. |
| 132 | + + models/rpg |
| 133 | + o G4RPGAntiKZeroInelastic, G4RPGInelastic: fixed compilation warnings on |
| 134 | + gcc-8.1.0, regarding catching polymorphic type by value, instead of by |
| 135 | + reference. |
| 136 | + + processes: |
| 137 | + o G4HadronElasticProcess, G4NeutrinoElectronProcess: fixed compilation |
| 138 | + warnings on gcc 8.1.0, regarding catching polymorphic type by value, |
| 139 | + instead of by reference. |
| 140 | + + stopping: |
| 141 | + o G4HadronStoppingProcess, G4MuonicAtomDecay: fixed compilation warnings |
| 142 | + on gcc 8.1.0, regarding catching polymorphic type by value, instead of |
| 143 | + by reference. |
| 144 | + |
| 145 | + o Processes - Scoring: |
| 146 | + ------------------- |
| 147 | + o G4ParallelWorldProcess: fixed track velocity of optical photons for the |
| 148 | + first step in a layered mass geometry. |
| 149 | + |
| 150 | + o Examples: |
| 151 | + -------- |
| 152 | + + extended/fieldBlineTracer: |
| 153 | + o Fixed compilation error for missing header inclusion. |
| 154 | + |
| 155 | + ---------------------------------------------------------------------------- |
| 156 | + |
| 157 | + Technical Notes |
| 158 | + --------------- |
| 159 | + |
| 160 | + o This patch should be applied on top of release 10.4 or 10.4.p01 or p02. |
| 161 | + o Technical notes distributed for release 10.4 are also applicable and |
| 162 | + valid for this patch. |
| 163 | + |
| 164 | +The code and rebuilt binary libraries for release 10.4.p03 are available |
| 165 | +through our "Download" Web page. |
| 166 | + |
| 167 | +Please refer to the Geant4 User Documentation for further information about |
| 168 | +using Geant4. |
0 commit comments