Geant4 Cross Reference |
1 # Example B2 History 2 3 See `CONTRIBUTING.rst` for details of **requir 4 which **must** added in reverse chronological 5 It must **not** be used as a substitute for wr 6 7 ---------------------------------------------- 8 9 ## 2024-01-22 Gabriele Cosmo (exampleB2-V11-02 10 - Updated PrimaryGeneratorAction::GeneratePrim 11 avoid nonsense placing of the initial positi 12 13 ## 2023-11-07 I. Hrivnacova (exampleB2-V11-01- 14 - Fixed and improved setting of G4VisAttribute 15 - Do not create vis attributes with new (cau 16 - Use Geant4 predefined colours (for clarity 17 18 ## 2023-11-07 I. Hrivnacova (exampleB2-V11-01- 19 - Removed unsused and unimplemented method dec 20 PrimaryGeneratorAction::SetRandomFlag 21 22 ## 2023-11-03 I. Hrivnacova (exampleB2-V11-01- 23 - Applied auto in main where suitable and not 24 - Minor formatting changes 25 26 ## 2023-09-06 John Allison (exampleB2-V11-01-0 27 - For the new flexible run-time graphics syste 28 - B2a and B2b: 29 - main programs: 30 - Use constructor with arguments: new G4Vi 31 - EventAction.cc, TrackerSD.cc: 32 - Change G4int to std::size_t to eliminate 33 - vis.mac in B2a/, B2b/ and macros/: 34 - Change "/vis/open OGL 600x600-0+0" to "/ 35 36 ## 2022-05-20 I. Hrivnacova (exampleB2-V11-00- 37 - Restore the top UI commands directory name ( 38 removed by mistake in exampleB2-V10-07-02 39 (https://github.com/Geant4/geant4/pull/46) 40 41 ## 2021-12-10 Ben Morgan (exampleB2-V11-00-00) 42 - Change to new Markdown History format 43 44 --- 45 46 # History entries prior to 11.0 47 48 13-07-21 I. Hrivnacova (exampleB2-V10-07-02) 49 - Introduced namespace instead of a class name 50 - Declare overriding functions 'override' (and 51 52 31-05-21 I. Hrivnacova (exampleB2-V10-07-01) 53 - Use nullptr instead of 0, NULL 54 - Clean trailing whitespaces from all files 55 56 30-05-21 M.Maire (exampleB2-V10-07-00) 57 - exampleB2a,b.cc: use G4SteppingVerboseWithUn 58 59 02/11/20 B.Morgan (exampleB2-V10-06-02) 60 - Support same CMake version range as core Gea 61 62 30/06/20 G. Cosmo (exampleB2-V10-06-01) 63 - Migrated examples to use G4RunManagerFactory 64 tasking by default in MT builds. 65 66 13/02/20 I. Hrivnacova (exampleB2-V10-06-00) 67 - Updated READMEs and added a comment in B2Pri 68 that starting a primary particle on the worl 69 requires shooting in a direction towards ins 70 71 21/11/19 G. Cosmo (exampleB2-V10-05-00) 72 - Use default MixMax random engine. 73 74 13/03/18 I. Hrivnacova (exampleB2-V10-04-00) 75 - Modified exampleB2.in test to reduce the out 76 77 19/11/16 A. Dotti (exampleB2-V10-02-01) 78 - explitic set of SD to manager 79 80 01/11/16 L. Garnier (exampleB2-V10-02-00) 81 - Remove icons.mac. Automatically include sinc 82 83 29/11/14 I. Hrivnacova 84 - Use G4endl instead of \n in G4cout; 85 this makes each new line in the output on th 86 G4WTN > 87 88 06/11/14 I. Hrivnacova 89 - Finalized modifications in previous tags (02 90 - Removed G4UI_USE/G4VIS_USE tests and init. 91 - Moved G4UIExecutive at the beginning of ma 92 - Perform run initialization in macros inste 93 94 31/10/14 L. Garnier (exampleB2-V10-00-02 - exa 95 exampleB2b : 96 - Fix a warning (perhaps a crash) 97 - Fix a warning "'ui' may be used uninitiali 98 99 31/10/14 L. Garnier (exampleB2-V10-00-01) 100 exampleB2a/exampleB2b : 101 - Remove old G4UI_USE/G4VIS_USE 102 - Move G4UIExecutive at the beginning of mai 103 104 02 December 2013 Ivana Hrivnacova 105 - Fixed gui.mac: 106 corrected wireframe parameter, removed run2. 107 108 30/11/13 I. Hrivnacova 109 - Fixed B2a/gui.mac 110 111 28/11/13 I. Hrivnacova (exampleB2-V09-06-12) 112 - Clean-up macros (fixed B2a/gui.mac, removed 113 114 26/11/13 I. Hrivnacova (exampleB2-V09-06-11) 115 - Fixed deleting fMagFieldMessenger with use o 116 117 12/11/13 I. Hrivnacova (exampleB2-V09-06-10) 118 - Avoid long lines 119 120 29/10/13 I. Hrivnacova (exampleB2-V09-06-09) 121 - Using G4RunManager::SetPrintProgress() 122 - Removed SetNumberOfThreads(4) from main (use 123 - Fixed deleting fMagFieldMessenger in Detecto 124 - Updated README 125 126 10/09/13 I. Hrivnacova (exampleB2-V09-06-08) 127 - Removed "tcsh" selection from G4UIExecutive 128 (unwantedly introduced with previous update) 129 130 04/09/13 I. Hrivnacova (exampleB2-V09-06-07) 131 - Magnetic field classes (B2MagneticField, B2F 132 with use of new G4GlobalMagFieldMessenger cl 133 134 27/08/13 G.Cosmo (exampleB2-V09-06-06) 135 - Added G4Ellipsoid among solids enabled for p 136 137 14/08/13 P. Gumplinger (exampleB2-V09-06-05) 138 - Removed static comment in B2MagneticField.hh 139 140 26/06/13 G. Cosmo (exampleB2-V09-06-04) 141 - Fixed use of G4Random instead of HepRandom i 142 143 04/06/13 I. Hrivnacova (exampleB2-V09-06-03) 144 - Fixed reference to B2ActionInitialization in 145 146 04/06/13 P. Gumplinger (exampleB2-V09-06-02) 147 - add section about ACTION INITALIZATION to RE 148 149 10/05/13 I. Hrivnacova (exampleB2-V09-06-01) 150 - Minor fixes in documentation 151 - Added initialization of base class in constr 152 153 09/05/13 M. Asai 154 - Migration to multi-threading 155 156 28/02/13 I. Hrivnacova 157 - When building materials with NistManager 158 do not set fromIsotopes argument (which was 159 as since 9.6 all materials have to be built 160 Thanks to V. Ivantchenko for pointing at thi 161 162 02/02/13 V.Ivanchenko (exampleB2-V09-06-00) 163 - Renamed G4StepLimiterBuilder by G4StepLimite 164 - minor fix of GNUmakefile 165 166 18/09/12 I. Hrivnacova 167 - Updated vis.mac (on suggestions by John Al.) 168 - Activating drawing hits in vis.mac macros 169 - Increased hit screen size (from 2 to 4) 170 - In TrackerSD: removing obsolete line with 171 //newHit->Draw(); 172 - General changes (see basic/History) 173 174 15/11/11 I. Hrivnacova 175 - Migration to new G4Exception in B2aDetectorC 176 and B2bChamberParameterisation.cc. 177 178 14/11/11 I. Hrivnacova 179 - The first tagged version of the new B2 examp 180 example by P. Gumplinger (tagged in basic). 181 Started from novice/N03. 182 183 05-07-11 gum 184 migrate to new novice example code guidelines 185 186 03-06-11 mma (exampleN02-V09-04-02) 187 PhysicsList migrated to new scheme G4PhysListH 188 189 10-02-11 mma (exampleN02-V09-04-01) 190 - update SteppingVerbose 191 192 01-02-11 mma (exampleN02-V09-04-00) 193 - /vis/modeling/trajectories/drawByCharge-0/de 194 195 04-06-10 J.Perl (exampleN02-V09-03-01) 196 - Updated vis usage 197 198 22-01-10 mma (exampleN02-V09-03-00) 199 - DetectorConstruction::SetMagField() : fpMagF 200 201 15-11-09 mma (exampleN02-V09-02-01) 202 - Use G4MuMultipleScattering for muons 203 - Separate alpha from GenericIon 204 205 30 October 2009 John Allison (exampleN02-V09-0 206 - Introduced G4UIExecutive. 207 208 17-12-08 mma 209 - vis.mac : /vis/scene/add/trajectories smooth 210 211 31-10-08 mma (exampleN02-V09-01-04) 212 - Use G4hMultipleScattering for muons and prot 213 214 26-10-08 mma (exampleN02-V09-01-03) 215 - Update PhysicsList for proton and ions 216 217 22-09-08 mma (exampleN02-V09-01-02) 218 - PhysicsList : AddStepMax() for G4StepLimiter 219 - DetectorConstruction : SetMaxStep(value) 220 - DetectorMessenger : /N02/det/stepMax 221 222 07-05-08 J.Allison (exampleN02-V09-01-01) 223 - Protected "/control/execute vis.mac" with G4 224 225 03-05-08 mma (exampleN02-V09-01-00) 226 - PhysicsList : replace G4MultipleScattering b 227 228 17-10-07 G.Cosmo (exampleN02-V09-00-02) 229 - Explicitely delete allocated parameterisatio 230 in ExN02DetectorConstruction class. 231 232 22-08-07 G.Cosmo (exampleN02-V09-00-01) 233 - Fixed implementation of ExN02MagneticField c 234 235 25-06-07 M.Maire (exampleN02-V08-03-01, exampl 236 - Cosmetics in main(). 237 238 11-05-07 G.Cosmo (exampleN02-V08-03-00) 239 - Show usage of G4GeometryTolerance tuned for 240 241 12-12-06 G.Cosmo (exampleN02-V08-01-01) 242 - Commented out drawing of hits in vis.mac. 243 244 06-11-06 J.Allison (exampleN02-V08-01-00) 245 - Improved vis.mac to vis best practice. 246 247 16-06-06 G.Cosmo (exampleN02-V08-00-03) 248 - Use coherent allocation scheme for user-clas 249 initialisation in main(). 250 251 15-06-06 G.Cosmo (exampleN02-V08-00-02) 252 - Separate instantiation of the user-stepping- 253 initialisation of the G4VSteppingVerbose sin 254 255 02-06-06 mma (exampleN02-V08-00-01) 256 - ExN02TrackerSD.cc: replace Touchable by Touc 257 258 31-03-06 mma (exampleN02-V08-00-00) 259 - Add a sentence in README for G4UserLimits an 260 261 01-06-05 J.Allison (exampleN02-V07-00-03) 262 - ExN02TrackerHit.cc: Changed screen size to 2 263 264 31-05-05 mma (exampleN02-V07-00-02) 265 - G4UserLimits + G4StepLimiter become uncommen 266 267 30-05-05 J.Allison (exampleN02-V07-00-01) 268 - Completed replacement of vis manager with G4 269 270 3rd May 2005 J.Allison (examples-V07-00-03) 271 - Replaced vis manager with G4VisExecutive. 272 273 28-01-05 mma (exampleN02-V07-00-00) 274 - PhysicsList: add G4StepLimiter (in a comment 275 276 16-09-04 mma (exampleN02-V06-02-01) 277 - DetectorConstruction: modify a comment in PV 278 279 08-09-04 J.Allison (exampleN02-V06-02-00) 280 - Removed trajectory printing from ExN02EventA 281 with /vis/scene/add/trajectories, which is n 282 283 05-04-04 mma (exampleN02-V06-01-00) 284 - ExN02DetectorConstruction: correct definitio 285 286 19-03-04 mma (exampleN02-V06-00-01) 287 - ExN02PhysicsList: cleanup of include 288 289 08-03-04 mma (exampleN02-V06-00-00) 290 - ExN02RunAction: removed ApplyCommand("/vis/. 291 292 10-11-03 G.Cosmo (exampleN02-V05-02-03) 293 - Removed OPACS driver from vis-manager. 294 - Cleared warnings for parameterised detectors 295 296 30-10-03 G.Cosmo (exampleN02-V05-02-02) 297 - Cleared compilation warnings due to new clas 298 299 24-10-03 mma (exampleN02-V05-02-01) 300 - PhysicsList: AddProcess(Bremsstrahlung,-1,3, 301 302 06-10-03 mma (exampleN02-V05-02-00) 303 - cosmetic cleanup in material definitions 304 305 28-05-03 G.Cosmo (exampleN02-V05-01-00) 306 - Get rid of pedantic warnings... 307 308 25-03-03 mma (exampleN02-V05-00-02) 309 - Use G4PVPlacement and G4PVParametrised const 310 311 11-02-03 mma (exampleN02-V05-00-00) 312 - a blank in SteppingVerbose 313 314 27-11-01 mma (exampleN02-V03-02-04) 315 - vis.mac: /vis/viewer/set/viewpointThetaPhi 316 317 19-11-01 J.Allison (exampleN02-V03-02-03) 318 - Updated ExN02VisManager.cc for new graphics 319 320 07-11-01 S.Tanaka (exampleN02-V03-02-02) 321 - vis.mac: /vis/viewer/refresh + /vis/viewer/u 322 with their equivalent command /vis/viewer/fl 323 324 24-10-01 mma (exampleN02-V03-02-01) 325 - initInter.mac renamed vis.mac 326 327 19-10-01 S.O'Neale (examples-V03-02-00) 328 - Update reference output 329 330 11-10-01 mma (exampleN02-V03-02-00) 331 - adapted to new visualisation commands (initI 332 - 80 columns max everywhere 333 334 12-07-01 mma 335 - DetectorMessenger: setField, help: magnetic 336 337 20-02-01 S.O'Neale (exampleN02-V03-00-03) upda 338 materials-V03-00-04 (tagset 268) 339 340 09-02-01 M.Asai (exampleN02-V03-00-02) 341 - Migration to STL vector classes 342 affected file : ExN02SteppingVerbose.cc 343 344 31-02-05 S.O'Neale (exampleN02-V03-00-01) 345 - update reference output for Batch Mode syste 346 exampleN02-V03-00-00 and recent EM Physics t 347 348 31-01-01 G.Cosmo (exampleN02-V03-00-00) 349 - fix to ExN02ChamberParameterisation and ExN0 350 to cope with bug report #186. Parameterisati 351 taking into account that copyNo starts from 352 of the first chamber (parametrised G4Box) we 353 This was causing the side-effect of visualis 354 first one close to the target), which was co 355 Therefore, number of chambers is now reduced 356 and parameters have been preserved. 357 358 06-12-00 S.O'Neale (exampleN02-V02-00-03) 359 - update reference output for Batch Mode syste 360 in this context 0 trajectories stored is nor 361 362 03-12-00 M.Maire (exampleN02-V02-00-02) 363 - README updated 364 - prerun.g4mac updated for new vis commands, a 365 - new examples of macro: run1.mac, ruN2.mac 366 - G4UItcsh in the main, under the control of G 367 - visualisation on interactive mode 368 - DetectorConstruction: tracker region in the 369 default target material: Pb, chamber materia 370 - interactive commands to change the materials 371 - the magnetic field is transverse to the beam 372 - PhysicsList: copy of N03. defaultCut = 1 cm 373 - PrimaryGenerator: default momentum direction 374 Suppress the possibility of random impact an 375 - RunAction and EventAction updated for vis co 376 - SteppingAction: cleanup because no specific 377 - SteppingVerbose: see README 378 - TrackerHit: a Hit = 4 informations: trackID, 379 Draw and Print 380 - TrackerSD: ProcessHits. 381 Print HitsCollection at end of event 382 383 25th November 2000 Steve O'Neale (tagset210) 384 - Update test outputs for min.delta energy cut 385 - Update test outputs for emlowen-V02-00-22 an 386 387 Nov 09, 2000 V.Grichine (exampleN02-V02-0 388 - Fix in ExN02MagneticField constructors: adde 389 to activate user-defined magnetic-field. 390 - Updated exampleN02.out. 391 392 June 24, 2000 John Allison (exampleN02-V01-0 393 - Updated exampleN02.out for stand-V01-01-05 a 394 395 June 17, 2000 John Allison (exampleN02-V01-0 396 - Updated exampleN02.out for exampleN02-V01-01 397 398 June 19, 2000 G.Cosmo (exampleN02-V01-01-01) 399 - Fixed length of detector box to include trac 400 - Cosmetic changes to comments. 401 402 June 17, 2000 John Allison (exampleN02-V01-0 403 - Updated exampleN02.out for geant4-01-01-ref- 404 405 25-02-00 H.Kurashige 406 - removed RhoZeroDefinition from PhysicsList 407 408 15-11-99 M.Maire 409 - example of user SteppingVerbose class: verbo 410 411 16th April 1999 H.Kurashige 412 - modify ExN02SteppingAction::UserSteppingActi 413 - modify ExN02PhysicsList::SetCuts 414 415 4th December 1998 John Apostolakis 416 417 - corrected the Magnetic Field SetField metho 418 - cosmetic change to the name of a volume (cha 419 420 12th Sptember 1998 Michel Maire 421 - removed the function SetEmProcess() ( contai 422 and the class ExN02PhysicsListMessenger 423 424 Interchanged N02 and N03. 425 426 9th August 1998 John Allison 427 - Removed trackerChamber_logVisAtt->SetForceWi 428 - Removed G4_SOLVE_TEMPLATES macros (now done 429 - Change G4UIterminal to G4UIGAG. 430 431 16th July 1998 John Allison 432 - Changed /vis~/Draw... to /vis~/draw. 433 434 9th July 1998 John Allison 435 - Added G4VIS_USE_DAWNFILE and G4VIS_USE_OPENG 436 437 8th July 1998 G.Cosmo 438 - Protected visualization code with G4VIS_USE. 439 440 6th July 1998 John Allison 441 - Simplified ExN03VisManager. 442 443 June 29 , 98 H.Kurashige 444 - Modified ExN03PhysicsList. 445 446 May 15, 98 G. Cosmo 447 448 - Added #ifdef protection to ExN03MagneticFiel 449 included explicitly in ExN03DetectorConstruc 450 links. 451 452 May 07, 98 J. Apostolakis 453 454 - Created Physical Volume Parameterisation for 455 - Copied from example6: 456 MyTrackerHit into ExN03TrackerHit 457 458 May 05, 98 J. Apostolakis 459 460 - Changed the geometry in DetectorConstruction 461 - Created the Magnetic Field 462 463 May 01, 98 J. Apostolakis 464 465 - Files created by copying from exampleEmPhys2 466 and the classes within them, changing the 467 468 - Major changes made: 469 * Event action: deleted energy counting. 470 471 472 April 09, 98 G. Cosmo 473 474 - Created.