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