Geant4 Cross Reference |
1 # Example B5 History 2 3 See `CONTRIBUTING.rst` for details of **requir 4 which **must** added in reverse chronological 5 be used as a substitute for writing good git c 6 7 8 ## 2023-11-18 I. Hrivnacova (exampleB5-V11-01- 9 - Updated vis.mac macro: 10 Changed "/vis/open OGL [600x600-0+0]" to "/v 11 and simplified comments 12 13 ## 2023-11-07 I. Hrivnacova (exampleB5-V11-01- 14 - Fixed and improved setting of G4VisAttribute 15 - Do not create vis attributes with new 16 - Use Geant4 predefined colours (for clarity 17 18 ## 2023-11-03 I. Hrivnacova (exampleB5-V11-01- 19 - Applied auto in main where suitable and not 20 - Added initialization of DetectorConstruction 21 22 ## 2023-09-18 I. Hrivnacova (exampleB5-V11-01- 23 - Added tsg_offscreen.mac (moved from example 24 - Removed unused init.mac 25 26 ## 2021-12-10 Ben Morgan (exampleB5-V11-00-00) 27 - Change to new Markdown History format 28 29 --- 30 31 # History entries prior to 11.0 32 33 05-11-21 G. Barrand (exampleB5-V10-07-11) 34 - RunAction: remove the usage of G4VisPlotMess 35 - README, .README.txt: remove the paragraph ab 36 G4VisPlotMessenger in the RunAction. Now abo 37 remains only the plotter.mac file. 38 39 04-11-21 G. Barrand (exampleB5-V10-07-10) 40 - plotter.mac: TSG_QT_GLES => TSG. 41 - plotter.mac: have commented examples to crea 42 by using the /vis/plotter/style/select,add c 43 - plotter.mac, README, .README.txt: remove ref 44 to the XML style logic. 45 - CMakeLists.txt: remove plotter.style. 46 - remove plotter.style. 47 48 02-11-21 I. Hrivnacova (exampleB5-V10-07-09) 49 - Added analysisManager->Reset() in begin of r 50 as resetting was disabled for plotting in en 51 52 25-10-21 G. Barrand (exampleB5-V10-07-08) 53 - README, .README.txt: have the "PLOTTING" sec 54 - modifications to have vis plotting. Availabl 55 TOOLSSG_[QT,XT,WINDOWS]_GLES vis drivers for 56 - CMakeLists.txt: declare plotte.mac, plotter. 57 - src/RunAction.cc: instanciate the G4VisPlotM 58 the commands /vis/plotter/add/[h1,h2] be ava 59 histos to a G4/vis/plotter (see plotter.mac 60 - plotter.mac: example to create a G4/vis/plot 61 to it histograms of this example, and custom 62 of the various plotting regions. 63 - plotter.style: an example to declare styles 64 65 06-10-21 I. Hrivnacova (exampleB5-V10-07-07) 66 - Migration to new G4AnalysisManager.hh header 67 68 19-07-21 I. Hrivnacova (exampleB5-V10-07-06) 69 - Updated for changes in the analysis category 70 removed deleting of the analysis manager, 71 as this is now done by the Geant4 kernel. 72 - Include G4GenericAnalysisManager.hh instead 73 in EventAction.cc (to be consistent with Run 74 75 13-07-21 I. Hrivnacova (exampleB5-V10-07-05) 76 - Introduced namespace instead of a class name 77 - Declare overriding functions 'override' (and 78 79 31-05-21 I. Hrivnacova (exampleB5-V10-07-01) 80 - Clean trailing whitespaces from all files 81 82 30-05-21 M.Maire (exampleB5-V10-07-00) 83 - exampleB5.cc: use G4SteppingVerboseWithUnits 84 85 06 Nov 2020 I. Hrivnacova (exampleB5-V10-06-02 86 - Replaced use of G4Analysis::ManagerInstance( 87 generic analysis manager 88 - Storing ntuple in a separate file 89 90 02 Nov 2020 B.Morgan (exampleB5-V10-06-01) 91 - Support same CMake version range as core Gea 92 93 10 June 2020 Jonathan Madsen (exampleB5-V10-0 94 - Migrated to new G4RunManagerFactory 95 96 18 Nov 2019 Gabriele Cosmo (exampleB5-V10-05- 97 - Fixed cases of type conversions from size_t 98 99 10 Sep 2019 Ivana Hrivnacova (exampleB5-V10-0 100 - Use a new factory method to create G4Analysi 101 Removed B5Analysis.hh, which is not needed a 102 103 20 May 2018 John Allison (exampleB5-V10-04-01 104 - Remove G4UI_USE and G4VIS_USE. 105 - Move instantiation of G4UIExecutive nearer t 106 107 19 February 2017 Ivana Hrivnacova (exampleB5- 108 - Fix filling ntuple 109 (there was omitted call to AddNtupleRow() in 110 111 14 April 2017 Ivana Hrivnacova Cosmo (example 112 - Use std::array for related data members in B 113 - Added data members for histogram Ids and the 114 names via G4AnalysisManager 115 - Corrected the list of 2D histograms in READM 116 117 24 March 2017 Gabriele Cosmo (exampleB5-V10-0 118 - Do not use G4AutoDelete utility for thread-l 119 its manager, since not necessary as not auto 120 121 07 November 2016 Laurent Garnier (exampleB5-V 122 - Fix a missing /gui/defaultIcons false 123 124 03 November 2016 Ivana Hrivnacova (exampleB5-V 125 - Added C++11 features 126 - Code improvements 127 128 10 October 2016 Ivana Hrivnacova (exampleB5-V1 129 - Activate merging of ntuples 130 131 08 October 2016 Ivana Hrivnacova (exampleB5-V1 132 - Fix in gui.mac by Helmut Burkhard: 133 Replace undefined /globalField/setValue by 134 - Updated B5ActionInitialization (Ivana) 135 Event action is instantiated also on master 136 (as its deta define the vectors refernced fr 137 138 10 March 2016 Alberto Ribon (exampleB5-V10-02- 139 - Fixed wrong determination of the copy number 140 (thanks to Anna Zaborowska for reporting the 141 142 18 November 2015 Ivana Hrivnacova (exampleB5-V 143 - Extended ntuple with two columns of a vector 144 and example of this analysis use case. 145 146 29 November 2014 Ivana Hrivnacova 147 - Use G4endl instead of \n in G4cout; 148 this makes each new line in the output on th 149 G4WTN > 150 151 06 November 2014 Ivana Hrivnacova 152 - Moved G4UIExecutive at the beginning of main 153 - Perform run initialization in macros instead 154 - Added BUILD OPTIONS section in README explai 155 G4UI_USE/G4VIS_USE options in main 156 157 27 Oct 2014 Davide Mancusi (exampleB5-V10-00-0 158 - Switch off primary randomization in gui.mac 159 to work) 160 161 16 Sept 2014 Andrea Dotti 162 - Removing test code introduced in previous ta 163 tag has been rejected as planned. 164 165 15 July 2014 Andrea Dotti (exampleB5-V10-00-00 166 - This tag is intentionally WRONG: it introduc 167 FPE violation (division by zero) at event 1. 168 used yo verify correct behavior of FPE detec 169 When tests will be over, changes will be rev 170 171 02 December 2013 Ivana Hrivnacova 172 - Fixed gui.mac: 173 corrected wireframe parameter, removed run2. 174 175 28 November 2013 Ivana Hrivnacova (exampleB5-V 176 - Added macros for GUI 177 - Fixed range for selection rundomnly particle 178 - Improved documentation 179 180 26 November 2013 Makoto Asai (exampleB5-V09-06 181 - Changed the way G4GenericMessenger declares 182 183 26 November 2013 Ivana Hrivnacova (exampleB5-V 184 - Fixed deleting magnetic field and its manage 185 utility 186 187 22 November 2013 Joseph Perl (exampleB5-V09-06 188 - Added paragraph about HepRep attributes in R 189 190 22 November 2013 Ivana Hrivnacova 191 - Changed step limit size to 1 m (more sutabl 192 of the smooth trajectory visualization optio 193 - Added paragraph about this limit in README 194 195 15 November 2013 Ivana Hrivnacova (exampleB5-V 196 - Changed magnetic tube material to G4_Air (wa 197 Resolves issue of low-energy electrons spinn 198 (By John Apostolakis.) 199 200 02 November 2013 Ivana Hrivnacova (exampleB5-V 201 - New tag for testing, no changes in the examp 202 203 31 October 2013 Ivana Hrivnacova (exampleB5-V0 204 - SetDefaultValue arguments passed in generic 205 must be of G4Stringg type. 206 (This fixes compilation warnings.) 207 208 30 October 2013 Ivana Hrivnacova (exampleB5-V0 209 - Replaced messenger classes with use of G4Gen 210 - Removed SetNumberOfThreads from main 211 - Updated macros and README 212 213 10 October 2013 Ivana Hrivnacova (exampleB5-V0 214 - Fixed compiler warning from B5EventAction 215 - Added class descriptions 216 - Code clean-up 217 218 08 October 2013 Ivana Hrivnacova (exampleB5-V0 219 - Migration to MT 220 - Removed Edep vs Tof histogram (remained empt 221 adjusted min max in Chamber1[2] XY histogram 222 - Less verbose output from exampleB5.in and ru 223 - Code clean-up 224 225 03 October 2013 Ivana Hrivnacova (exampleB5-V0 226 - A new tag co-working with a fix in ctest. 227 228 03 October 2013 Ivana Hrivnacova (exampleB5-V0 229 - The first tagged version of the new B5 examp 230 extended/analysis/A01. 231 232 05 June 2013 Ivana Hrivnacova (exampleA01-V09 233 - Updated .README for changes in README 234 - Applied coding guidelines (data members init 235 - Removed unnecessary inline keyword 236 - Fixed compilation with G4ANALYSIS_USE 237 238 28 May 2013 Joseph Perl (exampleA01-V09-06-03 239 - Update README 240 241 28 May 2013 Joseph Perl (exampleA01-V09-06-02 242 - Apply coding guidelines 243 244 01 April 2013 Andrea Dotti (exampleA01-V09-06- 245 - New G4VUserPhysicsList interface 246 247 18 December 2012 Michael Kelsey (exampleA01-V0 248 - Replace G4AntiProtonAnnihiliationAtRest with 249 250 16 November 2012 Ivana Hrivnacova (exampleA01- 251 - Fixed .README file for artefacts from Markdo 252 253 31 August 2012 Ivana Hrivnacova (exampleA01-V0 254 - Minor fixes in CMakeList.txt 255 256 24 August 2012 Ivana Hrivnacova (exampleA01-V0 257 - README.JAIDA replaced with more general READ 258 by Guy Barrand) 259 - Added README.OpenScientist (previously AnaEx 260 - Added .README files for Doxygen documentatio 261 - Added file descriptions for all .hh and .cc 262 - Fixed functions names in B5AnalysisManager ( 263 compiling) 264 - Adding support for building example with AID 265 266 19 June 2012 Joseph Perl (exampleA01-V09-05-0 267 - Corrected order of filling x and y for Cloud 268 269 20 April 2012 Joseph Perl 270 - Apply coding guidelines 271 272 28 October 2011 Joseph Perl (exampleA01-V09-0 273 - Corrected order of filling x and y for Cloud 274 275 4 June 2010 Joseph Perl (exampleA01-V09-03-00 276 - Updated vis usage. 277 278 2 Dec 2009 Joseph Perl (exampleA01-V09-02-02) 279 - B5MuonPhysics: change hMultipleScattering to 280 281 20 Mov 2009 Joseph Perl (exampleA01-V09-02-01 282 - B5DetectorConstruction, B5MagneticField: imp 283 Resolves bug 1012. 284 - B5Trajectory: removed. Example uses G4Traje 285 - Update to new multiple scattering classes. 286 - README: General update. 287 Remove references to obsolete SLAC Geant4 288 289 14 Mov 2009 John Allison (exampleA01-V09-02-0 290 - exampleA01.cc: Introduced G4UIExecutive. 291 292 5 March 2009 Guy Barrand 293 - GNUmakefile : remove the G4ANALYSIS_USE logi 294 it is handled already in the config/analysis 295 This avoids a duplication in the compilation 296 of the aida-config options. 297 298 17 May 2007 - Mark Donszelmann (exampleA01-V08 299 - Fixed memory leak for plotter 300 301 16 May 2007 - Mark Donszelmann 302 - Fixed warning message about JAS-JAIDA window 303 304 13 November 2006 - Joseph Perl (exampleA01-V08 305 - Remove unused attributes from hit classes. 306 307 10 November 2006 - Mark Donszelmann (exampleA0 308 - Fixed Makefile 309 - Fixed limits on histogram 310 311 6 November 2006 - John Allison (exampleA01-V08 312 - Change "Bookkeeping" to "Physics" in G4AttDe 313 - Removed tracking action. Use "/vis/scene/ad 314 - Invoke G4UIterminal(new G4UItcsh) if G4UI_US 315 316 1 June 2006 - Joseph Perl (exampleA01-V08-00-0 317 - Add Time attribute to Hit classes. 318 319 2 June 2005 - Joseph Perl (exampleA01-V07-00-0 320 - Add G4Atts to the four hit classes. 321 322 1 June 2005 - Mark Donszelmann (exampleA01-V07 323 - Updated documentation for the use of Binary 324 325 31st May 2005 - Mark Donszelmann (exampleA01- 326 - Added setting of initial viewpoint to macro 327 328 26th May 2005 - Mark Donszelmann (exampleA01- 329 - Fixed filling of hit histograms. 330 331 16th May 2005 - Mark Donszelmann (exampleA01- 332 - Added bheprep example files. 333 334 3rd May 2005 John Allison (examples-V07-00-0 335 - Replaced vis manager with G4VisExecutive. 336 337 31 March 2005 Mark Donszelmann (exampleA01-V07 338 - Fixed linking problem with AIDA by replacing 339 which is not touched by the replacement stra 340 for WIN32-VC. 341 342 13th December 2004 Gabriele Cosmo (exampleA01- 343 - Modified hadlists.gmk to new phys-lists stru 344 345 3rd December 2004 Gabriele Cosmo (exampleA01-V 346 - Implemented migration to <cmath>. 347 348 23rd November 2004 Mark Donszelmann (exampleA0 349 - Removed dependency from user hadronics lists 350 351 14th July 2004 Gabriele Cosmo (exampleA01-V06- 352 - hadlist.gmk: removed unnecessary kernel libr 353 Fixes problem report #647. 354 355 27th May 2004 Mark Donszelmann (exampleA01-V06 356 - Updated Mac file to write separate geometry. 357 358 26th May 2004 Mark Donszelmann (exampleA01-V06 359 - Updated mac files for HepRep2 driver to set 360 361 9th February 2004 Makoto Asai (exampleA01-V06- 362 - Fix EM part of the physics list to use the n 363 processes introduced at 6.0. 364 - Reference output is updated accordingly. 365 366 1st December 2003 Joseph Perl 367 - Removed endOfEventAction.mac since new vis p 368 automatically. 369 - Updated README to include more information a 370 371 17th November 2003 Makoto Asai (exampleA01-V05 372 - Introducing test.in macro for batch mode tes 373 374 13th November 2003 John Allison 375 - Removed OPACS from Vis Manager. 376 377 15th October 2003 Mark Donszelmann 378 - Updated README.JAIDA to refer to the proper 379 Also changed compilation instructions to use 380 - Made sure G4HadronPhysics is compiled withou 381 Darwin-g++2 and Darwin-g++3 (MacOS X). 382 383 14th October 2003 Mark Donszelmann 384 - Added clear statement to GNUmakefile that G4 385 without optimization. 386 - Made sure G4HadronPhysics is compiled withou 387 Linux-g++2 and Linux-g++3. 388 389 14th October 2003 Joseph Perl 390 - Remove SetForceWireFrame(false) from three h 391 are redundant to the SetForceSolid(true) sta 392 393 14th October 2003 Joseph Perl 394 - Remove SetForceWireFrame(true) statements fr 395 The user can instead control this at runtime 396 397 13th October 2003 Mark Donszelmann 398 - Re-included B5EventActionMessenger in genera 399 for use with B5EventACtion, see comment belo 400 - Removed all include/AIDA include files and c 401 To compile/link with G4ANALYSIS_USE you will 402 implementation, such as AIDAJNI. The makefil 403 to find the include files and the libraries 404 - setup-analysis.csh/sh/win32 now only sets up 405 in the AIDA analysis framework. 406 407 13th October 2003 Joseph Perl 408 - Minor changes to README's sections on vis an 409 410 12th October 2003 Makoto Asai 411 - Move G4ANALYSIS_USE ifdef blocks so that eve 412 regardless of this flag. Only the AIDA part 413 blocked. 414 415 12th October 2003 Joseph Perl 416 - Modify G4TrackingAction to use G4Trajectory 417 This allows trajectories to pick up physics 418 Left B5Trajectory in place as alternative to 419 particle type, but no physics attributes. 420 Will later come up with a good scheme to mak 421 or both of these choices at run time. 422 - Renamed visualization macro heprep.mac to vi 423 424 20th August 2003 Mark Donszelmann 425 - Updated code to run with AIDAJNI 3.0.3 relea 426 under g++ 3.2. 427 - Added aida.mac example file. 428 429 14th August 2003 Mark Donszelmann 430 - Code will only compile AIDA parts if G4ANALY 431 432 11th July 2003 Mark Donszelmann 433 - Fixed all warnings under g++ 2.95.3. 434 435 3rd April 2003 Mark Donszelmann (examples-anal 436 - Added 2 more histograms to the example 437 - Fixed NullPointerException by letting SDMana 438 DetectorConstruction.cc 439 - Added comment when quitting Geant4 that JAS 440 441 26th November 2002 Mark Donszelmann 442 - Fixed DrifChamberHit to have a reasonable sc 443 - Fixed minimum value for EmCalHit color to be 444 445 14th November 2002 Mark Donszelmann 446 - Added B5 example to repository