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