Warning, /geant4/examples/basic/B5/History is written in an unsupported language. File is not indexed.
0001 # Example B5 History
0002
0003 See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
0004 which **must** added in reverse chronological order (newest at the top). It must **not**
0005 be used as a substitute for writing good git commit messages!
0006
0007
0008 ## 2023-11-18 I. Hrivnacova (exampleB5-V11-01-03)
0009 - Updated vis.mac macro:
0010 Changed "/vis/open OGL [600x600-0+0]" to "/vis/open" to allow run-time choices
0011 and simplified comments
0012
0013 ## 2023-11-07 I. Hrivnacova (exampleB5-V11-01-02)
0014 - Fixed and improved setting of G4VisAttribute
0015 - Do not create vis attributes with new
0016 - Use Geant4 predefined colours (for clarity)
0017
0018 ## 2023-11-03 I. Hrivnacova (exampleB5-V11-01-01)
0019 - Applied auto in main where suitable and not done by clang-tidy
0020 - Added initialization of DetectorConstruction::fMessenger
0021
0022 ## 2023-09-18 I. Hrivnacova (exampleB5-V11-01-00)
0023 - Added tsg_offscreen.mac (moved from example B1)
0024 - Removed unused init.mac
0025
0026 ## 2021-12-10 Ben Morgan (exampleB5-V11-00-00)
0027 - Change to new Markdown History format
0028
0029 ---
0030
0031 # History entries prior to 11.0
0032
0033 05-11-21 G. Barrand (exampleB5-V10-07-11)
0034 - RunAction: remove the usage of G4VisPlotMessenger.
0035 - README, .README.txt: remove the paragraph about using
0036 G4VisPlotMessenger in the RunAction. Now about plotting,
0037 remains only the plotter.mac file.
0038
0039 04-11-21 G. Barrand (exampleB5-V10-07-10)
0040 - plotter.mac: TSG_QT_GLES => TSG.
0041 - plotter.mac: have commented examples to create a style
0042 by using the /vis/plotter/style/select,add commands.
0043 - plotter.mac, README, .README.txt: remove reference
0044 to the XML style logic.
0045 - CMakeLists.txt: remove plotter.style.
0046 - remove plotter.style.
0047
0048 02-11-21 I. Hrivnacova (exampleB5-V10-07-09)
0049 - Added analysisManager->Reset() in begin of run,
0050 as resetting was disabled for plotting in end of run.
0051
0052 25-10-21 G. Barrand (exampleB5-V10-07-08)
0053 - README, .README.txt: have the "PLOTTING" section.
0054 - modifications to have vis plotting. Available with the
0055 TOOLSSG_[QT,XT,WINDOWS]_GLES vis drivers for the moment.
0056 - CMakeLists.txt: declare plotte.mac, plotter.style.
0057 - src/RunAction.cc: instanciate the G4VisPlotMessenger so that
0058 the commands /vis/plotter/add/[h1,h2] be available to attach
0059 histos to a G4/vis/plotter (see plotter.mac for a macro example).
0060 - plotter.mac: example to create a G4/vis/plotter, attach
0061 to it histograms of this example, and customize the style
0062 of the various plotting regions.
0063 - plotter.style: an example to declare styles by using XML.
0064
0065 06-10-21 I. Hrivnacova (exampleB5-V10-07-07)
0066 - Migration to new G4AnalysisManager.hh header
0067
0068 19-07-21 I. Hrivnacova (exampleB5-V10-07-06)
0069 - Updated for changes in the analysis category:
0070 removed deleting of the analysis manager,
0071 as this is now done by the Geant4 kernel.
0072 - Include G4GenericAnalysisManager.hh instead of "g4analysis.hh"
0073 in EventAction.cc (to be consistent with RunAction.cc)
0074
0075 13-07-21 I. Hrivnacova (exampleB5-V10-07-05)
0076 - Introduced namespace instead of a class names prefix
0077 - Declare overriding functions 'override' (and removed 'virtual' keyword)
0078
0079 31-05-21 I. Hrivnacova (exampleB5-V10-07-01)
0080 - Clean trailing whitespaces from all files
0081
0082 30-05-21 M.Maire (exampleB5-V10-07-00)
0083 - exampleB5.cc: use G4SteppingVerboseWithUnits
0084
0085 06 Nov 2020 I. Hrivnacova (exampleB5-V10-06-02)
0086 - Replaced use of G4Analysis::ManagerInstance("root") with new
0087 generic analysis manager
0088 - Storing ntuple in a separate file
0089
0090 02 Nov 2020 B.Morgan (exampleB5-V10-06-01)
0091 - Support same CMake version range as core Geant4
0092
0093 10 June 2020 Jonathan Madsen (exampleB5-V10-06-00)
0094 - Migrated to new G4RunManagerFactory
0095
0096 18 Nov 2019 Gabriele Cosmo (exampleB5-V10-05-01)
0097 - Fixed cases of type conversions from size_t to G4int in B5HodoscopeSD.
0098
0099 10 Sep 2019 Ivana Hrivnacova (exampleB5-V10-05-00)
0100 - Use a new factory method to create G4AnalysisManager.
0101 Removed B5Analysis.hh, which is not needed anymore.
0102
0103 20 May 2018 John Allison (exampleB5-V10-04-01)
0104 - Remove G4UI_USE and G4VIS_USE.
0105 - Move instantiation of G4UIExecutive nearer to start of main.
0106
0107 19 February 2017 Ivana Hrivnacova (exampleB5-V10-04-00)
0108 - Fix filling ntuple
0109 (there was omitted call to AddNtupleRow() in the previous update)
0110
0111 14 April 2017 Ivana Hrivnacova Cosmo (exampleB5-V10-03-01)
0112 - Use std::array for related data members in B5EventAction to reduce the code
0113 - Added data members for histogram Ids and the code to retrieve them by histogram
0114 names via G4AnalysisManager
0115 - Corrected the list of 2D histograms in README
0116
0117 24 March 2017 Gabriele Cosmo (exampleB5-V10-03-00)
0118 - Do not use G4AutoDelete utility for thread-local magnetic-field and
0119 its manager, since not necessary as not automatically deleted by the kernel.
0120
0121 07 November 2016 Laurent Garnier (exampleB5-V10-02-04)
0122 - Fix a missing /gui/defaultIcons false
0123
0124 03 November 2016 Ivana Hrivnacova (exampleB5-V10-02-03)
0125 - Added C++11 features
0126 - Code improvements
0127
0128 10 October 2016 Ivana Hrivnacova (exampleB5-V10-02-02)
0129 - Activate merging of ntuples
0130
0131 08 October 2016 Ivana Hrivnacova (exampleB5-V10-02-01)
0132 - Fix in gui.mac by Helmut Burkhard:
0133 Replace undefined /globalField/setValue by /B5/field/value
0134 - Updated B5ActionInitialization (Ivana)
0135 Event action is instantiated also on master - needed for ntuple merging
0136 (as its deta define the vectors refernced from ntuple)
0137
0138 10 March 2016 Alberto Ribon (exampleB5-V10-02-00)
0139 - Fixed wrong determination of the copy number in replicas
0140 (thanks to Anna Zaborowska for reporting the problem).
0141
0142 18 November 2015 Ivana Hrivnacova (exampleB5-V10-01-00)
0143 - Extended ntuple with two columns of a vector type in order to provide
0144 and example of this analysis use case.
0145
0146 29 November 2014 Ivana Hrivnacova
0147 - Use G4endl instead of \n in G4cout;
0148 this makes each new line in the output on threads preceded with
0149 G4WTN >
0150
0151 06 November 2014 Ivana Hrivnacova
0152 - Moved G4UIExecutive at the beginning of main() in all examples
0153 - Perform run initialization in macros instead of main()
0154 - Added BUILD OPTIONS section in README explaining meaning of
0155 G4UI_USE/G4VIS_USE options in main
0156
0157 27 Oct 2014 Davide Mancusi (exampleB5-V10-00-01)
0158 - Switch off primary randomization in gui.mac (needed for the /gun/ UI commands
0159 to work)
0160
0161 16 Sept 2014 Andrea Dotti
0162 - Removing test code introduced in previous tag. Previous
0163 tag has been rejected as planned.
0164
0165 15 July 2014 Andrea Dotti (exampleB5-V10-00-00)
0166 - This tag is intentionally WRONG: it introduces an
0167 FPE violation (division by zero) at event 1. It is
0168 used yo verify correct behavior of FPE detection in MT.
0169 When tests will be over, changes will be reverted.
0170
0171 02 December 2013 Ivana Hrivnacova
0172 - Fixed gui.mac:
0173 corrected wireframe parameter, removed run2.mac from gui
0174
0175 28 November 2013 Ivana Hrivnacova (exampleB5-V09-06-11)
0176 - Added macros for GUI
0177 - Fixed range for selection rundomnly particle type
0178 - Improved documentation
0179
0180 26 November 2013 Makoto Asai (exampleB5-V09-06-10)
0181 - Changed the way G4GenericMessenger declares UI commands that take units.
0182
0183 26 November 2013 Ivana Hrivnacova (exampleB5-V09-06-09)
0184 - Fixed deleting magnetic field and its manager with use of G4AutoDelete
0185 utility
0186
0187 22 November 2013 Joseph Perl (exampleB5-V09-06-08)
0188 - Added paragraph about HepRep attributes in README
0189
0190 22 November 2013 Ivana Hrivnacova
0191 - Changed step limit size to 1 m (more sutable for demonstration
0192 of the smooth trajectory visualization option)
0193 - Added paragraph about this limit in README
0194
0195 15 November 2013 Ivana Hrivnacova (exampleB5-V09-06-07)
0196 - Changed magnetic tube material to G4_Air (was G4_Galactic)
0197 Resolves issue of low-energy electrons spinning forever in vacuum.
0198 (By John Apostolakis.)
0199
0200 02 November 2013 Ivana Hrivnacova (exampleB5-V09-06-06)
0201 - New tag for testing, no changes in the example
0202
0203 31 October 2013 Ivana Hrivnacova (exampleB5-V09-06-05)
0204 - SetDefaultValue arguments passed in generic messenger commands
0205 must be of G4Stringg type.
0206 (This fixes compilation warnings.)
0207
0208 30 October 2013 Ivana Hrivnacova (exampleB5-V09-06-04)
0209 - Replaced messenger classes with use of G4GenericMessenger
0210 - Removed SetNumberOfThreads from main
0211 - Updated macros and README
0212
0213 10 October 2013 Ivana Hrivnacova (exampleB5-V09-06-03)
0214 - Fixed compiler warning from B5EventAction
0215 - Added class descriptions
0216 - Code clean-up
0217
0218 08 October 2013 Ivana Hrivnacova (exampleB5-V09-06-02)
0219 - Migration to MT
0220 - Removed Edep vs Tof histogram (remained empty),
0221 adjusted min max in Chamber1[2] XY histograms
0222 - Less verbose output from exampleB5.in and run2.mac
0223 - Code clean-up
0224
0225 03 October 2013 Ivana Hrivnacova (exampleB5-V09-06-01)
0226 - A new tag co-working with a fix in ctest.
0227
0228 03 October 2013 Ivana Hrivnacova (exampleB5-V09-06-00)
0229 - The first tagged version of the new B5 example created from
0230 extended/analysis/A01.
0231
0232 05 June 2013 Ivana Hrivnacova (exampleA01-V09-06-04)
0233 - Updated .README for changes in README
0234 - Applied coding guidelines (data members initialization)
0235 - Removed unnecessary inline keyword
0236 - Fixed compilation with G4ANALYSIS_USE
0237
0238 28 May 2013 Joseph Perl (exampleA01-V09-06-03)
0239 - Update README
0240
0241 28 May 2013 Joseph Perl (exampleA01-V09-06-02)
0242 - Apply coding guidelines
0243
0244 01 April 2013 Andrea Dotti (exampleA01-V09-06-01)
0245 - New G4VUserPhysicsList interface
0246
0247 18 December 2012 Michael Kelsey (exampleA01-V09-06-00)
0248 - Replace G4AntiProtonAnnihiliationAtRest with G4AntiProtonAbsorptionFritiof.
0249
0250 16 November 2012 Ivana Hrivnacova (exampleA01-V09-05-03)
0251 - Fixed .README file for artefacts from Markdown support
0252
0253 31 August 2012 Ivana Hrivnacova (exampleA01-V09-05-02)
0254 - Minor fixes in CMakeList.txt
0255
0256 24 August 2012 Ivana Hrivnacova (exampleA01-V09-05-01)
0257 - README.JAIDA replaced with more general README.AIDA (revised
0258 by Guy Barrand)
0259 - Added README.OpenScientist (previously AnaEx03/UseOpenScientist.txt)
0260 - Added .README files for Doxygen documentation
0261 - Added file descriptions for all .hh and .cc
0262 - Fixed functions names in B5AnalysisManager (to get example
0263 compiling)
0264 - Adding support for building example with AIDA in CMake build
0265
0266 19 June 2012 Joseph Perl (exampleA01-V09-05-00)
0267 - Corrected order of filling x and y for Cloud2D
0268
0269 20 April 2012 Joseph Perl
0270 - Apply coding guidelines
0271
0272 28 October 2011 Joseph Perl (exampleA01-V09-04-00)
0273 - Corrected order of filling x and y for Cloud2D
0274
0275 4 June 2010 Joseph Perl (exampleA01-V09-03-00)
0276 - Updated vis usage.
0277
0278 2 Dec 2009 Joseph Perl (exampleA01-V09-02-02)
0279 - B5MuonPhysics: change hMultipleScattering to MuMultipleScattering.
0280
0281 20 Mov 2009 Joseph Perl (exampleA01-V09-02-01)
0282 - B5DetectorConstruction, B5MagneticField: improve handing of field.
0283 Resolves bug 1012.
0284 - B5Trajectory: removed. Example uses G4Trajectory.
0285 - Update to new multiple scattering classes.
0286 - README: General update.
0287 Remove references to obsolete SLAC Geant4 tutorial CD.
0288
0289 14 Mov 2009 John Allison (exampleA01-V09-02-00)
0290 - exampleA01.cc: Introduced G4UIExecutive.
0291
0292 5 March 2009 Guy Barrand
0293 - GNUmakefile : remove the G4ANALYSIS_USE logic found in this file, since
0294 it is handled already in the config/analysis.gmk.
0295 This avoids a duplication in the compilation and link commands
0296 of the aida-config options.
0297
0298 17 May 2007 - Mark Donszelmann (exampleA01-V08-03-01)
0299 - Fixed memory leak for plotter
0300
0301 16 May 2007 - Mark Donszelmann
0302 - Fixed warning message about JAS-JAIDA window on exit.
0303
0304 13 November 2006 - Joseph Perl (exampleA01-V08-01-02)
0305 - Remove unused attributes from hit classes.
0306
0307 10 November 2006 - Mark Donszelmann (exampleA01-V08-01-01)
0308 - Fixed Makefile
0309 - Fixed limits on histogram
0310
0311 6 November 2006 - John Allison (exampleA01-V08-01-00)
0312 - Change "Bookkeeping" to "Physics" in G4AttDefs.
0313 - Removed tracking action. Use "/vis/scene/add/trajectories rich", etc.
0314 - Invoke G4UIterminal(new G4UItcsh) if G4UI_USE_TCSH set.
0315
0316 1 June 2006 - Joseph Perl (exampleA01-V08-00-01)
0317 - Add Time attribute to Hit classes.
0318
0319 2 June 2005 - Joseph Perl (exampleA01-V07-00-05)
0320 - Add G4Atts to the four hit classes.
0321
0322 1 June 2005 - Mark Donszelmann (exampleA01-V07-00-04)
0323 - Updated documentation for the use of Binary HepRep.
0324
0325 31st May 2005 - Mark Donszelmann (exampleA01-V07-00-03)
0326 - Added setting of initial viewpoint to macro files for heprep and bheprep.
0327
0328 26th May 2005 - Mark Donszelmann (exampleA01-V07-00-02)
0329 - Fixed filling of hit histograms.
0330
0331 16th May 2005 - Mark Donszelmann (exampleA01-V07-00-01)
0332 - Added bheprep example files.
0333
0334 3rd May 2005 John Allison (examples-V07-00-03)
0335 - Replaced vis manager with G4VisExecutive.
0336
0337 31 March 2005 Mark Donszelmann (exampleA01-V07-00-00)
0338 - Fixed linking problem with AIDA by replacing LOADLIBS with LDLIBS
0339 which is not touched by the replacement strategy in binmake.gmk
0340 for WIN32-VC.
0341
0342 13th December 2004 Gabriele Cosmo (exampleA01-V06-02-03)
0343 - Modified hadlists.gmk to new phys-lists structure.
0344
0345 3rd December 2004 Gabriele Cosmo (exampleA01-V06-02-02)
0346 - Implemented migration to <cmath>.
0347
0348 23rd November 2004 Mark Donszelmann (exampleA01-V06-02-01)
0349 - Removed dependency from user hadronics lists
0350
0351 14th July 2004 Gabriele Cosmo (exampleA01-V06-02-00)
0352 - hadlist.gmk: removed unnecessary kernel libraries list.
0353 Fixes problem report #647.
0354
0355 27th May 2004 Mark Donszelmann (exampleA01-V06-01-01)
0356 - Updated Mac file to write separate geometry.
0357
0358 26th May 2004 Mark Donszelmann (exampleA01-V06-01-00)
0359 - Updated mac files for HepRep2 driver to set zoom factor and coordinate system.
0360
0361 9th February 2004 Makoto Asai (exampleA01-V06-00-00)
0362 - Fix EM part of the physics list to use the new
0363 processes introduced at 6.0.
0364 - Reference output is updated accordingly.
0365
0366 1st December 2003 Joseph Perl
0367 - Removed endOfEventAction.mac since new vis policy provides such a flush
0368 automatically.
0369 - Updated README to include more information about HepRep2 macros.
0370
0371 17th November 2003 Makoto Asai (exampleA01-V05-02-00)
0372 - Introducing test.in macro for batch mode testing and its reference output.
0373
0374 13th November 2003 John Allison
0375 - Removed OPACS from Vis Manager.
0376
0377 15th October 2003 Mark Donszelmann
0378 - Updated README.JAIDA to refer to the proper versions of JAIDA and AIDAJNI.
0379 Also changed compilation instructions to use aida-config.
0380 - Made sure G4HadronPhysics is compiled without optmization on Darwin-g++,
0381 Darwin-g++2 and Darwin-g++3 (MacOS X).
0382
0383 14th October 2003 Mark Donszelmann
0384 - Added clear statement to GNUmakefile that G4HadronPhysics is compiled
0385 without optimization.
0386 - Made sure G4HadronPhysics is compiled without optimization on Linux-g++,
0387 Linux-g++2 and Linux-g++3.
0388
0389 14th October 2003 Joseph Perl
0390 - Remove SetForceWireFrame(false) from three hit classes since these
0391 are redundant to the SetForceSolid(true) statements already there.
0392
0393 14th October 2003 Joseph Perl
0394 - Remove SetForceWireFrame(true) statements from B5DetectorConstruction.cc.
0395 The user can instead control this at runtime using /vis/viewer/set/style
0396
0397 13th October 2003 Mark Donszelmann
0398 - Re-included B5EventActionMessenger in general (non G4ANALYSIS_USE) compilation
0399 for use with B5EventACtion, see comment below.
0400 - Removed all include/AIDA include files and changed the GNUmakefile.
0401 To compile/link with G4ANALYSIS_USE you will need an AIDA 3.0 compliant
0402 implementation, such as AIDAJNI. The makefile will execute aida-config
0403 to find the include files and the libraries to link with.
0404 - setup-analysis.csh/sh/win32 now only sets up G4 specific flags to compile
0405 in the AIDA analysis framework.
0406
0407 13th October 2003 Joseph Perl
0408 - Minor changes to README's sections on vis and analysis.
0409
0410 12th October 2003 Makoto Asai
0411 - Move G4ANALYSIS_USE ifdef blocks so that event summary is printed out
0412 regardless of this flag. Only the AIDA part in B5EventAction is
0413 blocked.
0414
0415 12th October 2003 Joseph Perl
0416 - Modify G4TrackingAction to use G4Trajectory rather than B5Trajectory.
0417 This allows trajectories to pick up physics attributes.
0418 Left B5Trajectory in place as alternative to get color coding by
0419 particle type, but no physics attributes.
0420 Will later come up with a good scheme to make choice of one or the other
0421 or both of these choices at run time.
0422 - Renamed visualization macro heprep.mac to vis.mac
0423
0424 20th August 2003 Mark Donszelmann
0425 - Updated code to run with AIDAJNI 3.0.3 release, which adds compilation
0426 under g++ 3.2.
0427 - Added aida.mac example file.
0428
0429 14th August 2003 Mark Donszelmann
0430 - Code will only compile AIDA parts if G4ANALYSIS_USE is set.
0431
0432 11th July 2003 Mark Donszelmann
0433 - Fixed all warnings under g++ 2.95.3.
0434
0435 3rd April 2003 Mark Donszelmann (examples-analysis-B5-V05-00-00)
0436 - Added 2 more histograms to the example
0437 - Fixed NullPointerException by letting SDManager delete the detectors created in
0438 DetectorConstruction.cc
0439 - Added comment when quitting Geant4 that JAS window still needs closing.
0440
0441 26th November 2002 Mark Donszelmann
0442 - Fixed DrifChamberHit to have a reasonable screensize (2) rather than 0.1
0443 - Fixed minimum value for EmCalHit color to be visible (0.4).
0444
0445 14th November 2002 Mark Donszelmann
0446 - Added B5 example to repository