# Example TestEm0 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-06 I. Hrivnacova (testem0-V11-04-00)
- RunAction: use the photon production cut for hadron bremsstrahlung when
  computing cross sections and restricted stopping powers.
- DetectorConstruction: calculate xenon gas density from its molar mass,
  pressure and temperature using the ideal-gas law; document that the
  high-pressure xenon material also uses the ideal-gas approximation.
Developed with assistance from OpenAI Codex.

## 2025-07-11 V.Ivanchenko (testem0-V11-03-00)
- RunAction - introduced G4endl in several places allowing
    debug more efficiently

## 2024-04-09 Michel Maire (testem0-V11-02-00)
- DetectorConstruction: introduce Xenon gas
- new macro xenonGas.mac

## 2023-03-11 Michel Maire (testem0-V11-01-00)
- revision of all headers
- RunAction: restore output format
- new macro ion.mac


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

---

# History entries prior to 11.0

18-10-21 V.Ivant (testem0-V10-07-01)
- TestEm0.cc - use G4RunManagerFactory
- RunAction - attempt to improve output format

17-12-20 mma (testem0-V10-07-00)
- updated PhysListEmStandard.cc
- DetectorConstruction : print only used material

03-10-19 V.Ivant (testem0-V10-05-02)
- PhysicsList : define options, specific for this example after
    new EM physics is selected; clean-up constructor; Opt0 is the
    default

20-09-19 mma (testem0-V10-05-01)
- PhysicsList : BuildCSDARange(true)

13-08-19 V.Ivant (testem0-V10-05-00)
- PhysicsList - disable GeneralProcess for all EM physics

11-03-18 mma (testem0-V10-04-00)
- Testem0.cc : remove G4UI_USE

07-11-17 D.Sawkey (testem0-V10-03-01)
- RunAction: write html documentation of physics list if envvars
    G4PhysListName, G4PhysListDocDir set

19-06-17 mma  (testem0-V10-03-00)
- RunAction : update max energy for CSDARange table

14-10-16 G.Folger (testem0-V10-02-06)
- remove direct use of theParticleIterator, use GetParticleTableIterator().
    fix required by clang39 on Linux and MAC

19-09-16 V.Ivant (testem0-V10-02-05)
- DetectorConstruction - do not re-create geometry when change
  material

26-08-16 V.Ivant (testem0-V10-02-04)
- RunAction.cc - fixed computation of Tmax
- PhysicsList - removed hardcoded enabling of CSDA range table
- TestEm0.in added UI commands enabling print of list of EM
    parameters and enabling computation of CSDA range

26-07-16 mma  (testem0-V10-02-03)
- coding convention : rm double blanck lines

12-04-16 mma  (testem0-V10-02-02)
- PhysicsList: use G4EmParameters

11-11-15 V.Ivant (testem0-V10-01-01)
- DirectAccess.cc - make it work for Geant4 10.1

03-09-15 I.Hrivnacova  (testem0-V10-01-00)
- Removed local SetCutFor*() methods from PhysicsList and setCut
  command from PhysicsListMessenger and using /run/setCut command

16-10-14 I.Hrivnacova (testem0-V10-00-00)
- Fixed long line in PrimaryGeneratorAction.cc

12-10-13 V.Ivant (testem0-V09-06-07)
- DirectAccess.cc - G4SeltzerBergerModel instead of obsolete
    G4eBremsstrahlungModel

01-04-13 A.Dotti (testem0-V09-06-06)
- New G4VUserPhysicsList interface needed for MT

20-03-13 V.Ivant (testem0-V09-06-05)
- RunAction - added computation of unrestricted energy loss to reduce
    user confusions

20-03-13 V.Ivant (testem0-V09-06-04)
- RunAction - if cut in energy above 1 GeV set it to primary energy
    in order to compute unrestricted energy loss; fixed computation
    of total energy loss

19-03-13 mma (testem0-V09-06-03)
- PhysListEmStandard : use default G4UrbanMscModel

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

12-12-12 V.Ivant (testem0-V09-06-01)
- DirectAccess - use G4PEEffectFluoModel instead of obsolete
    G4PEEffectModel

11-12-12 V.Ivant (testem0-V09-06-00)
- PhysListEmStandard : substitute obsolete call

19-10-12 mma (testem0-V09-05-09)
- PhysListEmStandard : use G4UrbanMscModel96

12-10-12 V.Ivant (testem0-V09-05-08)
- Migration to the updated analysis tool and implicit units

09-10-12 mma (testem0-V09-05-07)
- PhysicsList : add G4EmStandardPhysics_option4

08-10-12 mma (testem0-V09-05-06)
- PhysicsList : add more units for cross sections

01-10-12 mma (testem0-V09-05-05)
- coding conventions : virtual and initialisation list

06-09-12 I.Hrivnacova (testem0-V09-05-04)
- Fixed libraries in CMakeLists.txt

06-09-12 V.Ivant (testem0-V09-05-03)
- Ivana Hrivnacova updated CMakeLists.txt

27-08-12 mma (testem0-V09-05-02)
- add .README

10-06-12 mma (testem0-V09-05-01)
- update PhyListEmStandard  (for GenericIon)

26-03-12 mma (testem0-V09-05-00)
- all classes : apply G4 coding conventions

31-05-11 mma (testem0-V09-04-00)
- DetectorConstruction : for Water, set I = 78 eV (instead of 75 eV)

02-02-10 ja (testem0-V09-03-05)
- TestEm0.cc :
  Removal of #include "G4UIterminal.hh" and #include "G4UItcsh.hh".

17-05-10 mma (testem0-V09-03-04)
- TestEm0.cc : introduction of G4UIExecutive

10-05-10 mma (testem0-V09-03-03)
- RunAction - reverse order: ComputeCrossSection, then GetCrossSection

06-04-10 V.Ivant (testem0-V09-03-02)
- RunAction - printout both GetCrossSection and ComputeCrossSection

29-03-10 mma (testem0-V09-03-01)
- RunAction - come back to  "Get.." methods

23-03-10 V.Ivant (testem0-V09-03-00)
- new PhysicsLists : emstandard_opt0,1,2,3
- RunAction - use calculator methods "Compute.." instead of "Get.."

17-11-09 mma (testem0-V09-02-01)
- new PhysicsLists : livermore, penelope
  remove runManger->Initialize() from TestEm0.cc

14-11-09 mma (testem0-V09-02-00)
- PhysListEmStandard : replace obsolete G4MultipleScattering

17-11-08 mma (testem0-V09-01-01)
- Em options : 20 bins/decade

17-12-07 mma (testem0-V09-01-00)
- compute max energy transferable

26-06-07 mma
- G4ProductionCutsTable::SetEnergyRange(100*eV, 1*GeV)

21-06-07 mma (testem0-V08-03-00)
- cosmetic in TestEm0.cc

08-12-06 mma (testem0-V08-01-02)
- correct a cout in BeginOfRun

16-08-06 mma (testem0-V08-01-01)

21-07-06 V.Ivant (testem0-V08-01-00)
- open a possibility to use NIST materials additionally to
  predefined materials

17-06-06 mma (testem0-V08-00-04)
- compute e- critical energy and Moliere radius

19-05-06 mma (testem0-V08-00-03)
- modify binning for CSDA range table

18-04-06 V.Ivant (testem0-V08-00-02)
- fix compilation warning, improve cout

05-04-06 mma (testem0-V08-00-01)
- add transport mean free path (for multiple scattering)

21-03-06 mma (testem0-V08-00-00)
- creation
