Geant4 Cross Reference |
1 1 2 # Category hadr-util History 2 # Category hadr-util History 3 3 4 See `CONTRIBUTING.rst` for details of **requir 4 See `CONTRIBUTING.rst` for details of **required** info/format for each entry, 5 which **must** added in reverse chronological 5 which **must** added in reverse chronological order (newest at the top). 6 It must **not** be used as a substitute for wr 6 It must **not** be used as a substitute for writing good git commit messages! 7 7 8 ---------------------------------------------- 8 ------------------------------------------------------------------------------- 9 9 10 ## 2024-10-29 Vladimir Ivanchenko (hadr-util-V << 11 - G4LegendrePolynomial - optimized implementat << 12 << 13 ## 2024-09-09 Vladimir Ivanchenko (hadr-util-V << 14 - G4IsotopeList - added table with low-energy << 15 - G4NucleaRadii - added two static function to << 16 old parameterisations derived from GHEISHA << 17 << 18 ## 2024-08-21 Gabriele Cosmo (hadr-util-V11-02 << 19 - Fixed reported Coverity defects for use of s << 20 in G4HadronicDeveloperParameters use const G << 21 << 22 ## 2024-08-02 Alberto Ribon (hadr-util-V11-02- << 23 - G4HadronicParameters : introduced Getter/Set << 24 type (a choice between "calendf" and "njo << 25 low-energy neutrons. << 26 ( Note that this choice must be done at init << 27 cannot be made via UI command in ParticleH << 28 << 29 ## 2024-06-06 Vladimir Ivanchenko (hadr-util-V << 30 - G4HadronicParameters: introduced Getter/Sett << 31 de-excitation module. << 32 << 33 ## 2024-02-22 Vladimir Ivanchenko (hadr-util-V << 34 - G4IsotopeList header with static data is mov << 35 << 36 ## 2023-11-30 Jean-Christophe David (hadr-util 10 ## 2023-11-30 Jean-Christophe David (hadr-util-V11-01-08) 37 - G4HadronicParameters: added Get/SetMin/MaxEn 11 - G4HadronicParameters: added Get/SetMin/MaxEnergyINCLXX_Pbar() getters and 38 setters of recommended energy limits in phys 12 setters of recommended energy limits in physics lists for the 39 intranuclear cascade model INCLXX, for pbar 13 intranuclear cascade model INCLXX, for pbar interactions. 40 14 41 ## 2023-11-16 Alberto Ribon (hadr-util-V11-01- 15 ## 2023-11-16 Alberto Ribon (hadr-util-V11-01-07) 42 - G4HadronicParameters: introduced Getter/Sett 16 - G4HadronicParameters: introduced Getter/Setter for the time threshold of 43 radioactive decays (i.e. radioactive decays 17 radioactive decays (i.e. radioactive decays that happen later than this 44 value are ignored). This offers a C++ interf 18 value are ignored). This offers a C++ interface to set this parameter. 45 19 46 ## 2023-05-25 Alberto Ribon (hadr-util-V11-01- 20 ## 2023-05-25 Alberto Ribon (hadr-util-V11-01-06) 47 - G4Fragment : replaced (fatal) G4HadronicExce 21 - G4Fragment : replaced (fatal) G4HadronicException with G4Exception. 48 Note: in the method CalculateMassAndExcitati 22 Note: in the method CalculateMassAndExcitationEnergy(), the exception type 49 is "EventMustBeAborted" to avoid rare 23 is "EventMustBeAborted" to avoid rare crashes seen in INCLXX, which 50 are difficult to reproduce and fix. 24 are difficult to reproduce and fix. 51 25 52 ## 2023-04-25 Vladimir Ivanchenko (hadr-util-V 26 ## 2023-04-25 Vladimir Ivanchenko (hadr-util-V11-01-05) 53 - G4HadronicParameters: added extra Boolean me 27 - G4HadronicParameters: added extra Boolean method for access to debug 54 flag for the BinaryCascade, which may be d 28 flag for the BinaryCascade, which may be defined via environment 55 variable BINARY_CASCADE_DEBUG 29 variable BINARY_CASCADE_DEBUG 56 30 57 ## 2023-03-29 Vladimir Ivanchenko (hadr-util-V 31 ## 2023-03-29 Vladimir Ivanchenko (hadr-util-V11-01-04) 58 - G4HadronicParameters - added two strings and 32 - G4HadronicParameters - added two strings and extra methods to access 59 environment variables used in G4HadronicProc 33 environment variables used in G4HadronicProcessStore. These variables 60 are not used in ordinary runs but are checke 34 are not used in ordinary runs but are checked in each thread and for 61 each particle. With this update these variab 35 each particle. With this update these variables will be checked only once. 62 Added G4Exception for the case, when environ 36 Added G4Exception for the case, when environment variable G4PARTICLEXSDATA 63 is not defined (gitlab issue #160). 37 is not defined (gitlab issue #160). 64 38 65 ## 2023-03-27 Alberto Ribon (hadr-util-V11-01- 39 ## 2023-03-27 Alberto Ribon (hadr-util-V11-01-03) 66 - G4HadronicParameter : introduced the neutron 40 - G4HadronicParameter : introduced the neutron kinetic energy threshold for 67 applying the SVT (Sampling of the Velocity o 41 applying the SVT (Sampling of the Velocity of the Target) algorithm. 68 This is needed to have a consistent value in 42 This is needed to have a consistent value in the two methods 69 G4Nucleus::GetBiasedThermalNucleus and 43 G4Nucleus::GetBiasedThermalNucleus and 70 G4ParticleHPElasticFS::GetBiasedThermalNucle 44 G4ParticleHPElasticFS::GetBiasedThermalNucleus 71 without cycling dependencies between util/ a 45 without cycling dependencies between util/ and models/particle_hp/ . 72 - G4Nucleus : in the method GetBiasedThermalNu 46 - G4Nucleus : in the method GetBiasedThermalNucleus, get the neutron kinetic 73 energy threshold for applying the SVT algori 47 energy threshold for applying the SVT algorithm from G4HadronicParameter 74 in the method DoKinematicsOfThermalNucleus, 48 in the method DoKinematicsOfThermalNucleus, and corrected the way to pass 75 the last parameter, by reference instead of 49 the last parameter, by reference instead of by value. 76 50 77 ## 2023-03-04 Alberto Ribon (hadr-util-V11-01- 51 ## 2023-03-04 Alberto Ribon (hadr-util-V11-01-02) 78 - G4Nucleus : split the method GetBiasedTherma 52 - G4Nucleus : split the method GetBiasedThermalNucleus into two parts, by 79 introducing a new public method, DoKinematic 53 introducing a new public method, DoKinematicsOfThermalNucleus (which is 80 used also by G4ParticleHPElasticFS to implem 54 used also by G4ParticleHPElasticFS to implement the DBRC algorithm). 81 55 82 ## 2023-01-21 Vladimir Ivanchenko (hadr-util-V 56 ## 2023-01-21 Vladimir Ivanchenko (hadr-util-V11-01-01) 83 - G4HadronicParameters - removed two obsolete 57 - G4HadronicParameters - removed two obsolete environment variables and access 84 methods; add flag for charge exchange 58 methods; add flag for charge exchange 85 59 86 ## 2023-01-09 Vladimir Ivanchenko (hadr-util-V 60 ## 2023-01-09 Vladimir Ivanchenko (hadr-util-V11-01-00) 87 - G4HadronicParameters - added class members d 61 - G4HadronicParameters - added class members defined via environment variable 88 and access methods for these members, this 62 and access methods for these members, this allows exclude the major part 89 of calls to std::getenv in hadronics 63 of calls to std::getenv in hadronics 90 64 91 ## 2022-11-26 Gabriele Cosmo (hadr-util-V11-00 65 ## 2022-11-26 Gabriele Cosmo (hadr-util-V11-00-13) 92 - Fixed compilation warnings for implicit type 66 - Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1. 93 67 94 ## 2022-10-07 Alberto Ribon (hadr-util-V11-00- 68 ## 2022-10-07 Alberto Ribon (hadr-util-V11-00-12) 95 - G4Nucleus : corrected the method GetN_asInt 69 - G4Nucleus : corrected the method GetN_asInt for the case of hypernuclei. 96 70 97 ## 2022-08-02 Alberto Ribon (hadr-util-V11-00- 71 ## 2022-08-02 Alberto Ribon (hadr-util-V11-00-11) 98 - G4HadronicParametersMessenger : rolled back 72 - G4HadronicParametersMessenger : rolled back as it was in hadr-until-V11-00-09, 99 to avoid circular dependency between G4hadro 73 to avoid circular dependency between G4hadronic_util and G4had_string_diff. 100 A new messenger class is created in G4had_st 74 A new messenger class is created in G4had_string_diff. 101 75 102 ## 2022-07-28 Alberto Ribon (hadr-util-V11-00- 76 ## 2022-07-28 Alberto Ribon (hadr-util-V11-00-10) 103 - G4HadronicParametersMessenger : added two ne 77 - G4HadronicParametersMessenger : added two new UI commands to select one 104 tuning of the FTF model's parameters. 78 tuning of the FTF model's parameters. 105 79 106 ## 2022-07-05 Vladimir Ivanchenko (hadr-util-V 80 ## 2022-07-05 Vladimir Ivanchenko (hadr-util-V11-00-09) 107 - G4NuclearPolarization - fixed Coverity warni 81 - G4NuclearPolarization - fixed Coverity warning 108 82 109 ## 2022-07-05 Vladimir Ivanchenko (hadr-util-V 83 ## 2022-07-05 Vladimir Ivanchenko (hadr-util-V11-00-08) 110 - G4HadronicParameters - added flag to enable 84 - G4HadronicParameters - added flag to enable general neutron process 111 - G4HadDataHandler - new data class 85 - G4HadDataHandler - new data class 112 86 113 ## 2022-06-09 Laurie Nevay (hadr-util-V11-00-0 87 ## 2022-06-09 Laurie Nevay (hadr-util-V11-00-07) 114 - Add option to G4HadronicParameters to contro 88 - Add option to G4HadronicParameters to control diffraction for baryon 115 number greater than 10. 89 number greater than 10. 116 90 117 ## 2022-05-25 Alberto Ribon (hadr-util-V11-00- 91 ## 2022-05-25 Alberto Ribon (hadr-util-V11-00-06) 118 - G4KineticTrack, G4HadSecondary, G4ReactionPr 92 - G4KineticTrack, G4HadSecondary, G4ReactionProduct, G4DecayKineticTracks, 119 G4DecayStrongResonances: propagate the infor 93 G4DecayStrongResonances: propagate the information on parent resonance 120 94 121 ## 2022-05-14 Vladimir Ivanchenko (hadr-util-V 95 ## 2022-05-14 Vladimir Ivanchenko (hadr-util-V11-00-05) 122 - G4HadronicParameters - changed integral flag 96 - G4HadronicParameters - changed integral flags from per particle 123 to for elastic and inelastic processes; by 97 to for elastic and inelastic processes; by default enable 124 for inelastic 98 for inelastic 125 99 126 ## 2022-05-04 Vladimir Ivanchenko (hadr-util-V 100 ## 2022-05-04 Vladimir Ivanchenko (hadr-util-V11-00-04) 127 - G4HadronicParameters - moved G4Threading hea 101 - G4HadronicParameters - moved G4Threading header to the source; 128 added flags for integral method per partic 102 added flags for integral method per particle type for 129 protons, pions, kaons, and anti-protons 103 protons, pions, kaons, and anti-protons 130 104 131 ## 2022-04-04 Vladimir Ivanchenko (hadr-util-V 105 ## 2022-04-04 Vladimir Ivanchenko (hadr-util-V11-00-03) 132 - G4Fragment - fixed computation of binding en 106 - G4Fragment - fixed computation of binding energy for hypernuclei; 133 added a new private method to recompute gr 107 added a new private method to recompute ground state mass, 134 excitation energy, and to check consistenc 108 excitation energy, and to check consistency of input; 135 left inlined only simple methods; added ne 109 left inlined only simple methods; added new methods 136 SetZAandMomentum(...) and RecomputeGroundS 110 SetZAandMomentum(...) and RecomputeGroundStateMass(); 137 improved comments and warning messages 111 improved comments and warning messages 138 112 139 ## 2022-02-09 Gabriele Cosmo (hadr-util-V11-00 113 ## 2022-02-09 Gabriele Cosmo (hadr-util-V11-00-02) 140 - Fixed compilation warning on Intel compilers 114 - Fixed compilation warning on Intel compilers for unused variables 141 and deprecated declaration of operator=(). 115 and deprecated declaration of operator=(). 142 116 143 ## 2021-12-11 Vladimir Ivanchenko (hadr-util-V 117 ## 2021-12-11 Vladimir Ivanchenko (hadr-util-V11-00-01) 144 - G4Fragment - added IsLongLived flag and Get/ 118 - G4Fragment - added IsLongLived flag and Get/Set methods needed 145 for the de-excitation module; clean-up inlin 119 for the de-excitation module; clean-up inline methods. 146 120 147 ## 2021-12-10 Ben Morgan (hadr-util-V11-00-00) 121 ## 2021-12-10 Ben Morgan (hadr-util-V11-00-00) 148 - Change to new Markdown History format. 122 - Change to new Markdown History format. 149 123 150 --- 124 --- 151 125 152 # History entries prior to 11.0 126 # History entries prior to 11.0 153 127 154 05 November 2021 Alberto Ribon (hadr-util-V10- 128 05 November 2021 Alberto Ribon (hadr-util-V10-07-08) 155 ---------------------------------------------- 129 -------------------------------------------------------- 156 - G4Nucleus : the method GetBiasedThermalNucl 130 - G4Nucleus : the method GetBiasedThermalNucleus has been rewritten 157 (by Loic Thulliez and Eric Dumonteil of CEA 131 (by Loic Thulliez and Eric Dumonteil of CEA Saclay) according to the 158 Sampling of the Velocity of the Target nucle 132 Sampling of the Velocity of the Target nucleus (SVT) algorithm. 159 133 160 27 October 2021 Alberto Ribon (hadr-util-V10-0 134 27 October 2021 Alberto Ribon (hadr-util-V10-07-07) 161 ---------------------------------------------- 135 --------------------------------------------------- 162 - G4Nucleon, G4Nucleus, G4V3DNucleus, G4Fancy3 136 - G4Nucleon, G4Nucleus, G4V3DNucleus, G4Fancy3DNucleus, G4Fragment: 163 extended for hypernuclei and anti-hypernucle 137 extended for hypernuclei and anti-hypernuclei. 164 138 165 22 October 2021 Vladimir Ivanchenko (hadr-util 139 22 October 2021 Vladimir Ivanchenko (hadr-util-V10-07-06) 166 ---------------------------------------------- 140 -------------------------------------------------------- 167 - G4HadronicParameters - added hyper-nuclei fl 141 - G4HadronicParameters - added hyper-nuclei flag 168 142 169 04 August 2021 Alberto Ribon (hadr-util-V10-07 143 04 August 2021 Alberto Ribon (hadr-util-V10-07-05) 170 ---------------------------------------------- 144 -------------------------------------------------------- 171 - G4Fragment, G4KineticTrack, G4HadSecondary, 145 - G4Fragment, G4KineticTrack, G4HadSecondary, G4ReactionProduct : 172 introduced consistent naming of the Set/Get 146 introduced consistent naming of the Set/Get methods for the 173 creator model ID. 147 creator model ID. 174 - G4DecayKineticTracks, G4KineticTrack, G4Deca 148 - G4DecayKineticTracks, G4KineticTrack, G4DecayStrongResonances : 175 propagate correctly the information regardin 149 propagate correctly the information regarding the creator model ID. 176 150 177 19 July 2021 Alberto Ribon (hadr-util-V10-07-0 151 19 July 2021 Alberto Ribon (hadr-util-V10-07-04) 178 ---------------------------------------------- 152 -------------------------------------------------------- 179 - G4SampleResonance : bug-fix in the method Ge 153 - G4SampleResonance : bug-fix in the method GetMinimumMass in the case 180 that users include rare and light decay chan 154 that users include rare and light decay channels (e.g. e+ e-) for 181 hadronic resonances. 155 hadronic resonances. 182 Thanks to Thomas Ruf (SHiP Collaboration) fo 156 Thanks to Thomas Ruf (SHiP Collaboration) for pointing out this issue 183 (Bug #2299). 157 (Bug #2299). 184 158 185 09 July 2021 Vladimir Ivanchenko (hadr-util-V1 159 09 July 2021 Vladimir Ivanchenko (hadr-util-V10-07-03) 186 ---------------------------------------------- 160 -------------------------------------------------------- 187 - G4Nucleus - use const pointer to G4Element 161 - G4Nucleus - use const pointer to G4Element 188 162 189 16 April 2021 Ben Morgan (hadr-util-V10-07-02) 163 16 April 2021 Ben Morgan (hadr-util-V10-07-02) 190 ---------------------------------------------- 164 -------------------------------------------------------- 191 - Migrate build to modular CMake API 165 - Migrate build to modular CMake API 192 166 193 13 April 2021 Alberto Ribon (hadr-util-V10-07- 167 13 April 2021 Alberto Ribon (hadr-util-V10-07-01) 194 ---------------------------------------------- 168 -------------------------------------------------------- 195 - GNUmakefile, sources.cmake : moved all class 169 - GNUmakefile, sources.cmake : moved all classes of hadronic/models/util 196 into hadronic/util ; also a few classes of h 170 into hadronic/util ; also a few classes of hadronic/models/management 197 have been moved into hadronic/util (with the 171 have been moved into hadronic/util (with the rest of them moved into 198 hadronic/management). 172 hadronic/management). 199 173 200 16 March 2021 Alberto Ribon (hadr-util-V10-07- 174 16 March 2021 Alberto Ribon (hadr-util-V10-07-00) 201 ---------------------------------------------- 175 -------------------------------------------------------- 202 - Removed unused classes: G4LightMedia, G4IsoR 176 - Removed unused classes: G4LightMedia, G4IsoResult, G4GHEKinematicsVector, 203 G4HadronicDeprecate, G4HadReentrentExcepti 177 G4HadronicDeprecate, G4HadReentrentException, G4HadSignalHandler, 204 DumpFrame. Removed also the file G4Pair.hh 178 DumpFrame. Removed also the file G4Pair.hhnew . 205 179 206 05 November 2020 Alberto Ribon (hadr-util-V10- 180 05 November 2020 Alberto Ribon (hadr-util-V10-06-08) 207 ---------------------------------------------- 181 -------------------------------------------------------- 208 - G4HadronicParameters, G4HadronicParametersMe 182 - G4HadronicParameters, G4HadronicParametersMessenger : added boolean 209 switch that allows to apply the Cosmic Ray ( 183 switch that allows to apply the Cosmic Ray (CR) coalescence algorithm 210 to the secondaries produced by a string mode 184 to the secondaries produced by a string model. 211 This can be useful in particular for Cosmic 185 This can be useful in particular for Cosmic Ray applications. 212 By default it is disabled. 186 By default it is disabled. 213 187 214 27 October 2020 Gunter Folger (hadr-ut 188 27 October 2020 Gunter Folger (hadr-util-V10-06-07) 215 ---------------------------------------------- 189 -------------------------------------------------------- 216 - disable G4HadSignalHandler 190 - disable G4HadSignalHandler 217 191 218 02 September 2020 Vladimir Ivanchenko (hadr-ut 192 02 September 2020 Vladimir Ivanchenko (hadr-util-V10-06-06) 219 ---------------------------------------------- 193 -------------------------------------------------------- 220 - G4HadronicParameters : added disable b-, c- 194 - G4HadronicParameters : added disable b-, c- particles by default 221 195 222 05 August 2020 Alberto Ribon (hadr-util-V10-06 196 05 August 2020 Alberto Ribon (hadr-util-V10-06-05) 223 ---------------------------------------------- 197 -------------------------------------------------------- 224 - G4HadronicParametersMessenger : added new ma 198 - G4HadronicParametersMessenger : added new macro command to set 225 the max hadronic energy (required by DAMPE/H 199 the max hadronic energy (required by DAMPE/HERD Collaboration). 226 200 227 29 July 2020 Vladimir Ivanchenko (hadr-util-V1 201 29 July 2020 Vladimir Ivanchenko (hadr-util-V10-06-04) 228 ---------------------------------------------- 202 -------------------------------------------------------- 229 - G4HadronicParameters : added Get/Set methods 203 - G4HadronicParameters : added Get/Set methods for cross section factors 230 separately for nucleons, pions, other hadr 204 separately for nucleons, pions, other hadrons, and leptons; added 231 high energy limit for low-energy physics 205 high energy limit for low-energy physics 232 206 233 13 May 2020 Vladimir Ivanchenko (hadr-util-V10 207 13 May 2020 Vladimir Ivanchenko (hadr-util-V10-06-03) 234 ---------------------------------------------- 208 -------------------------------------------------------- 235 - G4HadronicParameters : added Get/Set methods 209 - G4HadronicParameters : added Get/Set methods to enable b-, c- particles 236 210 237 12 May 2020 Alberto Ribon (hadr-util-V10-06-02 211 12 May 2020 Alberto Ribon (hadr-util-V10-06-02) 238 ---------------------------------------------- 212 ----------------------------------------------- 239 - G4HadronicParametersMessenger : created new 213 - G4HadronicParametersMessenger : created new messenger class for 240 G4HadronicParameters. For the time being it 214 G4HadronicParameters. For the time being it has only the global 241 verbosity level for hadronics. 215 verbosity level for hadronics. 242 - G4HadronicParameters : added Set methods; cr 216 - G4HadronicParameters : added Set methods; creates the new messenger. 243 217 244 21 January 2020 Vladimir Ivanchenko (hadr-util 218 21 January 2020 Vladimir Ivanchenko (hadr-util-V10-06-01) 245 ---------------------------------------------- 219 -------------------------------------------------------- 246 - G4HadronicParameters : added Set methods for 220 - G4HadronicParameters : added Set methods for Cascade-FTF transition 247 due to CMS request 221 due to CMS request 248 222 249 16 January 2020 Alberto Ribon (hadr-util-V10-0 223 16 January 2020 Alberto Ribon (hadr-util-V10-06-00) 250 ---------------------------------------------- 224 --------------------------------------------------- 251 - G4HadFinalState : fixed warning (seen on Win 225 - G4HadFinalState : fixed warning (seen on Windows) regarding the conversion 252 from 'size_t' to 'G4int'. 226 from 'size_t' to 'G4int'. 253 227 254 06 August 2019 Alberto Ribon (hadr-util-V10-05 228 06 August 2019 Alberto Ribon (hadr-util-V10-05-02) 255 ---------------------------------------------- 229 -------------------------------------------------- 256 - G4HadronicParameters : extended to the recom 230 - G4HadronicParameters : extended to the recommended (default) energy 257 transition regions between FTF and cascade m 231 transition regions between FTF and cascade models (BERT and/or BIC) 258 and between strings models (QGS and FTF). 232 and between strings models (QGS and FTF). 259 233 260 12 May 2019 Vladimir Ivanchenko (hadr-util-V10 234 12 May 2019 Vladimir Ivanchenko (hadr-util-V10-05-01) 261 ---------------------------------------------- 235 -------------------------------------------------------- 262 - G4HadProjectile - clean-up for small kinetic 236 - G4HadProjectile - clean-up for small kinetic energy of the projectile 263 - G4HadFinalState, G4Bessel, G4ReactionProduct 237 - G4HadFinalState, G4Bessel, G4ReactionProduct, G4GHEKinematicsVector 264 replaced fabs -> abs 238 replaced fabs -> abs 265 239 266 31 January 2019 I. Hrivnacova (hadr-man-V10-0 240 31 January 2019 I. Hrivnacova (hadr-man-V10-05-00) 267 ---------------------------------------------- 241 --------------------------------------------------- 268 - Merged GitHub PR #4: 242 - Merged GitHub PR #4: 269 Improvements to G4HadronicException. 243 Improvements to G4HadronicException. 270 - Align the behavior of G4HadronicException 244 - Align the behavior of G4HadronicException with std::exception: what() returns 271 the exception explanation. 245 the exception explanation. 272 - Move the member definition to a source fil 246 - Move the member definition to a source file. 273 - Added some consts. 247 - Added some consts. 274 248 275 22 August 2018 Vladimir Ivanchenko (hadr-util- 249 22 August 2018 Vladimir Ivanchenko (hadr-util-V10-04-04) 276 ---------------------------------------------- 250 -------------------------------------------------------- 277 - sources.cmake, GNUmakefile - removed G4Hadro 251 - sources.cmake, GNUmakefile - removed G4HadronicWhiteBoard 278 252 279 10 August 2018 Alberto Ribon (hadr-util-V10-04 253 10 August 2018 Alberto Ribon (hadr-util-V10-04-03) 280 ---------------------------------------------- 254 ------------------------------------------------- 281 - sources.cmake, G4HadronicParameters : moved 255 - sources.cmake, G4HadronicParameters : moved in class G4HadronicParameters 282 from hadronic/management/ to avoid circular 256 from hadronic/management/ to avoid circular dependency between 283 hadronic/management/ and hadronic/cross_sect 257 hadronic/management/ and hadronic/cross_sections/ (the former has to depend 284 on the latter, but not vice versa; hadronic/ 258 on the latter, but not vice versa; hadronic/util/ does not depend on either). 285 259 286 17 May 2018 Jonathan Madsen (hadr-util-V10-04- 260 17 May 2018 Jonathan Madsen (hadr-util-V10-04-02) 287 ---------------------------------------------- 261 ------------------------------------------------- 288 - updated "thread-local-static-var" model to 262 - updated "thread-local-static-var" model to 289 "function-returning-thread-local-static-refe 263 "function-returning-thread-local-static-reference" model 290 which fixes Windows DLL + MT 264 which fixes Windows DLL + MT 291 265 292 09 February 2018 Ben Morgan (hadr-util-V10-04- 266 09 February 2018 Ben Morgan (hadr-util-V10-04-01) 293 ---------------------------------------------- 267 ------------------------------------------------- 294 - G4StableIsotopes - Move member function defi 268 - G4StableIsotopes - Move member function definitions to source file 295 to avoid global data visibility issues in Wi 269 to avoid global data visibility issues in Windows DLLs. 296 270 297 19 December 2017 Gabriele Cosmo (hadr-util-V10 271 19 December 2017 Gabriele Cosmo (hadr-util-V10-04-00) 298 ---------------------------------------------- 272 -------------------------------------------------------- 299 - Fixed self-consistency in headers (missing # 273 - Fixed self-consistency in headers (missing #include) in DumpFrame, 300 G4GHEKinematicsVector and G4ping. 274 G4GHEKinematicsVector and G4ping. 301 Thanks to Raphael Isemann for reporting thes 275 Thanks to Raphael Isemann for reporting these. 302 276 303 04 July 2017 Vladimir Ivanchenko (hadr-util-V1 277 04 July 2017 Vladimir Ivanchenko (hadr-util-V10-03-05) 304 ---------------------------------------------- 278 -------------------------------------------------------- 305 - G4NuclearPolarization - added extra members 279 - G4NuclearPolarization - added extra members and update the class 306 for correlated gamma emission 280 for correlated gamma emission 307 281 308 16 June 2017 Vladimir Ivanchenko (hadr-util-V1 282 16 June 2017 Vladimir Ivanchenko (hadr-util-V10-03-04) 309 ---------------------------------------------- 283 -------------------------------------------------------- 310 - G4NuclearPolarization - improved printout 284 - G4NuclearPolarization - improved printout 311 285 312 28 April 2017 Tatsumi Koi (hadr-util-V10-03-03 286 28 April 2017 Tatsumi Koi (hadr-util-V10-03-03) 313 ---------------------------------------------- 287 -------------------------------------------------------- 314 - Fix warning message in previous tag 288 - Fix warning message in previous tag 315 289 316 14 April 2017 Tatsumi Koi (hadr-util-V10-03-02 290 14 April 2017 Tatsumi Koi (hadr-util-V10-03-02) 317 ---------------------------------------------- 291 -------------------------------------------------------- 318 - Fix warning message in previous tag 292 - Fix warning message in previous tag 319 293 320 10 April 2017 Tatsumi Koi (hadr-util-V10-03-01 294 10 April 2017 Tatsumi Koi (hadr-util-V10-03-01) 321 ---------------------------------------------- 295 -------------------------------------------------------- 322 - Introduce G4HadronicDeveloperParameter which 296 - Introduce G4HadronicDeveloperParameter which helps 323 sharing a parameter between developer and expe 297 sharing a parameter between developer and experineced user 324 298 325 08 March 2017 Vladimir Ivanchenko (hadr-util-V 299 08 March 2017 Vladimir Ivanchenko (hadr-util-V10-03-00) 326 ---------------------------------------------- 300 -------------------------------------------------------- 327 - G4GHEKinematicsVector - fixed variable shado 301 - G4GHEKinematicsVector - fixed variable shadowing 328 302 329 5 December 2016 Dennis Wright (hadr-util- 303 5 December 2016 Dennis Wright (hadr-util-V10-02-01) 330 ---------------------------------------------- 304 -------------------------------------------------------- 331 - G4Nucleus::GetThermalNucleus: fix mistake in 305 - G4Nucleus::GetThermalNucleus: fix mistake in branch on total energy 332 calculation using relativistic energy at hig 306 calculation using relativistic energy at higher energies (see bug 333 report #1911) 307 report #1911) 334 308 335 10 February 2016 Alberto Ribon (hadr-util- 309 10 February 2016 Alberto Ribon (hadr-util-V10-02-00) 336 ---------------------------------------------- 310 -------------------------------------------------------- 337 - G4Nucleus : increased the max number of loop 311 - G4Nucleus : increased the max number of loops allowed in the method 338 GetBiasedThermalNucleus. 312 GetBiasedThermalNucleus. 339 313 340 02 November 2015 Alberto Ribon (hadr-util- 314 02 November 2015 Alberto Ribon (hadr-util-V10-01-02) 341 ---------------------------------------------- 315 -------------------------------------------------------- 342 - G4Nucleus : checking of 'while' loops. 316 - G4Nucleus : checking of 'while' loops. 343 317 344 17 August 2015 Vladimir Ivanchenko (hadr-util- 318 17 August 2015 Vladimir Ivanchenko (hadr-util-V10-01-01) 345 ---------------------------------------------- 319 -------------------------------------------------------- 346 - G4NuclearPolarization - new container class 320 - G4NuclearPolarization - new container class keeping nuclear 347 polarisation tensor (author Jason Detwiler 321 polarisation tensor (author Jason Detwiler) 348 322 349 06 August 2015 Alberto Ribon (hadr-uti 323 06 August 2015 Alberto Ribon (hadr-util-V10-01-00) 350 ---------------------------------------------- 324 ---------------------------------------------------------- 351 - G4Nucleus, G4Bessel and G4LightMedia : repla 325 - G4Nucleus, G4Bessel and G4LightMedia : replaced std::exp, std::log 352 and std::pow with the faster G4Exp, G4Log an 326 and std::pow with the faster G4Exp, G4Log and G4Pow, respectively. 353 327 354 07 November 2014 Vladimir Ivanchenko (hadr-uti 328 07 November 2014 Vladimir Ivanchenko (hadr-util-V10-00-08) 355 ---------------------------------------------- 329 -------------------------------------------------------- 356 - G4HadSecondary - added creator 330 - G4HadSecondary - added creator 357 331 358 30 October 2014 Vladimir Ivanchenko (hadr-util 332 30 October 2014 Vladimir Ivanchenko (hadr-util-V10-00-07) 359 ---------------------------------------------- 333 -------------------------------------------------------- 360 - G4HadFinalState, G4HadSecondary, G4ReactionP 334 - G4HadFinalState, G4HadSecondary, G4ReactionProduct - added creator 361 model type to secondary, moved simple meth 335 model type to secondary, moved simple methods inline 362 336 363 05 June 2014 Alberto Ribon (hadr-util-V1 337 05 June 2014 Alberto Ribon (hadr-util-V10-00-06) 364 ---------------------------------------------- 338 ------------------------------------------------------ 365 - Removed G4ReactionKinematics and G4ReactionD 339 - Removed G4ReactionKinematics and G4ReactionDynamics classes. 366 340 367 19 May 2014 Gunter Folger (hadr-util-V1 341 19 May 2014 Gunter Folger (hadr-util-V10-00-05) 368 ---------------------------------------------- 342 ------------------------------------------------------ 369 - remove temp. method GetDefintion_asConst() 343 - remove temp. method GetDefintion_asConst() 370 344 371 26 March 2014 Gunter Folger (hadr-util-V1 345 26 March 2014 Gunter Folger (hadr-util-V10-00-04) 372 ---------------------------------------------- 346 ------------------------------------------------------ 373 - G4ReactionDynamics: convert to const G4Parti 347 - G4ReactionDynamics: convert to const G4ParticleDefinition* 374 348 375 10 March 2014 Gunter Folger (hadr-util-V1 349 10 March 2014 Gunter Folger (hadr-util-V10-00-03) 376 ---------------------------------------------- 350 ------------------------------------------------------ 377 - ReactionProduct::GetDefinition() returns a c 351 - ReactionProduct::GetDefinition() returns a const G4ParticleDefinition* 378 352 379 05 March 2014 Gunter Folger (hadr-util-V1 353 05 March 2014 Gunter Folger (hadr-util-V10-00-02) 380 ---------------------------------------------- 354 ------------------------------------------------------ 381 - remove not needed several const_casts in G4H 355 - remove not needed several const_casts in G4HadronicWhiteBoard. 382 356 383 20 February 2014 Gunter Folger (hadr-util-V1 357 20 February 2014 Gunter Folger (hadr-util-V10-00-01) 384 ---------------------------------------------- 358 ------------------------------------------------------ 385 - G4ReactionProduct: make G4ParticleDefinition 359 - G4ReactionProduct: make G4ParticleDefinition* const. 386 add temp. method returning const G4Particl 360 add temp. method returning const G4ParticleDefinition* GetDefintion_asConst() 387 will replace GetDefinition() once hadronics 361 will replace GetDefinition() once hadronics converted. 388 362 389 22 January 2014 Gabriele Cosmo (hadr-util-V1 363 22 January 2014 Gabriele Cosmo (hadr-util-V10-00-00) 390 ---------------------------------------------- 364 ------------------------------------------------------ 391 - Cleanup of automatic TLS data conversion in 365 - Cleanup of automatic TLS data conversion in G4ReactionProduct, 392 G4HadSignalHandler and G4HadronicWhiteBoard. 366 G4HadSignalHandler and G4HadronicWhiteBoard. 393 367 394 02 May 2013 Alberto Ribon (hadr-util-V09-06- 368 02 May 2013 Alberto Ribon (hadr-util-V09-06-00) 395 ---------------------------------------------- 369 ------------------------------------------------- 396 - For thread safety, replaced CLHEP::RandFlat 370 - For thread safety, replaced CLHEP::RandFlat with G4RandFlat in 397 G4Nucleus.cc. 371 G4Nucleus.cc. 398 372 399 13 Nov 2012 Dennis Wright (hadr-util-V09-05- 373 13 Nov 2012 Dennis Wright (hadr-util-V09-05-13) 400 ---------------------------------------------- 374 ------------------------------------------------- 401 - initialize fIsotope in copy ctor. Fixes Cov 375 - initialize fIsotope in copy ctor. Fixes Coverity bug 15146. 402 376 403 06 Nov 2012 Gabriele Cosmo (hadr-util-V09-05- 377 06 Nov 2012 Gabriele Cosmo (hadr-util-V09-05-12) 404 ---------------------------------------------- 378 ------------------------------------------------- 405 - Fix for porting on AIX in G4ReactionProduct 379 - Fix for porting on AIX in G4ReactionProduct header. 406 380 407 15 Oct 2012 Michael Kelsey (hadr-util-V09-05- 381 15 Oct 2012 Michael Kelsey (hadr-util-V09-05-11) 408 ---------------------------------------------- 382 ------------------------------------------------- 409 - sources.cmake: G4HadronicDeprecate.hh missi 383 - sources.cmake: G4HadronicDeprecate.hh missing; why did nightly builds 410 work? 384 work? 411 385 412 05 Oct 2012 Michael Kelsey (hadr-util-V09-05- 386 05 Oct 2012 Michael Kelsey (hadr-util-V09-05-10, hadr-util-V09-05-09) 413 ---------------------------------------------- 387 ---------------------------------------------------------------------- 414 - G4HadronicDeprecate.hh: Macro function to g 388 - G4HadronicDeprecate.hh: Macro function to generate deprecation messages. 415 Used by hadronic/stopping and hadronic/model 389 Used by hadronic/stopping and hadronic/models/low_energy (so far). 416 390 417 19 Sep 2012 Gabriele Cosmo (hadr-util-V09-05- 391 19 Sep 2012 Gabriele Cosmo (hadr-util-V09-05-08, hadr-util-V09-05-07) 418 ---------------------------------------------- 392 ---------------------------------------------------------------------- 419 - Explicitly use inclusion of headers for syst 393 - Explicitly use inclusion of headers for system of units and physical 420 constants, in plan to remove implicit inclus 394 constants, in plan to remove implicit inclusion from globals.hh. 421 395 422 31 Jul 2012 Vladimir Ivanchenko (hadr- 396 31 Jul 2012 Vladimir Ivanchenko (hadr-util-V09-05-06) 423 ---------------------------------------------- 397 ------------------------------------------------------------- 424 - G4Nucleus - added methods GetIsotope, SetIso 398 - G4Nucleus - added methods GetIsotope, SetIsotope 425 399 426 13 Jul 2012 Gunter Folger (hadr- 400 13 Jul 2012 Gunter Folger (hadr-util-V09-05-05) 427 ---------------------------------------------- 401 ------------------------------------------------------------- 428 - G4GHEKinematicsVector: Fix coverity warning 402 - G4GHEKinematicsVector: Fix coverity warning about self assignment 429 in assignment operator 403 in assignment operator 430 404 431 08 Jun 2012 Gabriele Cosmo (hadr- 405 08 Jun 2012 Gabriele Cosmo (hadr-util-V09-05-04) 432 ---------------------------------------------- 406 ------------------------------------------------------------- 433 - More variable shadowing fixes in G4GHEKinema 407 - More variable shadowing fixes in G4GHEKinematicsVector.hh. 434 408 435 08 Jun 2012 Gabriele Cosmo (hadr- 409 08 Jun 2012 Gabriele Cosmo (hadr-util-V09-05-03) 436 ---------------------------------------------- 410 ------------------------------------------------------------- 437 - Fixed trivial cases of hidden variable visib 411 - Fixed trivial cases of hidden variable visibility, detected with 438 '-Wshadow' compilation option on gcc compile 412 '-Wshadow' compilation option on gcc compiler. 439 413 440 25 May 2012 Vladimir Ivantchenko (hadr- 414 25 May 2012 Vladimir Ivantchenko (hadr-util-V09-05-02) 441 ---------------------------------------------- 415 ------------------------------------------------------------- 442 - G4HadProjectile - added protection to kineti 416 - G4HadProjectile - added protection to kinetic energy computation 443 417 444 05 May 2012 Vladimir Ivantchenko (hadr- 418 05 May 2012 Vladimir Ivantchenko (hadr-util-V09-05-01) 445 ---------------------------------------------- 419 ------------------------------------------------------------- 446 - G4HadProjectile - added default constructor 420 - G4HadProjectile - added default constructor 447 421 448 05 May 2012 Vladimir Ivantchenko (hadr- 422 05 May 2012 Vladimir Ivantchenko (hadr-util-V09-05-00) 449 ---------------------------------------------- 423 ------------------------------------------------------------- 450 - G4HadProjectile - added methods SetGlobalTim 424 - G4HadProjectile - added methods SetGlobalTime, SetBoundEnergy 451 GetBoundEnergy needed for general stopping 425 GetBoundEnergy needed for general stopping process; 452 always set time to zero when construct or 426 always set time to zero when construct or initialise, so 453 hadronic interaction is starting from zero 427 hadronic interaction is starting from zero local time; 454 added Initialise method allowing to update 428 added Initialise method allowing to update the projectile 455 and not instantiate it for any new interac 429 and not instantiate it for any new interaction; 456 all get methods are inlined 430 all get methods are inlined 457 431 458 17 Nov 2011 Gunter Folger (hadr- 432 17 Nov 2011 Gunter Folger (hadr-util-V09-04-05) 459 ---------------------------------------------- 433 ------------------------------------------------------------- 460 - removed G4lrint(), G4lint(), and G4rint(); t 434 - removed G4lrint(), G4lint(), and G4rint(); these are now in global 461 435 462 15 Sep 2011 Gabriele Cosmo (hadr- 436 15 Sep 2011 Gabriele Cosmo (hadr-util-V09-04-04) 463 ---------------------------------------------- 437 ------------------------------------------------------------- 464 - Changed DLL export flag for symbols to G4HAD 438 - Changed DLL export flag for symbols to G4HADRONIC_ALLOC_EXPORT. 465 439 466 14 Sep 2011 Gunter Folger (hadr- 440 14 Sep 2011 Gunter Folger (hadr-util-V09-04-03) 467 ---------------------------------------------- 441 ------------------------------------------------------------- 468 - G4Nucleus.hh: put obsolete interface GetN/G 442 - G4Nucleus.hh: put obsolete interface GetN/GetZ into ifndef block. 469 this allows to try to compile without the 443 this allows to try to compile without the obsolete interface. 470 444 471 09 Sep 2011 Michael Kelsey (hadr- 445 09 Sep 2011 Michael Kelsey (hadr-util-V09-04-02) 472 ---------------------------------------------- 446 ------------------------------------------------------------- 473 - G4HadFinalState: Remove AddSecondary(G4HadS 447 - G4HadFinalState: Remove AddSecondary(G4HadSecondary*) interface. Improve 474 constness and add interfaces to merge two fi 448 constness and add interfaces to merge two final states together. 475 - G4HadSecondary: Improve constness. 449 - G4HadSecondary: Improve constness. 476 450 477 NOTE: These changes require modifications to 451 NOTE: These changes require modifications to a few packages: 478 452 479 CHIPS: hadr-chips-inter-V09-04-03 453 CHIPS: hadr-chips-inter-V09-04-03 480 Elastic: hadr-cohe-V09-04-13 454 Elastic: hadr-cohe-V09-04-13 481 NeutronHP: hadr-hpn-V09-04-23 455 NeutronHP: hadr-hpn-V09-04-23 482 Management: hadr-man-V09-04-12 456 Management: hadr-man-V09-04-12 483 457 484 29 Aug 2011 Michael Kelsey (hadr- 458 29 Aug 2011 Michael Kelsey (hadr-util-V09-04-01) 485 ---------------------------------------------- 459 ------------------------------------------------------------- 486 - G4ReactionProduct: Use G4Allocator to reduc 460 - G4ReactionProduct: Use G4Allocator to reduce memory churn. 487 - GNUmakefile: Add G4REACTIONPRODUCT_ALLOC_EX 461 - GNUmakefile: Add G4REACTIONPRODUCT_ALLOC_EXPORT flag. 488 462 489 10 Aug 2011 Michael Kelsey (hadr- 463 10 Aug 2011 Michael Kelsey (hadr-util-V09-04-00) 490 ---------------------------------------------- 464 ------------------------------------------------------------- 491 - G4HadFinalState: Store vector of values ins 465 - G4HadFinalState: Store vector of values instead of pointers to reduce 492 memory churn. Improve constness of argument 466 memory churn. Improve constness of argument passing and functions, and 493 reduce creation of temporary objects. Drop 467 reduce creation of temporary objects. Drop unneeded staleness flag. 494 468 495 6 Dec 2010 Dennis Wright (hadr- 469 6 Dec 2010 Dennis Wright (hadr-util-V09-03-02) 496 ---------------------------------------------- 470 ------------------------------------------------------------- 497 - G4Nucleus::ChooseParameters : fix fall-throu 471 - G4Nucleus::ChooseParameters : fix fall-through case in which element = 0: 498 make last element in list the default 472 make last element in list the default 499 - G4HadronicWhiteBoard: fix uninitialized ptrs 473 - G4HadronicWhiteBoard: fix uninitialized ptrs (theZ, theA, theE, thePx, 500 thePy, thePz) 474 thePy, thePz) 501 475 502 11 Nov 2010 Dennis Wright (hadr- 476 11 Nov 2010 Dennis Wright (hadr-util-V09-03-01) 503 ---------------------------------------------- 477 ------------------------------------------------------------- 504 - G4HadronicWhiteBoard: fix uninitialized ptrs 478 - G4HadronicWhiteBoard: fix uninitialized ptrs (theProjectile, theDef, 505 theName) 479 theName) 506 - G4Nucleus: add dtaBlackTrackEnergyfromAnnihi 480 - G4Nucleus: add dtaBlackTrackEnergyfromAnnihilation and 507 pnBlackTrackEnergyfromAnnihilation to copy 481 pnBlackTrackEnergyfromAnnihilation to copy ctor 508 initialize theA, theZ. aEff, zEff to 0 in 482 initialize theA, theZ. aEff, zEff to 0 in ctor 509 483 510 08 Mar 2010 G.Folger (hadr- 484 08 Mar 2010 G.Folger (hadr-util-V09-03-00) 511 ---------------------------------------------- 485 ------------------------------------------------------------- 512 - add interface for integer A&Z to G4Nucleus, 486 - add interface for integer A&Z to G4Nucleus, and modify G4HadronicWhiteBoard 513 G4LightMedia, and G4ReactionDynamics to use 487 G4LightMedia, and G4ReactionDynamics to use the new interface. 514 488 515 06 Mar 2009 D.H. Wright for Tatsumi Koi (hadr- 489 06 Mar 2009 D.H. Wright for Tatsumi Koi (hadr-util-V09-02-00) 516 ---------------------------------------------- 490 ------------------------------------------------------------- 517 - G4StableIsotopes.cc - fill in missing isotop 491 - G4StableIsotopes.cc - fill in missing isotope names 518 492 519 23 Jul 2008 D.H. Wright for Vladimir Uzhinskiy 493 23 Jul 2008 D.H. Wright for Vladimir Uzhinskiy (hadr-util-V09-01-01) 520 ---------------------------------------------- 494 -------------------------------------------------------------------- 521 - G4ReactionDynamics::GenerateXandPt: fixed bu 495 - G4ReactionDynamics::GenerateXandPt: fixed bug in momentum bin which 522 caused oscillatory behavior in spectrum: ch 496 caused oscillatory behavior in spectrum: changed 523 x = std::min( 1.0, pt*(binl[l-1] + G4Unifo 497 x = std::min( 1.0, pt*(binl[l-1] + G4UniformRand()*(binl[l]-binl[l-1])/2 ) ) 524 to 498 to 525 x = std::min( 1.0, pt*(binl[l-1] + G4Unifo 499 x = std::min( 1.0, pt*(binl[l-1] + G4UniformRand()*(binl[l]-binl[l-1]) ) ) 526 500 527 9 Jul 2008 D.H. Wright (hadr-util-V09-01-00) 501 9 Jul 2008 D.H. Wright (hadr-util-V09-01-00) 528 --------------------------------------------- 502 --------------------------------------------- 529 - G4ReactionDynamics::GenerateXandPt: replace 503 - G4ReactionDynamics::GenerateXandPt: replace exit with G4Exception. 530 504 531 11 Oct 2007 F.W. Jones (hadr-util-V09-00-00) 505 11 Oct 2007 F.W. Jones (hadr-util-V09-00-00) 532 -------------------------------------------- 506 -------------------------------------------- 533 - G4LightMedia: fixed coding errors in inequal 507 - G4LightMedia: fixed coding errors in inequalities for 534 charge exchange occurrence in 508 charge exchange occurrence in PionPlusExchange, 535 KaonZeroShortExchange, and Neu 509 KaonZeroShortExchange, and NeutronExchange. 536 510 537 13 August 2007 Dennis Wright (hadr-util-V08-03 511 13 August 2007 Dennis Wright (hadr-util-V08-03-00a) 538 ---------------------------------------------- 512 --------------------------------------------------- 539 - special CMS tag: geant4-08-03-ref-00 + hadr- 513 - special CMS tag: geant4-08-03-ref-00 + hadr-util-V08-03-02. 540 On top of geant4-08-03-ref-00, this contains 514 On top of geant4-08-03-ref-00, this contains only array bounds, units 541 and backward peak fixes in G4ReactionDynamic 515 and backward peak fixes in G4ReactionDynamics 542 516 543 27 June 2007 Alex Howard (hadr-util-V08-03-03) 517 27 June 2007 Alex Howard (hadr-util-V08-03-03) 544 ---------------------------------------------- 518 ------------------------------------------------ 545 - Removed DumpCoreOnHadronicException protecti 519 - Removed DumpCoreOnHadronicException protection around Report() in 546 G4HadronicException, temporary fix to give o 520 G4HadronicException, temporary fix to give output for G4NEUTRONHPDATA not set 547 521 548 12 June 2007 Dennis Wright (hadr-util-V08-03-0 522 12 June 2007 Dennis Wright (hadr-util-V08-03-02) 549 ---------------------------------------------- 523 ------------------------------------------------ 550 - G4ReactionDynamics::TwoCluster : fix array b 524 - G4ReactionDynamics::TwoCluster : fix array bound violation when backward 551 nucleon count is 0 525 nucleon count is 0 552 526 553 12 June 2007 Dennis Wright (hadr-util-V08-03-0 527 12 June 2007 Dennis Wright (hadr-util-V08-03-01) 554 ---------------------------------------------- 528 ------------------------------------------------ 555 - G4ReactionDynamics::TwoCluster : fix two bug 529 - G4ReactionDynamics::TwoCluster : fix two bugs: 556 1) sharp peak at 180 degrees for low and med 530 1) sharp peak at 180 degrees for low and medium energies due to a units 557 error: 531 error: 558 G4double totalE = kineticE + vMass; 532 G4double totalE = kineticE + vMass; 559 was changed to 533 was changed to 560 G4double totalE = kineticE*GeV + vMas 534 G4double totalE = kineticE*GeV + vMass; 561 Result is that particles from intra-nucle 535 Result is that particles from intra-nuclear cascade now have energies 562 ~ 100 MeV instead of almost 0. 536 ~ 100 MeV instead of almost 0. 563 537 564 2) sharp peak at 180 degrees for low and med 538 2) sharp peak at 180 degrees for low and medium energies and target nuclei 565 with Z > 6 due to incorrect sampling of p 539 with Z > 6 due to incorrect sampling of polar angle: 566 replaced 540 replaced 567 G4double costheta = 541 G4double costheta = 568 1.0 + 2.0*std::log(1.0 - G4Uniform 542 1.0 + 2.0*std::log(1.0 - G4UniformRand()) / dtb; 569 with 543 with 570 G4double costheta = 544 G4double costheta = 571 1.0 + 2.0*std::log(1.0 - G4Uniform 545 1.0 + 2.0*std::log(1.0 - G4UniformRand()*factor) / dtb; 572 where factor = 1.0 - std::exp(-dtb 546 where factor = 1.0 - std::exp(-dtb) and dtb is momentum-dependent 573 547 574 10 June 2007 Dennis Wright (hadr-util-V08-03-0 548 10 June 2007 Dennis Wright (hadr-util-V08-03-00) 575 ---------------------------------------------- 549 ------------------------------------------------ 576 - remove un-used classes G4Fuzzy, G4EffectiveC 550 - remove un-used classes G4Fuzzy, G4EffectiveCharge, G4ParticleVector 577 551 578 16 April 2007 Dennis Wright (hadr-util-V08-02- 552 16 April 2007 Dennis Wright (hadr-util-V08-02-01) 579 ---------------------------------------------- 553 ------------------------------------------------- 580 - G4HadronicWhiteboard.hh, .cc : add methods t 554 - G4HadronicWhiteboard.hh, .cc : add methods to set process and model names 581 - G4ReactionDynamics.cc : add pi0 to anti-part 555 - G4ReactionDynamics.cc : add pi0 to anti-particle test 582 556 583 19 February 2007 V.Ivanchenko (hadr-util-V08-0 557 19 February 2007 V.Ivanchenko (hadr-util-V08-02-00) 584 ---------------------------------------------- 558 ---------------------------------------------------- 585 - G4HadFinalState - add initialisation of ener 559 - G4HadFinalState - add initialisation of energy deposition 586 560 587 11 December 2006 Dennis Wright (hadr-util-V08- 561 11 December 2006 Dennis Wright (hadr-util-V08-01-01) 588 ---------------------------------------------- 562 ---------------------------------------------------- 589 - G4ReactionDynamics::AddBlackTrackParticles 563 - G4ReactionDynamics::AddBlackTrackParticles 590 protect variables local_npnb, local_ndta fro 564 protect variables local_npnb, local_ndta from divide by zero 591 565 592 24 November 2006 Dennis Wright (hadr-util-V08- 566 24 November 2006 Dennis Wright (hadr-util-V08-01-00) 593 ---------------------------------------------- 567 ---------------------------------------------------- 594 - G4HadronicWhiteBoard: 568 - G4HadronicWhiteBoard: 595 replace GHAD message with 569 replace GHAD message with 596 "Geant4 Hadronic Reaction Information" and u 570 "Geant4 Hadronic Reaction Information" and use 597 G4Exception to kill run. 571 G4Exception to kill run. 598 572 599 15 May 2006 Dennis Wright (hadr-util-V08-00-05 573 15 May 2006 Dennis Wright (hadr-util-V08-00-05) 600 ---------------------------------------------- 574 ----------------------------------------------- 601 - G4Nucleus: 575 - G4Nucleus: 602 replace code in method AtomicMass() with 576 replace code in method AtomicMass() with 603 577 604 return G4NucleiProperties::GetNuclearMass( 578 return G4NucleiProperties::GetNuclearMass(A, Z); 605 579 606 in order to agree with other methods for get 580 in order to agree with other methods for getting nucleus mass. 607 Note: new version has electron masses subtra 581 Note: new version has electron masses subtracted, while old version 608 included them 582 included them 609 583 610 02 May 2006 Dennis Wright (hadr-util-V08-00-04 584 02 May 2006 Dennis Wright (hadr-util-V08-00-04) 611 ---------------------------------------------- 585 ----------------------------------------------- 612 - G4ReactionDynamics: 586 - G4ReactionDynamics: 613 1) in energy balance part of method Generate 587 1) in energy balance part of method GenerateXandPt, try removing pions and kaons 614 before removing nucleons 588 before removing nucleons 615 2) in method GetFinalStateNucleons improve a 589 2) in method GetFinalStateNucleons improve and simplify nucleon counting 616 3) method SuppressChargedPions: check availa 590 3) method SuppressChargedPions: check available CM energy before changing pion to 617 nucleon, also extend test for anti- 591 nucleon, also extend test for anti-particles to include strange particles 618 4) in methods GenerateXandPt and TwoCluster, 592 4) in methods GenerateXandPt and TwoCluster, call GenerateNBodyEvent a second time 619 if energy sum is violated, this tim 593 if energy sum is violated, this time with total system energy 620 5) in method TwoCluster, use annihilation bl 594 5) in method TwoCluster, use annihilation black track energy when annihilation channel 621 occurs 595 occurs 622 596 623 07 Apr 2006 Dennis Wright (hadr-util-V08-00-03 597 07 Apr 2006 Dennis Wright (hadr-util-V08-00-03) 624 ---------------------------------------------- 598 ----------------------------------------------- 625 - G4ReactionDynamics: 599 - G4ReactionDynamics: 626 1) implement exact proton and neutron accoun 600 1) implement exact proton and neutron accounting to improve baryon number 627 conservation 601 conservation 628 2) add new method GetFinalStateNucleons whic 602 2) add new method GetFinalStateNucleons which returns number of 629 protons and neutrons generated by the ini 603 protons and neutrons generated by the initial projectile-nucleon collision 630 3) replace spall argument in AddBlackTrackPa 604 3) replace spall argument in AddBlackTrackParticles with PinNucleus and 631 NinNucleus 605 NinNucleus 632 606 633 - G4Nucleus: 607 - G4Nucleus: 634 1) add new method AnnihilationEvaporationEff 608 1) add new method AnnihilationEvaporationEffects which calculates energy to 635 be given to evaporated nucleons after ann 609 be given to evaporated nucleons after annihilation 636 2) add new methods GetAnnihilationPNBlackTra 610 2) add new methods GetAnnihilationPNBlackTrackEnergy and 637 GetAnnihilationDTABlackTrackEnergy to ret 611 GetAnnihilationDTABlackTrackEnergy to retrieve the values calculated above 638 612 639 13 Mar 2006 Dennis Wright (hadr-util-V08-00-02 613 13 Mar 2006 Dennis Wright (hadr-util-V08-00-02) 640 ---------------------------------------------- 614 ----------------------------------------------- 641 - G4Nucleus::GetFermiMomentum(), 615 - G4Nucleus::GetFermiMomentum(), 642 G4ReactionKinematics::TwoBodyScattering() : 616 G4ReactionKinematics::TwoBodyScattering() : 643 617 644 fix bug #838: momentum is now isotropic. 618 fix bug #838: momentum is now isotropic. Previously theta was 645 incorrectly sampled by pi*G4UniformRand(). 619 incorrectly sampled by pi*G4UniformRand(). 646 620 647 15 Dec 2005 Dennis Wright (hadr-util-V08-00-01 621 15 Dec 2005 Dennis Wright (hadr-util-V08-00-01) 648 ---------------------------------------------- 622 ----------------------------------------------- 649 - G4ReactionDynamics.cc: add array bounds prot 623 - G4ReactionDynamics.cc: add array bounds protection in TwoCluster 650 (cpar, gpar) 624 (cpar, gpar) 651 625 652 30 Nov 2005 Gabriele Cosmo (hadr-util-V07-01-0 626 30 Nov 2005 Gabriele Cosmo (hadr-util-V07-01-01) 653 ---------------------------------------------- 627 ----------------------------------------------- 654 - Trivial fix in G4ReactionKinematics and G4Nu 628 - Trivial fix in G4ReactionKinematics and G4Nucleus for support of 655 CLHEP-2.0.X series. 629 CLHEP-2.0.X series. 656 630 657 25 Nov 2005 Dennis Wright (hadr-util-V07-01-00 631 25 Nov 2005 Dennis Wright (hadr-util-V07-01-00) 658 ---------------------------------------------- 632 ---------------------------------------------- 659 - G4HadTmpUtil.cc : <sstream> migration 633 - G4HadTmpUtil.cc : <sstream> migration 660 634 661 635 662 636