# Example TestEm17 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!

-------------------------------------------------------------------------------

## 2026-10-27 I. Hrivnacova (testem17-V11-04-01)
- Reconstruct the box after size updates and explicit geometry reinitialisation.
- Count only discrete interactions of the studied energy-transfer processes
  in cross-section estimates and spectra; exclude continuous step limits,
  normalise to actual primary track length, and evaluate active reference
  processes even when no interaction was sampled; guard empty samples,
  zero-energy reference calculations and null step-defining processes.
- Match pair-production reference thresholds to the toolkit's secondary cuts
  and model thresholds; query muon-nuclear cross sections via the hadronic store.
- Correct energy-unit conversion in cross-section histograms and write ASCII
  output before resetting histograms; reject out-of-range histogram indices.
- Preserve the requested EM table energy range when selecting a constructor.
- Release application-owned histogram and physics-constructor helpers and
  avoid repeated allocation of the optional muon-nuclear builder.
- Developed with assistance from OpenAI Codex.

## 2026-09-28 I. Hrivnacova (testem17-V11-04-00)
- README.md: documented brem.mac, ioni.mac, munucl.mac and pair.mac,
  identifying the muon interaction studied by each macro.

## 2022-10-24 I. Hrivnacova (testem17-V11-00-02)
- Coding guidelines: start data members with 'f' (MuCrossSections);
  use G4int, G4double

## 2022-07-20 Vladimir Ivanchenko (testem17-V11-00-01)
- Added new process of muon pair production by muons;
  analysis extended and new histograms are added by Siddharth Yajaman

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

---

# History entries prior to 11.0

07-11-21 I. Hrivnacova (testem17-V10-07-03)
- Added analysis manager Clear() call instead of
  deleting in the end of run (removed on July 19)

06-10-21 I. Hrivnacova (testem17-V10-07-02)
- Migration to new G4AnalysisManager.hh header;
  define the default output file type (root).

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

11-05-21 mma (testem17-V10-07-00)
- Migration to G4SteppingVerboseWithUnits.

08-11-19 V.Ivanchenko (testem17-V10-05-02)
- HistoManager - fixed histo title and index; fixed macro
    files (A.Bogdanov)

11-09-19 I. Hrivnacova  (testem17-V10-05-01)
- Updated for clean-up in analysis typedefs:
  G4AnaHn types replaced with G4Hn

21-05-19 V.Ivanchenko (testem17-V10-05-00)
- code clean-up, switch to MixMax random generator

10-04-18 mma (testem17-V10-04-01)
- testem17.cc : set visualisation only in interactive mode

21-03-18 mma (testem17-V10-04-00)
- testem17.cc : remove G4UI_USE and G4VIS_USE

07-11-17 D.Sawkey (testem17-V10-03-00)
- PhysicsList: fix setting emstandard; add emstandard_opt4

25-10-16 I. Hrivnacova  (testem17-V10-02-04)
- HistoManager : kMaxHisto (instead of MaxHisto)
  to get rid off the violation report in automatic checking of coding
  guidelines

29-09-16 mma  (testem17-V10-02-03)
- HistoManager : coding conventions

30-08-16 I. Hrivnacova  (testem17-V10-02-02)
- Removed obsolete EventAction, EventActionMessenger

04-07-16 I. Hrivnacova  (testem17-V10-02-01)
- Fixes for Doxygen documentation

09-12-15 V.Ivant (testem17-V10-02-00)
- H.Burkhardt fixed root macro allowing to work both with root5 and 6;
  added run01_prot.mac - demonstrating synkrotron radiation for FCC

13-11-14 V.Ivant (testem17-V10-01-01)
- PhysicsList, PhysListEmStandard - fixed upper energy for
    physics tables (A.Bogdanov)

26-10-15 D.Sawkey (testem17-V10-01-00)
- Set default EmParameters in PhysListEmStandard

16-11-14 V.Ivant (testem17-V10-00-01)
- fixed ROOT macro and README

27-10-14 V.Ivant (testem17-V10-00-00)
- Use G4EmStandardPhysics and G4EmParameters classes in PhysicsList,
  removed SetCuts method

21-06-13 mma (testem17-V09-06-07)
- SteppingVerbose: use G4Step::GetSecondaryInCurrentStep()

07-06-13 mma (testem17-V09-06-06)
- Cosmetic in SteppingAction.

10-04-13 V.Ivant (testem17-V09-06-05)
- HistoManager - (A.Bogdanov) fixed typo

22-03-13 mma (testem17-V09-06-04)
- coding conventions

23-02-13 V.Ivant (testem17-V09-06-03)
- HistoManager - fixed typo

22-02-13 V.Ivant (testem17-V09-06-02)
- RunAction - comment out unused variable

19-02-13 V.Ivant (testem17-V09-06-01)
- HistoManager, RunAction - make theoretical histogram back

13-02-13 I.Hrivnacova
- Applied coding guidelines (virtual keyword, data members initialization)

01-02-13 V.Ivant (testem17-V09-06-00)
- Updated name of muon-nuclear process from "muNucl" to "muonNuclear"

28-11-12 G. Cosmo (testem17-V09-05-06)
- Fixed cases of variable shadowing.

12-10-12 V.Ivant (testem17-V09-05-05)
- Migration to the updated analysis tool and inplicit units

19-08-12 V.Ivanchenko (testem17-V09-05-04)
- MuNuclearBuilder - use G4MuonNuclearProcess instead of
  G4MuNuclearInteraction (as in all reference Physics Lists)

16-04-12 mma (testem17-V09-05-03)
- all classes : apply G4 coding conventions

25-03-12 mma (testem17-V09-05-02)
- RunAction.cc : suppress plots of MC-theory comparison

22-03-12 mma (testem17-V09-05-00)
- HistoManager.hh and .cc : migrate to new g4tools histogramming system
  Do not need aida anymore, nor G4ANALYSIS_USE
- HistoMessenger.hh and .cc : suppress fileType command
- Update Readme and all macros accordingly

16-10-11 V.Ivanchenko (testem17-V09-04-02)
- Fixed README (A.Bogdanov)

08-11-11 mma (testem17-V09-04-01)
- modify SteppingVerbose for OutOfWorld

03-10-11 G.Folger (testem17-V09-04-00)
- Fix gcc46 compilation warning in MuCrossSections.cc and
    RunAction.cc

09-11-10 M.Asai (testem17-V09-03-03)
- Fix AIDA file option.

06-06-10 J.Perl (testem17-V09-03-02)
- Remove unused variable in EventAction

03-06-10 J.Perl (testem17-V09-03-01)
- Updated vis usage

21-05-10 mma (testem17-V09-03-00)
- TestEm17.cc : introduction of G4UIExecutive

24-09-08 mma (testem17-V09-01-04)
- HistoManager : root as default format

12-06-08 mma (testem17-V09-01-03)
- Remove AIDA from GNUmakefile

07-05-08 mma (testem17-V09-01-02)
- PhysListEmStandard : add spline option for physics tables
- README : update Aida informations

31-03-08 V.Ivant (testem17-V09-01-01)
- reduce number of string comparisons (10% CPU)

18-03-08 V.Ivant (testem17-V09-01-00)
- added pion and protons bremsstrahlung and pair production

12-05-07 V.Ivant (testem17-V08-03-00)
- add mixture material for tests (A.Bogdanov)

19-10-06 mma (testem17-V08-01-01)
- GNUmakefile : LOADLIBS
- remove PhysicsLists 52

26-09-06 V.Ivant (testem17-V08-01-00)
- fix ConstructParticles

10-05-06 mma (testem17-V08-00-00)
- rename TestEm14 -> TestEm17

27-01-06 mma (testem14-V08-00-01)

06-01-06 mma
- rename MuonProcesses -> TestEm14

06-12-05 G.Cosmo
- Trivial changes for support of CLHEP-2.0.X series.

22-11-05 mma (muonprocesses-V07-01-01)
- update README for OpenScientist

14-11-05 Gabriele Cosmo (muonprocesses-V07-01-00)
- Migration to <sstream> for HistoMessenger.

01-06-05 mma (muonprocesses-V07-00-01)
- HistoManager : option "--noErrors" for hbook

3rd May 2005  John Allison  (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.

03-03-05 mma (muonprocesses-V07-00-00)
- HistoManager : - put a protection for the creation of analysis factory;
                 - file extension is fileType;

06.12.04 V.Ivant (muonprocesses-V06-02-10)
- Use PhysicsList from future 7.0

05.12.04 mma (muonprocesses-V06-02-09)
- namespace std in MuCrossSections

02.12.04 V.Ivant (muonprocesses-V06-02-08)
- Migration to cmath

25.11.04 S. Sadilov (muonprocesses-V06-02-07)
- Cast to doubles to resolve compilation problems on MS Windows.

03-11-04 mma (muonprocesses-V06-02-06)
- do not delete Analysisfactory (for Jaida)

27.10.04 S. Sadilov (muonprocesses-V06-02-04, muonprocesses-V06-02-05)
- Cast to doubles to resolve compilation problems in gcc-3.2.

07.09.04 V. Ivanchenko (muonprocesses-V06-02-03)
- fix for histograms for muons-V06-02-01 tag

27.06.04 V. Ivanchenko (muonprocesses-V06-02-02)
- update for muons-V06-02-01 tag

17.06.04 V. Ivanchenko (muonprocesses-V06-02-01)
- introduce MuNuclearBuilder and corresponding macro

30.06.04 mma (muonprocesses-V06-02-00)
- histo management like in testem5-V06-01-04

16.06.04 V. Ivanchenko (muonprocesses-V06-01-01)
- std::max in MuCrossSections

14.06.04 Michel Maire (muonprocesses-V06-01-00)
- creation, from A. Bogdanov and R. Kokoulin's TestMu program.
