Geant4 Cross Reference (Editor's cut) |
1 # Category event 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). It must **not** 5 be used as a substitute for writing good git commit messages! 6 7 ------------------------------------------------------------------------------- 8 9 ## 2023-11-14 Alex Howard (event-V11-01-07) 10 - The ListSource command for the G4GeneralParticleSource fails to list the 11 correct energy of the sources since they need to be accessed as a 12 monoenergetic source distribution, rather than the particle energy. 13 14 ## 2023-11-06 Ben Morgan (event-V11-01-06) 15 - Fix Coverity 104909: avoid use of subevent pointer after deletion. 16 17 ## 2023-10-25 Vladimir Ivanchenko (event-V11-01-05) 18 - G4EventManager - fixed warning seen in the continues build, when G4VERBOSE 19 is not defined 20 21 ## 2023-09-28 Ben Morgan (event-V11-01-04) 22 - Fix Coverity issues 104905, 104908, requiring return after fatal G4Exception. 23 - Apply core clang-tidy fixes 24 25 ## 2023-08-28 Makoto Asai (event-V11-01-02, 03) 26 - Introducing G4SubEvent and related classes. 27 - Co-working with run-V11-01-06, -07 and global-V11-02-16. 28 - Addressing to the new track status fSuspendAndWait in track-V11-01-01. 29 30 ## 2023-06-07 Makoto Asai (event-V11-01-01) 31 - Adding SetParticleWeight() method to G4ParticleGun. 32 - Fix incorrect information of maximum number of tracks. 33 34 ## 2022-12-12 Ben Morgan (event-V11-01-00) 35 - Remove obsolete GNUmakefile scripts 36 37 ## 2022-11-17 Gabriele Cosmo (event-V11-00-07) 38 - Fixed compilation warnings for implicit type conversions on macOS/XCode 14.1. 39 40 ## 2022-09-05 Ben Morgan (event-V11-00-06) 41 - Remove unneeded dependency on G4magneticfield 42 43 ## 2022-04-04 Ben Morgan (event-V11-00-05) 44 - Apply basic set of C++ modernization fixes suggested by clang-tidy 45 46 ## 2022-01-28 Ben Morgan (event-V11-00-04) 47 - Replace `geant4_global_library_target` with direct file inclusion and 48 call to `geant4_add_category` to define library build from source modules. 49 - Make DLL export symbol a CMake module-level compile definition to aid 50 future modularization 51 52 ## 2022-01-26 Gabriele Cosmo (event-V11-00-03) 53 - Added dependency on geometry/magneticfield module in GNUmakefile and 54 sources.cmake, required for granular builds after modification applied 55 in previous tag/commit. 56 57 ## 2022-01-24 Witek Pokorski (event-V11-00-02) 58 - Adding the call to the G4GlobalFastSimulationManager::Flush() method in the 59 event loop 60 61 ## 2021-12-15 Ben Morgan (event-V11-00-01) 62 - Canonicalize implementations of custom `new` and `delete` operators that use `G4Allocator` 63 64 ## 2021-12-10 Ben Morgan (event-V11-00-00) 65 - Change to new Markdown History format 66 67 --- 68 69 # History entries prior to 11.0 70 71 October 31st, 2021 J. Hahnfeld (event-V10-07-08) 72 - G4EventManager: Make StackTracks public 73 74 October 25th, 2021 B.Morgan (event-V10-07-07) 75 - Use G4StrUtil functions replacing deprecated G4String member functions 76 77 October 21st, 2021 J. Hahnfeld (event-V10-07-06) 78 - G4EventManager: Hand over track to custom tracking manager, 79 if registered for the particle 80 81 October 18th, 2021 B.Morgan (event-V10-07-05) 82 - Use std::string member functions from G4String in place of synonyms 83 84 August 21th, 2021 V.Ivanchenko (event-V10-07-04) 85 - G4SPSEneDistribution - use more optimal access to G4PhysicsVector 86 87 June 7th, 2021 M. Asai (event-V10-07-03) 88 - Fix the default value of /gps/ang/maxphi command. Addressing to 89 the bug report 2383. 90 91 May 18th, 2021 V.Ivanchenko (event-V10-07-02) 92 - G4AdjointPrimaryGenerator, G4SPSAngDistribution, G4SPSEneDistribution, 93 G4SPSRandomGenerator - use G4PhysicsFreeVector instead of 94 G4PhysicsOrderedFreeVector 95 96 April 1st, 2021 B. Morgan (event-V10-07-01) 97 - Migrate build to modular CMake API 98 99 March 31st, 2021 G.Cosmo (event-V10-07-00) 100 - Use existing facility to find physical volume in store, rather than looping 101 through in G4SPSPosDistribution::ConfineSourceToVolume(). 102 103 November 20th, 2020 B.Morgan (event-V10-06-09) 104 - Bugfix of build to ensure SmartStack preprocessor define is propagated. 105 No changes to code. 106 107 November 12th, 2020 - Jonathan Madsen (event-V10-06-08) 108 - Added event profiler 109 110 November 16th, 2020 G.Cosmo (event-V10-06-07) 111 - Fixed typos in printed-out text. Addressing problem report #2285. 112 113 September 30th, 2020 M.Asai (event-V10-06-06) 114 - G4SPSPosDistribution.cc: Fix misleading error message. Addressing to 115 Bugzilla report #2275. 116 117 April 29th, 2020 M.Asai (event-V10-06-05) 118 - G4GeneralParticleSourceMessenger: command structure clean-up. 119 120 April 28th, 2020 G.Cosmo (event-V10-06-04) 121 - Code formatting and cleanup. 122 123 April 20th, 2020 M.Asai (event-V10-06-03) 124 - Introducing a new General Particle Source energy distribution option, 125 that generates flat energy distribution with track weights that 126 represents energy spectrum provided by /gps/hist/point commands. 127 This option can enhance, for example, higher energy tracks that are 128 rare but contribute to the scores. 129 130 February 28th, 2020 G.Cosmo (event-V10-06-02) 131 - Fixed Coverity defect in G4GeneralParticleSourceMessenger. 132 133 February 26th, 2020 G.Cosmo (event-V10-06-01) 134 - Some code cleanup, formatting and C++11 revision. 135 - Removed obsolete and unused headers. 136 - Corrected logic in G4VPrimaryGenerator::CheckVertexInsideWorld() method. 137 138 December 9th, 2019 B.Morgan (event-V10-06-00) 139 - Cleanup CMake build, removing obsolete granular library option and 140 explicit include_directories. 141 142 November 19th, 2019 G.Cosmo (event-V10-05-08) 143 - Fixed more implicit type conversions. 144 145 November 15th, 2019 G.Cosmo (event-V10-05-07) 146 - Fixed implicit type conversions from size_t to G4int in G4TrackStack 147 and G4TrajectoryContainer. Fixed typos and ome code cleanup. 148 149 October 25th, 2019 B.Morgan (event-V10-05-06) 150 - Make -DG4_USESMARTSTACK a public compile definition of G4event 151 to propagate it directly to CMake clients. 152 153 October 1st, 2019 M. Asai (event-V10-05-05) 154 - G4SPSEneDistribution.cc: Protect infinite loop caused by while loop. 155 Addressing to Bugzilla report #2177. 156 157 June 3rd, 2019 M.Asai (event-V10-05-04) 158 - G4SPSPosDistribution::GetConfineVolume() now returns 159 const G4String&. 160 161 May 29th, 2019 M.Asai (event-V10-05-03) 162 - G4SPSPosDistribution.hh: Add get methods for volume confinement 163 based on the Geant4 GitHub user request. 164 165 March 11th, 2019 G.Cosmo (event-V10-05-02) 166 - Fixed typos in printouts in G4GeneralParticleSourceMessenger. 167 168 January 31st, 2019 I.Hrivnacova 169 - Merged GitHub PR #4: all Boolean operators now return G4bool. 170 171 January 28th, 2019 M.Asai (event-V10-05-01) 172 - G4HEPEvtInterface.cc : Clean up G4Exception seviorities when 173 end-of-file is detected. 174 175 December 14th, 2018 M.Asai (event-V10-05-00) 176 - G4PrimaryTransformer.cc : Allowing absolute zero proper decay time. 177 Co-working with particles-V10-05-00 and decay-V10-05-00. 178 179 November 9th, 2018 G.Cosmo (event-V10-04-08) 180 - Fixed printout typos. 181 182 May 17th, 2018 J.Madsen (event-V10-04-07) 183 - updated "thread-local-static-var" model to 184 "function-returning-thread-local-static-reference" model 185 which fixes Windows DLL + MT 186 187 April 30, 2018 M.Asai (event-V10-04-06) 188 - Re-tagging event-V10-04-04 : Change the default stack to 189 G4TrackStak. Addressing to bug report #2040. 190 191 April 2, 2018 M.Asai (event-V10-04-05) 192 - Tag event-V10-04-04 is removed for the time being. 193 - G4StackManager.cc : code clean up. 194 195 March 16, 2018 M.Asai (event-V10-04-04) 196 - Change the default stack to G4TrackStak. Addressing to bug 197 report #2040. 198 199 February 8, 2018 Dennis Wright (event-V10-04-03) 200 - add deprecation warning for /gun/ionL in 201 G4ParticleGunMessenger::SetNewValue() 202 203 January 9, 2018, M.Asai (event-V10-04-02) 204 - G4GeneralParticleSourceMessenger : 205 UI command returns an error message if a command is refused due 206 to incorrect parameter(s). 207 - This tag requires intercoms-V10-04-01 tag. 208 209 December 26, 2017, M.Asai (event-V10-04-01) 210 - G4ParticleGunMessenger : 211 UI command returns an error message if a command is refused due 212 to incorrect parameter(s). 213 - This tag requires intercoms-V10-04-01 tag. 214 215 December 19, 2017, G.Cosmo (event-V10-04-00) 216 - Fixed self-consistency in G4SPSRandomGenerator header (missing #include). 217 Thanks to Raphael Isemann for reporting this. 218 219 October 23, 2017, K.L.Genser (event-V10-03-04) 220 - G4StackManager added #ifdef for the case when a particle IsMuonicAtom 221 222 September 12, 2017, K.L.Genser (event-V10-03-03) 223 - G4StackManager added a case when a particle IsMuonicAtom 224 225 June 1, 2017 A.Dotti (event-V10-03-02) 226 - Fixing gcc-7.1 warnings for fallthroughs in case statements 227 G4EventManager and G4StackingManager 228 229 May 3, 2017 J.Allison (event-V10-03-01) 230 - Added more access functions for use by G4GPSModel for visualisation. 231 232 April 30, 2017 J.Allison (event-V10-03-00) 233 - G4SPSPosDistribution.hh: Added GetRotx,y,z access functions. 234 235 December 7, 2016 M.Asai (event-V10-02-09) 236 - Set polarization to pre-assigned decay products. Addressing to 237 bug report #1914. 238 239 September 2, 2016 M.Asai (event-V10-02-08) 240 - Changed the way of deleting G4PrimaryVertex objects to avoid 241 stack overflow for very large number of primary vertices. 242 243 July 27, 2016 M.Asai (event-V10-02-06, -07) 244 - Particle gun now can shoot ions with floating level base. 245 246 July 22, 2016 L.Desorgher (event-V10-02-05) 247 - Modification of G4AdjointStackingAction to remove compilation error on Windows. 248 249 July 21, 2016 L.Desorgher (event-V10-02-04) 250 - Modification of G4AdjointStackingAction 251 for the implementation of the splitting of the reverse MC tracking. 252 253 May 16th, 2016 A.Dotti (event-V10-02-03) 254 - Fix typos and bug from bugzilla #1860 255 256 April 20th, 2016 G.Cosmo (event-V10-02-02) 257 - Fixed shadowing compilation warnings in G4GeneralParticleSourceMessenger 258 for 'ps'. 259 260 January 19th, 2016 A.Dotti (event-V10-02-01) 261 - Introducing G4MultiEventAction to allow multiple 262 user actions in the same job 263 264 December 28th, 2015 M.Asai (event-V10-02-00) 265 - Code clean-up. 266 267 June 8th, 2015 A.Dotti (event-V10-01-08) 268 - Fixing valgring report 269 270 June 6th, 2015 A.Dotti (event-V10-01-07) 271 - Protecting the command /gps/source/set in case 272 of out-of-bound index. 273 274 June 5th, 2015 A.Dotti (event-V10-01-06) 275 - Further refinement for bug #1744: address case in which 276 /gps/source/clear is used 277 - Increase verbosity of error message for GPS in case 278 no sources are defined 279 280 May 28th, 2015 A.Dotti (event-V10-01-05) 281 - Addressing bug #1744 282 - Increased level of verbosity of /gps/verbose 283 - /gps/verbose now acts globally on all sources in case of multiple ones 284 (no need to activate verbosity for each source) 285 286 April 6th, 2015 A.Dotti (event-V10-01-04) 287 - Coverity fixes 288 289 February 20th, 2015 A.Dotti (event-V10-01-03) 290 - Clean code and remove not needed thread-local data that 291 need to be shared for UI commands to work properly 292 (bug introduced in previous tag) 293 294 February 20th, 2015 A.Dotti (event-V10-01-02) 295 - Bug fixing: bringing back of sharing of random generator for SPSPosDistribution class, wrongly made thread-local 296 297 February 19th, 2015 A.Dotti (event-V10-01-01) 298 - Bug fixing for unused variable 299 300 February 16th, 2015 A.Dotti (event-V10-01-00) 301 - Attempting fixing bug #1706 302 303 November 20th, 2014 A.Dotti (event-V10-00-19 and -20) 304 - Coverity fixes for G4Adjoint* classes 305 306 November 20th, 2014 A.Dotti (event-V10-00-18) 307 - Coverity fixes for G4SPSEneDistribution 308 309 November 6th, 2014 A.Dotti (event-V10-00-17) 310 - Coverity fixes for G4SPSEneDistribution 311 312 October 22nd, 2014 M.Asai (event-V10-00-16) 313 - G4Event.hh: Added const-qualifiers forgot with V10-00-10 tag. 314 315 October 16th, 2014 A.Dotti (event-V10-00-15) 316 - Adding G4MUTEXDESTROY for GPS classes 317 318 October 10th, 2014 A.Dotti (event-V10-00-14) 319 - New strategy for GPS messenger: it is instantiated w/ singleton 320 pattern. UI commands are created in a worker thread, but commands 321 are executed by master. Requires intercoms-V10-00-13 322 323 October 10th, 2014 A.Dotti (event-V10-00-13) 324 - Fix for unitialized array in G4SPSEneDistribution 325 326 October 8th, 2014 A.Dotti (event-V10-00-11 and -12) 327 - Correction in logic of normalization of sources for 328 GPS. 329 - Initialize mutex for G4SPSEneDistribution class 330 331 October 1st, 2014 M.Asai (event-V10-00-09 and -10) 332 - Introduing the mechanism of G4Event not to be deleted until it is 333 visualized by the other thread. 334 335 September 25th, 2014 M.Asai (event-V10-00-08) 336 - G4GeneralParticleSourceMessenger.cc : Change G4ParticleTable::GetIon() 337 to G4IonTable::GetIon(). 338 339 Aug 29th, 2014 A.Dotti (event-V10-00-07) 340 - Coverity fix #56594 341 342 July 21st, 2014 A.Dotti (event-V10-00-06) 343 - Fix for bug #1656: G4SPSPosDistribution::GenerateOne() not 344 working correctly for GeneratePointsOnSurface() and 345 GeneratePointsInVolume() 346 347 June 10th, 2014 A.Dotti (event-V10-00-05) 348 - Removing data-race conditions in G4SPSEneDistribution class 349 350 June 4th, 2014 A.Dotti (event-V10-00-04) 351 - Correcting compilation warnings and errors. 352 - Small changes to G4SPSEneDistribution: further memory reduction 353 354 June 4th, 2013 L.Desorgher (event-V10-00-03) 355 - G4AdjointPrimaryGenerator: Add splitting of fwd gamma primaries to improve 356 convergence of G4RMC. 357 358 June 3rd, 2014 A.Dotti (event-V10-00-02) 359 - First implementation of memory reduction mechanism in MT 360 courtesy of Andrew Green (Manchester U). 361 362 February 21st, 2014 M.Asai (event-V10-00-01) 363 - G4SPSPosDistribution::IsSourceConfined() : Add protection against 364 null pointer. Addressing to Bug report #1255. 365 366 January 23rd, 2014 M.Asai (event-V10-00-00) 367 - Change the default value of Q (charge) for /gun/ion and /gun/ionL commands. 368 Now electrons are fully stripped (i.e. Q = Z) if Q is not specified. 369 370 November 7th, 2013 L.Desorgher (event-V09-06-21) 371 - Modification of adjoint classes to migrate to the new RMC schema where reverse 372 and forward trackings of equivalent adjoint and forward primaries are processed 373 in the same events. This in preparation for the migration to the G4MT mode. 374 375 September 9th, 2013 M.Asai (event-V09-06-20) 376 - Change the warning message in G4StackManager on missing process 377 manager to be issued only when the verbose level is greater than 0. 378 379 September 6th, 2013 M.Asai (event-V09-06-19) 380 - Fix incorrect initialization in G4ParticleGunMessenger class for 381 /gun/ionL command. 382 383 September 6th, 2013 M.Asai (event-V09-06-18) 384 - Remove G4ParticleTable::GetIon() and use G4IonTable::GetIon() 385 instead. 386 387 August 31st, 2013 M.Asai (event-V09-06-17) 388 - Fix the way of detecting improper process namager. 389 390 August 29th, 2013 M.Asai (event-V09-06-16) 391 - Retagged with more optional verbosity. 392 393 August 28th, 2013 M.Asai (event-V09-06-15) 394 - Split class mechanism of G4ParticleDefinition has been changed. 395 Now all general ions share the object ID with GenericIon so that 396 TLS pointers to G4ProcessManager are not created for such ions. 397 398 August 23rd, 2013 M.Asai (event-V09-06-14) 399 - G4StackManager now checks a track having proper process manager. 400 401 August 14th, 2013 M.Asai (event-V09-06-13) 402 - G4ParticleGunMessenger: /gun/particle commands now consults to the particle 403 table for all the available particles except general ions. 404 405 August 9th, 2013 Dennis Wright (event-V09-06-12) 406 - include G4GeneralParticleSourceMessenger.cc which was omitted in previous tag 407 IonLvlCommand and relevant data members added to 408 G4GeneralParticleSourceMessenger.hh 409 410 July 31st, 2013 Dennis Wright (event-V09-06-11) 411 - G4ParticleGunMessenger.hh, .cc: add G4UIcommand ionLvlCmd so that particle 412 gun can shoot ions with integer isomer level 413 - G4GeneralParticleSourceMessenger.hh: add ionL command (see above comment) 414 415 July 11th, 2013, M.Asai (evet-V09-06-10) 416 - Remove unnecessary static G4ThreadLocal variables in G4PrimaryTransformer. 417 418 June 21, 2013, M.Asai (event-V09-06-09) 419 - Clean up G4cout messages for beta release. 420 421 June 7th, 2013, M.Asai (event-V09-06-08) 422 - Move the access method of G4StateManager::GetStateManager() to the 423 constructor of G4EventManager to reduce the use of TLS pointer. 424 425 June 7th, 2013, L.Desorgher (event-V09-06-07) 426 - Remove the call of aSolid->SurfaceNormal() in G4AdjointPosOnPhysVolGenerator::GenerateAPositionOnASolidBoundary that was 427 generating warnings. Suggested by G. Cosmo 428 429 May 26th, 2013, M.Asai (event-V09-06-06) 430 - Adding additional checks on file I/O and verbosity to G4HEPEvtInterface. 431 432 May 22nd, 2013, B.Morgan (event-V09-06-05) 433 - Ensure deletion of "angsigmayCmd1" G4UIcommand instance in destructor of 434 G4GeneralParticleSourceMessenger, fixing minor memory leak. 435 436 May 15th, 2013, M.Asai (event-V09-06-04) 437 - Change the type of the argument of the constructor of G4HEPEvtInterface 438 from char* to const char*. 439 440 Apr. 10th, 2013, G.Cosmo (event-V09-06-03) 441 - Cleanup of automatic changes for MT in classes: G4Event, G4HEPEvtParticle, 442 G4TrajectoryContainer, G4AdjointPosOnPhysVolGenerator and G4EventManager. 443 444 Feb. 26th, 2013, L.Desorgher (event-V09-06-02) 445 - Remove unused variables in G4AdjointPosOnPhysVolGenerator, 446 G4AdjointPosOnPhysVolGenerator, G4GeneralParticleSource, 447 G4SPSEneDistribution, and G4SPSRandomGenerator. 448 449 December 4th, 2012, M.Asai (event-V09-06-01) 450 - Delete undeleted UI command in the destructor of G4StackMessenger. 451 Addressing problem report #1380. 452 453 December 3rd, 2012, M.Asai (event-V09-06-00) 454 - Remove obsolete classes G4CellScorer and G4CellScorerStore. 455 456 November 27th, 2012, Hisaya Kurashige (event-V09-05-17) 457 - Add clearAndDestory() method to G4TrackStack and G4SmartTrackStack 458 and use this method in G4StackManager::clear() 459 This fixes problem with memory leak 460 461 November 9th, 2012, P. Mato (event-V09-05-16) 462 - G4StackManager, G4SmartTrackStack: set stack at well defined state at new event 463 This fixes problem with reproducibility 464 465 November 8th, 2012, M.Asai (event-V09-05-15) 466 - Fixed uninitialized valiables in G4SmartTrackStack. 467 468 November 5th, 2012, P. Mato (event-V09-05-14) 469 - G4StackManager: moved a bunch of inlined methods from header to the implementation file 470 because the pointer "urgentStack" was visible from client code with a different type. 471 This fixes the crashes observed (only visible on Windows VC10) in the following tests: 472 example-ext-radioactivedecay-rdecay01, example-nov-n04 473 474 November 2nd, 2012, M.Asai (event-V09-05-13) 475 - Removed inline keyword from G4EventManager::AbortEvent() to prevent incorrect 476 inlining for VC++ if SmartStack is used. 477 478 October 15th, 2012, M.Asai (event-V09-05-12) 479 - Added warning messages to G4CennScorer and G4CellScorerStore classes which will 480 be dropped fromversion 10.0. 481 482 October 11th, 2012, P.Mato (event-V09-05-11) 483 - Fixed warning of a possible use of uninitialized variable 484 485 October 10th, 2012, P.Mato (event-V09-05-10) 486 - Fixed problem with new implementation of G4StackManager::TransferOneStackedTrack 487 488 October 5th, 2012, P.Mato (event-V09-05-09) 489 - Fixed problem with G4SmartTrackStack not to use particle defitions 490 pointers and use PDG code instead 491 492 October 5th, 2012, S. Kamperis, P.Mato (event-V09-05-08) 493 - G4StackTrack, G4StackedTrack: Changed the implementation of G4StackTrack to use a 494 std::vector<G4StackedTrack> (by value!) instead of double linked list. Performance 495 has been measured to be 35% better with a simple test program in test/testStackManager.cc 496 497 - G4SmartTrackStack: Introduced the changes provided by Stathis Kamperis (GSOC) with the 498 best tunning for the parameters (4-5% persistent reduction in total execution time in FullCMS) 499 See his presentation at: https://indico.cern.ch/getFile.py/access?contribId=35&sessionId=4&resId=0&materialId=slides&confId=199138 500 501 - Enabled by default the use of G4SmartTrackStack (-DG4_USESMARTSTACK) 502 503 July 5th, 2012, G.Cosmo (event-V09-05-07) 504 - Explicitly use inclusion of headers for system of units and physical 505 constants, in plan to remove implicit inclusion from globals.hh. 506 507 July 4th, 2012, J.Allison (event-V09-05-06) 508 - G4TrajectoryContainer: added private copy constructor and assignment 509 operator in attempt to keep Coverity quiet. 510 511 May 24th, 2012, G.Cosmo (event-V09-05-05) 512 - Fixed trivial cases of variable shadowing. 513 514 April 2nd, 2012, L.Desorgher (event-V09-05-04) 515 - Correction for orthogonalization of rotation matrix in 516 G4SPSPosDistribution::GenerateRotationMatrices() as suggested by 517 Joaquin Phoenix (bug report #1299) 518 519 March 8th, 2012, M.Asai (event-V09-05-03) 520 - Correct the location of G4Exception to the constructor of 521 G4UserEventAction. 522 523 March 6th, 2012, M.Asai (event-V09-05-02) 524 - Add dummy copy constructor and = operator to G4Event. (bug report 1277) 525 526 January 12th, 2012, L.Desorgher (event-V09-05-01) 527 - Correction for settings of sigmaX and sigmaY in 528 G4SPSPosDistribution::SetBeamSigmaInR () as suggested by 529 Guan, Fada (bug report #1278). 530 531 November 10th, 2011, M.Asai (event-V09-04-09) 532 - Fixing Coverity warnings. 533 534 October 28th, 2011, M.Asai (event-V09-04-08) 535 - Cleaning up 536 -- G4ParticleGun.hh : added "const" to get methods and removed unnecessary inline keyword 537 -- G4SPSPosDistribution.cc : remove warning messages from Xcode on Mac 538 539 October 20th, 2011, M.Asai (event-V09-04-07) 540 - Removing obsolete G4Exception. 541 542 July 7th, 2011, G.Cosmo (event-V09-04-06) 543 - Fixed Coverity defects for uninitialised static data. 544 545 June 21st, 2011, G.Cosmo (event-V09-04-05) 546 - Fixed compilation warnings on gcc-4.6.0 for unused variables in 547 G4SPSPosDistribution and G4AdjointPosOnPhysVolGenerator sources. 548 549 June 18th, 2011, H.Kurashige (event-V09-04-04) 550 - Modify G4ParticleGun (and related) to use momentum direction 551 552 June 16th, 2011, H.Kurashige (event-V09-04-03) 553 - Fix bugs in G4HEPEvtInterface. 554 In creation of G4PrimaryParticle, only PDG code is given to the constructor. Then mass and momentum is set . 555 - Modify G4RayShooter and G4SingleParticleSource to use kinetic energy and momentum direction 556 instead of momentum. 557 558 June 14th, 2011, H.Kurashige (event-V09-04-02) 559 - Modify G4ParticleGun and G4PrimaryTransformer to use kinetic energy and momentum direction 560 instead of momentum. 561 (It requires particles-V09-04-06) 562 563 May 20th, 2011, B.Morgan (event-V09-04-01) 564 - CMakeLists.txt : Added G4EVENT_ALLOC_EXPORT compiler definition via 565 add_definitions so it's applied to all sources in this module. 566 567 February 10th, 2011, M.Asai (event-V09-04-00) 568 - Adding one more reset of abortRequested flag at the top of G4EventManager::DoProcessing(). 569 - Addressing to Bug report #1169. 570 571 December 15th, 2010, M.Asai (event-V09-03-10) 572 - Fixing incorrect destination stack for the case more than three track stacks are used. 573 574 November 24th, 2010, M.Asai (event-V09-03-09) 575 - Added protection against null pointer : G4TrackStack.cc, G4SmartTrackStack.cc 576 577 Novemver 10th, 2010, F.Lei (event-V09-03-08) 578 - User can now specify arbitrary energy distribution by supplying the data points 579 in a 2-column (energy<in MeV> and flux) ASCII file, via the UI command 580 /gps/hist/file your_file_name 581 - Further update of the auto energy biasing implementation 582 - Bug fix (new implementation) in the Spline interpolation implementation 583 - Bug fix in the Logarithm interpolation implementation (alpha = -1 case). 584 585 November 8th, 2010, M.Asai (event-V09-03-07) 586 - Setting touchable history of the origin to G4Track. 587 588 November 2nd, 2010, F.Lei 589 - Implemented concrete destructor for G4SPSEneDistribution (bug #1149) 590 - Added automatic energy biasing scheme. Users now can bias the energy distribution 591 sampling to a given power-law distribution (index alpha) via the UI command 592 /gps/ene/biasAlpha alpha 593 Files affected are 594 G4SingleParticleSource.hh .cc 595 G4SPSEneDistribution.hh .cc 596 G4SPSRandomGenerator.hh .cc 597 G4GeneralParticleSourceMessenger.hh .cc 598 599 October 27th, 2010, G.Cosmo (event-V09-03-06) 600 - Restored DLL setup as originally. Withdrawn changes in last tag. 601 602 October 19th, 2010, G.Cosmo (event-V09-03-05) 603 - Replaced G4EVENT_ALLOC_EXPORT flag with G4ALLOC_EXPORT for DLL exported 604 symbols. 605 606 August 9th, 2010, M.Asai (event-V09-03-04) 607 - Fixing electron mass correction for ions in G4PrimaryTransformer. 608 609 June 11th, 2010, M.Asai (event-V09-03-03) 610 - Remove obsolete CLHEP_HepMC option from G4EventManager class. 611 612 May 20th, 2010, F.Lei (event-V09-03-02) 613 - Added a number of Get methods to G4SPSEneDistribution.hh 614 615 April 19th, 2010, M.Asai (event-V09-03-01) 616 - Improving a logic in G4PrimaryTransformer. Addressing the problem report #1101. 617 618 April 19th, 2010, M.Asai (event-V09-03-00) 619 - Fix warning message in G4SmartTrackStack found with gcc 4.5.0. 620 621 Movember 18th, 2009, G.Cosmo (event-V09-02-05) 622 - Fixes to "Adjoint" classes to allow build of DLLs on Windows: renamed all 623 methods and data holding "External" as keyword to "Ext". 624 Cleanup of the code: use "const G4String&" instead of "G4String" wherever 625 possible; use G4 types in consistent way; avoid usage of "isNan"; code 626 formatting cleanup; added Geant4 disclaimer. 627 628 November 6, 2009, L.Desorgher (event-V09-02-04) 629 - First commit of G4Adjoint calsses for event category 630 New classes are G4AdjointPosOnPhysVolGenerator,G4AdjointPrimaryGenerator, G4AdjointStackingAction 631 632 September 16, 2009, M.Asai (event-V09-02-03) 633 - Improved the logic in G4SmartTrackStack. 634 - Added /event/stack/verbose to have a short report of peak number of tracks in 635 the urgent stack. 636 637 August 17, 2009, M.Asai (event-V09-02-02) 638 - Introducing G4SmartTrackStack class. By using this new stack as the urgent stack of 639 G4StackManager, the next track poped up from the stack is not necessarily the last 640 track stored in the stack, but the track of same particle type as the previous one, 641 as long as such a track exists in the urgent stack. This mechanism is expected to 642 improve the performance for ultra-large scale simulation such as LHC, by increasing 643 the cashe hit rate of the physics tables. 644 - The use of G4SmartTrackStack is optional. To use it, uncomment the "#define" line 645 in include/evmandefs.hh. 646 647 June 29, 2009, M.Asai (event-V09-02-01) 648 - Fix warning message in G4SPSEneDistribution.cc. 649 650 February 17, 2009, F. Lei (event-V09-02-00) 651 - Minor chnages to G4GeneralParticleSourceMessenger.cc. It now uses the full ranges of units pre-defined in G4 for length, energy and angle. 652 653 September 02, 2008, G.Cosmo (event-V09-01-01) 654 - Removed some redundant semicolons in G4SPSAngDistribution header... 655 656 June 02, 2008, F. Lei (event-V09-01-00) 657 - Cleared gcc 4.3 compilation warning (src/G4SPSEneDistribution.cc:1155) 658 - Added a few Get methods to G4SPSAngDistribution (bug #1013) 659 660 December 4, 2007, F. Lei (event-V09-00-03) 661 - Fixed the problem in bug report #988 662 663 November 7, 2007, M.Asai (event-V09-00-02) 664 - Added private copy constructor and =, ==, += operators to G4ParticleGun. Addressing to Bug Report 984. 665 666 October 1, 2007, P.Gumplinger and M.Asai (event-V09-00-01) 667 - Add UI commands /gun/momentum and /gun/momentumAmp 668 for example: /gun/momentumAmp 1.0 GeV (not GeV/c)! 669 670 September 28, 2007, P.Gumplinger (event-V09-00-00) 671 - Add class member particle_momentum and 672 method SetParticleMomentum(G4double) 673 674 June 11, 2007, G.Santin (event-V08-03-02) 675 - Fix to normalisation of source intensities with multiple sources: 676 G4GeneralParticleSource::IntensityNormalization 677 678 June 4, 2007, A.Howard (event-V08-03-01) 679 - Put back some classes required for scoring of biasing cells: 680 G4CellScorerStore and G4CellScorer 681 682 May 31, 2007, A.Howard (event-V08-03-00) 683 - Removal of classes from old biasing/scoring scheme: 684 G4CellScorer, G4CellScorerStore, G4ScoreTable, G4Scorer 685 - Files remain on the HEAD for testing purposes 686 687 March 8, 2007, M.Asai (event-V08-02-01) 688 - Consolidation of previous tag with a new flag in G4EventManager. 689 690 March 5, 2007, M.Asai (event-V08-02-00) 691 - Prevent from unnecessary creation of G4String objects in G4Event, which were 692 default for random number status. 693 694 November 17, 2006, F.Lei (event-V08-01-03) 695 - Improved implementation of flat_sampling (biasing) for multiple sources in GPS. 696 697 November 17, 2006, F.Lei (event-V08-01-02) 698 - First implementation of flat_sampling (biasing) for multiple sources. 699 700 November 10, 2006, F.Lei (event-V08-01-01) 701 - Added line 468 to for initialization to G4PSEneDistribution.cc 702 703 November 02, 2006, M.Asai (event-V08-01-00) 704 - Add a flag in G4Event to keep the particular event object until the end of current run. 705 - Add a set method to G4EventManager to control the above flag and add a UI command in G4EvManMessenger. 706 707 June 15, 2006, M.Asai (event-V08-00-04) 708 - Add zero vector check for polarization of optical photon in G4PrimaryTransformer. 709 710 May 10, 2006, M.Asai (event-V08-00-03) 711 - Import G4RayShooter from visualization/RayTracer. 712 713 May 06, 2006, M.Asai (event-V08-00-02) 714 - Store random number status to G4Event. 715 716 May 05, 2006, M.Asai (event-V08-00-01) 717 - G4EventManager : Set G4Event pointer before the G4State is changed. 718 719 March 03, 2006, M.Asai (event-V08-00-00) 720 - Bug fix in rarely used G4ParticleGun constructor. 721 722 November 30, 2005, G.Cosmo (event-V07-01-05) 723 - Trivial fixes to G4SPSAngDistribution and G4SPSPosDistribution for 724 support of CLHEP-2.0.X series. 725 726 November 22, 2005, M.Asai (event-V07-01-04) 727 - Put G4Exception to the constructors of G4UserEventAction and 728 G4UserStackingAction to protect against their instantiation before 729 G4VUserPhysicsList is instantiated and set to G4RunManager. 730 - Put protection against null pointer to 731 G4ParticleGun::SetParticleDefinition(). 732 733 November 21, 2005, M.Asai (event-V07-01-03) 734 - Fix a bug in the previous tag. 735 736 November 18, 2005, M.Asai (event-V07-01-02) 737 - Migration to sstream. 738 - Move G4HepMC classes to examples/extended/eventgenerator/HepMC. 739 740 October 20, 2005, Joseph Perl (event-V07-01-01) 741 - Tag to co-work with vis-V07-01-05. 742 743 Oct 17, 2005 Jane Tinslay 744 - Modify GNUmakefile to follow intercoms->graphics_reps migration for 745 G4VGraphicsScene and G4VVisManager 746 747 Sep 05, 2005, F.Lei (event-V07-01-00) 748 - Corrected typo in printout in G4GeneralParticleMessenger.cc (bug #786) 749 750 Jun 13, 2005, G.Cosmo (event-V07-00-05) 751 - Corrected typo in printout in G4GeneralParticleMessenger.cc. 752 753 May 30, 2005, M.Asai (event-V07-00-04) 754 - Modify G4PrimaryTransformer to accept exotic particles. 755 756 May 10, 2005, F.Lei (event-V07-00-03) 757 - commentingt out line 157 in G4SinglePariclesource.cc. Fixing a bug in 758 particle weight 759 760 Apr 26, 2005, M.Asai (event-V07-00-02) 761 - Modify G4PrimaryTransformer 762 - to accept shortlived primary particle with proper decay table, 763 - to issue a warning message if a shortlived primary does not have decay table nor 764 pre-assigned decay mode, 765 - and to add a new virtual method to alter the conversion of such shortlived into 766 a track (default implementation converts it). 767 - Modify G4ParticleGun and G4ParticleGunMessenger to accept shortlived primary particle 768 with proper decay table. 769 770 Mar 24, 2005, M.Asai (event-V07-00-01) 771 - Move G4PrimaryParticle, G4PrimaryVertex, G4VUserPrimaryParticleInformation and 772 G4VUserPrimaryVertexInformation to particles/management. 773 - Modify G4PrimaryTransformer to take care of a mass defined in G4PrimaryParticle 774 if it is defined. 775 776 Jan 26, 2005, F.Lei (event-V07-00-00) 777 - bug (typo) fix in G4SPSRandomGenerator.cc (lines 608,709) 778 - restored the inheritance to G4VPrimaryGenerator for G4GeneralParticleSource 779 - bug fix in G4SPSEneDistribution.cc (lines 1168,1169) 780 781 Dec 02, 2004, M.Asai (event-V06-02-04) 782 - Migration to <cmath>. 783 784 Oct 28, 2004, F.Lei (event-V06-02-03) 785 - Added new features, focused beam and multiple vertexes, to GeneralParticleSource. 786 787 Aug 10, 2004, M.Asai (event-V06-02-02) 788 - G4PrimaryTransformer becomes a base class. 789 790 Jul 7, 2004, M.Asai (event-V06-02-01) 791 - Treatment of G4UnknownParticle is added to G4PrimaryTransformer. 792 793 Jul 1, 2004, G.Cosmo (event-V06-02-00) 794 - Trivial fix for porting on gcc-3.4.0 compiler: removed extra semicolons 795 in G4CellScorerStore.cc. 796 797 Jun 11, 2004, G.Cosmo (event-V06-01-07) 798 - Use global flag G4EVENT_ALLOC_EXPORT to export extern symbols for DLLs. 799 Modified GNUmakefile and rearranged usage of extern symbols in classes. 800 801 Jun 9, 2004, G.Cosmo (event-V06-01-06) 802 - Adopt G4DLLIMPORT/G4DLLEXPORT technique to handle extern simbols for 803 allowing support of DLLs on Windows. 804 - Coworks with "global-V06-01-02b". 805 806 Jun 7, 2004, G.Cosmo (event-V06-01-05) 807 - Export extern symbols for allowing support of DLLs on Windows. Modified files: 808 G4Event.hh, G4HEPEvtParticle.hh, G4PrimaryParticle.hh, G4PrimaryVertex.hh, 809 G4StackedTrack.hh, G4TrajectoryContainer.hh. 810 - GNUmakefile: added definition of GLOBLIBS for DLLs support on Windows. 811 - Coworks with "global-V06-01-02a". 812 813 May 26, 2004, M.Asai (event-V06-01-04) 814 - Fix incorrect behaviour of event abortion requested by BeginOfEventAction. 815 816 May 04, 2004, M.Asai (event-V06-01-03) 817 - Access methods to G4TrackingManager and G4StackManager are added 818 to G4EventManager. 819 820 Apr, 26, 2004, F. Lei (event-V06-01-02) 821 - Restored a few methods to G4GeneralParticleSource.hh to maintain backward 822 compatibility. 823 824 Apr, 5, 2004, F. Lei (event-V06-01-01) 825 - Added "UserWRTSurace = true", "UserAngRef= flase" to constructor of 826 G4SPSAngDistribution. 827 - Apply the Max/Min angle limits to the User defined angular distribution case. 828 - New formula for conevrting integral spectrum to differential one. 829 830 Apr, 1, 2004, F. Lei (event-V06-01-00) 831 - Major design iteration of the G4GeneralParticleSource class. The following 832 new classes have been added: 833 - G4SingleParticleSource 834 - G4SPSEneDistribution 835 - G4SPSAngDistribution 836 - G4SPSPosDistribution 837 - G4SPSRandomGenerator 838 See http://reat.space.qinetiq.com/gps for more details of the changes. 839 840 Mar. 15, 2004, M.Asai (event-V06-00-01) 841 - LocateGlobalPointAndSetup() method of G4Navigator is now invoked at the 842 beginning of each event to reset the navigator. 843 844 Feb. 22 2004, H.Kurashige (event-V06-00-00) 845 - Bug Fix in the destructor of G4ParticleGunMessenger 846 847 Nov 19 2003, M.Asai (event-V05-02-09) 848 - G4ParticleGun.cc, G4ParticleGunMessenger.cc: 849 - Added protection against shooting shortlived particle. 850 851 Oct 13 2003, F.Lei (event-V05-02-08) 852 - increased the array size from 256 to 1024 for user defined histograms. 853 - Bug fix in G4GeneralParticleSource.cc: make sure the SideRefVec(1/2/3) are unit 854 vectors. 855 856 Oct 03 2003, G.Cosmo (event-V05-02-07) 857 - GNUmakefile: 858 o added dependency to new module "geometry/navigation". 859 o replaced "digits+hits" with "digits_hits". 860 - Coworks with "geometry-V05-02-00" and "digits_hits-V05-02-00". 861 862 Oct 01 2003, M.Asai (event-V05-02-06) 863 - Set G4DynamicParicle the pointer to the corresponding primary particle. 864 865 Sep 12 2003, M.Asai (event-V05-02-05) 866 - Introducing G4VUserPrimaryVertexInformation and G4VUserPrimaryParticleInformation 867 classes, which can be associated with G4PrimaryVertex and G4PrimaryParticle, 868 respectively. 869 - Adding a treatment of "proper decay time" for preassigned decay products. 870 - Introducing G4StackChecker class, a utility class which can be used by a user. 871 872 Sep 09 2003, M.Asai (event-V05-02-04) 873 - Introducing G4VUserEventInformation class, which can be associated with G4Event. 874 875 Aug 13 2003, M.Asai (event-V05-02-03) 876 - Introducing another entry method G4EventManager::ProcessOneEvent which takes 877 G4TrackVector class object. 878 - Adding a mechanism of merging more than one kinds of primaries (HepHC and 879 G4PrimaryVertex or G4TrackVector and G4PrimaryVertex). 880 - Change the trackID numbering scheme for "PostposedToNextEvent" tracks. 881 Now they have negative trackID. 882 883 Aug 11 2003, M.Asai (event-V05-02-02) 884 - Maintain links between pre-assigned decay products and corresponding primary 885 particle. Becuse of this, G4PrimaryParticle objects of pre-assigned decay 886 have proper track ID. 887 888 Aug 01 2003, M.Asai (event-V05-02-01) 889 - Introducing a new entry method G4EventManager::ProcessOneEvent which takes 890 HepMC event class object instead of G4Event object. 891 - G4HepMCInterface::HepMC2G4 becomes a static service method. 892 - G4HepMCInterface::CheckVertexInsideWorld is moved to G4VPrimaryGenerator and 893 also becomes a static servic method. 894 895 Aug 01 2003, M.Asai (event-V05-02-00) 896 - With introducing G4RunManagerKernel class in Run category, G4EventManager now 897 toggles the application states between G4State_GeomClosed and G4State_EventProc. 898 899 Jun 04 2003, G.Cosmo (event-V05-01-02) 900 - Fixes for inclusion of <strstream> in G4HEPEvtInterface.cc in view 901 of the g4std wrappers migration. 902 903 Jun 03 2003, G.Cosmo (event-V05-01-01) 904 - Fixed trivial warning in G4GeneralParticleSourceMessenger.cc. 905 906 May 21 2003, M.Asai (event-V05-01-00) 907 - Clean up unused variables. 908 909 Dec 06 2002, G.Cosmo (event-V04-01-11) 910 - Corrected tag to include also "event-V04-01-09" !! 911 912 Dec 04 2002, M.Asai (event-V04-01-10) 913 - Migration to new G4ApplicationState 914 915 Dec 03 2002, M.Asai (event-V04-01-09) 916 - Fix memory leak caused by deleting stacked tracks. 917 918 Dec 03 2002, G.Cosmo (event-V04-01-08) 919 - Protect code defining interface to HepMC from compilation on Windows systems. 920 Temporarly solution until CLHEP will support the HepMC module on Windows. 921 922 Nov 25 2002, M.Asai (event-V04-01-07) 923 - Fix a bug in G4CellScorer.cc 924 925 Nov 18 2002, M.Asai (event-v04-01-06) 926 - Introducing HepMC interfaces 927 - Tag for Geant4 5.0 release 928 929 Nov 4th 2002 M.Dressel (event-V04-01-05) 930 - remove G4std:: where it does not belong to 931 932 Oct 28 2002, M.Dressel (event-V04-01-04) 933 - Added G4CellScorer[.hh.cc], G4CellScorerStore[.hh.cc], G4ScoreTable[.hh.cc], G4Scorer[.hh.cc] 934 935 Oct 06 2002, M.Asai (event-V04-01-03) 936 - Protect user's mis-use of destructor of G4TrajectoryContainer. 937 By design it was expected that G4TrajectoryContainer would be 938 deleted by G4Event destructor, after "clearAndDestroy" is 939 separately invoked. 940 941 Aug 19 2002, M.Asai (event-V04-01-02) 942 - Change the default value of charge for G4PrimaryParticle. 943 944 Aug 13 2002, M.Asai (event-V04-01-01) 945 - G4Event: Introducing an EventAborted flag. 946 947 Jun 29 2002, V.Ivantchenko (event-V04-01-00) 948 - G4PrimaryParticle: fixed initialisation of 'charge' in constructors. 949 950 Jun 8 2002, M.Asai (event-V04-00-04) 951 - Fix G4TrajectoryContainer to be compliant to gcc-3.1. 952 953 May 29 2002, M.Asai (event-V04-00-03) 954 - Added TransferOneStackedTrack() method to G4StackManager. 955 956 May 15 2002, M.Asai (event-V04-00-02) 957 - Introducing new G4TrajectoryContainer class which aggregates STL vector, 958 instead of deriving from STL vector. 959 960 Feb 26 2002, G.Cosmo (event-V04-00-01) 961 - Optimised implementation of SetNewValue() in G4ParticleGunMessenger and 962 G4GeneralParticleSourceMessenger to allow porting on WIN32-VC for optimised 963 compilation. 964 965 Jan 22 2002, M.Asai (event-V04-00-00) 966 - Remove the check G4PrimaryTransformer whether the primary vertex is inside 967 the world volume. The check has been moved to G4SteppingManager. 968 969 Nov 21 2001, M.Asai (event-V03-02-09) 970 - G4PrimaryTransformer.cc: now considering case where a primary is placed on the 971 boundary of the world volume. Added units. 972 973 Nov 20 2001, M.Asai (event-V03-02-08) 974 - Add check whether the primary vertex is inside of thw world volume. 975 - Move set method of position and time from G4ParticleGun to G4VPrimaryGenerator 976 so that G4HEPEvtInterface can accept the primary vertex position 977 978 Nov 10 2001, M.Asai (event-V03-02-07) 979 - Tagged. 980 981 Oct 19 2001, F. Lei 982 - Code changes to remove compilation warnings un gcc-2.95.2 983 - Added Beam option for generating accerlator beams 984 985 Oct 11 2001, G.Cosmo (event-V03-02-06) 986 - Replaced inclusions of ctoken.h with G4Tokenizer.hh in 987 G4GeneralParticleSourceMessenger.cc and G4ParticleGunMessenger.cc. 988 Removed comment on RW wrappers. 989 - Co-works with tag "globals-V03-02-03" where the STLInterface 990 module has been removed. 991 992 Aug 27 2001, M.Asai (event-V03-02-05) 993 - Convert NULL to 0 in G4EventManager.cc 994 995 Aug 17 2001, M.Asai (event-V03-02-04) 996 - G4EventManager.cc is debugged according to bug report 289. 997 998 July 19 2001, M.Asai (event-V03-02-03) 999 - Tagged 1000 1001 July 19 2001, F.Lei 1002 - Most commands under G4ParticleGun class are now available under GPS 1003 1004 e.g.. 1005 /gun/position => /gps/position 1006 /gun/direction => /gps/direction 1007 /gun/energy => /gps/energy 1008 ... 1009 1010 - Implemented co-ordinates rotation for angular distribution. User defined 1011 co-ordinates was an option available to user in the messenger but not 1012 implemented internally in the older version gps. 1013 Source angular distribution coupled with positional distribution can lead to 1014 rather strange combinations. To avoid this I used a simple scheme in this 1015 implementation: 1016 1017 - For cos-law angular distribution the default maxtheta is set to pi/2. 1018 instead of pi. The user can of course re-set this to any number between 1019 0 - pi. 1020 1021 - Added user defined histogram re-set method. After re-set user can 1022 redefine all the histograms. To use 1023 /gps/resethist 'histname' 1024 - Bug fixed in generating theta, and in calculating the weight. 1025 1026 - Added further guidance in the messenger for the definition of pre-defined 1027 energy distributions 1028 1029 Jul 18 2001, M.Asai (event-V03-02-02) 1030 - Added a new feature for the user to increase the number of waiting stacks. 1031 1032 Jul 17 2001, M.Asai (event-V03-02-01) 1033 - G4PrimaryParticle now stores the proper trackID. 1034 1035 Jul 13 2001, G.Cosmo (event-V03-02-00) 1036 - Cleanup of pedantic warnings in Linux-g++ ANSI setup. 1037 - Corrected "int" to "G4int". 1038 - Corrected "NULL" to "0". 1039 - Synchronised with HEAD revision after inclusion of disclaimer 1040 liability. 1041 1042 Jun 28 2001, G.Cosmo (event-V03-01-01) 1043 - Added CVS headers to G4GeneralParticleSource[.hh.cc] and 1044 G4GeneralParticleSourceMessenger[.hh.cc]. 1045 Removed <CR> characters and corrected format for comments to 1046 appear in the Software Reference Manual. 1047 1048 Apr 20 2001, G.Cosmo (event-V03-01-00) 1049 - Modified G4GeneralParticleSource.cc according to recent migration to 1050 STL vector for the geometry domain (tag "geometry-V03-01-00"). 1051 1052 Feb 8 2001, M.Asai (event-V03-00-03) 1053 - Migration to STL vector classes 1054 affected files : 1055 ./event/include/G4HEPEvtInterface.hh 1056 ./event/include/G4PrimaryParticle.hh 1057 ./event/include/G4TrajectoryContainer.hh 1058 ./event/src/G4EventManager.cc 1059 ./event/src/G4GeneralParticleSource.cc 1060 ./event/src/G4HEPEvtInterface.cc 1061 ./event/src/G4PrimaryParticle.cc 1062 ./event/src/G4PrimaryTransformer.cc 1063 1064 Feb 7 2001, M.Asai (event-V03-00-02) 1065 - Add proper time to G4PrimaryParticle 1066 1067 Feb 7 2001, M.Asai (event-V03-00-01) 1068 - Fix syntax errors in G4GeneralSourceParticle.cc 1069 1070 Feb 5 2001, M.Asai (event-V03-00-00) 1071 1072 Jan 26 2001, F. Lei 1073 - bug fixing in G4GeneralSourceParticle.cc 1074 replace: 1075 posphi = acos(tx/sin(posthe)); 1076 1077 with: 1078 if (posthe != 0. && posthe != pi) 1079 posphi = acos(tx/sin(posthe)); 1080 else 1081 posphi = 0.0; 1082 endif 1083 1084 Nov 20 2000, G.Cosmo (event-V02-00-04) 1085 - Removed data-logs from test directory. 1086 1087 Nov 13 2000, M.Asai (event-V02-00-03) 1088 1089 Nov 10 2000, F.Lei 1090 - Adding src and include sub-directory and files to test/GeneralParticleSource 1091 - Improving the speed in G4GeneralParticleSource::GenerateIsotropicFlux() and 1092 G4GeneralParticleSource::GenerateCoslawFlux() 1093 - some bug fixing: 1094 i) dclared ' G4int count' in all ****Interpolation functions 1095 ii) added ' return (0.) ' to GenerateUserDefTheta and GenerateUserDefPhi 1096 as default. 1097 iii) changed 1098 #include <iostream.h> 1099 to #include "g4std/fstream" 1100 in G4GeneralParicleSourceMessenger.cc 1101 1102 Nov 9 2000, M.Asai (tag event-V02-00-02) 1103 - Adding /source/event/test and GeneralParticleSource sub-directory. 1104 1105 Oct 31 2000, F.Lei 1106 G4GeneralParticleSource: 1107 G4GeneralParticleSourceMessenger: 1108 G4GeneralParticleSource is an alternative primary source 1109 generator to G4ParticleGun. It has all the functions of 1110 G4ParticleGun plus many options for specifing the primary 1111 event particle and vertex. 1112 1113 - added -I$(G4BASE)/global/HEPNumerics/include \ 1114 to GNUMakefile 1115 1116 1117 Oct 19 2000, M.Asai (tag event-V02-00-01) 1118 G4ParticleGun : Add Set/GetParticleCharge methods for ions. 1119 G4ParticleGunMessenger : Add new command of /gun/ion 1120 : Modify command of /gun/particle 1121 G4PrimaryParticle : Add Set/GetCharge methods 1122 : Add weight 1123 G4PrimaryVertex : Add weight 1124 G4PrimaryTransformer : Use G4PrimaryParticle::GetCharge to give dynamic charge 1125 in G4DynamicParticle 1126 : Set weight of G4Track 1127 1128 July 22 2000, M.Asai (tag event-V02-00-00) 1129 - Adding some new Set methods to G4PrimaryVertex and G4PrimaryParticle 1130 classes. 1131 1132 Jan 26, 00, M.Asai (tag event-V01-00-01) 1133 - Corrections for trajectories of suspended tracks 1134 - This tag requires tracking-V01-00-01 1135 1136 Jan 12, 00, M.Asai (tag event-V01-00-00) 1137 - G4EventManager becomes a singleton. 1138 - G4EventManager keeps the pointers of all user action classes except 1139 run action. 1140 - Null pointer protections are added for SetUserAction methods in 1141 G4EventManager and G4StackManager. 1142 1143 Nov 4, 99, M.Asai (tag event-V00-01-01) 1144 - Comments are enriched for the software reference manual 1145 1146 Oct 4, 99, J.Allison (tag event-V00-01-00) 1147 - Removed -I$(G4BASE)/graphics_reps/include from GNUmakefile (no 1148 longer necessary after G4VVisManager moved to intercoms). 1149 1150 Jun 7, 99, J.Allison (tag event-01-00-03) 1151 - Trapped "G4HEPEvtInterface:: cannot open file." 1152 1153 Apr 15, 99 M.Asai (tag event-01-00-02) 1154 - Catch up the changes of trajectory classes in tracking category. 1155 1156 Apr 09, 99 M.Asai (tag event-01-00-01) 1157 - Change the pointer arguments in user action classes to const. 1158 1159 Nov 11, 98 M.Asai (tag event-00-03-04) 1160 - Optimize G4PrimaryVertex for events such as having huge number 1161 of primaries. 1162 1163 Oct 10, 98 M.Asai (tag event-00-03-03) 1164 - Bug fix in G4PrimaryVertex. 1165 - Add verbosity to G4PrimaryXXX. 1166 1167 Oct 01, 98 M.Asai (tag event-00-03-02) 1168 - Introducing a new inlined method in G4ParticleGun.hh. 1169 1170 Sep. 21, 98 M.Asai (tag event-00-03-01) 1171 - Inclusion of "G4HCofThisEvent.hh" and "G4DCofThisEvent.hh" moved 1172 from "G4Event.cc" to "G4Event.hh", to avoid the link problem on 1173 HP-CC (not aCC). 1174 1175 July 19, 98 M.Asai (tag event-00-01-03) 1176 - More tight check against EoF in G4HEPEvtInterface 1177 1178 July 15, 98 M.Asai (tag event-00-01-02) 1179 1180 July 4, 98 M.Asai (tag event-00-01-01) 1181 - ready for the beta release 1182 1183 June 30, 98 M.Asai (tag event-00-07-01) 1184 - Introduce shortlived particles 1185 1186 June 22, 98 P. Urban 1187 - Preliminary results of tracking optimisation merged into the HEAD. 1188 - tagged as event-00-06-03 1189 1190 June 10, 98 M.Asai 1191 - G4ParticleGunMessenger.cc is modified to catch up the new G4UIcommand 1192 - tagged as event-00-06-02 1193 1194 June 8, 98 M.Asai 1195 - tagged as event-00-06-01 1196 1197 June 6, 98 M.Asai 1198 - G4Event and G4EventManager is updated for the new "digita+hits" scheme 1199 - GNUmakefile is updated 1200 1201 May 6, 98 M.Asai 1202 - G4ParticleGun is cleaned up. 1203 1204 April 29, 98 G.Cosmo (event-00-05-02) 1205 - Removed print-out of track's pointers from verbose level in 1206 G4EventManager.cc (P.Urban) 1207 1208 April 22, 98 M.Asai 1209 - Tagged as event-00-05-01 1210 1211 April 9, 98 G.Cosmo 1212 - Porting on DEC-cxx 6.0. 1213 Removed meaningless usage of "const" qualifier from functions 1214 return type for basic types by value. Modified files: 1215 G4StackManager.hh, G4TrackStack.hh 1216 1217 April 6, 97 M.Nagamatu 1218 - modified G4ParticleGunMessenger.cc to fix the "Unit length" of 1219 /gun/position command. 1220 1221 December 19, 97 G. Cosmo - (alpha03) 1222 1223 - Created.