# Example CaTS 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-29 Guilherme Lima (CaTS-V11-04-04)
- Use unique_ptr to simplify management of per-thread root files
- Replace two boolean options WITH_G4OPTICKS=ON/OFF, WITH_CELERITAS=ON/OFF with
  a single string option WITH_ENGINE=Opticks|Celeritas|Geant4 (default=Geant4)
- Use Log scale for some validation plots generated by validateCeleritas.cc

## 2026-10-05 Guilherme Lima (CaTS-V11-04-03)
- Revert number of events running during nightlies
- RootIO.cc: revert changes from !5894, and
  use smart pointers for root file cleanup
- CaTS.cc: removing unnecessary code

## 2026-09-04 Guilherme Lima (CaTS-V11-04-02)
- Integration of Celeritas as an option to offload the transport of optical
  photons.
- New class MakeCelerOptions added, for some user configuration of Celeritas.
- Hits produced by Celeritas are converted into G4Hits for further Geant4
  processing, e.g. analysis and/or I/O.
- Added a simple, ROOT-based validation analysis binary: validateCeleritas.cc
- Preliminary validation agains Geant4 v11.03.p02 shows excellent agreement
  between Celeritas and standard Geant4 for optical photons in the
  SimpleLArTCP geometry.

## 2026-08-26 S.Y. Jun (CaTS-V11-04-01)
- Add QuasiOpticalPhysics constructor with quasi-optical processes.

## 2026-05-05 Ilker Parmaksiz (CaTS-V11-04-00)
- Updated CMakeLists.txt to support proper compilation and linkage with the
  latest Opticks.
- Added MySensorIdentifier.hh and OpticksHitHandler.hh to provide sensor'ID
  assignment and Opticks hit collection.
- Implemented a new SteppingAction to transfer optical photon information
  (Cerenkov and scintillation) to Opticks and to register boundary interactions
  as hits.
- Modified IArTPCSD, PhotonSD, and RadiatorSD to incorporate Opticks generated
  hits into their sensitive detector workflows.
- Added simpleLArTPC_Opticks.gdml for testing geometry and validating Opticks
  integration.
- Added a new example macro, electron.mac, which generates a single electron
  for testing and validation.
- Removed find_dependency(PLog) from CMakeLists.txt.
- Performed code cleanup: removed unused and commented out code; replaced int
  with G4int and std::cout with G4cout in multiple files.
- Corrected indentation issues across the codebase.
- Use swap in OpticksHitHandler::GetHits to prevent data races.

## 2025-08-25 S.Y. Jun (CaTS-V11-03-00)
- RootIO, EventAction: Move hit collections from EventAction to RootIO and
  improve code readability
- DetectorConstruction: Introduce map of sensitive detectors with names and
  refactor code for adding detectors
- lArTPCSD, readPhotonHits: Update for renaming from Photondetector to
  PhotonDetector and revise NumElectrons

## 2023-11-15 I. Hrivnacova (CaTS-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-31 Gabriele Cosmo (CaTS-V11-00-02)
- Fixed compilation warnings on latest gcc compilers.

## 2022-03-26 Gabriele Cosmo (CaTS-V11-00-01)
- Fixed compilation warnings for unused arguments.

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

---

# History entries prior to 11.0

19 Novemebr 2021 - tag CaTS-V10-07-01 - I. Hrivnacova
- Fixed PrimaryGeneratorAction destructor

22 October 2021 - tag CaTS-V10-07-00 - H. Wenzel
- first version of CaTS example committed
