# Example AnaEx01 History See `CONTRIBUTING.rst` for details of **required** info/format for each entry, which **must** added in reverse chronological order (newest at the top). It must **not** be used as a substitute for writing good git commit messages! ## 2023-07-03 I. Hrivnacova (AnaEx01-V11-01-00) - Moved default declaration of dtor in .hh *was in .cc) ## 2022-11-04 I. Hrivnacova (AnaEx01-V11-00-02) - Updated README files (new macros description) ## 2022-11-03 I. Hrivnacova (AnaEx01-V11-00-01) - Added test macros for all supported file types and moved instatiating of G4AnalysisManager in the HistoManager class constructor to get analysis commands available before run initialization ## 2021-12-10 Ben Morgan (AnaEx01-V11-00-00) - Change to new Markdown History format --- # History entries prior to 11.0 19-11-21 I. Hrivnacova (AnaEx01-V10-07-03) - Always close analysis files in EndOfRunAction 03-11-21 I. Hrivnacova (AnaEx01-V10-07-02) - Define analysis manager configuration and create histograms only once. (This is needed since AnaEx01-V10-07-00, as the analysis manager is not re-created for each run.) 06-10-21 I. Hrivnacova (AnaEx01-V10-07-01) - Migration to new G4AnalysisManager.hh header; define the default output file type (root), use auto for histograms get via GetH1() 19-07-21 I. Hrivnacova (AnaEx01-V10-07-00) - Updated for changes in the analysis category: removed deleting of the analysis manager, as this is now done by the Geant4 kernel. 10-11-20 B. Morgan, I. Hrivnacova (AnaEx01-V10-06-00) - Migration to G4RunManagerFactory. - Call SetNtupleMerging only in MT to suppress warning in Seq mode. 15-10-18 G. Cosmo (AnaEx01-V10-04-02) - Added missing include of G4StateManager.hh in DetectorConstruction source. 04-07-18 I. Hrivnacova (AnaEx01-V10-04-01) - Fixed compilation error introduced in previous tag 03-07-18 I. Hrivnacova (AnaEx01-V10-04-00) - Macro & commands review: - Removed obsolete /N03 top command directory - Added protection against warnings issued from ReinitializeGeometry() if called in PreInit phase - Added test for all commands defined in this example in AnaEx01.in - Updated README files 27-07-17 I. Hrivnacova (AnaEx01-V10-03-00) - Coding guidelines: removed redundant empty lines 26-10-16 I. Hrivnacova (AnaEx01-V10-02-03) - Activated merging ntuples - Updated main program according to basic examples 28-09-16 I. Hrivnacova (AnaEx01-V10-02-02) - Removed Hbook 04-07-16 I. Hrivnacova (AnaEx01-V10-02-01) - Fixes for Doxygen documentation 01-07-16 I. Hrivnacova (AnaEx01-V10-02-00) - Coding guidelines (function names) 19-10-15 I. Hrivnacova (AnaEx01-V10-01-09) - Updated hbook for developments in analysis category 01-09-15 I. Hrivnacova (AnaEx01-V10-01-08) - New attempt to fix compilation on Windows 30-08-15 I. Hrivnacova (AnaEx01-V10-01-07) - Corrected previous update which caused compilation error 28-08-15 I. Hrivnacova (AnaEx01-V10-01-06) - Fixed compilation on Windows 27-08-15 I. Hrivnacova (AnaEx01-V10-01-05) - Fixed logarithmic binning in hbook 27-08-15 I. Hrivnacova (AnaEx01-V10-01-04) - Introduced meaningful histograms and ntuple names instead of numbers in all AnaEx0N examples and use histogram ids starting from 0 - Simplified HistoManager class and fixed function names to follow coding guidelines - In hbook: - Fixed Set*AxisTitle methods - Removed the profile directory, profiles are put in the histogram directory, if its name was set by the user 25-08-15 I. Hrivnacova (AnaEx01-V10-01-03) - More fixes in hbook: - Fixed usage of "hbook offset id" - this prevents from overwriting histograms if both H1 and H2 (or P1) are defined - Create a profile directory if its name is set by user - Fixed failing SetH1 and SetP1 functions - Added missing P1 access functions - Put back deleting h1, h2 and p1 in Reset(); as the error message was caused by the first problem 24-08-15 I. Hrivnacova (AnaEx01-V10-01-02) - Fix in hbook: Do not delete h1, h2 and p1 in Reset(); this avoids error message at CloseFile(): ***** ERROR in HDELET : Unknown histogram : ID= 1 ... close Hbook file : AnaEx01.hbook - done 17-08-15 I. Hrivnacova (AnaEx01-V10-01-01) - Updated hbook for developments in analysis category: new G4VAnalysisManager functions: virtual G4bool PlotImpl(); virtual G4bool MergeImpl(tools::histo::hmpi* hmpi); 09-06-15 I. Hrivnacova (AnaEx01-V10-01-00) - Updated hbook for developments in analysis category: implemented interfaces for activations of ntuples 06-11-14 I. Hrivnacova (AnaEx01-V10-00-05) - Updated for moving script in shared (analysisShared-V10-00-01) - Updated README - commented special compilation (via make setup) - Updated comments for Doxygen in hbook 05-11-14 I. Hrivnacova (AnaEx01-V10-00-04) - Including shared directory directly in the example to avoid out-of-project sources - based on analysisShared-V10-00-00 - Adding utility scripts for GNUmake build (much simpler replacement for scripts from common) \ - based on analysisScripts-V10-00-00 - Moved implementation of G4AnalysisManager for hbook from extended/common/analysis in hbook sub-directory 13-08-14 mma (AnaEx01-V10-00-03) - update Readme and .Readme again 12-08-14 mma (AnaEx01-V10-00-02) - restaure calorimeter drawing in Readme and .Readme 17-06-14 I. Hrivnacova (AnaEx01-V10-00-01) - Fixed problems reported by Davide Mancusi: - Moving tools/hbook/*.f files in examples/extended/common/analysis/src to avoid their retrieval from Geant4 source/includes which causes problem when building examples against Geant4 build directory. - Added -lkernlib in list of libraries (required with Debian cernlib distribution 20061220) - In CMake build: replaced explicit use of gfortran with enable_language(Fortran) and using fortran_sources variable in analogous way as sources 11-06-14 I. Hrivnacova (AnaEx01-V10-00-00) - Fixed path to copy_files.sh, clean_files.sh in GNUmalefile (this makes GNUmake build working with Geant4 installation via CMake) - Fixed SharedFilesList.txt - removed PhysicList class - Fixed path to hbook *.f files in GNUmakefile.tools_hbook 28-05-14 I. Hrivnacova - Use Geant4 physics list (FTFP_BERT) in AnaEx01,02,03, removed PhysicList class from shared (tag in examples/analysis) 16-09-13 I. Hrivnacova (AnaEx01-V09-06-02) - Updated SharedFilesList.txt for addedActionInitialization class (missing in analysisExample-V09-06-02 in top directory) 11-07-13 I. Hrivnacova (AnaEx01-V09-06-01) - Updated CMakeLists.txt and SharedFilesList.txt for added classes in Hbook analysis code 02-04-13 I. Hrivnacova (AnaEx01-V09-06-00) - Create two ntuples instead of one in order to demonstrate how to do this with all tools. 31-08-12 I. Hrivnacova (AnaEx01-V09-05-05) - Updated CMakeLists.tx: adding visualization, copying macros, install target and comment lines - Adding .README 06-04-12 mma (AnaEx01-V09-05-04) - AnaEx01.cc : change order of UI and Vis 22-02-12 mma (AnaEx01-V09-05-03) - HistoManager : suppress SetFirstNtupleId() - file G4HbookAnalysisManager renamed ExG4HbookAnalysisManager 15-02-12 mma (AnaEx01-V09-05-02) - HistoManager : new handle namespace and fileName[2] - HistoManager : add protections for histo file management 22-01-12 mma (AnaEx01-V09-05-01) - HistoManager.hh and .cc : add hbook option. New files : GNUmakefile.tools_hbook and ExG4HbookAnalysisManager.hh .cc 21-01-12 mma (AnaEx01-V09-05-00) - HistoManager.hh and .cc : migrate to new g4tools histogramming system Do not need aida anymore, nor G4ANALYSIS_USE - HistoManager : histId and histPt - HistoManager : coding conventions - Update Readme accordingly 07-06-11 mma (AnaEx01-V09-04-01) PhysicsList migrated to new scheme G4PhysListHelper 03 February 2011 mma (AnaEx01-V09-04-00) - delete subdirectory analysis 08 November 2010 Michel Maire (AnaEx01-V09-03-00) - revised version of example : class HistoManager to replace AnaEx01AnalysisManager 13 May 2009 Guy Barrand (AnaEx01-V09-02-00) - Tagged all changes. 13 May 2009 Guy Barrand - update the README. - remove the content of the analysis/[Falsetto,jas,Lab] directories. In fact the analysis directory should not be distributed anymore. - have a run.mac in the main example directory. - AnaEx01AnalysisManager : arrange to have histo and tuple name as interger in case of hbook file format. 5 March 2009 Guy Barrand - GNUmakefile : remove the G4ANALYSIS_USE logic found in this file, since it is handled already in the config/analysis.gmk. This avoids a duplication in the compilation and link commands of the aida-config options. 16th August 2006 Gabriele Cosmo (AnaEx01-V08-01-00) - Corrected text in README for AIDA setup. 6th December 2005 Gabriele Cosmo - Trivial change in main() for support of CLHEP-2.0.X series. 15th November 2005 Guy Barrand (AnaEx01-V07-01-01) - Tagged all changes. 25th October 2005 Guy Barrand - Have .aida as a default file format. 24th October 2005 Guy Barrand - Put AIDA_createAnalysisFactory() in the main in order to be able to instrumenet easily this example with G4Lab::UIOnX. 31th August 2005 Guy Barrand - Update README, analyis/Lab/AnaEx01.py to work with OpenScientist-v14r0. 3rd May 2005 John Allison (examples-V07-00-03) - Replaced vis manager with G4VisExecutive. 3rd December 2003 Gabriele Cosmo (AnaEx01-V05-02-01) - Fixed minor compilation warnings and added 'aida-config' in GNUmakefile, activated through G4ANALYSIS_USE. 17th October 2003 Guy Barrand - AnaEx01VisManager: removed OPACS driver. 20th June 2003 Guy Barrand (AnaEx01-V05-02-00) - * : AIDA-3.0 compliant. Usage of AIDA namespace, etc... 03th December 2001 Guy Barrand (AnaEx01-V03-02-01) - Change README : Explain CMTSITE setup for Lab usage. 19th November 2001 Guy Barrand - Change README : G4ANALYSIS_USE_AIDA -> G4ANALYSIS_USE. 16rd November 2001 Guy Barrand - * : AIDA 2.2 compliant code. Usage of tuple. 20 June 2001, Guy Barrand : - AnaEx01SteppingVerbose.cc : replace "entries" to "size" in order to compile with 03-00-ref-03 kernel. 14 September 2000, Guy Barrand : - Birth.