Geant4 Cross Reference |
1 # Category global History 2 3 See `CONTRIBUTING.rst` for details of **required** info/format for each entry, 4 which **must** added in reverse chronological order (newest at the top). 5 It must **not** be used as a substitute for writing good git commit messages! 6 7 ------------------------------------------------------------------------------- 8 9 ## 2024-11-22 Gabriele Cosmo (global-V11-02-26) 10 - Updated tag IDs for geant4-11-03-ref-00. 11 12 ## 2024-11-15 Gabriele Cosmo (global-V11-02-25) 13 - Updated tag IDs for geant4-11-03-cand-01. 14 15 ## 2024-11-08 Gabriele Cosmo (global-V11-02-24) 16 - Updated tag IDs for geant4-11-03-cand-00. 17 18 ## 2024-11-07 Ben Morgan (global-V11-02-23) 19 - Address Coverity reports: 20 - 104990: Use of std:move to avoid copy 21 - 105615: Refactor expression to avoid divide-by-zero (possible false positive) 22 - 105642: Refactor expression to avoid divide-by-zero (possible false positive) 23 24 ## 2024-11-04 Philippe Canal (global-V11-02-22) 25 - Improve stability of static initialization: ensure unique initialization 26 and finalization of G4ios. 27 28 ## 2024-10-30 Gabriele Cosmo (global-V11-02-21) 29 - Updated tag IDs for geant4-11-02-ref-09. 30 31 ## 2024-10-28 Makoto Asai (global-V11-02-20) 32 - Added G4AllocatorList::Report() for monitoring G4Allocator objects. 33 34 ## 2024-09-26 Ben Morgan (global-V11-02-19) 35 - Move flushing of G4cout etc to G4iosFinalization, attempting to resolve 36 possible static destruction issue reported by ATLAS. 37 - https://its.cern.ch/jira/browse/SIM-839 38 39 ## 2024-09-25 Gabriele Cosmo (global-V11-02-18) 40 - Added protection in G4ConvergenceTester::calStat() in case of zero histories. 41 - Updated tag IDs for geant4-11-02-ref-08. 42 43 ## 2024-08-28 Gabriele Cosmo (global-V11-02-17) 44 - Updated tag IDs for geant4-11-02-ref-07. 45 46 ## 2024-07-19 Ben Morgan (global-V11-02-16) 47 - Fix remaining Coverity defects missed in -15. 48 - Move std::move 49 - Restructure division-by-zero in G4SimplexDownhill 50 51 ## 2024-07-15 Ben Morgan (global-V11-02-15) 52 - Address Coverity issues from latest monthly run. 53 - Use of std:move to avoid copies 54 - Avoid potential division-by-zero in G4SimplexDownhill 55 - Fixup new clang-tidy warnings. 56 57 ## 2024-06-28 Ben Morgan (global-V11-02-14) 58 - Update G4TBBTaskGroup for changes to underlying PTL API 59 60 ## 2024-06-28 Gabriele Cosmo (global-V11-02-13) 61 - Updated tag IDs for geant4-11-02-ref-06. 62 63 ## 2024-05-30 Gabriele Cosmo (global-V11-02-12) 64 - Updated tag IDs for geant4-11-02-ref-05. 65 66 ## 2024-05-29 Alberto Ribon (global-V11-02-11) 67 - G4PhysicsModelCatalog : added ID for the NuDEX nuclear de-excitation model; 68 removed unnecessary ID (24110) for internal conversion. 69 70 ## 2024-05-03 Ben Morgan (global-V11-02-10) 71 - Remove use of no longer supported TiMemory. 72 73 ## 2024-05-06 Vladimir Ivanchenko (global-V11-02-09) 74 - G4PhysicsTable - avoid crash in printout for the case if a vector in the 75 table is not yet created. This is useful for debugging. 76 77 ## 2024-04-30 Gabriele Cosmo (global-V11-02-08) 78 - Updated tag IDs for geant4-11-02-ref-04. 79 80 ## 2024-04-25 Pere Mato (global-V11-02-07) 81 - Changed Windows.h to windows.h since for MinGW always seems to be lower case, not relevant for native builds. 82 - _MSC_VER is only available for VC compiler, the os one is _WIN32 83 84 ## 2024-04-20 Gabriele Cosmo (global-V11-02-06) 85 - Fixed compilation error in G4PhysicsModelCatalog on Windows VC++ with 86 C++20 Standard enabled. 87 Based on [GitHub PR#69](https://github.com/Geant4/geant4/pull/69). 88 89 ## 2024-04-04 Stephan Hageboeck (global-V11-02-05) 90 - Provide a helpful error message when GEANT4_DATA_DIR is set to an invalid 91 location. 92 93 ## 2024-03-28 Gabriele Cosmo (global-V11-02-04) 94 - Updated tag IDs for geant4-11-02-ref-03. 95 96 ## 2024-02-29 Gabriele Cosmo (global-V11-02-03) 97 - Updated tag IDs for geant4-11-02-ref-02. 98 99 ## 2024-01-31 Gabriele Cosmo (global-V11-02-02) 100 - Updated tag IDs for geant4-11-02-ref-01. 101 102 ## 2023-12-21 Yoshihide Sato (global-V11-02-01) 103 - G4PhysicsModelCatalog.cc: added the ID for the Light-Ion QMD model. 104 105 ## 2023-12-18 Makoto Asai (global-V11-02-00) 106 - G4StateManager, G4VStateDependent - added notifying methods when an event 107 or a run is deleted for the sake of avoiding a state-dependent class from 108 accessing to an obsolete event/run object. 109 110 ## 2023-11-23 Gabriele Cosmo (global-V11-01-26) 111 - Updated tag IDs for geant4-11-02-ref-00. 112 113 ## 2023-11-20 Gabriele Cosmo (global-V11-01-25) 114 - Updated tag IDs for geant4-11-02-cand-02. 115 116 ## 2023-11-17 I. Hrivnacova (global-V11-01-24) 117 - Fixed memory leak in G4StatAnalysis::GetCpuClock(): 118 do not allocate local variable on heap. 119 120 ## 2023-11-16 I. Hrivnacova (global-V11-01-23) 121 - Fixed memory leak in G4Type[Recursive]Mutex<T> and simplified code 122 by removing unused function parameter. 123 124 ## 2023-11-13 Gabriele Cosmo (global-V11-01-22) 125 - Updated tag IDs for geant4-11-02-cand-01. 126 127 ## 2023-11-06 Gabriele Cosmo (global-V11-01-21) 128 - Updated tag IDs for geant4-11-02-cand-00. 129 130 ## 2023-11-01 Gabriele Cosmo (global-V11-01-20) 131 - Fixed compilation error on macOS Apple Silicon when enabling FPE_DEBUG. 132 No guarantee on the correctness of signal handling on this platform. 133 Addressing problem report #2571. 134 135 ## 2023-10-30 Gabriele Cosmo (global-V11-01-19) 136 - Updated tag IDs for geant4-11-01-ref-10. 137 138 ## 2023-09-26 Vladimir Ivantchenko (global-V11-01-18) 139 - G4PhysicsVector, G4PhysicsFreeVector, G4PhysicsLogVector, 140 G4PhysicsLinearVector - added extra method to support optional logarithmic 141 search for bin in free vector needed for HP package update; use static_cast 142 everywhere instead of C type conversion; use uniform class format. 143 144 ## 2023-09-25 Gabriele Cosmo (global-V11-01-17) 145 - Updated tag IDs for geant4-11-01-ref-09. 146 147 ## 2023-09-05 Makoto Asai (global-V11-01-16) 148 - Adding IgnoreTheIssue enum entry in G4ExceptionSeverity.hh. 149 150 ## 2023-08-29 Gabriele Cosmo (global-V11-01-15) 151 - Updated tag IDs for geant4-11-01-ref-08. 152 153 ## 2023-07-20 Gabriele Cosmo (global-V11-01-14) 154 - Updated tag IDs for geant4-11-01-ref-07. 155 156 ## 2023-06-30 Gabriele Cosmo (global-V11-01-13) 157 - Updated tag IDs for geant4-11-01-ref-06. 158 159 ## 2023-06-14 Ben Morgan (global-V11-01-12) 160 - Add `G4VERSION_REFERENCE_TAG` macro to distinguish release/development versions 161 and cycle of the latter. 162 163 ## 2023-05-31 Alberto Ribon (global-V11-01-11) 164 - G4PhysicsModelCatalog.cc: added the new INCLXX model of antiproton 165 annihilation at rest. 166 167 ## 2023-05-31 Gabriele Cosmo (global-V11-01-10) 168 - Updated tag IDs for geant4-11-01-ref-05. 169 170 ## 2023-04-30 Gabriele Cosmo (global-V11-01-09) 171 - Updated tag IDs for geant4-11-01-ref-04. 172 173 ## 2023-04-06 Gabriele Cosmo (global-V11-01-08) 174 - Fixed typo in G4Backtrace class description. 175 Reported in [GitHub PR#57](https://github.com/Geant4/geant4/pull/57). 176 177 ## 2023-03-31 Gabriele Cosmo (global-V11-01-07) 178 - Updated tag IDs for geant4-11-01-ref-03. 179 180 ## 2023-02-28 Gabriele Cosmo (global-V11-01-06) 181 - Updated tag IDs for geant4-11-01-ref-02. 182 183 ## 2023-01-31 Gabriele Cosmo (global-V11-01-05) 184 - Removed obsolete and no longer used G4SIunits.hh header. 185 186 ## 2023-01-30 Gabriele Cosmo (global-V11-01-04) 187 - Updated tag IDs for geant4-11-01-ref-01. 188 189 ## 2023-01-09 Ben Morgan (global-V11-01-03) 190 - Add G4debug output stream for logging messages at lower priority than 191 G4cout. 192 193 ## 2022-12-20 Vladimir Ivanchenko (global-V11-01-02) 194 - G4DataVector - simplified inline methods in order to remove compilation 195 warnings at some CMSSW platforms 196 197 ## 2022-12-14 Ben Morgan (global-V11-01-01) 198 - Remove public interface to G4strstreambuf 199 - G4strstreambuf becomes a private implementation detail of G4ios 200 - Minimized G4cout/G4strstreambuf/G4coutDestination coupling 201 202 ## 2022-12-12 Ben Morgan (global-V11-01-00) 203 - Remove obsolete GNUmakefile scripts 204 205 ## 2022-11-29 Gabriele Cosmo (global-V11-00-33) 206 - Updated tag IDs for geant4-11-01-ref-00. 207 208 ## 2022-11-18 Gabriele Cosmo (global-V11-00-32) 209 - More compilation warnings fixes for implicit type conversions. 210 211 ## 2022-11-09 Gabriele Cosmo (global-V11-00-31) 212 - Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1. 213 214 ## 2022-10-31 Gabriele Cosmo (global-V11-00-30) 215 - Updated tag IDs for geant4-11-00-ref-09. 216 217 ## 2022-10-04 Gabriele Cosmo (global-V11-00-29) 218 - Fixed compilation warning on Intel-icx compiler for variable set but not 219 used, in G4AnalyticalPolSolver::QuarticRoots(). 220 221 ## 2022-09-30 Gabriele Cosmo (global-V11-00-28) 222 - Updated tag IDs for geant4-11-00-ref-08. 223 224 ## 2022-09-22 Ben Morgan (global-V11-00-27) 225 - Apply patch for MinGW from [GitHub PR#51](https://github.com/Geant4/geant4/pull/51) 226 227 ## 2022-08-29 Gabriele Cosmo (global-V11-00-26) 228 - Updated tag IDs for geant4-11-00-ref-07. 229 230 ## 2022-08-04 Ben Morgan (global-V11-00-25) 231 - Move implementation details of G4Exception to source file. 232 - Remove obsolete re-declaration of G4Exception in G4Timer. 233 234 ## 2022-07-03 Ben Morgan (global-V11-00-24) 235 - Additional clang-tidy fixes for header-only code or missed in global-V11-00-06) 236 237 ## 2022-06-24 Gabriele Cosmo (global-V11-00-23) 238 - Updated tag IDs for geant4-11-00-ref-06 and geant4-11-01-beta-01. 239 240 ## 2022-06-12 Gabriele Cosmo (global-V11-00-22) 241 - G4FindDataDir: fixed compilation with GNUmake build. 242 243 ## 2022-06-09 Igor Semeniouk (global-V11-00-21) 244 - G4FindDataDir: correction for windows runtime, G4MULTITHREADED flag. 245 Use the environment variable GEANT4_DATA_DIR as top data dir. 246 247 ## 2022-06-07 Ben Morgan (global-V11-00-20) 248 - Remove dependency on TBB which is not a direct dependency of the global 249 category. 250 251 ## 2022-05-31 Gabriele Cosmo (global-V11-00-19) 252 - Commented out debug printout in G4ThreadLocalSingleton constructor. 253 254 ## 2022-05-28 Gabriele Cosmo (global-V11-00-18) 255 - Updated tag IDs for geant4-11-00-ref-05. 256 257 ## 2022-05-23 Gabriele Cosmo (global-V11-00-17) 258 - Corrected G4ErrorPropagatorData destructor. 259 260 ## 2022-05-25 Ben Morgan (global-V11-00-16) 261 - Support GNUmake builds of G4FindDataDir 262 263 ## 2022-05-12 Guilherme Amadio (global-V11-00-15) 264 - Make dataset environment variables optional. 265 266 ## 2022-04-27 Gabriele Cosmo (global-V11-00-14) 267 - Updated tag IDs for geant4-11-00-ref-04. 268 269 ## 2022-04-01 Jonas Hahnfeld (global-V11-00-13) 270 - Fix two typos in Bremsstrahlung. 271 272 ## 2022-03-29 Gabriele Cosmo (global-V11-00-12) 273 - Updated tag IDs for geant4-11-00-ref-03. 274 275 ## 2022-03-25 Ben Morgan (global-V11-00-11) 276 - Move core Tasking interfaces that only depend on PTL to global category from 277 tasking category 278 279 ## 2022-03-18 Ben Morgan (global-V11-00-10) 280 - Replace use of deprecated std::result_of with std::invoke_result_t. 281 282 ## 2022-03-10 Ben Morgan (global-V11-00-09) 283 - Remove obsolete management/CMakeLists.txt script 284 - Declare G4hepgeometry dependencies as INTERFACE as the module is header-only 285 286 ## 2022-03-01 Ben Morgan (global-V11-00-08) 287 - Revert clang-tidy pass-by-value 288 - Provides no benefit for short strings, which are the case in the global use case 289 290 ## 2022-02-18 Gabriele Cosmo (global-V11-00-07) 291 - Updated tag IDs for geant4-11-00-ref-02. 292 293 ## 2022-02-24 Ben Morgan (global-V11-00-06) 294 - Apply set of clang-tidy modernize, readability and performance fixes. 295 296 ## 2022-02-18 Ben Morgan (global-V11-00-05) 297 - Provide overload `G4String::operator[](int)` to workaround MSVC compiler 298 error C2666. 299 Addressing [Problem report #2463](https://bugzilla-geant4.kek.jp/show_bug.cgi?id=2463). 300 301 ## 2022-02-08 Gabriele Cosmo (global-V11-00-04) 302 - Fixed compilation warnings for shadowing variables in G4String. 303 304 ## 2022-01-31 Ben Morgan (global-V11-00-03) 305 - Replace `geant4_global_library_target` with direct file inclusion and 306 call to `geant4_add_category` to define library build from source modules. 307 308 ## 2022-01-31 Gabriele Cosmo (global-V11-00-02) 309 - Updated tag IDs for geant4-11-00-ref-01. 310 311 ## 2022-01-24 Daren Sawkey (global-V11-00-01) 312 - Replace G4lrint with std::lrint; remove G4lint and G4rint. 313 Addressing issue #116. 314 315 ## 2021-12-10 Ben Morgan (global-V11-00-00) 316 - Change to new Markdown History format. 317 318 --- 319 320 # History entries prior to 11.0 321 322 December 3, 2021 Gabriele Cosmo (global-V10-07-36) 323 - Updated tag IDs for geant4-11-00-ref-00. 324 325 October 30, 2021 Vladimir Ivanchenko (global-V10-07-35) 326 - G4PhysicsModelCatalog : extended number of EM types 327 328 October 28, 2021 Gabriele Cosmo (global-V10-07-34) 329 - Updated tag IDs for geant4-10-07-ref-09. 330 331 October 25, 2021 Ben Morgan (global-V10-07-33) 332 - Deprecate non-std::string member functions, replacing with new free 333 functions in G4StrUtil namespace 334 335 October 18, 2021 Ben Morgan (global-V10-07-32) 336 - Remove obsolete/std::string synonym member functions from G4String: 337 - hash/stlhash 338 - data 339 - replace 340 - index 341 - isNull 342 - first/last 343 - append/prepend 344 - call operators 345 346 October 13, 2021 Alberto Ribon (global-V10-07-31) 347 - G4PhysicsModelCatalog : made the last changes as agreed during 348 the Collaboration meeting. This version should be ready for the 349 release G4 11.0 350 351 October 8, 2021 Vladimir Ivanchenko (global-V10-07-30) 352 - G4PhysicsOrderedFreeVector is back redirected to G4PhysicsFreeVector; 353 CMS request 354 355 October 7, 2021 Vladimir Ivanchenko (global-V10-07-29) 356 - G4PhysicsModelCatalog : extended number of EM types 357 358 October 1, 2021 Ben Morgan (global-V10-07-28) 359 - Simplify G4String interfaces and implementation with C++11/17 360 361 September 30, 2021 Gabriele Cosmo (global-V10-07-27) 362 - Updated tag IDs for geant4-10-07-ref-08. 363 364 September 27, 2021 Vladimir Ivanchenko (global-V10-07-26) 365 - G4PhysicsModelCatalog : EM part is filled according to proposal 366 agreed at the annual workshop 367 368 September 16, 2021 Vladimir Ivanchenko (global-V10-07-25) 369 - Fixed G4PhysicsVector::GetMinEnergy() and format icc file 370 371 September 10, 2021 Guilherme Amadio (global-V10-07-24) 372 - Optimize G4PhysicsVector::Interpolation. 373 374 September 8, 2021 Michel Maire (global-V10-07-23) 375 - G4BestUnit : modify previous feature: 376 for energy = 0, print "eV" instead of "meV" 377 378 August 31, 2021 Gabriele Cosmo (global-V10-07-22) 379 - Updated tag IDs for geant4-10-07-ref-07. 380 381 August 27, 2021 Vladimir Ivanchenko (global-V10-07-21) 382 - G4PhysicsVectorType: added enumeration of Spline type, use namespace 383 - G4PhysicsVector, G4PhysicsFreeVector, G4PhysicsLogVector, 384 G4PhysicsLinearVector: major update - introduced new public access methods; 385 removed obsolete unused methods; introduced possibility to use different 386 Spline methods; do not fill second derivative vector if Spline not enabled; 387 improved control on input data; reduce number of calls to min/max; attempt 388 to optimise run time code G4PhysicsTable, improved use of the vector type. 389 390 August 23, 2021 Guilherme Amadio (global-V10-07-20) 391 - G4BackTrace: move from deprecated sigignore() to signal(). 392 393 August 22, 2021 Michel Maire (global-V10-07-19) 394 - G4BestUnit : if value=0, do print unit symbol. 395 396 August 4, 2021 Alberto Ribon (global-V10-07-18) 397 - G4PhysicsModelCatalog : new version of the catalog of physics models. 398 Introduced a modelID (a unique integer for each physics model, with 399 close values for similar/related physics models), besides an index 400 (the position in a vector) and the name (string) of the physics model. 401 The main difference with respect to the previous version is that 402 the three identifiers of each physics model - modelID, index and 403 name - must stay constant and the same for all applications, 404 physics lists and future versions of Geant4, starting with 11.0. 405 406 July 18, 2021 Vladimir Ivanchenko (global-V10-07-17) 407 - G4PhysicsVector, G4PhysicsTable, G4PhysicsFreeVector - removed 408 obsolete methods SetSpline(); T_G4PhysicsFreeVector type set 409 to be default; improved comments and printouts 410 411 June 21, 2021 Gabriele Cosmo (global-V10-07-16) 412 - Updated G4SIUnits and G4PhysicalConstants to include new symbols 413 (minute, hour, day, year and millielectronvolt) and new constants 414 (Bohr_magneton and nuclear_magneton), based on CLHEP-2.4.4.2. 415 - Updated tag IDs for geant4-10-07-ref-06. 416 417 June 3, 2021 Gabriele Cosmo (global-V10-07-15) 418 - Added protection for WIN32 in G4BackTrace. 419 420 May 27, 2021 Gabriele Cosmo (global-V10-07-14) 421 - Updated tag IDs for geant4-10-07-ref-05. 422 423 May 24, 2021 Vladimir Ivanchenko (global-V10-07-13) 424 - Removed deprecated classes: G4LPhysicsFreeVector, G4PhysicsLnVector 425 and G4PhysicsOrderedFreeVector. 426 427 May 18, 2021 Ben Morgan (global-V10-07-12) 428 - New G4Filesystem header to support transparent use of C++ filesystem 429 whether it is in std:: or std::experimental namespaces. 430 431 May 18, 2021 Jonathan Madsen (global-V10-07-11) 432 - G4ThreadLocalSingleton: added way to explicitly call Clear() for all 433 TLS singletons. 434 - Reworked G4Backtrace to use fewer dynamic memory allocations when 435 printing backtrace in order to avoid overflowing the signal stack. 436 437 May 7, 2021 Gabriele Cosmo (global-V10-07-10) 438 - Updated G4SIUnits and G4PhysicalConstants to include new commented symbols. 439 (minute, hour, day, year and millielectronvolt) and new constants 440 (Bohr_magneton and nuclear_magneton). 441 442 April 29, 2021 Gabriele Cosmo (global-V10-07-09) 443 - Updated tag IDs for geant4-10-07-ref-04. 444 445 April 28, 2021 Michel Maire (global-V10-07-08) 446 - G4UnitsTable: added units for Velocity and Momentum. 447 448 March 31, 2021 Gabriele Cosmo (global-V10-07-07) 449 - Updated tag IDs for geant4-10-07-ref-03. 450 451 March 26, 2021 Gabriele Cosmo (global-V10-07-06) 452 - Zero terminate buffer in G4strstreambuf destructor before flushing. 453 Addressing problem report #2350. 454 455 March 15, 2021 Gabriele Cosmo (global-V10-07-05) 456 - G4ConvergenceTester: fixed potential thread contention likely 457 responsible for crashes in ThreadSafe-Scorers example, observed in 458 system testing. Some code cleanup. 459 460 March 12, 2021 Ben Morgan (global-V10-07-04) 461 - Modernize CMake build. 462 463 March 5, 2021 Ben Morgan (global-V10-07-03) 464 - Add patch from Seth Johnson to allow user query of G4PhysicsVector's 465 use or not of spline interpolation. 466 467 February 25, 2021 Gabriele Cosmo (global-V10-07-02) 468 - Updated tag IDs for geant4-10-07-ref-02. 469 470 February 4, 2021 Vladimir Ivanchenko (global-V10-07-01) 471 - G4PhysicsFreeVector, G4LPhysicsFreeVector, G4PhysicsLogVector, 472 G4PhysicsLinearFreeVector, G4PhysicsOrderedFreeVector - to 473 each constructor added extra boolean variable making spline; 474 this is needed for later removal of the SetSpline(..) method 475 required forreorganisation of the code using templates 476 - G4LPhysicsFreeVector, G4PhysicsOrderedFreeVector - moved 477 implementation to G4PhysicsFreeVector 478 - G4PhysicsFreeVector - added control on continues increase 479 energy in the energy vector to all constructors 480 - G4PhysicsVector - extended warning printout 481 482 January 28, 2021 Gabriele (global-V10-07-00) 483 - Updated tag IDs for geant4-10-07-ref-01. 484 485 December 2, 2020 Gabriele (global-V10-06-27) 486 - Removed condition restricting to __x86_64__ architectures for macOS 487 configuration in tls.hh. 488 489 November 21, 2020 Gabriele Cosmo (global-V10-06-26) 490 - Fixed compilation warnings in G4Profiler. 491 - Updated tag IDs for release 10.7. 492 493 November 12, 2020 Jonathan Madsen (global-V10-06-25) 494 - Added new G4Profiler.hh header 495 - Implemented new profiling routines which allow per-{run,event,track,step} 496 configuration w.r.t. when to profiler, what to collect in the profiler, 497 and how to label the entries. 498 Also, includes user-profiling config and macros. 499 - Use of TIMEMORY_AUTO_TIMER is now deprecated. 500 501 October 29, 2020 Ben Morgan (global-V10-06-25) 502 - Always use new CMake system. 503 504 October 30, 2020 Gabriele Cosmo (global-V10-06-24) 505 - Updated tag IDs for geant4-10-06-ref-10. 506 507 October 20, 2020 Jonathan Madsen (global-V10-06-23) 508 - Added G4Backtrace.hh for printing backtraces from raised signals 509 - This is a more generic implementation of G4FPEDetection and can 510 catch FPE issues but, by default, does not interfere with it. 511 - The default backtraced signals are: SIGQUIT, SIGILL, SIGABRT, SIGKILL, 512 SIGBUS, SIGSEGV. 513 - The default signals can be overridden within user-code before and 514 after the creation of the run-manager (See "Usage" section in G4Backtrace.hh) 515 - The default signals can be overridden via environment variable 516 G4BACKTRACE. 517 518 September 30, 2020 Gabriele Cosmo (global-V10-06-22) 519 - Updated tag IDs for geant4-10-06-ref-09. 520 521 September 25, 2020 Vladimir Ivanchenko (global-V10-06-21) 522 - G4PhysicsLinearVector, G4PhysicsLogVector - fixed scale of energy; this 523 problem does not affect results in general; it fix data table scale 524 and may change dEdx and cross sections numerically on small level. 525 526 September 24, 2020 Gabriele Cosmo (global-V10-06-20) 527 - Re-instate static pointer for 'masterG4coutDestination' in G4coutDestination 528 with proper symbol exporting on Windows (necessary for MT builds). 529 Restores trapping of G4cout from workers in Qt GUI. 530 531 August 31, 2020 Gabriele Cosmo (global-V10-06-19) 532 - Updated tag IDs for geant4-10-06-ref-08. 533 534 August 4, 2020 Daren Sawkey (global-V10-06-18) 535 - New G4PhysicsOrderedFreeVector(std::vector, std::vector) constructor. 536 537 July 23, 2020 Gabriele Cosmo (global-V10-06-17) 538 - Updated tag IDs for geant4-10-06-ref-07. 539 540 July 17, 2020 Gabriele Cosmo (global-V10-06-16) 541 - Updated e_SI value for electron charge in G4SIunits.h, based 542 on May 2019 redefinition of SI units. 543 Reference: https://www.britannica.com/science/electron-charge. 544 545 June 26, 2020 Gabriele Cosmo (global-V10-06-15) 546 - Updated tag IDs for geant4-10-06-ref-06. 547 548 May 31, 2020 Gabriele Cosmo (global-V10-06-14) 549 - Updated tag IDs for geant4-10-06-ref-05. 550 551 May 28, 2020 Ben Morgan (global-V10-06-13) 552 - management/sources.cmake: Add location of generated header to 553 public include directories of G4globman. 554 555 May 20, 2020 Gabriele Cosmo (global-V10-06-12) 556 - Minor c++11 revision in HepNumerics module. 557 - Re-applied clang-format after minor rules adaptations. 558 559 May 18, 2020 Gabriele Cosmo (global-V10-06-11) 560 - Removed unnecessary use of deprecated G4USE_STD11 flag. 561 Also indicated in GitHub PR#13. 562 563 May 10, 2020 Jonathan Madsen (global-V10-06-10) 564 - Applied clang-format to G4global category 565 566 May 5, 2020 Gabriele Cosmo (global-V10-06-09) 567 - C++11 revision in 'management' module and some code cleanup/formatting. 568 569 April 29, 2020 Gabriele Cosmo (global-V10-06-08) 570 - Updated tag IDs for geant4-10-06-ref-04. 571 572 March 31, 2020 Ben Morgan (global-V10-06-07) 573 - G4UnitsTable: added inheriting constructors for std::vector. 574 575 March 31, 2020 Gabriele Cosmo (global-V10-06-06) 576 - Updated tag IDs for geant4-10-06-ref-03. 577 578 February 29, 2020 Gabriele Cosmo (global-V10-06-05) 579 - Updated tag IDs for geant4-10-06-ref-02. 580 581 February 03, 2020 Vladimir Ivanchenko (global-V10-06-04) 582 - G4PhysicsLinearVector, G4PhysicsLogVector - more accurate 583 checks in class constructors - fixed Coverity warning 584 585 January 30, 2020 Gabriele Cosmo (global-V10-06-03) 586 - Fixed symbol exporting problem in G4coutDestination on Windows; define 587 'masterG4coutDestination' static pointer as a normal pointer. 588 Addressing problem report #2217. 589 590 January 16, 2020 Vladimir Ivanchenko (global-V10-06-02) 591 - G4Physics2DVector - extend number of characters in the table dump 592 from 5 to 8; use similar algorithm for bin selection as in 1d vector; 593 if any dimension is less than 2 through G4Exception 594 - G4PhysicsVector - use the same code for interpolation for all types 595 of PhysicsVector; removed obsolete unused methods; maximally use 596 const variables; preserve precision of printout; 597 - G4PhysicsLinearVector - added checks on vector 598 length: if it is less than 2 through G4Exception 599 - G4PhysicsLogVector - added checks on vector length: if it is less 600 than 3 through G4Exception 601 602 January 14, 2020 Gabriele Cosmo (global-V10-06-01) 603 - Added windefs.hh header, including protections for double definition 604 of global symbols from Windows Kits code. 605 - Updated tag IDs for geant4-10-06-ref-01. 606 607 December 09, 2019 Ben Morgan (global-V10-06-00) 608 - Cleanup CMake build, removing obsolete granular library options and 609 explicit include_directories. 610 611 December 03, 2019 Gabriele Cosmo (global-V10-05-26) 612 - Updated tag IDs for release 10.6. 613 614 November 22, 2019 Jonathan Madsen (global-V10-05-25) 615 - Updated G4TiMemory.hh to support new macros 616 - Updated templates.hh to use move semantics in consume_parameters 617 - Eliminates warning about unnecessary copy for some compilers 618 - Updated sources.cmake to use ${timemory_LIBRARIES} instead of 619 difficult to type ${TiMemory_LIBRARIES} 620 621 November 19, 2019 Gabriele Cosmo (global-V10-05-24) 622 - Updated tag IDs for geant4-10-06-cand-01. 623 624 November 15, 2019 Gabriele Cosmo (global-V10-05-23) 625 - Fixed implicit type conversions in G4String internal methods. 626 627 November 12, 2019 Gabriele Cosmo (global-V10-05-22) 628 - Updated tag IDs for geant4-10-06-cand-00. 629 630 November 08, 2019 Evgueni Tcherniaev (global-V10-05-21) 631 - G4SimplexDownhill: fixed minor Coverity defect 632 633 October 30, 2019 Gabriele Cosmo (global-V10-05-20) 634 - Updated date and tag-ID for geant4-10-05-ref-10. 635 636 October 25, 2019 Gabriele Cosmo (global-V10-05-19) 637 - Added 'External' (physical) volume type to geomdefs.hh. 638 639 September 30, 2019 Gabriele Cosmo (global-V10-05-18) 640 - Updated date and tag-ID for geant4-10-05-ref-09. 641 642 September 12, 2019 Evgueni Tcherniaev (global-V10-05-17) 643 - Added HEPRandom/include/G4QuickRand.hh 644 645 August 31, 2019 Gabriele Cosmo (global-V10-05-16) 646 - Updated date and tag-ID for geant4-10-05-ref-08. 647 648 August 2, 2019 Makoto Asain (global-V10-05-15) 649 - G4PhysicsVector::insertAt() : add protection against idx > entries(). 650 Addressing to Bug report #2182. 651 652 July 21, 2019 Mihaly Novak (global-V10-05-14) 653 - G4PhysicsVector: remove temporary codes used during the optimisation of the 654 physics log-vector data access 655 656 July 18, 2019 Mihaly Novak (global-V10-05-13) 657 - G4PhysicsVector: further optimisation of the LogVectorValue data access method 658 (all conditional branchings are eliminated by increased robustness of the alg.) 659 660 July 17, 2019 Mihaly Novak (global-V10-05-12) 661 - G4PhysicsVector: add optimised LogVectorValue method(special Value method only 662 for log-vectors) to G4PhysicsVector 663 - G4PhysicsVector, G4PhysicsLogVector, G4PhysicsLinearVector, G4PhysicsVector: 664 change dBin member to invdBin(=1/dBin) to get rid of run-time divisions 665 666 July 15, 2019 Gabriele Cosmo (global-V10-05-11) 667 - Updated date and tag-ID for geant4-10-05-ref-07. 668 669 June 17, 2019 Gabriele Cosmo (global-V10-05-10) 670 - Updated date and tag-ID for geant4-10-05-ref-06. 671 672 May 28, 2019 Gabriele Cosmo (global-V10-05-09) 673 - Updated date and tag-ID for geant4-10-05-ref-05. 674 675 May 20, 2019 Gabriele Cosmo (global-V10-05-08) 676 - Defined default move constructor and move assignment operator for G4String 677 and G4DataVector. 678 679 May 16, 2019 Gabriele Cosmo (global-V10-05-07) 680 - Defaulted copy constructor for G4StatDouble, to fix compilation warnings 681 on gcc-9.1. 682 683 April 27, 2019 Gabriele Cosmo (global-V10-05-06) 684 - Updated date and tag-ID for geant4-10-05-ref-04. 685 686 April 25, 2019 Ben Morgan (global-V10-05-05) 687 - DEV-250: Add G4GlobalConfig.hh generated header to hold global, always 688 required, preprocessor symbols instead of relying on -D flags. 689 - G4USE_STD11 690 - G4MULTITHREADED 691 - G4_STORE_TRAJECTORY 692 - G4VERBOSE 693 - GEANT4_USE_TIMEMORY 694 - Add inclusion of G4GlobalConfig.hh in G4Types.hh, tls.hh and 695 G4TiMemory.hh so that global and other categories pick up 696 the definitions transparently. Protect inclusion so that 697 only CMake builds use this header 698 - Update other headers/srcs to include G4Types/G4Threading if 699 they use G4MULTITHREADED 700 - Uses cmake-V10-05-02 701 702 March 29, 2019 Gabriele Cosmo (global-V10-05-04) 703 - Updated date and tag-ID for geant4-10-05-ref-03. 704 705 March 17, 2019 Mihaly Novak (global-V10-05-03) 706 - G4PhysicsVector: adding additional public Value() method option to propagate 707 down the known log-energy value (can avoid the log call in case of log-vector) 708 - templates: new LOG_EKIN_MIN constant as value taken incase of zero kin-energy. 709 710 March 13, 2019 Gabriele Cosmo (global-V10-05-02) 711 - Enable FPE detection on MacOS with clang. 712 Addressing problem report #2147. 713 714 February 28, 2019 Gabriele Cosmo 715 - Updated date and tag-ID for geant4-10-05-ref-02. 716 717 January 31, 2019 Ivana Hrivnacova (global-V10-05-01) 718 - Merged GitHub PR #4: all Boolean operators now return G4bool. 719 720 January 30, 2019 Gabriele Cosmo (global-V10-05-00) 721 - Updated date and tag-ID for geant4-10-05-ref-01. 722 723 November 26, 2018 Gabriele Cosmo (global-V10-04-31) 724 - G4Cache, G4CacheDetails: minor code cleanup and formatting. 725 726 November 16, 2018 Gabriele Cosmo (global-V10-04-30) 727 - G4OrderedTable and G4DataVector: fixed store/retrieve of binary 728 data format. 729 - G4AllocatorPool: moved copy-ctr and operator=() to public section. 730 - Changed ID for release 10.5. 731 - Fixed unit tests. 732 733 November 13, 2018 Jonathan Madsen (global-V10-04-29) 734 - Fixes to G4ConvergenceTester to ensure there are no divide-by-zeros 735 when calculating the stat history 736 737 November 9, 2018 Gabriele Cosmo (global-V10-04-28) 738 - G4ConvergenceTester: fixed printout typos. 739 740 November 8, 2018 Gabriele Cosmo (global-V10-04-27) 741 - G4Threading: replaced 'typedef' statements with C++11 'using' correspondents. 742 743 November 1, 2018 Gabriele Cosmo (global-V10-04-26) 744 - Fixed inclusion recursion in G4EnvironmentUtils header. 745 746 October 30, 2018 Gabriele Cosmo (global-V10-04-25) 747 - Renamed G4Utility.hh to G4EnvironmentUtils.hh and moved one of the 748 functions to templates.hh. 749 750 October 25, 2018 Jonathan Madsen (global-V10-04-24) 751 - added operator += (G4double) to G4ConvergenceTester 752 - added G4StatAnalysis.{hh,icc} class 753 - this class is a lightweight statistics class that calculates the 754 mean, FOM, relative error, standard deviation, variance, coefficient of 755 variation, efficiency, r2eff, r2int (corr-coeff-of-interp/coeff-of-determ) 756 - G4Utility.hh - convenient environment converters and variadic template 757 to consume unused parameters and variables 758 759 October 12, 2018 Gabriele Cosmo (global-V10-04-23, 22) 760 - Moved back main G4Exception functions to source to reduce dependencies. 761 - Reset singleton pointer in G4StateManager destructor; addressing problem 762 report #2094. Minor code cleanup. 763 764 September 14, 2018 Vladimir Ivanchenko (global-V10-04-21) 765 - G4PhysicsVector: similar fix as in previous tag of the problem #2087 766 767 September 10, 2018 Mihaly Novak (global-V10-04-20) 768 - G4Physics2DVector: fixed possible out-of-bound access in the FindBin method. 769 problem report #2087 770 771 August 14, 2018 Gabriele Cosmo (global-V10-04-19) 772 - G4Timer: fixed CPU number printout in operator<<(). Use G4 types. 773 Code formatting. 774 775 June 6, 2018 Jonathan Madsen (global-V10-04-18) 776 - Added G4TiMemory.hh which defines an dummy initializer and empty macros when 777 TiMemory is disabled and includes the TiMemory headers and defines an 778 initializer when built with TiMemory support 779 - Removed "#define times ostimes" from G4Timer.hh and G4SliceTimer.hh 780 - conflicts with TiMemory and this is left over from a conflict that 781 no longer exists (see global-01-00-03 from 1999) 782 - Removed corresponding "#undef times" from G4Timer.cc and G4SliceTimer.cc 783 - Added TiMemory libraries and includes to sources.cmake 784 785 May 18, 2018 Gabriele Cosmo (global-V10-04-17) 786 - Moved G4Exception functions to inline and extracted banner front/end 787 strings for use in Qt parsing. 788 789 May 17, 2018 Jonathan Madsen (global-V10-04-16) 790 - Removed G4GLOB_DLL from G4CacheReference<G4double> 791 792 May 17, 2018 Jonathan Madsen (global-V10-04-15) 793 - Updated "thread-local-static-var" model to 794 "function-returning-thread-local-static-reference" model 795 which fixes Windows DLL + MT 796 797 March 23, 2018 Mihaly Novak (global-V10-04-14) 798 - Increased accuracy of G4Pow::A13 in the most critical [1/4,4] interval. 799 800 March 22, 2018 Gabriele Cosmo (global-V10-04-13) 801 - Avoid exporting symbols for Windows DLLs in multi-threaded builds. 802 803 March 21, 2018 Gabriele Cosmo (global-V10-04-12) 804 - Moved test80 to unit tests in HEPRandom/test module and renamed testRngMT. 805 806 March 9, 2018 Gabriele Cosmo (global-V10-04-11) 807 - Removed obsolete MT wrappers for random numbers, no longer necessary. 808 Simplified definition of G4Random types in Randomize.hh accordingly. 809 - Full support for thread-local storage on clang (also MacOS clang) now 810 enabled; updated tls.hh definitions accordingly; removed use of the 811 G4USE_STD11 flag, now always enabled by default. 812 - Minor code cleanup in G4UniformRandPool. 813 814 March 7, 2018 Jonathan Madsen (global-V10-04-10) 815 - Replaced erroneous "id_type" return type for G4DummyThread::get_id() 816 with correct "id" type. 817 818 March 6, 2018 Jonathan Madsen (global-V10-04-09) 819 - updated G4cout_p and G4cerr_p to point to std::cout and std::cerr before 820 and after library load. G4cout before G4RunManager creation has been seen to 821 fail on Windows 822 - Improvement to G4AutoLock in non-MT mode + bug fix (void try_lock() -> 823 bool try_lock()) plus error handling within G4AutoLock if static mutex 824 is attempted to be used at application cleanup (previously handled in 825 G4Cache) 826 - using atomics in G4Cache 827 - Define G4ThisThread, G4Promise, G4Future, and G4SharedFuture in G4Threading 828 the promises and futures are not currently used except for in upcoming 829 RNG testing but will be used in future 830 - G4TypeMutex and G4RecursiveTypeMutex now accept an index, e.g. 831 G4AutoLock l(G4TypeMutex<G4SomeClass>(0)) and 832 G4AutoLock l(G4TypeMutex<G4SomeClass>(1)) 833 - G4DummyThread typedef std::thread::id as id instead of id_type 834 835 March 6, 2018 Gabriele Cosmo (global-V10-04-08) 836 - Use thread_local keyword on Windows, instead of __declspec(thread) in tls.hh. 837 - Removed no longer necessary windefs.hh header. 838 839 February 21, 2018 Jonathan Madsen (global-V10-04-07) 840 - Overloaded G4AutoLock member functions in serial mode to not 841 execute locking/unlocking 842 - Fixed std::system_error in G4Cache where destructor tries 843 to use a static G4Mutex that has already been deleted by cleanup 844 which is a non-critical error related to a singleton memory leak 845 - Returned some functionality in G4Threading to dummy types such 846 as G4MUTEXLOCK and G4MUTEXUNLOCK do not actually lock 847 and G4Thread is a dummy thread that executes upon construction 848 849 February 19, 2018 Jonathan Madsen (global-V10-04-06) 850 - Added G4TypeMutex<T> and G4TypeRecursiveMutex<T> function to threading 851 for safely obtaining a static mutex that is unique to the template type T 852 - Replaced static G4Mutex in G4Cache<T> with calls to G4TypeMutex<G4Cache<T>> 853 function calls to safely initialize mutexes on Windows 854 855 February 14, 2018 Jonathan Madsen (global-V10-04-05) 856 - G4THREADSLEEP had an extra space before paramter field rendering the 857 macro invalid. This was fixed 858 - Sequential clang builds were emitting -Wunused-private-field warning 859 in G4MTBarrier. Modified G4CONDITION macros to fix this 860 861 February 13, 2018 Jonathan Madsen (global-V10-04-04) 862 - Simplified G4Threading by not ifdef'ing out G4Mutex 863 It was determined the average time to lock and unlock a mutex in 864 single-thread mode is ~5 nanoseconds in release mode. Therefore, it 865 was determined the mutex locking is not a concern for performance in 866 non-MT mode. This fixes issues with G4Mutex and G4AutoLock in 867 global-V10-04-03 868 - Extended G4TemplateAutoLock to take advantage of the features 869 std::unique_lock offers 870 - migrated G4Timer real (wall) time to use std::chrono::high_precision_clock 871 from C++11 872 873 February 12, 2018 Jonathan Madsen (global-V10-04-03) 874 - G4Threading - replaced POSIX threading with C++11 threading 875 - std::condition_variable 876 - std::mutex + std::recursive_mutex 877 - std::thread 878 - many of the former macros are now dummy macros (e.g. G4MUTEXINIT, 879 G4MUTEX_INITIALIZER, etc.) 880 - G4GetPidId() -> uses std::this_thread::get_id() 881 - G4GetNumberOfCores() -> uses std::thread::hardware_concurrency() 882 - Updated pin affinity 883 - Removed G4THREADSELF (not used, no C++11 platform-independent equivalent) 884 - G4AutoLock is now a thin wrapper around std::unique_lock providing previous 885 functionality + more features (e.g. try_lock, try_lock_until, etc.) 886 - Added G4RecursiveAutoLock for recursive mutexes 887 - Expanded DEFINED_PPC and DEFINED_INTEL in G4FPEDetection (warning in GCC 7+) 888 - G4MTBarrier: removed WIN32 specifics, updated G4CONDITIONWAIT to use 889 G4AutoLock (std::unique_lock) instead of G4Mutex, removed G4MUTEX_INITIALIZER 890 from constructor 891 892 February 12, 2018 G.Cosmo (global-V10-04-02) 893 - G4StateManager: move static method SetVerboseLevel() to be non inline. 894 895 February 9, 2018 M.Asai (global-V10-04-01) 896 - G4MTcoutDestination.cc blocks G4cout from worker threads while spplication 897 is in G4State_Init instead of G4State_Idle. 898 - G4StateManager has a new method to set verbosity and print the state change. 899 900 December 19, 2017 G.Cosmo (global-V10-04-00) 901 - Fixed self-consistency in G4ReferenceCountedHandle header (missing #include). 902 Added missing #ifdef guard in G4CacheDetails header; code formatting. 903 Thanks to Raphael Isemann for reporting these. 904 905 October 20, 2017 E.Tcherniaev (global-V10-03-11) 906 - Use more performant G.Marsaglia (1972) algorithm for G4RandomDirection. 907 Thanks to Kostas Savvidy for the suggestion. 908 - Updated unit test G4RandomDirectionTest. 909 910 July 24, 2017 E.Tcherniaev (global-V10-03-10) 911 - Added G4RandomPointOnEllipsoid() and G4RandomPointOnEllipse() to functions 912 collection in G4RandomTools.hh. 913 914 July 20, 2017 E.Tcherniaev (global-V10-03-09) 915 - Added G4RandomRadiusInRing() and G4RandomPointInEllipse() to functions 916 collection in G4RandomTools.hh. 917 918 June 21, 2017 G.Cosmo (global-V10-03-08) 919 - Corrected TLS setup in tls.hh for gcc compiler. 920 921 April 20, 2017 G.Cosmo (global-V10-03-07) 922 - Removed obsolete internal definition of abs() in templates.hh. 923 - Code cleanup/formatting in recent G4cout* classes. 924 925 April 18, 2017 A.Dotti (global-V10-03-06) 926 - Fixed WIN compilation error. 927 928 April 18, 2017 A.Dotti (global-V10-03-05) 929 - Fixed compiler error for gcc < 5. 930 - Fixed compilation warning on Mac OS 10.11 clang-8. 931 932 April 18, 2017 A.Dotti (global-V10-03-04) 933 - New structure for G4coutDestination functionality with division 934 between sink and filter. 935 936 April 6, 2017 E.Tcherniaev (global-V10-03-03) 937 - Added function G4RandomDirection(G4double cosTheta) to G4RandomDirection.hh. 938 Addressing enhancement request #1961. 939 940 March 14, 2017 G.Cosmo (global-V10-03-02) 941 - Fix in destructor of G4ThreadLocalSingleton to destroy mutex as last 942 action. Fixes contention reported by Valgrind/DRD. 943 944 March 13, 2017 G.Cosmo (global-V10-03-01) 945 - G4TWorkspacePool: implemented CleanUpAndDestroyAllWorkspaces(), 946 and Recycle() to be called by worker threads. 947 948 December 19, 2016 G.Cosmo (global-V10-03-00) 949 - Removed obsolete utility class G4SubString used internally in G4String, 950 as no longer necessary and also including unnecessary and buggy operators. 951 Addressing problem report #1864. 952 953 November 16, 2016 G.Cosmo (global-V10-02-33) 954 - Fixed compilation warning on MacOS Sierra in MT mode in function 955 G4Threading::G4GetPidId(). 956 957 October 21, 2016 A.Dotti (global-V10-02-31, -32) 958 - To avoid confusion rename method to: 959 G4Threading::GetNumberOfRunningWorkerThreads() 960 961 October 21, 2016 G.Cosmo (global-V10-02-30) 962 - Made initialisation of G4TWorkspacePool thread-local data to be inline 963 along with generic template type. 964 Fixing compilation/linking errors on clang-3.9 and XCode-8 on MacOS. 965 966 October 17, 2016 G.Cosmo (global-V10-02-29) 967 - Moved inclusion of <atomic> within G4MULTITHREADED guard in G4Threading.cc 968 969 October 11, 2016 A.Dotti (global-V10-02-28) 970 - Added G4Threading::GetNumberOfActiveWorkerThreads() function. 971 972 September 26, 2016 G.Cosmo (global-V10-02-27) 973 - Added kilovolt/m and megavolt/m to G4UnitsTable for electric field. 974 Addressing enhancement request #1891. 975 976 September 7, 2016 M.Asai (global-V10-02-26) 977 - G4StatDouble: Additional constructor. 978 979 September 6, 2016 M.Asai (global-V10-02-25) 980 - G4StatDouble: Added = and += operators. 981 982 August 31, 2016 V.Ivanchenko (global-V10-02-24) 983 - G4StatDouble: fixed computation of RMS - was completely wrong. 984 985 August 18, 2016 G.Cosmo (global-V10-02-23) 986 - G4UnitsTable: added IsUnitDefined() method, checking existance of a unit 987 in the table. Addressing problem report #1880. 988 989 August 15, 2016 V.Ivanchenko (global-V10-02-22) 990 - G4PhysicsVector, G4PhysicsTable and derived classes: general cleanup. 991 Updated comments; removed duplicate methods; more correct names for some 992 variables; adoption of c++11 keywords. 993 Removed .icc files for G4LPhysicsFreeVector and G4PhysicsOrderedFreeVector. 994 995 August 12, 2016 G.Cosmo (global-V10-02-21) 996 - G4UnitsTable: use 'hep_pascal' instead of 'pascal' to avoid potential 997 symbol conflicts on Windows. 998 999 July 29, 2016 M.Asai (global-V10-02-20) 1000 - Fix G4UnitDefinition to be properly shared by all threads. 1001 Addressed to Bug report #1869. 1002 1003 July 21 and 22, 2016 M.Asai (global-V10-02-16, -17, -18 and -19) 1004 - Fix G4UnitsTable to be properly shared by all threads. 1005 Addressed to Bug report #1869. 1006 1007 June 3, 2016 G.Cosmo (global-V10-02-15) 1008 - Enabled new units 'us' and 'ps' in G4SystemOfUnits.hh. 1009 Now requiring CLHEP-2.3.3.0. 1010 - Updated version ID for 10.3-Beta. 1011 1012 May 2, 2016 G.Cosmo (global-V10-02-14) 1013 - Added 'us' and 'ps' units symbols for microsend and picosecond 1014 respectively to G4UnitsTable. (M.Maire) 1015 Commented out in G4SystemOfUnits.hh, pending installation of new 1016 external CLHEP library. 1017 - Converted all units anc constants from "static const" to "static constexpr". 1018 - Coworks with tag "externals-V10-02-08". 1019 1020 April 25, 2016 G.Cosmo (global-V10-02-13) 1021 - Added check for support of atomics for clang compiler in HEPRandom wrappers. 1022 1023 April 14, 2016 G.Cosmo (global-V10-02-12) 1024 - Define G4GeometryTolerance singleton instance pointer as tread-local 1025 to get rid of spurious race conflicts at initialisation. 1026 1027 March 30, 2016 G.Cosmo (global-V10-02-11) 1028 - Added MixMax in unit tests for HepRandom. 1029 1030 March 22, 2016 A.Dotti (global-V10-02-10) 1031 - Fixing compilation of unit test for HEPRandom. Only test 1032 subdirectory touched to port to new G4 interfaces 1033 1034 March 16, 2016 G.Cosmo (global-V10-02-09) 1035 - Improved algorithm for G4RandomDirection (E.Tcherniaev). 1036 - Turn warnings to fatal exceptions in G4UnitsTable for non existing 1037 units or categories in the table. Addressing problem report #1843. 1038 1039 February 17, 1016 A.Dotti (global-V10-02-08, 07, 06, 05) 1040 - Fixed sequential build and Windows builds for G4MTBarrier class. 1041 1042 February 16, 2016 A.Dotti (global-V10-02-04) 1043 - Fixed typo CONDTIONBROADCAST for sequential mode. 1044 - Removed default move constructor to prevent compilation errors on Windows. 1045 1046 February 16, 2016 A.Dotti (global-V10-02-03) 1047 - Introduced new utility class G4MTBarrier implementing a synchronization 1048 point between threads. 1049 - Corrected typo for macro CONDITIONBROADCAST. 1050 1051 January 28, 2016 A.Dotti (global-V10-02-02) 1052 - Changed exception code in G4TWorkspacePool from G4TWorkspacePool 1053 to "WorkspaceNN". 1054 1055 December 17, 2015 G.Cosmo (global-V10-02-01) 1056 - Corrected conditions for proper treatment of gcc-5 in tls.hh and 1057 G4Threading.hh. 1058 1059 December 10, 2015 G.Cosmo (global-V10-02-00) 1060 - Removed unused and buggy operator=(const G4String&) in G4SubString. 1061 1062 November 5, 2015 G.Cosmo (global-V10-01-25) 1063 - Enabled units liter, L, dL, cL, mL in G4SystemOfUnits.hh and G4UnitsTable. 1064 Requires new CLHEP version 2.3.1.0. 1065 - Updated dates and tag-ID for release 10.2. 1066 1067 November 4, 2015 A.Dotti (global-V10-01-24) 1068 - Coverity fix in G4UniformRandPool. 1069 1070 October 21, 2015 V.Ivantchenko (global-V10-01-23) 1071 - G4PhysicsVector, G4Physics2DVector, G4PhysicsOrderedFreeVector: 1072 use std::lower_bound instead of old do/while loops according to 1073 proposal of K.Genser (FNAL); also minor cleanup of the code. 1074 1075 October 16, 2015 V.Ivantchenko (global-V10-01-22) 1076 - G4Pow: added protections against zero value of argument of methods powN(), 1077 powA() and A13(). Minor cleanup. 1078 1079 September 18, 2015 J.Allison (global-V10-01-21) 1080 - Added string length check in G4String::operator==. 1081 1082 August 28, 2015 G.Cosmo (global-V10-01-20) 1083 - Tune radial tolerance to same value as for Cartesian in G4GeometryTolerance. 1084 1085 August 21, 2015 J.Allison 1086 - Added 'inline' specification to functions in G4String.icc. 1087 1088 August 21, 2015 G.Cosmo (global-V10-01-19) 1089 - Temporarly commented out changes in G4SystemOfUnits.hh and G4UnitsTable, 1090 pending new release of CLHEP for the added units. 1091 1092 August 19, 2015 M.Maire (global-V10-01-18) 1093 - G4SystemOfUnits.hh : keep only liter, L, dL, cL, mL 1094 - Updated G4SIunits.hh and G4UnitsTable. 1095 1096 August 10, 2015 M.Maire 1097 - G4SystemOfUnits.hh : add dm, dm2, dm3, liter 1098 - Update G4SIunits.hh 1099 1100 August 12, 2015 G.Cosmo (global-V10-01-17) 1101 - Explicit settings for Intel-icc compiler in tls.hh. 1102 - Added missing inclusion of <assert.h> in G4UniformRandPool header. 1103 1104 August 10, 2015 G.Cosmo (global-V10-01-16) 1105 - Force use of G4MT wrappers for Intel-icc compiler for random numbers. 1106 Temporary solution, pending full migration to C++11 for CLHEP classes. 1107 1108 June 26, 2015 A.Dotti (global-V10-01-15) 1109 - Coverity fix in G4UniformRandPool and bug fixing 1110 1111 June 12, 2015 A.Dotti (global-V10-01-14) 1112 - Fix bug in G4CacheReference::Destroy method 1113 - Modify behavior of G4Cache to identify internal 1114 inconsistencies. An exception is thrown 1115 1116 May 27, 2015 J.Allison (global-V10-01-13) 1117 - Define G4THREADSLEEP(tick) macro in G4Threading.hh also for sequential 1118 builds. 1119 1120 May 26, 2015 G.Cosmo (global-V10-01-12) 1121 - Corrected logic for use of TLS on clang compiler for the Random module. 1122 1123 May 22, 2015 G.Cosmo (global-V10-01-11) 1124 - Added inclusion of <unistd.h> in G4Threading.hh for self-consistency 1125 with the call to sleep(). 1126 1127 May 18, 2015 A.Dotti (global-V10-01-10) 1128 - Adding copy constructor and assignement operator for G4Cache 1129 Addressing issue #1739 1130 1131 May 13, 2015 G.Cosmo (global-V10-01-09) 1132 - Added guard against potential loop in G4RandomTools::G4LambertianRand(). 1133 1134 May 5, 2015 A.Dotti (global-V10-01-08) 1135 - Introduced IsMasterThread() function as suggested by J. Allison. 1136 1137 April 26, 2015 V.Ivantchenko 1138 - G4StatDouble: return RMS 0 instead of -1 in the case the number 1139 of entries is below 2 (fixes arithmetic exceptions in examples for 1140 run with 1 event only). 1141 1142 April 9, 2015 A.Dotti (global-V10-01-07) 1143 - Fix testRandPool for sequential builds 1144 1145 April 8, 2015 G.Cosmo (global-V10-01-06) 1146 - Some code cleanup/formatting in G4UniformRandPool. 1147 Corrected signature of destroy_pool_align() for Windows to fix 1148 compilation errors. 1149 - Corrected GNUmakefile in HepRandom unit tests. 1150 1151 April 8, 2015 A.Dotti (global-V10-01-05) 1152 - Fixed compilation error on Windows. 1153 1154 April 8, 2015 A.Dotti (global-V10-01-04) 1155 - First implementation of G4UniformRandPool for serial generation of 1156 uniform random numbers. 1157 Note: feature not actived yet. 1158 1159 March 27, 2015 G.Cosmo (global-V10-01-03) 1160 - Added "g/mole" Molar mass definition to G4UnitsTable. 1161 1162 February 20, 2015 G.Cosmo (global-V10-01-02) 1163 - Added type-info information to G4Allocator to aid debugging. 1164 1165 January 12, 2015 G.Cosmo (global-V10-01-01) 1166 - Define G4THREADSLEEP(tick) macro in G4Threading.hh. 1167 1168 December 10, 2014 G.Cosmo (global-V10-01-00) 1169 - Define support for c++11 thread_local keyword on Intel-icc compiler 1170 version 15. 1171 1172 November 18, 2014 G.Cosmo (global-V10-00-44) 1173 - G4FPEDetection.hh: added call to 'sigfillset' to clear any signals 1174 before any use of sigset_t in InvalidOperationDetection() for both 1175 MacOS and Linux, as suggested in specifications. 1176 1177 November 17, 2014 M.Kelsey 1178 - G4FPEDetection.hh: restrict FPE trapping to GCC only, excluding CLang. 1179 Addresses problem with Qt generating an apparent FPE deep inside its 1180 code with MacOSX CLang builds. 1181 1182 November 7, 2014 G.Cosmo (global-V10-00-43/42) 1183 - Coherent use of 'thread_local' keyword for c++11, when supported. 1184 - Updated dates and tag-ID for release 10.1. 1185 1186 November 6, 2014 V.Ivantchenko 1187 - G4StatDouble: corrected use 'const' interface for Add() method. 1188 1189 November 5, 2014 A.Dotti (global-V10-00-41) 1190 - Added missing G4GLOB_DLL specification for DLL import/export to 1191 G4CacheDetails specialization of cache reference for double. 1192 1193 October 24, 2014 J.Apostolakis, A.Dotti (global-V10-00-39,-40) 1194 - Adding template class G4TWorkspacePool. 1195 1196 October 24, 2014 A.Dotti (global-V10-00-38) 1197 - Introduced G4Threading enum to hold thread IDs constants. 1198 - G4MTcoutDestination now supports special non-worker threads for 1199 which the ID makes no sense. 1200 1201 October 16, 2014 A.Dotti (global-V10-00-37) 1202 - Fixed G4ThreadLocalSingleton destructor. 1203 1204 October 16, 2014 A.Dotti (global-V10-00-36) 1205 - Introduced G4MUTEXDESTROY macro. 1206 1207 October 9, 2014 A.Dotti (global-V10-00-35) 1208 - Adding methods G4MTcoutDestination::GetPrefixString() and 1209 G4MTcoutDestination::GetFullPrefixString() that return the 1210 thread cout identification prefix respectively without and 1211 with thread ID. Requested by visualization. 1212 1213 September 23, 2014 G.Cosmo (global-V10-00-34) 1214 - Use G4Exp, G4Log and G4Pow to speedup G4JTPolynomialSolver. 1215 - Updated dates and tag-ID. 1216 1217 August 29, 2014 A.Dotti (global-V10-00-33) 1218 - Coverity fix #58649. 1219 1220 August 19, 2014 M.Asai (global-V10-00-32) 1221 - Recover G4PhysicsModelCatalog::Destroy() that has slipped out 1222 from previous tag. 1223 1224 August 19, 2014 K.Genser (global-V10-00-31) 1225 - G4PhysicsModelCatalog: made it more const; hide operator= and copy c'tor. 1226 Co-works with tag "track-V10-00-04" 1227 1228 August 5, 2014 V.Ivanchenko (global-V10-00-30) 1229 - G4PhysicsModelCatalog: make destructor public in order delete the class 1230 at exit. 1231 - G4Pow: fixed destruction. 1232 1233 August 5, 2014 V.Ivanchenko (global-V10-00-29) 1234 - G4Pow: make destructor public in order delete the class at exit. 1235 1236 July 21, 2014 V.Ivanchenko (global-V10-00-28) 1237 - G4PhysicsVector: removed G4Allocator. 1238 - G4PhysicsModelCatalog: added destruction of catalog. 1239 1240 July 14, 2014 G.Cosmo (global-V10-00-27) 1241 - Added symbol to exclusion list in windefs.h. 1242 1243 July 1, 2014 A.Dotti (global-V10-00-26) 1244 - Added std::flush to receiving of G4MTcoutDestination. 1245 Addressing problem report #1644. 1246 1247 June 13, 2014 A.Dotti (global-V10-00-25) 1248 - Bug fix in G4Threading::IsMultiThreadedApplication function 1249 for sequential mode. 1250 1251 June 12, 2014 A.Dotti (global-V10-00-23,global-V10-00-24) 1252 - Added forward of cout and cerr in MT to master G4coutDestination 1253 if setup in client derived classes. To be used by special 1254 sessions (e.g. GUI) that want to intercept thread cout/cerr. 1255 1256 May 21, 2014 G.Cosmo (global-V10-00-22) 1257 - Correction in G4Exp::G4Expf() to remove 2nd order term contribution 1258 repeated twice by mistake. Correction included in VDT 0.3.7 library, 1259 kindly contributed by D.Piparo (CERN). 1260 1261 May 6, 2014 G.Cosmo (global-V10-00-21) 1262 - Temporarly set G4ThreadLocalStatic to "static __thread" in tls.hh for 1263 platforms supporting TLS (overcomes limitation in latest GCC compiler). 1264 - Updated version and date for development. 1265 1266 May 5, 2014 V.Ivantchenko (global-V10-00-20) 1267 - Moved G4PhysicsVector::Value(energy,idx) from inline back to source. 1268 - G4Physics2DVector::Retrieve(): added extra protection to fix 1269 Coverity reports in classes which are using 2-D vector. 1270 1271 April 24, 2014 G.Cosmo (global-V10-00-19, global-V10-00-18) 1272 - Added protection for clang on MT with c++11, as not yet supporting 1273 'thread_local' keyword on MacOS (!). Added protection in all G4MTRandom* 1274 classes. 1275 - More rationalisation of definitions in tls.hh. 1276 1277 April 24, 2014 G.Cosmo (global-V10-00-17) 1278 - Rationalised definitions in tls.hh and corrected use of 'thread_local' 1279 keyword to conform to Standard. 1280 1281 April 11, 2014 A.Dotti (global-V10-00-16) 1282 - New utility function G4Threading::IsMultithreadedApplication() 1283 and G4Threding::SetMultithreadedApplication(bool) used to 1284 specify which type of kernel is instantiated indipendently by 1285 build type (e.g. to distinghuish application migrated to MT or 1286 still using sequential run manager) 1287 1288 April 11, 2014 G.Cosmo (global-V10-00-15) 1289 - Move G4PhysicsVector::Value(energy,idx) to inline. 1290 1291 April 10, 2014 G.Cosmo (global-V10-00-14) 1292 - Get rid of deprecated 'register' storage class specifier in source files. 1293 1294 April 8, 2014 G.Cosmo (global-V10-00-13) 1295 - Define G4ThreadLocal to be std::thread_local in case C++11 standard is 1296 used (temporarly enabled only on GNUMake system for testing, through use 1297 of environment variable G4USE_STD11); directly adopt CLHEP classes in such 1298 a case instead of G4MT* wrappers. 1299 1300 March 27, 2014 G.Cosmo (global-V10-00-12) 1301 - Fixed signature for call to G4Exception in G4Threading.cc. 1302 1303 March 26, 2014 G.Cosmo (global-V10-00-11) 1304 - Minor refinements to G4Poisson, based on suggestions by K.Genser/FNAL. 1305 1306 March 26, 2014 G.Cosmo (global-V10-00-10) 1307 - Minor code cleanup. 1308 1309 March 25, 2014 A.Dotti (global-V10-00-08,global-V10-00-09) 1310 - Introduce G4SetPinAffinity function (available only for LINUX): 1311 "locks" a pthread to the given CPU index. This will be used by run 1312 category as an option to improve performance on high-core counts CPUs. 1313 1314 March 16, 2014 M.Asai (global-V10-00-07) 1315 - G4MTcoutDestination : by default ignores the printout during 1316 the initialization of each thread, as they are identical to 1317 each other and thus redundant. 1318 1319 March 13, 2014 G.Cosmo (global-V10-00-06) 1320 - Fix in G4SimplexDownhill header to proper define header guard. 1321 1322 February 7, 2014 V.Ivantchenko (global-V10-00-05) 1323 - G4Physics2DVector::Retrieve(): fixed Coverity report for "taited scalar". 1324 - Updated date and tag-ID for geant4-10-00-ref-02. 1325 1326 February 5, 2014 T.Koi (global-V10-00-04) 1327 - Added protections to avoid core dumps caused by division by zero 1328 and other minor updates in G4ConvergenceTester. 1329 1330 January 23, 2014 G.Cosmo (global-V10-00-03) 1331 - Protected __attribute__ calls in G4ios.cc from use in WIN32. 1332 1333 January 13, 2014 A. Dotti (global-V10-00-02) 1334 - Call G4iosInitialization/G4iosFinalization with functions marked 1335 __attribute__((destructor)) and __attribute__((destructor)) to 1336 guarantee G4cout/G4cerr are initialized correctly before main 1337 function 1338 1339 January 14, 2014 V.Ivantchenko (global-V10-00-01) 1340 - G4PhysicsVector: small performance optimisation; division by 6 substituted 1341 by multiplication of 1/6 constant. 1342 1343 December 17, 2013 G.Cosmo (global-V10-00-00) 1344 - Explicitly check the upper bound of 'numberOfYNodes' in 1345 G4Physics2DVector::Retrieve() (read from file), to fix defect 1346 reported by Coverity (L.Pandola). 1347 - Updated date and tag-ID for geant4-10-00-ref-01. 1348 1349 November 20, 2013 A.Dotti (global-V09-06-82) 1350 - Patched G4HepRandom to create default engine if G4Random::setTheSeed 1351 is called at beginning of job (allowed in SEQ). 1352 1353 November 20, 2013 G.Cosmo (global-V09-06-81) 1354 - Patched definition of G4MUTEXINIT() for Windows in G4Threading.hh 1355 to allow for compilation. 1356 1357 October 30, 2013 G.Cosmo (global-V09-06-80) 1358 - Moved G4Poisson to inline on suggestion by K.Genser. 1359 - Updated dates and tag-ID for release 10.0. 1360 1361 October 30, 2013 A.Dotti (global-V09-06-79) 1362 - Corrected compilation warning for non-used parameter in 1363 G4ThreadLocalSingleton class. 1364 - Fix for WIN32/VC9 compilation errors for G4Cache. 1365 1366 Octover 29, 2013 A.Dotti (global-V09-06-78) 1367 - Adding G4ThreadPrivateSingleton class for thread-private singleton 1368 handling and G4AutoDelete namespace with utility function for 1369 simplified garbage-collection: management/include/G4AutoDelete.hh 1370 management/include/G4ThreadLocalSingleton.hh. Two unit tests have 1371 been developed management/test/testAutoDelete.cc and 1372 management/test/testG4TLSSingleton.cc 1373 - Adding G4MUTEXINIT macro that expands to pthread_mutex_init 1374 1375 October 29, 2013 A.Dotti (global-V09-06-77) 1376 - Retagging, wrong commit previous tag 1377 1378 October 28, 2013 A.Dotti (global-V09-06-76) 1379 - Bug fixing in G4Cache::Put method signature 1380 1381 October 23, 2013 A.Dotti (global-V09-06-75) 1382 - Adding G4Cache classes for a thread-private data members in 1383 shared classes. 1384 1385 October 18, 2013 V.Ivantchenko (global-V09-06-74) 1386 - G4PhysicsVector - in the FindBinLocation method extra checks 1387 are added for Log and Lin vectors to avoid rare cases when bin 1388 is computed incorrectly due to limited numerical precision of 1389 computations (P.Arce report) 1390 1391 October 02, 2013 V.Ivantchenko (global-V09-06-73) 1392 - G4Pow - fixed typo in previous tag 1393 1394 October 02, 2013 V.Ivantchenko (global-V09-06-72) 1395 - G4Pow - is now static not G4ThreadLocal, added check that it is 1396 instantiated in the master thread 1397 - G4PhysicsVector - FindBinLocation is now inlined and not virtual, 1398 using table type different algorithms are invoked to compute bin 1399 number; use G4Log 1400 - G4PhysicsLogVector, G4PhysicsLinearVector, G4PhysicsOrderedFreeVector, 1401 G4LPhysicsFreeVector, G4PhysicsFreeVector, G4PhysicsLnVector - removed 1402 FindBinLocation methods 1403 - G4PhysicsLogVector - use G4Log and G4Exp instead of log10 1404 1405 October 1, 2013 T.Koi (global-V09-06-71) 1406 - Add data member of name to G4ConvergenceTester 1407 Tune format of output result 1408 1409 September 26, 2013 M.Asai (global-V09-06-70) 1410 - Fix a typo of class name in sources.cmake. 1411 1412 September 26, 2013 M.Asai (global-V09-06-69) 1413 - Introducing G4PhysicsModelCatalog class to be used my physics models 1414 and G4Track. 1415 1416 September 16, 2013 V.Ivantchenko (global-V09-06-68) 1417 - G4Pow: optimized logA() and logX() functions. 1418 1419 September 4, 2013 G.Cosmo (global-V09-06-67) 1420 - Added inclusion of <stdin.h> in G4Exp and G4Log headers. 1421 Make them matching to std::exp and std::log on Windows plaatform. 1422 - Use G4Log and G4Exp within G4Pow and G4Poisson. Expected slight 1423 performance boost; numerical results to be validated. 1424 1425 September 3, 2013 M.Asai (global-V09-06-66) 1426 - Introducing G4Threading::IsWorkerThread() method. It returns true when 1427 it is invoked in a worker thread, while it returns true for masther 1428 thread and for sequential mode. 1429 1430 September 3, 2013 G.Cosmo, V.Ivantchenko (global-V09-06-65, global-V09-06-64) 1431 - Added G4Log and G4Exp headers for fast log and exp; converted from 1432 the VDT library (http://svnweb.cern.ch/world/wsvn/vdt). 1433 1434 August 31, 2013 M.Asai (global-V09-06-63) 1435 - G4Threading::G4GetThreadId() returns -2 instead of 0 for the case 1436 of sequential mode. 1437 1438 August 26, 2013 A.Dotti(global-V09-06-62) 1439 - Add namespace G4Threading to functions defined in G4Threading.hh 1440 1441 August 26, 2013 A.Dotti(global-V09-06-61) 1442 - Correct MT defects identified by DRD: 1443 i. Protect G4MTcoutDestination 1444 ii. Correct check of already-locked condition for G4AutoLock 1445 iii. Protect creation of shared resource in G4MTHepRandom 1446 - Add performance test for RNG engines 1447 1448 August 15, 2013 M.Asai (global-V09-06-60) 1449 - G4MTcoutDestination now has a capabilitu of printing out only for 1450 the selected thread to make the display readable. 1451 1452 August 6, 2013 V.Ivantchenko (global-V09-06-59) 1453 - Fixed compillation 1454 August 6, 2013 V.Ivantchenko (global-V09-06-58) 1455 - G4PhysicsLogVector, G4PhysicsLnVector - more accurate check of 1456 bin inside FindBinLocation method to avoid non-reproducibility 1457 1458 July 24, 2013 V.Ivantchenko (global-V09-06-57) 1459 - G4StatDouble: new method add(G4StatDouble*) to be used in MT mode 1460 1461 July 16, 2013 G.Cosmo (global-V09-06-56) 1462 - Correction to CMake scripts for granular build. 1463 - Updated date and tag-ID in G4Version.hh. 1464 1465 July 3, 2013 A.Dotti (global-V09-06-55) 1466 - Previous tag was broken. 1467 1468 July 3, 2013 A.Dotti (global-V09-06-54) 1469 - Adding missing implementation of fucntion G4SetThreadId for sequential builds 1470 1471 July 3, 2013 V.Ivantchenko (global-V09-06-53) 1472 - G4PhysicsVector: added pointer to G4Pow in order to speedup 1473 bin location for logarithmic vectors (result are identical) 1474 - G4PhysicsLogVector - use in FindBinLocation G4Pow::log10A instead 1475 of std::log 1476 - G4PhysicsLnVector - use in FindBinLocation G4Pow::logX instead 1477 of std::log 1478 1479 July 1, 2013 V.Ivantchenko (global-V09-06-52) 1480 - G4PhysicsVector: make FindBin method public, added method 1481 FindLinearEnergy for sampling of energy for vectors 1482 with cumulative probability function 1483 - G4Physics2DVector: make FindBinLocationX and FindBinLocationY 1484 methods public, add method FindLinearX for sampling of energy 1485 for 2D cumulative probability functions, added new inlined 1486 method Value with different signature 1487 1488 June 26, 2013 G.Cosmo (global-V09-06-51) 1489 - Restore default precision in cout in G4AllocatorList. 1490 1491 June 24, 2013 G.Cosmo (global-V09-06-50) 1492 - Added tag ID specific for MT mode in G4Version.hh. 1493 1494 June 21, 2013 M.Asai (global-V09-06-49) 1495 - G4AllocatorList::Destroy() takes the verbosity. Also, due to the revised 1496 order of deletion of kernel classes, G4cout is available for this method 1497 for worker thread as well. 1498 1499 June 21, 2013 G.Cosmo (global-V09-06-48) 1500 - Refined printout of statistics in G4AllocatorList::Destroy(). 1501 1502 June 19, 2013 G.Cosmo (global-V09-06-47) 1503 - Protected printout of statistics in G4AllocatorList::Destroy() within 1504 G4VERBOSE and avoid it in MT-mode. 1505 1506 June 18, 2013 G.Cosmo (global-V09-06-46) 1507 - Made pure virtual utility methods in G4AllocatorBase, so statistics 1508 are accessible from allocator's base class pointer. 1509 - Corrected logic in G4AllocatorList::Destroy() to effectively delete 1510 allocated pools and release memory. 1511 Added statistics on pools and amount of memory released. 1512 1513 June 17, 2013 M.Asai (global-V09-06-45) 1514 - Split destructor and Destroy() method in G4AllocatorList. 1515 They should be invoked separately. Destroy() now may take 1516 an integer argument that is the number of static G4Allocator 1517 objects. Such static G4Allocator objects are not deleted. 1518 1519 June 17, 2013 G.Cosmo 1520 - Move virtual destructor of G4AllocatorBase to source, to avoid 1521 misalignments on deletion on exit through the base-class pointer. 1522 - Comment out deletion of allocators pointers for testing and reset 1523 storage. 1524 1525 June 17, 2013 G.Cosmo (global-V09-06-44) 1526 - Temporarly avoid resetting storage in G4AllocatorList::Destroy(). 1527 1528 June 16, 2013 M.Asai (global-V09-06-43) 1529 - Introducing G4AllocatorList class which stores pointers of all 1530 G4Allocator objects for each thread so that they all are cleanly 1531 deleted at the program termination. 1532 - Adding G4AllocatorBase base class to define virtual destructor 1533 and virtual method for G4Allocator. 1534 1535 June 15, 2013 V.Ivantchenko (global-V09-06-42) 1536 - G4PhysicsVector: added protection to avoid check energy value 1537 outside vector when bin location is performed/ 1538 1539 June 14, 2013 V.Ivantchenko (global-V09-06-41) 1540 - G4PhysicsVector: make class read-only in run time, access to 1541 value only via const methods; to enable Spline, SetSpline command 1542 should be applied after vector is filled, or equivalently 1543 direct call to fill second derivatives should be done. 1544 1545 June 14, 2013 G.Cosmo (global-V09-06-40) 1546 - Removed split mechanism from G4PhysicsVector; removed G4PhysicsVectorCache 1547 class; removed G4PVSplitter. Made G4PhysicsVector a read-only class. 1548 - Removed G4Physics2DVectorCache class, no longer used. 1549 - Updated tag-id in G4Version.hh to "1000". 1550 1551 June 12, 2013 G.Cosmo (global-V09-06-39) 1552 - Simplified implementation of new/delete operators for G4PhysicsVector 1553 and G4PhysicsVectorCache and avoid deletion of allocator global pointers 1554 in respective destructors. 1555 1556 June 7, 2013 G.Cosmo (global-V09-06-38) 1557 - Added call to clear() in G4PhysicsTable::clearAndDestroy(). 1558 - Added 'safe' inclusion of <windows.h> from G4Threading.hh, in new 1559 header windefs.hh. 1560 - Updated date and tag for 10.0-Beta. 1561 1562 June 5, 2013 G.Folger (global-V09-06-37) 1563 - In management/G4FPEDetection.hh add first version of stack backtrace 1564 when FPE exception is detected. Linux only. 1565 1566 May 29, 2013 G.Cosmo (global-V09-06-36) 1567 - Fix for allowing compilation on Windows in G4Threading: disable definition 1568 of min()/max() and 'pascal' from inclusion of <windows.h>. 1569 1570 May 29, 2013 G.Cosmo (global-V09-06-35) 1571 - Removed unnecessary thread-local specifications in G4GeometryTolerance 1572 singleton, as it is initialised and configured only once by master thread 1573 before the event loop. 1574 - Consistently use wrappers and typedefs from G4Threading for pthreads 1575 functions and types in G4MTHepRandom, G4PVSplitter and G4PhysicsVector, 1576 to allow for porting on Windows. 1577 1578 May 23, 2013 M.Asai (global-V09-06-34) 1579 - Replaced G4coutIdDestination class to G4MTcoutDestination class for cleaner 1580 handling of thread-local cout/cerr. 1581 1582 May 22, 2013 G.Cosmo (global-V09-06-33) 1583 - Fix in G4Threading for sequential mode in definition of G4GetNumberOfCores(). 1584 - Some code cleanup. 1585 1586 May 18, 2013 A.Dotti (global-V09-06-32) 1587 - Fix for sequentual compilation error introduced in latest tag. 1588 1589 May 17, 2013 A.Dotti (global-V09-06-31) 1590 - Adding new cout streaming for MT: on file and with header 1591 at each line (with optional buffering) 1592 - Adding G4GetNumberOfCores and G4GetThreadId global helper functions 1593 1594 May 16, 2013 V.Ivanchenko (global-V09-06-30) 1595 - G4Physics2DVector - removed cache; changed signature of 1596 several methods; all run time methods become const; 1597 the class become read only in run time 1598 1599 May 16, 2013 A.Dotti (global-V09-06-29) 1600 - Adding explicit creation of worker threads as "joinable" 1601 1602 May 14, 2013 G.Cosmo (global-V09-06-28) 1603 - Restored thread-local instance pointer in G4Pow... 1604 1605 May 13, 2013 M.Asai (global-V09-06-27) 1606 - Roll back G4Physics2DVector class to global-V09-06-24 to avoid 1607 G4Physics2DVectorCache thread-local. 1608 - G4Pow: removed G4ThreadLocal declaration. 1609 Fixed compilation warning from gcc-4.7 in logA() method. 1610 1611 May 11, 2013 M.Asai (global-V09-06-26) 1612 - Fixed Windows runtime error of the previous tag. 1613 1614 May 10, 2013 M.Asai (global-V09-06-25) 1615 - Make G4Physics2DVectorCache used in G4Physics2DVector class thread-local. 1616 1617 May 8, 2013 G.Cosmo (global-V09-06-24) 1618 - Improved accuracy for log10A() and powA() in G4Pow (V.Ivantchenko). 1619 - Get rid of thread-local specifications for constant variables and data 1620 in HEPNumerics module. 1621 1622 May 7, 2013 V.Ivanchenko (global-V09-06-23) 1623 - G4Pow: added new methods logX() and expA(); improved accuracy of 1624 logA() and A13(): now all these methods provide accuracy better than 0.1% 1625 for any value of argument. 1626 - Added post-const qualifier to all methods in G4Pow (G.Cosmo). 1627 1628 May 2, 2013 V.Ivanchenko (global-V09-06-22) 1629 - Fixed typo introduced in G4Pow in tag "06-20". 1630 1631 May 2, 2013 G.Cosmo (global-V09-06-21) 1632 - Updated tags in G4Version. 1633 1634 April 30, 2013 V.Ivanchenko (global-V09-06-20) 1635 - G4Pow: fixed bug in interpolation inside logA() and A13() methods, 1636 now interpolation is accurate at better than per mille level; in worse 1637 cases (x~1.45 or x~0.75) better than 2% level. 1638 1639 April 18, 2013 G.Cosmo (global-V09-06-19) 1640 - Moved 'tpmalloc' and 'memoryprotection' modules to source/externals. 1641 1642 April 9, 2013 A.Dotti (global-V09-06-18, global-V09-06-17) 1643 - Fix for compilation on Windows, bug introduced in latest tag 1644 for Conditions 1645 1646 April 9, 2013 A.Dotti (global-V09-06-16) 1647 - Adding typedef for new G4Condtion type (pthread_cond_t) and macros 1648 G4CONDITIONWAIT and G4CONDITIONBROADCAST 1649 1650 April 7, 2013 A.Dotti (global-V09-06-15) 1651 - Bug fixing: do not delete static data mamber theGenerator 1652 (only affects MT builds) 1653 1654 March 29, 2013 G.Cosmo (global-V09-06-14) 1655 - Code cleanup for HEPRandom module and new introduced MT classes. 1656 Added G4heprandom sub-library to the build system.i 1657 Moved G4Poisson to non-inline. 1658 1659 March 18, 2013 A.Dotti (global-V09-06-13) 1660 - Enable MT mode for MacOSX with gcc >= 4.7. 1661 - Corrected getpid() problem in G4Threading. 1662 - Fixed shadowing warning from G4Autolock (G.Cosmo). 1663 1664 March 12, 2013 G.Cosmo (global-V09-06-12, global-V09-06-11) 1665 - Added public accessors for MT data to G4PhysicsVector. 1666 1667 March 11, 2013 G.Cosmo (global-V09-06-10) 1668 - Further optimisation in G4ReferenceCountedHandle for the use of allocators. 1669 - Redefined G4DLL_API to G4GLOB_DLL to avoid cases of macro redefinition. 1670 1671 March 9, 2013 G.Cosmo (global-V09-06-09) 1672 - Take out G4Threading revision picked up from trunk, causing compilation 1673 errors on Linux and Windows. Restored version as in "global-V09-06-05". 1674 1675 March 8, 2013 G.Cosmo (global-V09-06-08) 1676 - Renamed MT macro to safer ID in G4PhysicsVector. 1677 1678 March 7, 2013 G.Cosmo (global-V09-06-07) 1679 - Renamed internal type name in G4PhysicsVector for MT split. 1680 1681 March 7, 2013 G.Cosmo (global-V09-06-06) 1682 - Renamed G4MTTransitoryPhysicsVector to G4PVSplitter and adopt export/import 1683 flag for static members to overcome problems on Windows DLLs build. 1684 - Cleanup of code for MT changes in G4PhysicsVector, G4ios and G4strstreambuf. 1685 - Moved G4MTTransitory and G4MTTransitoryParticle headers in geometry and 1686 particles categories respectively. 1687 - Simplified setup for import/export flags on Windows in G4Types.hh. 1688 Replacing G4DLLIMPORT/G4DLLEXPORT flags with G4DLL_API. 1689 1690 February 25, 2013 A.Dotti (global-V09-06-05) 1691 - Fixing naming clash with G4MT for G4cout variables. 1692 1693 February 25, 2013 A.Dotti (global-V09-06-04) 1694 - Fixed compilation warning and naming issue in G4AutoLock and G4Threading. 1695 1696 February 22, 2013 G.Cosmo (global-V09-06-03) 1697 - Removed unused private members in G4JTPolynomialSolver. 1698 1699 February 21, 2013 J.Madsen 1700 - Minor changes to G4ConvergenceTester: output can now optionally be 1701 redirected a different stream (defaults is cout). 1702 Accessors are made public and check if data has been added. 1703 1704 February 20, 2013 A.Dotti (global-V09-06-02) 1705 - Added new classes implementing platform independent threading 1706 G4AutoLock and G4Threading. Not yet activated. 1707 - Generalised flags for MacOS multi-threaded mode (G.Cosmo). 1708 1709 February 13, 2013 G.Cosmo (global-V09-06-01) 1710 - Withdrawn changes introduced in previous tag for G4UnitsTable. 1711 - Cleanup of MT code on kernel G4 classes. 1712 1713 February 08, 2013 J.Jacquemier (global-V09-06-00) 1714 - G4UnitsTable: Migrated to STL map, iterator and algorithm 1715 1716 January 14, 2013 A.Dotti, G.Cosmo 1717 - Merged changes for MT development. 1718 1719 November 16, 2012 V.Ivantchenko (global-V09-05-15) 1720 - G4Physics2DVector: fixed comments, more correct references. 1721 - Updated date for release 9.6. 1722 1723 November 5, 2012 M.Maire (global-V09-05-14) 1724 - Reverted change to G4UnitsTable for parsec unit definition, introduced 1725 in tag "global-V09-05-10". Back to use 'pc' to avoid formatting printout 1726 issues. 1727 1728 November 1, 2012 G.Cosmo (global-V09-05-13) 1729 - Added missing header in sources.cmake script for management module. 1730 1731 October 24, 2012 G.Cosmo (global-V09-05-12) 1732 - Use 'const G4String&' as arguments in G4coutdestination instead of 1733 plain string copy to reduce memory churn (K.Murakami). 1734 - Removed unnecessary string data member in G4PhysicsVector to reduce 1735 memory footprint. Removed related Get/SetComment() methods. 1736 - Co-works with tags: intercoms-V09-05-06 and interfaces-V09-05-29. 1737 1738 October 22, 2012 V.Ivantchenko (global-V09-05-11) 1739 - G4Physics2DVector: added bicubic interpolation option. 1740 No effect on results if option is not active. 1741 - G4PhysicsVector - fixed typo in comments. 1742 1743 October 18, 2012 G.Cosmo (global-V09-05-10) 1744 - Added header for thread local storage defines. 1745 - Replaced 'pc' with 'parsec' in G4UnitsTable unit definition. 1746 1747 October 9, 2012 G.Cosmo (global-V09-05-09) 1748 - Temporarily comment out inclusion of headers for system of units and 1749 physical constants in globals.hh. 1750 1751 August 8, 2012 G.Cosmo (global-V09-05-08) 1752 - Fixed more cases for explicitly use inclusion of headers for system of 1753 units and physical constants. 1754 1755 July 5, 2012 G.Cosmo (global-V09-05-07) 1756 - Implemented workaround to aid for templated symbols of 1757 G4ReferenceCountedHandle to be properly imported/exported 1758 for DLL build on Windows systems based on CMake (P.Mato). 1759 Addressing problem report #1329. 1760 1761 June 11, 2012 G.Cosmo (global-V09-05-06) 1762 - Explicitly use inclusion of headers for system of units and physical 1763 constants, in plan to remove implicit inclusion from globals.hh. 1764 1765 June 6, 2012 P.Gumplinger 1766 - Make sure that vectors are actually ordered in G4PhysicsOrderedFreeVector. 1767 1768 May 30, 2012 G.Cosmo (global-V09-05-05) 1769 - Fixed case of shadowed variable in G4Tokenizer header. 1770 1771 May 16, 2012 V.Ivantchenko (global-V09-05-04) 1772 - G4PhysicsVector: added GetMaxEnergy() inlined method; indicate inline 1773 methods in header file by explicitly adding inline keyword; added inline 1774 method Value() and private method ComputeValue() in order to have inline 1775 access to the value for the case of multiple calls with the the same 1776 energy value. 1777 1778 May 15, 2012 G.Cosmo (global-V09-05-03) 1779 - Fixed spurious cases of hidden variable visibility, detected with 1780 '-Wshadow' compilation option on gcc compiler. 1781 1782 April 23, 2012 G.Cosmo (global-V09-05-02) 1783 - Added call to BuildUnitsTable() from static accessor to guarantee proper 1784 initialization of units in static calls. 1785 Modified warnings in cout to be compliant with G4Exception syntax. 1786 1787 February 7, 2012 G.Cosmo (global-V09-05-01) 1788 - Corrected cases of variables never read in G4ConvergenceTester and 1789 G4DataInterpolation. 1790 1791 January 10, 2012 G.Cosmo (global-V09-05-00) 1792 - Added GetClockTime() function to G4Timer to print the actual clock time. 1793 - Fixed compilation errors in G4StatDouble for constness in signature of 1794 rms() methods. 1795 1796 November 24, 2011 J.Apostolakis 1797 - Introduced G4StatDouble class in HEPNumerics module, a class providing 1798 simple "one variable statistics" capability; adapted from the original 1799 code by G.Santin included in the GRAS tool. 1800 1801 November 19, 2011 V.Ivantchenko (global-V09-04-24) 1802 - G4Pow: reduced vector for factorial from 512 to 170 (result should be 1803 below DBL_MAX). Fixed computation of log(factorial). 1804 1805 November 17, 2011 G.Folger (global-V09-04-23) 1806 - Added G4lrint(), G4lint(), G4rint() as global utility functions in 1807 templates.hh for generic use. 1808 1809 November 15, 2011 G.Cosmo (global-V09-04-22) 1810 - Removed call to obsolete G4Exception signature in G4Timer and G4SliceTimer. 1811 - Added new line to G4Exception notification to properly flush buffer. 1812 1813 November 10, 2011 V.Ivantchenko (global-V09-04-21) 1814 - Fixed Coverity defects on G4Physics2DVector. 1815 1816 November 10, 2011 G.Cosmo (global-V09-04-20) 1817 - Updated banner for G4Exception and some cleanup. 1818 - Changed date for release 9.5. 1819 1820 October 20, 2011 M.Asai (global-V09-04-19) 1821 - Removing obsolete G4Exception from globals.hh and G4Exception.cc. 1822 1823 October 7, 2011 V.Ivantchenko (global-V09-04-18) 1824 - G4Physics2DVector, G4Physics2DVectorCache: new classes implementing 1825 a 2-dimensional vector with linear interpolation. 1826 1827 September 23, 2011 V.Ivantchenko (global-V09-04-17) 1828 - G4PhysicsLogVector, G4PhysicsLnVector, G4PhysicsLinearVector: updated 1829 to safer implementation of ScaleVector() method. 1830 1831 August 25, 2011 G.Cosmo (global-V09-04-16) 1832 - Added banner for errors and warnings in G4Exception. 1833 Redirect warnings to cout instead of cerr. 1834 1835 August 19, 2011 G.Cosmo (global-V09-04-15) 1836 - Use G4Allocator for allocation of G4PhysicsVector and G4PhysicsVectorCache 1837 objects. 1838 - Replaced G4IOS_ALLOC_EXPORT flag with G4GLOB_ALLOC_EXPORT. 1839 1840 August 16, 2011 H.Kurashige (global-V09-04-14) 1841 - Added 'dBin', 'baseBin' and 'verboseLevel' in the base class G4PhysicsVector 1842 to avoid additional properties data introduced in derived classes. 1843 - Fixed ScaleVector() method in G4PhysicsVector derived classes. 1844 1845 August 09, 2011 M.Asai (global-V09-04-13) 1846 - Fixed a spelling mistake in globals.hh and G4Exception.cc for 1847 G4ExceptionDesciption typedef. 1848 1849 July 28, 2011 M.Asai (global-V09-04-12) 1850 - Added two now G4Exception syntax. 1851 1852 July 12, 2011 G.Cosmo (global-V09-04-11) 1853 - Added missing post-const qualifier to G4String::compareTo() methods 1854 (M.Kelsey). 1855 - Updated date and version. 1856 1857 June 20, 2011 V.Ivanchenko (global-V09-04-10) 1858 - Added protection in G4Pow::powN() method for high exponent values. 1859 1860 June 15, 2011 B.Morgan (global-V09-04-09) 1861 - More fixes for CMake setup. 1862 1863 May 19, 2011 B.Morgan (global-v09-04-08) 1864 - CMakeLists.txt : Added G4IOS_ALLOC_EXPORT compiler definition via 1865 add_definitions so all submodules pick it up. 1866 1867 May 13, 2011 G.Cosmo (global-V09-04-07) 1868 - Fixed compilation warnings from gcc-4.6.0 for variables set but not used 1869 in G4AnalyticalPolSolver. 1870 1871 May 10, 2011 G.Cosmo (global-V09-04-06) 1872 - Cleared unused CLHEP headers included in Randomize.hh. 1873 1874 May 5, 2011 G.Cosmo (global-V09-04-05) 1875 - Added G4Evaluator typedef in G4Evaluator.hh header. 1876 1877 March 31, 2011 V.Ivantchenko 1878 - Fixed internal copy constructor in G4PhysicsVector. 1879 1880 Mar 25, 2011 G.Cosmo (global-V09-04-04) 1881 - Added more G4 types for random classes in Randomize.hh. 1882 - Use G4UniformRand() in G4Poisson. 1883 1884 Mar 25, 2011 G.Cosmo (global-V09-04-03) 1885 - Added G4Rep3x3 typedef to CLHEP::HepRep3x3 in G4RotationMatrix.hh. 1886 1887 Jan 26, 2011 G.Cosmo (global-V09-04-02) 1888 - Added trailing spaces to version string in G4Version.hh. 1889 1890 Jan 26, 2011 G.Cosmo (global-V09-04-01) 1891 - Manually added corrected tag strings in G4Version.hh, temporary solution 1892 for the no longer supported feature in SVN... 1893 1894 Jan 08, 2011 V.Ivantchenko (global-V09-04-00) 1895 - Extended length of internal arrays in G4Pow from 256 to 512. 1896 Allows to fix numerical problems observed in some ion/ion collision tests. 1897 1898 Dec 24, 2010 H.Kurasige 1899 - Use unsigned-int for table size type in G4PhysicsTable. 1900 Fixes a problem for data persistency. 1901 1902 Nov 24, 2010 G.Cosmo (global-V09-03-24) 1903 - Changed date for release 9.4. 1904 1905 Nov 09, 2010 T.Koi (global-V09-03-23) 1906 - G4ConvergenceTester: fixed error in calculation of SLOPE; 1907 fixed incorrect initialization of 'noTotal'. Modified some output 1908 1909 Nov 01, 2010 G.Cosmo (global-V09-03-22) 1910 - Fixed dummy initialisation in constructor for G4SimplexDownhill and 1911 G4ConvergenceTester classes. 1912 - Fixed cases of tainted scalar in G4DataVector, G4OrderedTable, 1913 G4PhysicsTable and G4PhysicsVector. 1914 1915 Oct 30, 2010 T.Koi (global-V09-03-21) 1916 - Fixed error in calculation of CPU time for each event in G4ConvergenceTester. 1917 1918 Oct 27, 2010 G.Cosmo (global-V09-03-20, global-V09-03-19) 1919 - Replaced G4IOS_EXPORT flag with G4IOS_ALLOC_EXPORT for DLL exported symbols. 1920 1921 Oct 15, 2010 G.Cosmo (global-V09-03-18) 1922 - Fixed compilation error on WIN32-VC for G4ConvergenceTester. Also, added 1923 explicit initialization of static data to constructor. 1924 1925 Oct 14, 2010 M.Kelsey (global-V09-03-17) 1926 - Modified FPE handler to get correct SIGINFO data for error messages. 1927 1928 Oct 12, 2010 G.Cosmo (global-V09-03-16) 1929 - Added class G4ConvergenceTester, moved from extended example N03Con, 1930 implementing a facility for estimating the quality of the simulation, 1931 by providing statistical information to assist in establishing valid 1932 confidence intervals for Monte Carlo results. 1933 1934 Oct 1, 2010 G.Cosmo (global-V09-03-15) 1935 - Fixed typo in destructor of G4StateManager. 1936 - Fixed type clash with input stream in G4PhysicsVector::Retrieve(), 1937 G4PhysicsTable::RetrievePhysicsTable(), G4OrderedTable::Store() 1938 and G4DataVector::Retrieve(). 1939 - Fixed potential case of memory leak in G4OrderedTable::Retrieve(). 1940 - Added dummy initialization of members in constructors for classes 1941 G4SliceTimer, G4ErrorPropagatorData, 1942 1943 Sep 18, 2010 V.Ivantchenko (global-V09-03-14) 1944 - Withdrawn latest change made to G4PhysicsVector::PutValue(), due to 1945 misunderstanding... 1946 1947 Sep 18, 2010 H.Kurashige (global-V09-03-13) 1948 - Fixed bug in G4PhysicsVector::PutValue() to correctly handle last bin 1949 when Energy=theEmax in getValue(). 1950 1951 Aug 23, 2010 V.Ivantchenko (global-V09-03-12) 1952 - Added methods logfactorial() and powN() to G4Pow class. 1953 1954 Aug 19, 2010 G.Cosmo (global-V09-03-11) 1955 - Correction to G4FPEDetection.hh to avoid compilation error on Linux. 1956 1957 Aug 09, 2010 M.Maire 1958 - G4UnitsTable: added new category "Solid angle". 1959 1960 Jul 16, 2010 G.Cosmo (global-V09-03-10) 1961 - Added INT_MAX and INT_MIN portability macros in templates.hh. 1962 1963 Jul 14, 2010 G.Cosmo (global-V09-03-09) 1964 - G4Allocator: implemented customizable pool size. 1965 - G4AllocatorPool: moved dummy copy constructor to private section. 1966 - Fixed cases of invalidated iterator in G4StateManager. 1967 - Fixed restoring of cout/cerr formatting in G4DataVector, G4PhysicsVector. 1968 - Added dummy initialization of members in constructors for classes 1969 G4JTPolynomialSolver, G4AllocatorPool, G4ErrorPropagatorData. 1970 - Added experimental code for MacOSX in G4FPEDetection.hh. 1971 1972 Jun 09, 2010 G.Cosmo (global-V09-03-08) 1973 - Changed date for release 9.4-beta. 1974 1975 May 29, 2010 V.Ivantchenko (global-V09-03-07) 1976 - More safe numerical computation of A13 and logA methods in G4Pow. 1977 1978 May 28, 2010 H.Kurasige 1979 - Restored G4PVDataVector vectors in G4PhysicsVector owned by value instead 1980 of pointers, as originally was before tag "global-V09-03-00". 1981 1982 May 05, 2010 G.Cosmo (global-V09-03-06) 1983 - Move interpolation methods to inline in G4PhysicsVector. 1984 - Some cleanup. 1985 1986 May 04, 2010 H.Kurashige (global-V09-03-05) 1987 - Introduced G4PhysicsVectorCache, placeholder for cache R/W data in use 1988 by G4PhysicsVector and derivates. 1989 Modified G4PhysicsVector and G4LPhysicsFreeVector accordingly. 1990 1991 Apr 06, 2010 G.Cosmo (global-V09-03-04) 1992 - Changed date for release 9.3.p01. 1993 1994 Mar 30, 2010 G.Cosmo (global-V09-03-03) 1995 - Moved 'mem' pool in G4Allocator to public section, to allow for use of 1996 allocator in vectors on Windows/C++. 1997 1998 Mar 23, 2010 V.Ivanchenko (global-V09-03-02) 1999 - G4PhysicsLogVector, G4PhysicsLnVector, G4PhysicsLinearVector: preserve 2000 values of 'edgeMin' and 'edgeMax' in constructors avoiding recomputation, 2001 to avoid precision problem; fixes problem detected on Windows/VC++. 2002 2003 Feb 01, 2010 G.Cosmo (global-V09-03-01) 2004 - Restored G4PVDataVector as typedef for optimisation; removed class files. 2005 2006 Dec 22, 2009 H.Kurashige (global-V09-03-00) 2007 - Modified G4PhysicsVector to use pointers to G4PVDataVector instead of 2008 holding it as static data. 2009 2010 Dec 07, 2009 L.Pandola, V.Ivanchenko (global-V09-02-12) 2011 - G4PhysicsVector: fixed initialisation of 'lastEnergy' to -DBL_MAX 2012 allowing to have negative scale of energy. 2013 2014 Nov 24, 2009 G.Cosmo (global-V09-02-11) 2015 - Changed date for release 9.3. 2016 2017 Nov 17, 2009 V.Ivanchenko (global-V09-02-10) 2018 - G4PhysicsVector: fixed Value() method for the case when energy is 2019 around 'edgeMax'; adding extra protection. 2020 2021 Nov 04, 2009 V.Ivanchenko (global-V09-02-09) 2022 - G4PhysicsVector: cleaned up initialisation of cached values; 2023 simplified Value() method, now not looking into previous bin; 2024 added method ScaleVector() needed for ICRU'73 data. 2025 2026 Oct 29, 2009 G.Cosmo (global-V09-02-08) 2027 - Cleared warning for unused argument in G4Allocator internal method. 2028 2029 Aug 07, 2009 G.Cosmo (global-V09-02-07) 2030 - Some improvements to G4String and G4SubString implementation of operators 2031 and comparison stub functions, to reduce generation of temporaries. 2032 - Removed obsolete static hash(s) method. 2033 2034 Jul 03, 2009 V.Ivanchenko (global-V09-02-06) 2035 - New class G4Pow, a singleton for fast computation of log() and pow() for 2036 integer and double arguments in the interval [1-256]. 2037 - G4PhysicsVector: 2038 o Added ComputeSecDerivative() and SplinePossible() methods as a 2039 computation of Spline coefficients for small number of bins. 2040 o Removed old obsolete hidden bin approach. 2041 o Use std::vector for second derivatives instead of C arrays. 2042 2043 May 26, 2009 A.Bagulya (global-V09-02-05) 2044 - G4PhysicsVector: do not change flag "useSpline" during initialisation 2045 to address bug in N02 reported by valgrind 2046 2047 May 26, 2009 A.Bagulya (global-V09-02-04) 2048 - G4PhysicsVector: set limits of number of bins for spline: 4 for the case 2049 of first derivatives defined; 5 for the case when "Not-a-Knot" algorithm 2050 is used. 2051 2052 May 15, 2009 P.Arce (global-V09-02-03) 2053 - Added G4ErrorStage enum to G4ErrorPropagatorData class. 2054 2055 May 13, 2009 A.Bagulya (global-V09-02-02) 2056 - G4PhysicsVector: added method ComputeSecondDerivatives() for the case when 2057 user provides first derivative at endpoits; use "Not-a-Knot" algorithm for 2058 the computation of second derivatives in default method 2059 FillSecondDerivatives(). 2060 - Changed date for release 9.3-beta. 2061 2062 Mar 16, 2009 G.Cosmo (global-V09-02-01) 2063 - Changed date for release 9.2.p01. 2064 2065 Jan 27, 2009 G.Cosmo (global-V09-02-00) 2066 - Correction in management/GNUmakefile to CPPFLAGS, adding G4RF_DEBUG in 2067 case enabled. 2068 2069 Dec 08, 2008 G.Cosmo (global-V09-01-18) 2070 - Added new constructor G4String(const char*, str_size). 2071 2072 Dec 02, 2008 G.Cosmo (global-V09-01-17) 2073 - Changed date for release 9.2. 2074 2075 Nov 07, 2008 P.Gumplinger (global-V09-01-16) 2076 - Removed unnecessary 'const' qualifier from G4PlaneVectorRand() function 2077 declaration. 2078 2079 Nov 07, 2008 G.Cosmo (global-V09-01-15) 2080 - Added header G4RandomTools.hh, implementing global utility methods for 2081 random Lambertian vector and random plane vector. Implementation derived 2082 from G4OpBoundaryProcess. 2083 2084 Oct 14, 2008 V.Ivantchenko (global-V09-01-14) 2085 - G4PhysicsVector: changed algorithm for computation of second derivatives, to 2086 guarantee continuity with first derivative; fixed second derivative at edges 2087 of the vector to be the same as in neighboring nodes. 2088 2089 Sep 22, 2008 G.Cosmo (global-V09-01-13) 2090 - Corrected initialisation of vectors to conform to definition in 2091 G4PhysicsVector, and added protections against empty vectors. (V.Ivantchenko) 2092 - Corrected definition of copy-constructor and operator=() in G4PhysicsVector 2093 and added corresponding definitions in derived classes, where needed. 2094 2095 Aug 15, 2008 G.Cosmo (global-V09-01-12) 2096 - Restored original implementation of G4SwapPtr() but using reference of 2097 pointers as arguments, allowing for unambiguous use from client code. 2098 2099 Aug 14, 2008 P.Gumplinger (global-V09-01-10, global-V09-01-11) 2100 - Corrected G4SwapPtr() function in templates.hh (see also problem 2101 report #1020). 2102 2103 Jun 26, 2008 G.Cosmo (global-V09-01-09) 2104 - Corrected version number tag. 2105 2106 Jun 23, 2008 G.Cosmo (global-V09-01-08) 2107 - Changed date for release 9.2-beta. 2108 2109 May 06, 2008 M.Maire (global-V09-01-07) 2110 - G4UnitsTable: added units for electric-field, V/m. 2111 2112 Apr 23, 2008 G.Cosmo (global-V09-01-06) 2113 - Changed date for release 9.1.p02. 2114 2115 Apr 21, 2008 V.Ivantchenko (global-V09-01-05) 2116 - Corrected deletion of temporary in G4PhysicsVector::FillSecondDerivatives(). 2117 2118 Apr 07, 2008 A.Bagulya, V.Ivantchenko (global-V09-01-04) 2119 - G4PhysicsVector: 2120 o Introduced cubic spline interpolation, optionally selectable. 2121 o Optimised implementation of GetValue() method. 2122 - G4LPhysicsFreeVector: corrected use of GetValue() to adopt implementation 2123 available from the base class. 2124 2125 Mar 19, 2008 V.Grichine (global-V09-01-03) 2126 - Modified G4RandomDirection global function to use unit radius sphere surface 2127 algorithm instead of 8-quadrants technique, giving 30% performance boost. 2128 2129 Mar 13, 2008 G.Cosmo (global-V09-01-02) 2130 - Introduced inclusion of <cstring> and <climits> in G4String.hh and 2131 templates.hh respectively for porting on gcc-4.3.0 compiler. 2132 - Cleared compilation warnings in G4DataInterpolation and G4JTPolynomialSolver 2133 on gcc-4.3.0 for ambiguous use of parentheses in condition statements. 2134 2135 Feb 15, 2008 G.Cosmo (global-V09-01-01) 2136 - Removed useless specification of units in implementation of 2137 G4GeometryTolerance::SetSurfaceTolerance(). 2138 2139 Jan 22, 2008 G.Cosmo (global-V09-01-00) 2140 - Changed date for release 9.1.p01. 2141 2142 Nov 20, 2007 G.Cosmo (global-V09-00-02) 2143 - Changed date for release 9.1. 2144 2145 Nov 13, 2007 G.Cosmo (global-V09-00-01) 2146 - Cleared compilation warnings for non-inlining and shadowing of variables. 2147 2148 Aug 21, 2007 G.Cosmo (global-V09-00-00) 2149 - Changed date for release 9.0.p01. 2150 2151 Jun 18, 2007 G.Cosmo (global-V08-03-07) 2152 - Force static initialisation to G4GeometryTolerance singleton, to overcome 2153 problems in startup on MacOS for the case of redundant link list of 2154 libraries. 2155 2156 Jun 05, 2007 G.Cosmo (global-V08-03-06) 2157 - Fixed compilation warnings on Intel icc compiler for useless const 2158 specification in return values of G4ErrorPropagatorData methods. 2159 2160 Jun 05, 2007 G.Cosmo (global-V08-03-05) 2161 - Define static methods not inline in G4ErrorPropagatorData class, to allow 2162 for generation of DLLs on Windows. 2163 2164 May 30, 2007 G.Cosmo (global-V08-03-04) 2165 - Changed date for release 9.0. 2166 2167 May 18, 2007 G.Cosmo (global-V08-03-03) 2168 - Removed kAngTolerance and kRadTolerance constants, now provided by the 2169 G4GeometryTolerance class. Values are still kept as the original set in 2170 geomdefs.hh and cannot be changed. 2171 2172 May 16, 2007 G.Cosmo (global-V08-03-02) 2173 - Introduced new utility class G4ErrorPropagatorData to provide access to 2174 mode, state, target and manager verbosity for the error propagation 2175 classes (by P.Arce). 2176 2177 May 13, 2007 V.Ivanchenko (global-V08-03-01) 2178 - Fixed bug in G4LPhysicsVector constructor: initialise vectors of 2179 length=nbin+1 (one bin is hidden for users). Addresses bug report #942. 2180 2181 May 11, 2007 G.Cosmo (global-V08-03-00) 2182 - Added G4GeometryTolerance singleton class for the definition of 2183 tunable geometrical tolerances. The Cartesian tolerance can either be set 2184 to a fixed value (kCarTolerance=1E-9 mm) or to a value computed on the basis 2185 of the maximum extent of the world volume assigned through the 2186 G4GeometryManager at the beginning of the application -before- any 2187 geometrical object is created. 2188 - Old static constant 'kCarTolerance' has been removed. 2189 - Added new class G4SimplexDownhill in HEPNumerics module: a Simplex method 2190 for function minimization. 2191 2192 Apr 25, 2007 G.Cosmo (global-V08-02-02) 2193 - Changed date for release 8.3. 2194 2195 Feb 19, 2007 G.Cosmo (global-V08-02-01) 2196 - Changed date for public patch-01 to release 8.2. 2197 2198 Feb 09, 2007 G.Cosmo (global-V08-02-00) 2199 - Added G4TwoVector type, typef of CLHEP's Hep2Vector class. 2200 2201 Nov 30, 2006 G.Cosmo (global-V08-01-07) 2202 - Added ClearUnitsTable() method to G4UnitDefinition to allow for proper 2203 deallocation of units from the run-manager. 2204 2205 Nov 22, 2006 M.Asai (global-V08-01-06) 2206 - Fixed the incorrect behavior of G4StateManager, so that now it changes the 2207 state AFTER it asks to all the G4VStateDependent classes. 2208 2209 Nov 15, 2006 G.Cosmo (global-V08-01-05) 2210 - Added signal handler for debugging FPE signals and catching NaNs in 2211 applications. Works only on Linux with gcc compiler. 2212 Activated through the run-manager if "run" module is compiled with 2213 the flag G4FPE_DEBUG set in the environment. 2214 - Changed date for release 8.2. 2215 2216 Nov 02, 2006 G.Cosmo (global-V08-01-04) 2217 - Removed definitions of 'sysconf()', 'filetime2msec()' and 'times()' for 2218 WIN32 in G4SliceTimer. Symbols are already defined in G4Timer and 2219 included in the library. Fixes archiving warning on Windows. 2220 2221 Nov 02, 2006 G.Cosmo 2222 - Changed date for release 8.1.p02. 2223 2224 Oct 23, 2006 G.Cosmo (global-V08-01-03) 2225 - New class G4SliceTimer with implementation derived from G4Timer for the 2226 computation of slice time intervals (by M.Asai). 2227 2228 Sep 15, 2006 G.Cosmo (global-V08-01-02) 2229 - Corrected inclusion of CLHEP headers in wrapper files 2230 G4SystemOfUnits.hh and G4PhysicalConstants.hh 2231 2232 Aug 18, 2006 M.Maire (global-V08-01-01) 2233 - G4UnitsTable: removed mum; um should be used instead. 2234 2235 Jul 20, 2006 G.Cosmo (global-V08-01-00) 2236 - Changed date for release 8.1.p01. 2237 2238 Jun 13, 2006 V.Grichine 2239 - Extended unit test G4IntegratorTest in HEPNumerics. 2240 2241 May 03, 2006 G.Cosmo (global-V08-00-04) 2242 - Updated date for release 8.1 in G4Version.hh. 2243 2244 May 03, 2006 G.Cosmo (global-V08-00-03) 2245 - Clear entries in table in destructor of G4UnitDefinition. 2246 2247 May 03, 2006 G.Cosmo (global-V08-00-02) 2248 - Added G4VNotifier class, renamed from G4VStoreNotifier implemented inside 2249 the geometry module. The class is a simple abstract class allowing for 2250 implementation of user notifiers to be activated for example at 2251 registration/deregistration of objects in stores. 2252 2253 Feb 15, 2006 M.Maire (global-V08-00-01) 2254 - G4UnitsTable: added GeV/cm, MeV/cm, keV/cm, eV/cm (Energy/Length) 2255 g/cm2 ("Mass/Surface") and MeV*cm2/g ..etc.. ("Energy*Surface/Mass"). 2256 2257 Jan 30, 2006 M.Maire (global-V08-00-00) 2258 - G4UnitsTable.cc: added Symbol um for micrometer. 2259 2260 Dec 02, 2005 G.Cosmo (global-V07-01-06) 2261 - templates.hh: get rid of hard-coded numbers for DBL_MIN, FLT_MIN, DBL_DIG, 2262 DBL_MAX, FLT_DIG, FLT_MAX/MAXFLOAT. Use numeric_limits from <limits> instead. 2263 Fix necessary to allow for porting on VC++8 compiler. 2264 - Added unit test LimitsTest.cc. 2265 2266 Nov 28, 2005 G.Cosmo (global-V07-01-05) 2267 - Changed header file from version.hh to G4Version.hh. 2268 Coworks with tag "run-V07-01-08" 2269 - Fix in G4strstreambuf destructor to avoid double flushing of buffer. 2270 2271 Nov 09, 2005 G.Cosmo (global-V07-01-04) 2272 - Removed '#undef __DEPRECATED' statement in G4Types.hh for strstream 2273 deprecation by the gcc compiler. 2274 - Added forward declaration for __void__ type to be used for definition of 2275 fake default constructors for usage of direct object persistency. 2276 2277 Nov 04, 2005 G.Cosmo (global-V07-01-03) 2278 - Support for CLHEP-2.0.X series: 2279 o Introduced explicit usage of 'CLHEP::' and 'HepGeom::' namespaces for 2280 vector and geometry types. 2281 o Added wrapper headers for units and constants to allow for usage in the 2282 global namespace. Units and constants are NOT moved to the CLHEP namespace 2283 in this version. 2284 o Works with both 1.9.X and 2.0.X series of CLHEP. 2285 2286 Oct 26, 2005 K.Murakami (global-V07-01-02) 2287 - version.hh: modified for the release 8.0 2288 - G4strstreambuf: revised for migration to sstream 2289 2290 Oct 04, 2005 G.Cosmo (global-V07-01-01) 2291 - G4Allocator: initialise esplicitely data in copy-ctor. 2292 - G4AllocatorPool: added default dummy argument to ctor 2293 to allow for default-ctor 2294 2295 Sep 26, 2005 K.Murakami (global-V07-01-00) 2296 - Added version.hh header, including definitions for software versioning. 2297 2298 Aug 12, 2005 M.Maire 2299 - G4UnitsTable.cc: added Surface/Mass unit (cm2/g). 2300 2301 May 19, 2005 V.Grichine (global-V07-00-06) 2302 - Improved accuracy to G4AnalyticalPolSolver for quartic case. 2303 2304 May 17, 2005 V.Grichine (global-V07-00-05) 2305 - Added new class G4AnalyticalPolSolver in HEPNumerics module, implementing 2306 the CACM algorithm for solving analytically a polynomial equation up to 2307 the 4th order. 2308 2309 Apr 22, 2005 G.Cosmo (global-V07-00-04) 2310 - G4Types.hh: extend check for deprecated warning on <strstream> for 2311 major versions of gcc >= 3. 2312 2313 Mar 21, 2005 J.Allison (global-V07-00-03) 2314 - G4UnitsTable.hh/.cc: Added G4BestUnit::operator G4String. 2315 2316 Mar 18, 2005 G.Cosmo 2317 - Fixed compilation warnings on SUN-CC for G4JTPolynomialSolver. 2318 2319 Mar 15, 2005 G.Cosmo (global-V07-00-02) 2320 - Migrated calls to G4Exception in HEPNumerics to canonical signature. 2321 - Q/A cleanup to clear CodeWizard warnings and minor fixes. 2322 - Moved inline methods to .icc files. 2323 - Minor cosmetics. 2324 2325 Mar 01, 2005 G.Cosmo (global-V07-00-01) 2326 - Fixed compilation warnings on WIN32-VC for G4JTPolynomialSolver; 2327 removed unnecessary inclusion of <cfloat>. 2328 2329 Feb 14, 2005 G.Cosmo (global-V07-00-00) 2330 - Added polynom-solver class G4JTPolynomialSolver implementing the 2331 Jenkins-Traub algorithm for real polynomial root finding. To be 2332 used by the twisted-trap shape for precise computation of 2333 intersections. 2334 2335 Dec 02, 2004 G.Cosmo (global-V06-02-05) 2336 - Added inclusion of <cstddef> to G4Allocator.hh to make the header 2337 self-consistent. 2338 2339 Nov 12, 2004 G.Cosmo (global-V06-02-04) 2340 - Migrated code to use 'std' namespace for mathematical functions 2341 included from <cmath>. Removed explicit inclusion of CLHEP.h and 2342 therefore also implicit inclusions of system headers <math.h>, 2343 <stdlib.h> and <limits.h>. 2344 - Removed implicit inclusion of CLHEP's template function abs(), use 2345 now standard function std::abs() instead. 2346 2347 Nov 01, 2004 H.Kurasige (global-V06-02-03) 2348 - Code cleanup in G4PhysicsTable implementation. 2349 - Added push_back() method. 2350 2351 Oct 29, 2004 G.Cosmo (global-V06-02-02) 2352 - Added global function G4RandomDirection() providing a random 3-vector 2353 normalised in 4pi. 2354 - Cleared obsolete setup for min/max macros required for Windows/VC++6. 2355 2356 Oct 25, 2004 H.Kurashige (global-V06-02-01) 2357 - Added collection of flags and related methods in G4PhysicsTable. 2358 The collection of boolean values will be used by physics processes 2359 to flag if recomputation will be required or not. 2360 2361 Jul 1, 2004 G.Cosmo (global-V06-02-00) 2362 - Merge developments included in "global-V06-01-02" for the new 2363 G4Allocator implementation. 2364 2365 Jun 11, 2004 G.Cosmo (global-V06-01-02c) 2366 - Use global flag G4IOS_EXPORT to export extern symbols for DLLs. 2367 Modified granular GNUmakefiles and corrected G4ios.cc to the new scheme. 2368 - Does NOT include developments introduced in "global-V06-01-02". 2369 2370 Jun 9, 2004 G.Cosmo (global-V06-01-02b) 2371 - Adopt G4DLLIMPORT/G4DLLEXPORT technique to handle extern simbols for 2372 allowing support of DLLs on Windows. 2373 - Does NOT include developments introduced in "global-V06-01-02". 2374 2375 Jun 7, 2004 G.Cosmo (global-V06-01-02a) 2376 - Added support for building DLLs on Windows: 2377 o Added macros for importing symbols. 2378 o Migrated G4ios and G4strstreambuf. 2379 - Does NOT include developments introduced in "global-V06-01-02". 2380 2381 May 26, 2004 G.Cosmo (global-V06-01-02) 2382 - New implementation of the G4Allocator based on a pool of memory-chunks. 2383 The size of a single chunk is kept at 1Kb as for the old allocator. 2384 This implementation replaces the old G4Allocator based on pages and no 2385 longer portable on the new gcc-3.4.0 compiler. 2386 The new allocator also supports the standard interface required for STL 2387 containers, in case it will be used as alternative allocator instead of 2388 the default std::allocator. 2389 o New classes: G4AllocatorPool 2390 o Removed classes: G4AllocatorPage, G4AllocatorUnit. 2391 - Added unit test for allocation of std::vector collections. 2392 2393 May 14, 2004 G.Cosmo (global-V06-01-01) 2394 - G4Allocator: added utility methods for explicitely deallocate storage 2395 and print total allocated pages size: 2396 ResetStorage(), GetAllocatedSize(). 2397 - Added unit test for deallocation. 2398 2399 April 23, 2004 G.Cosmo (global-V06-01-00) 2400 - Fixed bug in HEPNumerics/G4DataInterpolation::PolynomInterpolation() 2401 for indexing in a for-loop. (V.Grichine) 2402 2403 March 15, 2004 G.Cosmo (global-V06-00-01) 2404 - Removed obsolete "includes" target in management/GNUmakefile. 2405 - Corrected comments in G4UserLimits.hh. 2406 2407 January 21, 2004 G.Cosmo (global-V06-00-00) 2408 - G4UnitsTable[.hh.cc]: corrected signatures to consider 2409 'const G4String&' wherever applicable. 2410 2411 November 24, 2003 G.Cosmo (global-V05-02-03) 2412 - G4UnitsTable.cc: fixed units initialisation and deletion of objects in 2413 constructors. 2414 2415 November 4, 2003 G.Cosmo (global-V05-02-02) 2416 - Added method ExistPhysicsTable() to G4PhysicsTable. (H.Kurasige) 2417 2418 October 31, 2003 M.Asai (global-V05-02-01) 2419 - Fixed uninitialized variable in G4StateManager and protect null pointer 2420 of G4VExceptionHandler used in G4Exception 2421 2422 June 17, 2003 G.Cosmo (global-V05-02-00) 2423 - Archived g4std wrappers. Removed definition of G4std in G4Types.hh. 2424 2425 June 6, 2003 G.Cosmo (global-V05-01-01) 2426 - Made g4std wrappers obsolete: 2427 o modified wrappers to include standard std headers 2428 o replaced all occurrences of G4std:: with std:: 2429 o replaced all occurrences of 2430 #include "g4std/XXX" 2431 with 2432 #include <XXX> 2433 o removed usage of G4USE_STD_NAMESPACE macro. 2434 2435 May 21, 2003 G.Cosmo (global-V05-01-00) 2436 - G4PhysicsVector.hh: moved copy costructor and assignment operator to 2437 public. Fixes problem report #486. 2438 2439 April 7, 2003 G.Cosmo (global-V05-00-05) 2440 - G4Allocator.hh: revert back latest change. Performance loss is not really 2441 relevant in a real simulation but not negligible in a specific unit test. 2442 - Added simple unit tests for G4Allocator and G4Timer. 2443 2444 April 1, 2003 G.Cosmo (global-V05-00-04) 2445 - G4Allocator.hh: test additional protection for NULL pointer in FreeSingle(). 2446 2447 March 27, 2003 G.Cosmo (global-V05-00-03) 2448 - Fixed compilation problem on WIN32-VC platform for G4strstreambuf. 2449 2450 March 25, 2003 G.Cosmo (global-V05-00-02) 2451 - Fixed trivial strict pedantic warnings in copy constructor for 2452 G4PhysicsTable and G4strstreambuf. Also for unused parameters in 2453 a couple of methods in G4String. 2454 - Removed unnecessary usage of GNU_GCC preprocessor flag in G4Allocator 2455 and G4strstreambuf. 2456 2457 February 05, 2003 G.Cosmo (global-V05-00-01) 2458 - Removed copies of SystemOfUnits.h and PhysicalConstants.h, now using 2459 directly headers from CLHEP: changed globals.hh and G4SIunits.hh. 2460 2461 January 22, 2003 G.Cosmo (global-V05-00-00) 2462 - global.hh: exclude definition of min/max for Windows .NET VC++ compiler. 2463 2464 December 6, 2002 G.Cosmo (global-V04-01-05) 2465 - G4Integrator.icc: fixed some uninitialised variables. 2466 - Fixed unit test for G4Integrator. 2467 2468 December 4, 2002 M.Asai (global-V04-01-03, global-V04-01-04) 2469 - Migration to new G4ApplicationState. 2470 2471 November 20, 2002 G.Cosmo (global-V04-01-02) 2472 - G4UnitsTable[.hh.cc]: made GetUnitsTable static method non inlined. 2473 - G4Integrator[.icc]: plugged minor memory leak. 2474 2475 August 19, 2002 M.Asai (global-V04-01-01) 2476 - Introducing a new G4Exception scheme. 2477 Added : G4VStateDependent.hh G4VStateDependent.cc G4ExceptionSeverity.hh 2478 Modified : G4Exception.cc G4StateManager.hh globals.hh 2479 2480 June 21, 2002 G.Cosmo (global-V04-01-00) 2481 - G4Allocator.hh: changed definition of page size to become data-member of 2482 G4Allocator. fPageSize is now computed according to the size of the object 2483 to be allocated. The default size is 1024 bytes for objects whose size is 2484 less than 512 bytes, 10 times the size of the object otherwise. 2485 To be benchmarked before put it in production. 2486 2487 May 30, 2002 G.Cosmo (global-V04-00-08) 2488 - G4DataVector.cc: initialise to zero values in collection for contructor 2489 taking capacity. 2490 2491 May 24, 2002 G.Cosmo (global-V04-00-07) 2492 - Introduced temporary modifications for porting on gcc-3.1 compiler: 2493 o g4std/strstream: deactivate gcc-3.1 specific __DEPRECATED flag. 2494 o G4strstreambuf.icc: correct patch for overflow() to be specific only to 2495 gcc-3.0.X versions of the compiler. Behavior now fixed in gcc-3.1. 2496 o G4llocator.hh: use pointer to member data to compute offset in FreeSingle(). 2497 for gcc-3.1 compiler. gcc-3.1 complains and does not correctly handle offsets 2498 computed from non-POD types. Pointers to member data should be used instead. 2499 This advanced C++ feature seems not to work on earlier versions of the same 2500 compiler or on other system configurations. 2501 - Cosmetics for Software Reference Manual on G4Allocator related headers. 2502 2503 May 15, 2002 G.Cosmo (global-V04-00-06) 2504 - G4UnitsTable.cc: fixed bug in operator<< to use the argument 'flux' 2505 instead of G4cout. 2506 - geomdefs.hh: added 'kUndefined' key to specify undefined EAxis. 2507 2508 April 19, 2002 G.Cosmo (global-V04-00-05) 2509 - Moved inline constructors/destructors to no-inline. 2510 Files: G4DataVector[.hh.cc], G4OrderedTable[.hh.cc]. 2511 2512 April 16, 2002 M.Asai (global-V04-00-04) 2513 - Give a bit more information to the user when G4Exception occurs. 2514 Affected files : G4Exception.cc G4StateManager.hh G4StateManager.cc 2515 2516 March 25, 2002 G.Cosmo (global-V04-00-03) 2517 - G4String[.hh.icc]: use G4std::string instead of internal type 'std_string' 2518 in signatures of public methods. 2519 2520 January 28, 2002 G.Cosmo (global-V04-00-02) 2521 - G4strstream.icc: temporary fix to G4strstream::overflow(int) for GNU gcc-3.0.X 2522 compilers, which require returning of character c in case of <CR>. 2523 2524 January 25, 2002 G.Cosmo (global-V04-00-01) 2525 - Removed unnecessary std wrappers for HP-aCC (coworks with config-V04-00-00). 2526 - Removed obsolete inline definitions in g4std/wrappers/DEC-cxx/cmath. 2527 2528 January 17, 2002 G.Cosmo (global-V04-00-00) 2529 - Replaced 'NULL' with '0' in G4Allocator.hh, G4strstreambuf.icc and G4Timer.cc. 2530 - G4strstreambuf.icc: plugged memory leak in destructor for buffer deletion 2531 and some cosmetics. 2532 2533 November 29, 2001 G.Cosmo (global-V03-02-07) 2534 - Fixed warnings on gcc-3.0.2 for G4DataVector.cc and G4PhysicsVector.cc. 2535 - Minor fixes to G4String[.hh.icc] for avoiding compilation warnings on 2536 WIN32-VC and gcc-3.0.2. 2537 2538 November 08, 2001 R.Chytracek (global-V03-02-06) 2539 - New optimised revision of G4ReferenceCountedHandle to reflect new design. 2540 Updated also unit test testReferenceCountedHandle.cc. 2541 2542 October 23, 2001 G.Cosmo (global-V03-02-05) 2543 - Merged changes in "global-V03-02-03" for removal of STLinterface module. 2544 2545 October 22, 2001 G.Cosmo (global-V03-02-04) 2546 - Note: this tag adds the following fearures to "global-V03-02-02" 2547 (removal of STLinterface is NOT included here!): 2548 o Introduced G4ReferenceCountedHandle templated class. 2549 o Added <deque> wrapper in include/g4std. 2550 2551 October 11, 2001 G.Cosmo (global-V03-02-03) 2552 - Removed STLinterface module: 2553 o renamed cstring[.h.icc] to G4String[.hh.icc] and placed 2554 in management/include. 2555 o renamed ctoken.h to G4Tokenizer.hh and placed in management/include. 2556 2557 September 17, 2001 H.Kurashige (global-V03-02-02) 2558 - Added Store/Retrieve method to G4DataVector. 2559 - Added Store/Retrieve method to G4OrderedTable. 2560 2561 July 18, 2001 M.Asai (global-V03-02-01) 2562 - Added a feature of suppressing program abortion due to G4Exception 2563 affected files : G4StateManager.hh G4StateManager.cc G4Exception.cc 2564 2565 July 16, 2001 G.Cosmo (global-V03-02-00) 2566 - Synchronised with CVS HEAD after inclusion liability disclaimer. 2567 2568 June 15, 2001 G.Cosmo (global-V03-01-02) 2569 - globals.hh: removed definition of cbrt() to allow ANSI compilation on 2570 Linux-g++ architecture with new compiler gcc-2.95-2. 2571 2572 June 06, 2001 G.Cosmo (global-V03-01-01) 2573 - G4DataVector: added constructor with argument for initialise values in 2574 collection. 2575 2576 May 30, 2001 G.Cosmo (global-V03-01-00) 2577 - Defined 'str_size' as G4std::string::size_type and replaced usage of 'size_t' 2578 in G4String and G4SubString. Fixes problem report #40. 2579 2580 April 05, 2001 G.Cosmo (global-V03-00-11) 2581 - Added patch to management/GNUmakefile for allowing compilation of G4UnitsTable.cc 2582 on SUN-CC5 (CC 5.2 Patch 109508-02), removing optimisation. 2583 2584 April 03, 2001 G.Cosmo (global-V03-00-10) 2585 - Fixed minor bug in constructor of G4PhysicsLinearVector, G4PhysicsLnVector 2586 and G4PhysicsLogVector (H.Kurasige). 2587 2588 April 02, 2001 G.Cosmo (global-V03-00-09) 2589 - G4UnitsTable.cc: resolved ambiguity of old/new style iostream for 2590 formatting in G4UnitsTable::operator<<. 2591 - Fix for compilation on WIN32-VC: added typedef to base collection G4PhysCollection 2592 in G4PhysicsTable. 2593 2594 March 09, 2001 G.Cosmo (global-V03-00-08) 2595 - Tyde up comments. 2596 - Added patch to G4PhysicsTable::Store/Retrieve methods for non-ISO setup 2597 where 'binary' streams are not implemented. Binary mode is allowed only 2598 with ISO setup (native-STL). 2599 - Removed 'virtual' specifier from Retrieve (...) methods in G4PhysicsVector 2600 derived classes. 2601 - Fixed bug in constructor of G4PhysicsLnVector: 2602 added initialisation of 'dataVector' to zero (H.Kurasige). 2603 2604 March 09, 2001 H.Kurasige 2605 - Added Store/RetrievePhysicsTable methods (G4PhysicsTable). 2606 - Added Store/Retrieve and GetType methods (G4PhysicsVector and related). 2607 - Introduced G4PhysicsVectorType class (enumeration). 2608 - Added unit test PhysicsTableTest.cc. 2609 2610 March 06, 2001 G.Cosmo (global-V03-00-07) 2611 - Completed migration to STL vector for all classes in "global/management" 2612 o Migrated G4UnitsTable 2613 o Migrated G4StateManager 2614 2615 March 05, 2001 G.Cosmo (global-V03-00-06) 2616 - Added new unit 'parsec' to SystemOfUnits.h (M.Maire). 2617 - Updated G4UnitsTable unit test (M.Maire). 2618 - Removed file G4UnitsTest.hh now replaced by G4SIunits.hh. 2619 2620 February 24, 2001 G.Cosmo (global-V03-00-05) 2621 - Implemented migration to STL vectors for G4PhysicsTable (H.Kurasige). 2622 Added class description and comments for Software Reference Manual. 2623 2624 February 05, 2001 H.Kurasige (global-V03-00-04) 2625 - Added default constructors to G4DataVector and G4OrderedTable. Removed 2626 default size. 2627 2628 February 01, 2001 G.Cosmo, H.Kurasige (global-V03-00-03) 2629 - Migration to STL vectors for G4OrderedTable and G4DataVector. In 2630 G4OrderedTable, G4ValVector type has been removed and is now replaced 2631 with G4DataVector. 2632 - Removed from G4PhysicsVector dependency over G4PhysicsTable. 2633 Removed methods: LinkPhysicsTable(), IsLinkedTableExist() and 2634 GetNextTable(). Removed data-member ptrNextTable. 2635 Updated all related subclasses. 2636 - Updated unit tests in management/test. 2637 2638 January 29, 2001 G.Cosmo (global-V03-00-02) 2639 - Added generic class G4PolynomialSolver in HEPNumerics module, extracting 2640 logic from class G4Torus in geometry/solids/CSG. 2641 2642 January 16, 2001 G.Cosmo (global-V03-00-01) 2643 - Minor fixes to last migration in management classes 2644 tagged global-STLmigration-V02. 2645 2646 January 09, 2001 H.Kurashige 2647 - Full STL migration for G4PhysicsVector and related. 2648 2649 January 09, 2001 G.Cosmo (global-V03-00-00) 2650 - Fixed bug in destructor of G4Allocator (report #181): use "delete" 2651 instead of "free" for deleting a page allocated with "new". 2652 2653 December 13, 2000 G.Folger (global-V02-00-06) 2654 - Added GNUmakefile to HEPRandom to handle "includes" gmake target. 2655 2656 November 20, 2000 G.Cosmo (global-V02-00-05) 2657 - QA code cleanup and fixes to remove warnings from 2658 "-Wall -ansi -pedantic" g++ compiler options: 2659 o added/fixed declaration/implementation of private copy constructor 2660 and assignment operator where needed. 2661 o commented out variables declared and not used. 2662 o fixed declaration of variables used before being initialised. 2663 o fixed order of initialisation of member data in constructors. 2664 o fixed usage of unsigned-int (size_t) for array indeces. 2665 o G4strstreambuf: created .icc file and moved implementation of 2666 inlined functions therein. 2667 2668 November 3, 2000 G.Folger (global-V02-00-04) 2669 - Added rules for "includes" target to GNUmakefile and management/GNUmakefile. 2670 Added GNUmakefile in STLInterface for the "include" target. 2671 2672 November 1, 2000 G.Cosmo (global-V02-00-03) 2673 - Moved geometry constants kHistoryMax, kHistoryStride and 2674 kNavigatorVoxelStackMax to geomdefs.hh. 2675 2676 August 22, 2000 H.P.Wellisch 2677 - Added <list> wrapper in management/g4std. 2678 2679 August 02, 2000 G.Cosmo (global-V02-00-02) 2680 - Added <queue> wrapper in management/g4std. 2681 - Added inclusion of new CLHEP random distributions in 2682 HEPRandom/include/Randomize.hh pending update of Randomize.h in CLHEP. 2683 2684 July 22, 2000 M.Asai (global-V02-00-01) 2685 - Move G4VStateDependent and G4StateManager classes into global/management 2686 from intercoms. 2687 - "Abort" state is added to G4ApplicationState. 2688 - Modify G4Exception to change Geant4 status to "Abort". 2689 - Fix a bug of "double deleting" in the destructor of G4StateManager. 2690 2691 July 21, 2000 G.Cosmo (global-V02-00-00) 2692 - STLInterface/cstring.icc: extended buffer for G4String::readLine from 2693 256 to 1024 characters. 2694 2695 June 26, 2000 G.Cosmo (global-V01-01-05) 2696 - Fixes for problem report #104, STLInterface: 2697 o defs.h: defined G4RWTHROW(a) to abort() in case G4NO_STD_EXCEPTIONS 2698 is set. 2699 o tpsrtvec.icc, tvordvec.icc: corrected implementation of last() in case 2700 of call to G4RWTHROW(a). 2701 o cstring.icc: defined function G4String::strcasecompare(a,b) which will 2702 NOT invoke the non-ANSI function strcasecmp(a,b) when G4USE_STD_NAMESPACE 2703 is set. 2704 - STLInterface/defs.h: fixed memory leaks in destruction of 'str' in 2705 destructors and copy-constructors of G4RWGeneralException and G4RWBoundsErr. 2706 - G4Timer.cc: added definition of 'vfork' for IRIX6_2 (requested by FNAL 2707 in report #104). 2708 2709 June 15, 2000 G.Cosmo (global-V01-01-04) 2710 - Introduced fixes to g4std/complex for ISO and non-ISO compliance. 2711 Defined G4complex type as complex type of doubles. 2712 - Changed implementation of G4Integrator to a template class, to allow 2713 porting on Solaris CC compiler which does not implement templated member 2714 functions. 2715 2716 May 25, 2000 J.Allison (global-V01-01-03) 2717 - Added new G4UnitDefinition("kg/m3",...) to G4UnitsTable.cc. 2718 2719 March 23, 2000 G.Cosmo (global-V01-01-02) 2720 - Added class G4PhysicsLnVector[.hh.cc] implementing a physics vector 2721 with natural logarithmic scale for energy/momentum bins. (M.G.Pia) 2722 2723 March 21, 2000 G.Cosmo (global-V01-01-01) 2724 - STLInterface: forced initialization of vectors' members also for 2725 ordered/sorted collections. Even when using the access operator 2726 vector::operator[] as left-hand operand, it requires the vector 2727 to be not empty. Removed usage of vector::reserve(capacity). 2728 2729 March 11, 2000 G.Cosmo (global-V01-01-00) 2730 - STLInterface: implemented correct behavior for vectors' default constructors, 2731 as expected by the RW interface. 2732 o for pointer/value ordered/sorted collections, an EMPTY STL vector is 2733 created and the vector capacity is set to G4RWDEFAULT_CAPACITY 2734 using vector::reserve(capacity). No element initialisation is done. 2735 o for pointer/value simple collections, a default constructor creating 2736 an EMPTY STL vector is implemented; the constructor taking the capacity 2737 as argument, creates an STL vector of the given capacity and explicitly 2738 initialises its elements. NB: pointers are initialised to zero. 2739 - Added "g4std/complex" wrapper file (V.Grichine) 2740 2741 February 16, 2000 H.Kurashige (global-V01-00-04) 2742 - G4UserLimits[.hh.icc]: added identifier for a concrete instance of the 2743 class. Added new member fType (G4String), SetType/GetType methods and 2744 new constructor. 2745 2746 February 08, 2000 G.Cosmo (global-V01-00-03) 2747 - STLInterface/cstring.icc: fixed yet another bug in G4String::toUpper() 2748 and G4String::toLower(). Loop over the string characters was causing 2749 bounds overflow. 2750 - tpvector[.h.icc]: added resize(size_t) method which was missing! 2751 2752 January 31, 2000 G.Cosmo (global-V01-00-02) 2753 - STLInterface: several fixes. 2754 o Fixed bug in G4String::toUpper(). 2755 (bug was introduced inadvertently on 20-Oct-1999). 2756 o Added checks for bound-overflows in G4RWTPtrSortedVector::find(). 2757 o Fixed bound-check for operators () and [] in most collections: 2758 () access operators DO NOT perform bound-checking (except if G4DEBUG set); 2759 [] access operators DO perform bound-checking. 2760 o tpvector[.h.icc]: changed 'unsigned int' to 'size_t' in constructors. 2761 Added 'rwsize' and bound-checking for operator[]. 2762 o tvvector.icc: added call to std_vector() in default constructor. 2763 o tpordvec.icc: added std_pvector:: scope for calls to [] operator, 2764 where missing. 2765 o tvordvec.icc: added std_vector:: scope for calls to [] operator, 2766 where missing. 2767 2768 January 19, 2000 G.Cosmo (global-V01-00-01) 2769 - G4UnitsTable[.hh.cc]: added constructor to G4BestUnit for 3vectors (M.Maire). 2770 - globals.hh: added check on definition of CLHEP_MAX_MIN_DEFINED. 2771 2772 January 3, 2000 G.Cosmo (global-V01-00-00) 2773 - Syncronized changes with HEAD (mainly CVS headers). 2774 - Fixed truncation problem in G4Poisson.hh. 2775 - Removed tphdict_test.cc and tvhdict_test.cc in STLInterface/test. 2776 - Added wrapper for HP-aCC for missing <fstream> standard header. 2777 - Removed G4USE_STL from globals.hh and G4Timer[.hh.cc]. 2778 2779 November 29, 99 G.Cosmo (global-V00-01-14) 2780 - Removed g4std/string wrapper since not anymore needed. 2781 It was previously made available only for Win/NT-VC++. 2782 Inclusion of system <string> is handled only in g4rw/cstring where 2783 G4String is defined. 2784 2785 November 26, 99 G.Cosmo (global-V00-01-13) 2786 - STLInterface: backed up inline keyword for simple methods in 2787 vectors' classes (test comparison with previous tag). 2788 - Reorganised cstring[.h.icc], no functional changes. 2789 2790 November 25, 99 G.Cosmo (global-V00-01-12) 2791 - STLInterface: changes for ISO/ANSI C++ support: 2792 o Reorganised method definitions on wrapper classes; made templated 2793 vectors' methods all not inlined (test). Created .icc files accordingly. 2794 o Changed #define to typedef for std_string and protected in class 2795 scope. Introduced std_vector and std_pvector for collections, 2796 replaced G4std::vector<T> and G4std::vector<T*> accordingly. 2797 - Added default comment header to files in STLInterface and class 2798 descriptions for Software Reference Manual. 2799 2800 November 23, 99 G.Cosmo (global-V00-01-11) 2801 - Introduced changes to support ISO/ANSI code: 2802 o Modified STLInterface wrappers to invoke STL containers from G4std 2803 namespace. 2804 o Modified #include statements to invoke g4std wrappers. 2805 o Introduced G4endl and G4cin in G4ios.hh. Modified code accordingly. 2806 - Made destructors for vector wrappers collections in STLInterface virtual. 2807 - Added comments to G4UserLimits.hh for the Software Reference Manual 2808 (by M.Maire). 2809 2810 November 19, 99 G.Cosmo (global-V00-01-10) 2811 - Addition of comments for the Software Reference Manual (by M.Maire): 2812 G4UnitsTable.hh, G4UnitsTest.hh, PhysicalConstants.h, SystemOfUnits.h. 2813 2814 November 16, 99 G.Cosmo (global-V00-01-09) 2815 - STLInterface: removed wrappers for Dictionaries. 2816 Removed files: tvhdict.h, tphdict.h, rwstlhash.h. 2817 Removed also hash_map wrappers for every system. 2818 - Removed temporary 'using' statements in g4std wrappers. 2819 - Reorganised inline function definitions in management/include: 2820 added G4PhysicsVector.icc, G4LPhysicsFreeVector.icc and 2821 G4PhysicsOrderedFreeVector.icc. 2822 - Fixed bug G4PhysicsVector. Initialised data members in default constructor. 2823 - Removed 'RD44' from header description in every file. 2824 - Modifications for Software Reference Manual for existing class descriptions. 2825 2826 November 15, 99 G.Cosmo (global-V00-01-08) 2827 - Fixes for keywords which did not migrate by mistake in the conversion 2828 of the HEAD. Namely: RWDEFAULT_CAPACITY, RWBoundsErr, RWGeneralException, 2829 RWTHROW, RW2STL_LessPtr and in some cases RWCString. 2830 2831 November 11, 99 G.Cosmo (global-V00-01-07) 2832 - Migration RWT->G4RWT performed: 2833 o Moved STLInterface wrapper classes to STLinterface/g4rw. 2834 o Renamed RWCString to G4String and removed related typedef. 2835 o Removed RW_NPOS from defs.h and renamed other RW types/constants 2836 according to the migration. 2837 2838 November 10, 99 G.Cosmo (global-V00-01-06) 2839 - Temporarly redefined RW_NPOS in STLInterface/rw/defs.h. 2840 Will be removed in the RWT->G4RWT migration and replaced with 2841 G4std::string::npos directly in the code. 2842 2843 November 09, 99 G.Cosmo (global-V00-01-05) 2844 - Added new signature HashDefault(const unsigned long&) in STLInterface 2845 rw/rwstlhash.h. 2846 2847 October 28, 99 G.Cosmo (global-V00-01-04) 2848 - Removed G4STREAM implementation from G4ios and G4strstreambuf, no longer 2849 needed. Incremented buffer size to 4096 chars. (by H.Yoshida) 2850 2851 October 22, 99 G.Cosmo (global-V00-01-03) 2852 - Added first implementation of wrapper files for ISO-ANSI migration: 2853 added new directory management/include/g4std. 2854 - Added definition of G4std keyword in G4Types.hh. 2855 2856 October 20, 99 G.Cosmo (global-V00-01-02) 2857 - Tagged. 2858 2859 October 20, 99 J.Allison 2860 - STLInterface: cstring.h: changed (*this)[i] to std_string::operator[](i). 2861 - STLInterface: removed G4USE_EXPLICIT_TYPES_IN_TEMPLATES; introduced 2862 typename keyword where needed for HP aCC. Files modified: 2863 cstring.h, tpordvec.h, tpsrtvec.h, tpvector.h, tvhdict.h, tvordvec.h 2864 and tvvector.h. 2865 2866 October 6, 99 G.Cosmo (global-V00-01-01) 2867 - STLInterface: Changed tolower/toupper to old implementation in cstring.h 2868 (by F.Behner) 2869 2870 September 14, 99 G.Cosmo 2871 - STLInterface: renamed classes HashPtr and Hash to G4HashPtr and G4Hash in 2872 tphdict and tvhdict to make them compliant with G4 coding standards and 2873 avoid clashes with external software in global scope. 2874 - STLInterface: removed useless tests over size_t < 0 in files tvordvec.h, 2875 tvvector.h, tpsrtvec.h and tpordvec.h. 2876 - STLInterface: casted pointers to long in rwstlhash.h instead of unsigned. 2877 2878 September 13, 99 V.Grichine 2879 - Added new class G4Integrator (.hh/.icc) and test file 2880 G4IntegratorTest.cc in HEPNumerics for integration of generic 2881 functions. 2882 2883 September 10, 99 G.Cosmo 2884 - Added inline keyword to G4Poisson function in HEPRandom/include 2885 which was missing. 2886 2887 August 24, 99 J.Allison (global-V00-01-00) 2888 - Initialised pointer in first constructor of G4DataInterpolation. 2889 - Included STLInterface-V00-01-00. 2890 2891 June 21, 99 J.Allison (global-01-00-05) 2892 - Changed G4Exception to abort, i.e., produce core dump. 2893 - Includes STLInterface-18. 2894 2895 May 24, 99 G.Cosmo (global-01-00-04) 2896 - globals.hh: removed inclusion of G4Timer.hh, left only G4Types.hh. 2897 The attempted solution does not work in situation where STL headers are pulled 2898 in before globals.hh. Several of this cases experienced on HP-aCC. 2899 - STLInterface/rw/tphdict.h: added find() method to retrieve a key. 2900 2901 May 24, 99 G.Cosmo (global-01-00-03) 2902 - G4Timer.hh: removed CPP cludge for the "times" clash in ObjectSpace. 2903 Removed direct inclusion of global.hh to decouple translation unit from 2904 RW/STL headers. (F.Benher) 2905 - Introduced G4Types.hh and replaced basic types definitions in globals.hh 2906 and G4Timer.hh. 2907 - Added inclusion of G4Timer.hh in globals.hh to get rid of clashes about the 2908 order of inclusion. G4Timer.hh must appear -before- STL's <algorithm>. 2909 2910 May 19, 99 G.Cosmo (global-01-00-02) 2911 - templates.hh: added definition of DBL_EPSILON and FLT_EPSILON. 2912 Added 'F' to single precision literal constants. 2913 - Updates to STLInterface wrappers from the STL task-force. Added 2914 AIX-xlC STL wrappers. 2915 2916 May 17, 99 J.Allison 2917 - Added #undef os_times in G4Timer.hh to avoid clash with ObjectSpace when 2918 using STLInterface on Sun. 2919 2920 May 14, 99 G.Cosmo (global-01-00-01) 2921 - Still updates to STLInterface from the STL task-force (internal tag considered 2922 is STLInterface-04). Introduced wrapper files differentiated for each architecture. 2923 2924 May 11, 99 G.Cosmo 2925 - Updates and fixes to STLInterface headers. Input mainly from DEC and HP. 2926 - Added G4Poisson.hh to HEPRandom/include. It includes the implementation 2927 of the global function "G4long G4Poisson(G4double)" which reproduces the 2928 GPOISS algorithm adopted in Geant3. Uses the CLHEP standard engines as 2929 basic random generators. 2930 2931 May 3, 99 G.Cosmo (global-01-00-00) 2932 - Updates to STL interface ISO/ANSI headers (F.Benher) 2933 - Added G4Exception call with STL strings in globals.hh and G4Exception.cc (F.Benher) 2934 2935 April 29, 99 G.Cosmo 2936 - Moved SystemOfUnits.SI.h to G4UnitsTest.hh in management/include. This file is 2937 used only for test purposes and will not be tagged for public versions. 2938 2939 March 30, 99 M.Maire 2940 - CodeWizard cleanup in G4UnitsTable. Fixed definition of operator=. 2941 2942 March 18, 99 J.Allison 2943 - globals.hh: Added #ifdef G4USE_STL, changed position of 2944 #include "g4rw/cstring.h". 2945 2946 December 17, 98 J.Allison (global-00-04-03) 2947 - Added first version of STL interface. 2948 2949 December 2, 98 M.Asai (global-00-04-02) 2950 - Remove the construction of G4UnitsMessenger in G4UnitsTable. This messenger is 2951 constructed/destructed by G4UImanager to avoid a loop dependency. 2952 2953 December 1, 98 G.Cosmo (global-00-04-01) 2954 - Removed G4Allocator.cc containing all template declarations for GNU-g++ 2955 compiler not supported anymore. 2956 - Removed g4templates.hh contining all template declarations for the old 2957 DEC cxx 5.X compiler not supported anymore. 2958 - Moved G4ParticleTypes.hh to particles/management/include to remove 2959 dependency over particles category. 2960 - Updated management/GNUmakefile: not anymore dependencies over external 2961 categories. Dependency over intercoms to be fixed still. 2962 2963 December 1, 98 M.Nagamatu, H Yoshida 2964 - G4ios.cc guarded by G4STREAM 2965 2966 November 27, 98 M.Asai 2967 - G4UnitsMessenger has been moved to intercoms category to avoid a loop dependency. 2968 2969 November 12, 98 K. Amako (global-00-03-05) 2970 - Corrected a bug in the GetVectorLength() method of 2971 management/src/G4PhysicsVector.cc. The fixed bug has nothing 2972 to do with the basic behavior of G4PhysicsVector. 2973 2974 November 11, 98 P.Gumplinger 2975 - Initialized all data members of the base class in G4PhysicsOrderedFreeVector 2976 constructors. 2977 2978 November 6, 98 J.Allison (global-00-03-04) 2979 - #ifdef WIN32 in G4strstreambuf.hh (Guy Barrand). 2980 2981 November 4, 98 G.Cosmo (global-00-03-03) 2982 - Added G4coutDestination.hh, G4strstreambuf.hh and G4ios.cc 2983 in global/management to resolve a circular dependency previously 2984 existing with intercoms category (H.Yoshida, M.Nagamatu). 2985 2986 October 21, 98 G.Cosmo (global-00-03-02) 2987 - Fixed initialization of G4UnitDefinition::UnitsMessenger in 2988 G4UnitesTable.cc. 2989 2990 October 17, 98 H.Kurasige 2991 - Modified G4FastVector.hh: 2992 new array is now created only if (items > N) in Initialize() method 2993 (in old version new array was created even when items are equal to N). 2994 2995 October 13, 98 M.Nagamatu (global-00-03-01) 2996 - Added extern ostream G4cout/G4cerr under G4STREAM control. 2997 2998 October 13, 98 M.Maire 2999 - Fixed length for printing the units. Add messenger file. 3000 3001 September 23, 98 G.Cosmo 3002 - Replaced definition of min/max/sqr/abs with inclusion of 3003 CLHEP/config/TemplateFunctions.h. Now compliant with CLHEP-1.3. 3004 - Replaced definition of G4UniformRand() with explicit call to the static 3005 engine of the generator. This obviates to a silly bug in the AIX compiler 3006 when treating static objects via -qtwolink option. 3007 3008 September 10, 98 G.Cosmo 3009 - Added #undef min/max/sqr/abs to prevent possible macros definition 3010 (temporary solution to allow backward compatibility with CLHEP-1.2). 3011 3012 September 1, 98 M.Maire 3013 - Changed Watt to watt in SystemOfUnits.h and G4UnitsTable.cc. 3014 3015 August 26, 98 J.Allison (global-00-02-02) 3016 - Introduced globals.hh for CLHEP-1.3 (backwards compatible with CLHEP-1.2): 3017 added definitions of template functions min/max/sqr/abs. 3018 3019 August 11, 98 G.Cosmo (global-00-02-01) 3020 - Modified SystemOfUnits.h and G4UnitsTable.cc (M.Maire): 3021 introduced - angstrom, microbarn, picobarn, petaelectronvolt. 3022 3023 July 17, 98 G.Cosmo (global-00-01-07) 3024 - Fixed bug in G4Timer introduced by methods renaming (G.Folger). 3025 3026 July 15, 98 Y.Morita (global-00-01-06) 3027 - G4ios.hh: Added following lines for ooddlx compiler on CERN AFS-AIX 3028 #if defined(OO_DDL_TRANSLATION) 3029 #include <stdlib.h> 3030 #endif 3031 3032 July 14, 98 G.Cosmo (global-00-01-05) 3033 - Modified key value for G4Allocator for porting on CC compiler. 3034 (H.Kurasige) 3035 3036 July 8, 98 G.Cosmo (global-00-01-04) 3037 - Removed forward declarations of G4RWTPtrOrderedVector<G4KineticTrack> 3038 and G4RWTPtrSortedVector<G4CollisionInitialState> from g4templates.hh. 3039 3040 July 7, 98 G.Cosmo (global-00-01-03) 3041 - Removed old unit symbols in globals.hh (M.Maire) 3042 - Added units for density in G4UnitsTable.cc (M.Maire) 3043 3044 July 6, 98 G.Cosmo (global-00-01-02) 3045 - Tagged. 3046 3047 July 3, 98 J.Allison 3048 - Added run/include to management/GNUmakefile for G4Allocator.cc ifdef GNU_GCC. 3049 - Added G4Allocator<G4HitsCollection> to G4Allocator.cc for GNU_GCC. 3050 3051 July 3, 98 G.Cosmo (global-00-01-01) 3052 - Moved template declarations of G4Allocator for GNU_GCC from 3053 g4templates.hh to G4Allocator.cc. 3054 - Tagged. 3055 3056 July 3, 98 J.Allison 3057 - Added G4Allocator<G4Run>,<G4HCofThisEvent>,<G4DCofThisEvent> for GNU_GCC. 3058 3059 July 2, 98 G.Cosmo (global-00-07-01) 3060 - Updated g4templates.hh. 3061 3062 June 26, 98 G.Cosmo (global-00-06-04) 3063 - Removed obsolete directory "benchmarks". 3064 3065 June 22, 98 G.Cosmo (global-00-06-03) 3066 - Tagged. 3067 3068 June 19, 98 J.Allison 3069 - In GNUmakefile.architecture, defined G4_SOLVE_TEMPLATES and GNU_GCC. 3070 - In g4templates.hh, protected G4Ray. 3071 3072 June 15, 98 G.Cosmo (global-00-06-02) 3073 - Modified G4UnitsTable, "SymbolName" instead of "Symbol" (M.Asai). 3074 - Added few template declarations to g4templates.hh for DEC-AFS. 3075 3076 June 10, 98 G.Cosmo (global-00-06-01) 3077 - Added forward declarations in g4templates.hh for BREPS classes 3078 which were removed by mistake in a committal by M.Maire. 3079 3080 June 10, 98 P.Urban 3081 - Added G4VERBOSE symbol to the compilation command line. 3082 3083 June 08, 98 H.Kurasige & M.Maire 3084 - Added particles G4EtaPrime and G4RhoZero in G4ParticleTypes.hh 3085 - Created G4UnitsTable (.hh and .cc) and G4UnitsTableTest.cc 3086 3087 June 05, 98 M.Maire 3088 - Temporarily added PhysicalConstants.h and SystemOfUnits.h from 3089 CLHEP. Modified globals.hh accordingly. 3090 - Updated G4UnitsTest.cc 3091 3092 May 12, 98 G.Cosmo 3093 - Fixed bug in GNUmakefile.architecture for OSF platforms. LDFLAGS 3094 was explicitly overriden (!?). 3095 3096 April 23, 98 G.Cosmo (global-00-05-03) 3097 - Added forward declarations in g4templates.hh for BREPS classes. 3098 - Modified OpenInventor setup and added -woff option to CXXFLAGS in 3099 SGI-Local environment (J.Kallenbach). 3100 3101 April 21, 98 M.Asai (global-00-05-02) 3102 - G4ApplicationState.hh, G4StateManager.hh and .cc, G4VStateDependent.hh 3103 and .cc are moved to "intercoms". 3104 - Tagged as global-00-05-02. 3105 3106 April 20, 98 G.Cosmo 3107 - Added handling of native boolean types in globals.hh through the 3108 variable G4_HAVE_BOOL (before controlled only through CLHEP variable 3109 HEP_HAVE_BOOL). 3110 - Added G4_HAVE_BOOL to HP-aCC setup in GNUmakefile.architecture. 3111 3112 April 15, 98 H.Kurasige 3113 - Removed post-const qualifier from following methods in G4UserLimits: 3114 GetMaxAllowedStep, GetUserMaxTrackLength, GetUserMaxTime, 3115 GetUserMinEkine, GetUserMinRange. 3116 3117 April 09, 98 G.Cosmo (global-00-05-01) 3118 - Modified G4Allocator::AddNewPage(). Now used "register int" 3119 instead of "unsigned" for page chunks index. 3120 3121 April 09, 98 M.Maire 3122 - Added new data and member functions to G4UserLimits class. 3123 3124 March 24, 98 G.Barrand 3125 - GNUmakefile, GNUmakefile.architecture, GNUmakefile.common : 3126 MAKESHLIB changed in G4MAKESHLIB 3127 3128 March 13, 98 G.Cosmo (global-00-04-04) 3129 - Added inclusion of G4GlobalFastSimulationManager.hh in g4templates.hh, 3130 courtesy of P.Mora de Freitas. 3131 3132 March 12, 98 G.Cosmo (global-00-04-03) 3133 - Updated description of supported OS/compilers. 3134 3135 March 07, 98 G.Cosmo (global-00-04-02) 3136 - Modified CPPFLAGS setup for HP-aCC. 3137 - Added -lftn to FCLIBS for SGI setup (P.Urban) 3138 3139 March 05, 98 G.Cosmo (global-00-04-01) 3140 - Removed warnings of unused variables. 3141 3142 March 03, 98 G.Cosmo 3143 - Changed NO_CBRT to G4_NO_CBRT in GNUmakefile.architecture and 3144 globals.hh. 3145 - Changed default constructor in G4StateManager.hh to be protected 3146 instead of private. 3147 3148 March 02, 98 S.Sadilov 3149 - add (temporary solution?) MAXFLOAT macros in 3150 management/include/templates.hh for WinNT because of using 3151 its in processes/hadronic/models/high_energy/src/*.cc 3152 3153 February 2, 98 G. Cosmo (global-00-03-04) 3154 - Added -ptr option to DEC-AFS. Now sharing a unique template 3155 repository. 3156 3157 January 29, 98 G. Cosmo (global-00-03-03) 3158 - Added template definitions in G4Allocator.cc (M.Nagamatu) 3159 - Removed -DNO_NATIVE_GENERIC_H -I$(RWINC)/rw from compile command 3160 for HP-aCC. Optimised compilation is now +O2. 3161 3162 January 29, 98 G. Cosmo (global-00-03-02) 3163 - Tagged global-00-03-02 3164 3165 January 29, 98 S. Sadilov 3166 - Included new G4SYSTEMS for Win/NT platform: WIN32-VC-NICE and 3167 WIN32-G++-NICE in GNUmakefiles.architecture. 3168 Added CLHEP, RW, architecture dependant variables and variables for 3169 positional qualifiers (different between UNIX and VC). 3170 - In GNUmakefile.common and GNUmakefile used $OUT_LIB introduced in 3171 GNUmakefile.architecture as positional qualifier for creating 3172 simple-libraries and composite-library. 3173 - In GNUmakefile.common used $RWINCGPP introduced in GNUmakefiles.architecture 3174 as right path on RW includes: different compilers (g++ for dependencies 3175 and VC compiler for buiding) use different RW. 3176 3177 January 27, 98 G. Cosmo (global-00-03-01) 3178 - Introduced G4EXEC_BUILD and G4TEMPEXEC_REPOSITORY flags for C_FRONT based 3179 compilers. These flags allow to distinguish between the template repository 3180 used for building G4 libraries and the one used to build executables. 3181 When building an executable and G4EXEC_BUILD is set, the original template 3182 repository $G4TEMPLATE_REPOSITORY used to build libraries becomes read-only 3183 $G4TEMPEXEC_REPOSITORY is used instead. 3184 3185 January 23, 98 G. Cosmo 3186 - Added "-DNO_NATIVE_GENERIC_H -I$(RWINC)/rw" to CPPFLAGS for HP-aCC 3187 in GNUmakefile.architecture. 3188 - Removed duplicated definition of G4Allocator<G4DecayProducts> from 3189 g4templates.hh. 3190 3191 January 20, 98 G. Cosmo 3192 - Modified GNUmakefile.architecture, adding -DRW_NO_STL option to 3193 CPPFLAGS and removing it from CXXFLAGS. 3194 3195 January 19, 98 E. Tcherniaev 3196 - Removed files Hep3Vector.hh, HepRotation.hh and G4SystemofUnits.cc 3197 - Updated several classes/files to use "#include <CLHEP/...>" instead 3198 of "#include "CLHEP/..."". 3199 3200 January 15, 98 G. Cosmo 3201 - Updated GNUmakefile.architecture to support aCC A.01.06 compiler. 3202 Standardized definitions of variables related to CLHEP and RW. 3203 - Removed patches/template-definitions for HP-aCC from g4templates.hh 3204 and G4Allocator.cc. 3205 3206 December 19, 97 G. Cosmo - (alpha03) 3207 - Created.