# Example OpNovice2 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-02 D. Sawkey (OpNovice2-V11-01-04)
- apply clang-tidy recommendations

## 2023-10-27 D. Sawkey (OpNovice2-V11-01-03)
- scint_by_particle.mac: use normal verbosity (1)

## 2023-10-19 D. Sawkey (OpNovice2-V11-01-02)
- scint_by_particle.mac: use particle-specific time constants

## 2023-10-11 Daren Sawkey (OpNovice2-V11-01-01)
- Apply coding guidelines, especially use of override and variable
  initialization

## 2023-09-05 D. Sawkey (OpNovice2-V11-01-00)
- Add command to kill photons on reaching second surface. Provides a way to
  visualize boundary scattering

## 2022-11-09 I. Hrivnacova (OpNovice2-V11-00-06)
- Fixed Doxygen documentation

## 2022-10-26 Daren Sawkey (OpNovice2-V11-00-05)
- New macro coated.mac, and book-keeping code, to show reflection/refraction
  from thin film coating. Contribution of Laurie Cappellugola et al, Aix Marseille U.

## 2022-10-20 Daren Sawkey (OpNovice2-V11-00-04)
- SteppingAction: check that group velocity is correct. Trying to reproduce
  bug 2442, 2438.

## 2022-10-18 Daren Sawkey (OpNovice2-V11-00-03)
- SteppingAction: Don't include Absorbed or Detected photons in plots for
  forward-going particles

## 2022-04-28 Daren Sawkey (OpNovice2-V11-00-02)
- Add local SteppingVerbose to print velocity with /tracking/verbose 1

## 2022-04-25 Birgit Zatschler and Daren Sawkey (OpNovice2-V11-00-01)
- Add new macro complexRindex.mac, using dielectric-metal surface with the surface
  having a complex index of refraction
- Add new histograms to record separately Fresnel reflection, TIR, absorption, etc.
- Use new histos to plot spike reflection/absorption vs angle on surface (useful
  for complex refractive index)
- PrimaryGeneratorMessenger.cc: fixed command /opnovice2/gun/randomDirection
- Addresses PR 33.

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

---

# History entries prior to 11.0

October 06, 2021 I. Hrivnacova (OpNovice2-V10-07-02)
- Migration to new G4AnalysisManager.hh header;
  define the default output file type (root),
  use auto for histograms get via GetH1()

July 19, 2021 I. Hrivnacova (OpNovice2-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.

February 24, 2021 D.Sawkey (OpNovice2-V10-07-00)
- replace deprecated optical commands and parameters with new ones

October 30, 2020 D.Sawkey (OpNovice2-V10-06-07)
- migration to G4RunManagerFactory, and don't set number of threads in main
- print histogram statistics at end of run
- remove G4Timer
- update macro verbosity, ignore threads except 0
- apply clang-format style

October 5, 2020 D.Sawkey (OpNovice2-V10-06-06)
- new macro boundary.mac, exercising all 4 boundary models. Remove
  glisur.mac and unified.mac.
- rename OpNovice2.in to OpNovice2.mac

August 4, 2020 D.Sawkey (OpNovice2-V10-06-05)
- Add material properties using new interface with std::vectors

July 10, 2020 D.Sawkey (OpNovice2-V10-06-04)
- calculate reflection/transmission probabilities vs. angle
    (new macro fresnel.mac)
- histos: add axis labels, id's; refer to them by id in some places

May 29, 2020 D.Sawkey (OpNovice2-V10-06-03)
- add code to generate statistics for wavelength shifting
- add wls.mac to test WLS and new process WLS2

May 24, 2020 D.Sawkey (OpNovice2-V10-06-02)
- use new scintillation time constant parameter

January 30, 2020 D.Sawkey (OpNovice2-V10-06-01)
- remove redundant G4AnalysisManager::Instance calls

January 21, 2020 D.Sawkey (OpNovice2-V10-06-00)
- remove string comparisons and redundant calls in SteppingAction

November 26, 2019 I. Hrivnacova (OpNovice2-V10-05-02)
- Fixed formatting in .README.txt

October 29, 2019 D.Sawkey (OpNovice2-V10-05-01)
 - macros: give unique analysis filenames

August 30, 2019 D.Sawkey (OpNovice2-V10-05-00)
 - add surface roughness and polish commands
 - record scintillation photon creation time
 - updated macros

October 26, 2018 D.Sawkey (OpNovice2-V10-04-07)
 - SteppingAction.cc: fix Histo in multithreaded
 - HistoManager.hh: add commented g4csv include

September 20, 2018 D.Sawkey (OpNovice2-V10-04-06)
- add scintillation and Cerenkov GetNumPhotons to SteppingAction

August 16, 2018 D.Sawkey (OpNovice2-V10-04-05)
- messenger command to allow different materials for tank, world
- fix initialization of material property tables

June 2, 2018 D.Sawkey (OpNovice2-V10-04-04)
- fix GNUmakefile

June 1, 2018 D.Sawkey (OpNovice2-V10-04-03)
- add GNUMakeFile

June 1, 2018 D.Sawkey (OpNovice2-V10-04-02)
- remove unused variables to fix clang warnings

May 30, 2018 D.Sawkey (OpNovice2-V10-04-01)
- add #include<numeric> to Run.cc

May 30, 2018 G.Cosmo (OpNovice2-V10-04-00)
- Retagged.

May 29, 2018 D.Sawkey (exOpTest-V10-04-01)
- rename to OpNovice2

May 24, 2018 D. Sawkey (exOpTest-V10-04-00)
- Introducing this example

