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