# Example composite_calorimeter 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-11-15 I. Hrivnacova (ccal-V11-01-00)
- Updated vis.mac:
  - Changed "/vis/open XYZ [600x600-0+0]" to "/vis/open" to allow run-time choices
    and simplified comments.

## 2022-10-04 Gabriele Cosmo (ccal-V11-00-02)
- Fixed compilation warning on Intel-icx compiler for set but unused variable.

## 2022-02-14 Gabriele Cosmo (ccal-V11-00-01)
- Fixed compilation warnings on Intel-icx compiler for unused variables.

## 2021-12-10 Ben Morgan (ccal-V11-00-00)
- Change to new Markdown History format.

---

# History entries prior to 11.0

25.10.2021 - B.Morgan (ccal-V10-07-06)
- Use G4StrUtil functions replacing deprecated G4String member functions

18.10.2021 - B. Morgan (ccal-V10-07-05)
- Use std::string member functions from G4String in place of obsolete synonyms

07.10.2021 - I. Hrivnacova (ccal-V10-07-04)
- Migration to new G4AnalysisManager.hh header;
  define the default output file type (root),
  removed CCalAnalysis.hh.

19.07.2021 - I. Hrivnacova (ccal-V10-07-03)
- Updated for changes in the analysis category:
  removed deleting of the analysis manager,
  as this is now done by the Geant4 kernel.

24.05.2021 - B. Morgan (ccal-V10-07-02)
- Bump required CMake version range to 3.12...3.20, matching core Geant4

07.05.2021 - A.Ribon (ccal-V10-07-01)
-  CCalEcal, CCalHcal, CCalHall, CCalEcalOrganization, CCalHcalOrganization :
   fixed compilation warning (overriden virtual member function not marked
   as 'override').

04.05.2021 - A.Ribon (ccal-V10-07-00)
- Migrated to multi-threaded, using G4RunManagerFactory.
  These are the main changes:
  1. Introduced the action initializer.
  2. Split the definition of the sensitive part of the detector
     from the detector construction itself.
     (A new method, sensitiveHandling(), has been introduced in
      the base class CCalG4Able.)
  3. Made the following three classes thread-local singletons
     (instead of global singletons): CCalSDList, CCalSensAssign
     and CCalSensitiveDetectors.
     (The class CCalSensitiveConfiguration can still remain as a
      global singleton.)
  4. Multi-threaded use of the G4AnalysisManager in the run action
     (with the merging of histograms and ntuple of of all working
      threads at the end of the run).
  The most tricky part of this migration was the treatment of the
  sensitive detectors (i.e. the steps 2. and 3. above), because
  it was originally done together with the building of the geometry
  and via thread-unsafe singletons.

02.11.2020 - B.Morgan (ccal-V10-06-00)
- Support same CMake version range as core Geant4

18.11.2019 - G.Cosmo (ccal-V10-05-01)
- Fixed cases of type conversions from size_t to G4int in CCaloSD.
- Some code cleanup.

31.01.2019 - I.Hrivnacova (ccal-V10-05-00)
- Merged GitHub PR #4: all Boolean operators now return G4bool.

13.11.2018 - V.Ivanchenko (ccal-V10-04-07)
- General clean-up of the example including user actions and SD classes

13.09.2018 - S. Guatelli (ccal-V10-04-06)
- G4VIS_USE and G4UI_USE deleted (consistency with the other examples)

18.06.2018 - A.Ribon (ccal-V10-04-05)
- Fixed compilation warning on gcc-8 in CCalRunAction
  (replacing  sprintf  with  strings manipulations).

27.03.2018 - L.Pandola (ccal-V10-04-04)
- restore version of ccal-V10-04-00

26.03.2018 -  L.Pandola (ccal-V10-04-03)
- continue testing of ccal-V10-04-02: fix compiler warning.

23.03.2018 -  L.Pandola (ccal-V10-04-02)
- Added try/catch, as an attempt to debug the FPE on CDash

22.03.2018 - L.Pandola (ccal-V10-04-01)
- Added try/catch, as an attempt to debug the FPE on CDash

05.02.2018 - L.Pandola  (ccal-V10-04-00)
- Try to fix erratic crashes seen in SST-MT
- Create an ActionInitialization, as preparation for MT migration
- Dump singleton CCalAnalysis class and employ g4analysis only

11.05.2017 - G. Cosmo   (ccal-V10-03-00)
- Fixed compilation warning on gcc-7.1 in CCalAnalysis constructor.

01.08.2016 - A. Dotti   (ccal-V10-02-02)
- Fix issues with a char* length

02.11.2016 - L. Garnier (ccal-V10-02-01)
- Remove icons.mac. Automatically include since interfaces-V10-02-07

03.03.2016 - L. Pandola (ccal-V10-02-00)
- Replace std::exp with G4Exp()

02.11.2015 - A. Ribon (ccal-V10-01-00)
- Migrated to ParticleHP.

15.10.2014 - L.Pandola Tag (ccal-V10-00-02)
- Explicitly delete G4analysis object at the end of the job

14.10.2014 - L.Pandola Tag (ccal-V10-00-01)
- Updated README
- Get rid of compiler warnings which caused rejection of ccal-V10-00-00
- Remove #ifdef debug in the analysis class

13.10.2014 - L.Pandola Tag (ccal-V10-00-00)
- Migrated to G4analysis tools (get rid of the AIDA dependency)
- Remove exit() and make consistent use of G4Exception()

17.07.2013 - A.Dotti Tag (ccal-V09-06-01)
- Fixed correct search of AIDA

23.05.2013 - G.Cosmo Tag (ccal-V09-06-00)
- Fixed compilation error in main() for missing inclusion of of G4UImanager
  header. Fixed compilation warnings for variables/parameters shadowing.

02.11.2012 - L.Garnier Tag (ccal-V09-05-05)
- Fix CMakeFile.txt, gui.mac and icons.mac. Now ok for cmake

02.11.2012 - L.Garnier Tag (ccal-V09-05-04)
- Add icons.mac

12.10.2012 - A. Dotti (ccal-V09-05-03)
- Adding use of AIDA in CMake
- Removing unused variable (compilation warning)

11.10.2012 - G. Cosmo (ccal-V09-05-02)
- Explicit inclusion of units and constants headers.

11.10.2012 - A. Dotti (ccal-V09-05-01)
- Fixed compilation error due to inclusion of deprecated/to-be-removed physics
  lists: QGSP.hh; use PhysListFactory to set physics list.
- Adding CMakeLists.txt file.

07.08.2012 - A.Ribon (ccal-V09-05-00)
- Fixed crashes due to high global times converted to integers values.
  (bug #1337).

17.01.2011 - G.A.P.Cirrone (ccal-V09-04-00)
- Physics lists updated.

18.11.2010 - J.Allison (ccal-V09-03-02)
- Improve comment line about GUI menu bar.

09.11.2010 - J.Allison (ccal-V09-03-01)
- Inroduced G4UIExecutive.

04.06.2010 - J.Perl (ccal-V09-03-00)
- Updated vis usage.

12.11.2009 - A.Ribon (ccal-V09-02-01)
- Use QGSP_BIC_EMY as default Physics List to test the
  low-energy electromagnetic.

22.02.2009
 -  G.Folger;     Tag: ccal-V09-02-00
    Fix compilation warnings in CCalRunAction.cc and CCalEndOfEventAction.cc

15.06.2008
 - G.A.P.Cirrone; Tag: ccal-V09-01-00
    Removed no more necessary AIDA commands from GNUmakefile

14.11.2006 - A.Ribon (ccal-V08-01-01)
- Removed hadronic_lists.gmk after the inclusion of
  Physics Lists in the Geant4 kernel.

21.07.2006 - A.Ribon (ccal-V08-01-00)
- New hadronic_lists.gmk, consistent with lAr_calorimeter.

08.12.2005 - A.Ribon (ccal-V07-01-01)
- Migration to CLHEP namespace.

13.12.04 - G.Cosmo (ccal-V07-01-00)
- Migration to <sstream> from deprecated <strstream>.
- Updated hadronic physics list (commented QGSP_Model by A.Ribon).

03.05.2005 - J.Allison
- Replaced vis manager with G4VisExecutive.

13.12.04 - G.Cosmo (ccal-V06-02-02)
- Use new phys-lists structure.

29.11.04 - A.Ribon (ccal-V06-02-01)
- Migration to cmath.

14.07.04 - G.Cosmo (ccal-V06-02-00)
- Corrected hadronic_lists.gmk, removed unnecessary list of kernel
  libraries from EXTRALIBS.

27.05.04 - A.Ribon (ccal-V06-01-01)
- Changed use of the ntuple. Now it is simpler and the ntuple
  is always correctly filled.

18.05.04 - A.Ribon (ccal-V06-01-00)
- Ported to PI. Only the setup is changed, no changes in the code.

05.12.03 - G.Cosmo (ccal-V05-02-07)
- Changed LISTS_BASE to G4LISTS_BASE for hadronic physics lists path.
  Cowork with "ghad-lists-V05-02-01".

04.12.03 - A.Ribon (ccal-V05-02-06)
- Added some recent modifications and improvements from Sunanda.

04.12.03 - G.Cosmo (ccal-V05-02-05)
- Corrected GNUmakefile and updated scripts to Anaphe 5.0.6.

03.12.03 - H.P.Wellisch
- Removed physics-lists, now using default setup provided in
  $G4INSTALL/hadronic_lists.

25.11.03 - A.Ribon (ccal-V05-02-04)
- Changes in the Physics Lists to be compatible with the latest
  hadronic changes in geant4-06-00-cand-02.

13.11.03 - John Allison
- Brought Vis Manager up to date.

05.11.03 - A.Ribon (ccal-V05-02-03)
- Add some modifications from Sunanda on how to handle "GetReplicaNumber()".

03.11.03 - A.Ribon (ccal-V05-02-02)
- Removed "GetCopyNo()" and replaced it with "GetReplicaNumber()"
  using G4TouchableHistory.

31.10.03 - A.Ribon (ccal-V05-02-01)
- Enables possibility of running the simulation in HCal alone or
  HCal+ECal mode with the correct B-field + a few small bug corrections.
  Changed also the default stepper (in magnetic field).

18.09.03 V.Ivanchenko (ccal-V05-02-00)
- Complete migration to model EM physics

12.06.2003 - A.Ribon (ccal-V05-01-02)
- Updated the LHEP, QGSP, and QGSC Physics Lists.
  Done also some clean up.

23.05.2003 - A.Ribon (ccal-V05-01-01)
- Removed some compilation warnings, after the introduction of
  tighter compilation options.

25.04.2003 - A.Ribon (ccal-V05-01-00)
- Replaced cout with G4cout and endl with G4endl, and removed some
  compilation warning about unused variables.

19.02.2003 - G.Cosmo (ccal-V05-00-00)
- Removed redundant inclusion of PhysicalConstants.h and SystemOfUnits.h.
  Now using CLHEP headers.

11.12.2002 - A.Ribon (ccal-V04-01-04)
- Some clean up and fixes, but unfortunately not yet fixed
  the problem of reading the material in the Sun platform
  (it looks like a problem with file stream).

06.12.2002 - G.Cosmo (ccal-V04-01-03)
- Migrated messenger to new G4ApplicationState.

15.11.2002 - A.Ribon (ccal-V04-01-02)
- Fixed problem of Anaphe with c-shell, and tested with
  geant4-04-01-ref-04

24.10.2002 - A.Ribon (ccal-V04-01-01)
- Changed default physics list to QGSC, with the possibility
  of easily switching to either LHEP or QGSP.

24.10.2002 - A.Ribon (ccal-V04-01-00)
- Replaced physics list with ufficial LHEP one;
  added visualization and GUI; written README file.

9.10.2002 - S.Banerjee
- Put the various classes in place, and rename them.

30.09.2002 - M.G.Pia
- Created directory

