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

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

## 2024-05-02 Michel Maire (rdecay01-V11-02-02)
- timeWindowBiased.mac, rdecay01.in: remove /process/had/rdm/BRbias

## 2024-02-11 Michel Maire (rdecay01-V11-02-01)
- PhysicsList.cc: MeanLifeThreshold = 1 nanosecond
- cosmetic in rdecay01.in

## 2024-01-02 Alexander Howard (rdecay01-V11-02-00)
- Added time windowed biasing to rdecay01.in for system testing. With release
  v11.2 this will cause a crash due to non-existent daughter levels.
  Commit ba7345 from July 2023 causes the crash.

## 2023-11-10 Alberto Ribon (rdecay01-V11-01-01)
- In all macro files, introduced the UI command
  '/process/had/rdm/thresholdForVeryLongDecayTime 1.0e+60 year'
  to allow all radioactive decays (including the very long ones).
  This is necessary since G4 11.2, being 1 year the default time
  threshold above which the decays are ignored.

## 2023-07-04 Michel Maire (rdecay01-V11-01-00)
- revision of all headers

## 2022-11-15 Vladimir Ivanchenko (rdecay01-V11-00-05)
- PhysicsList - moved setup of options to the class constructor;
    use minimal list of particles defined in G4EmBuilder; added
    extended comments to the code; update header according to C++11
- rdecay.cc - do not use G4RanecuEngine

## 2022-10-11 Michel Maire (rdecay01-V11-00-04)
- PhysicsList::PhysicsList() : adjust meanLifeTime and halfLifeTime

## 2022-10-02 Michel Maire (rdecay01-V11-00-03)
- PhysicsList::PhysicsList() : add SetInternalConversionFlag(G4bool)

## 2022-08-26 Gabriele Cosmo (rdecay01-V11-00-02)
- Fixed compilation warning on gcc-12.1 for EventAction::BeginOfEventAction().

## 2022-04-03 Michel Maire (rdecay01-V11-00-01)
- PhysicsList : SetThresholdOfHalfLife(1*picosecond*log(2))

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

---

# History entries prior to 11.0

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

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

22-06-21 G. Cosmo (rdecay01-V10-07-01)
- Use new CLHEP units for minute, hour, day, year and millielectronvolt
  in PhysicsList.

19-04-21 mma (rdecay01-V10-07-00)
- rdecay01.cc: RunManagerFactory
               G4SteppingVerboseWithUnits
- ActionInitialization.hh and cc: remove SteppingVerbose class

03-11-20 mma  (rdecay01-V10-06-04)
- add a comment in atomicDeexcitation.mac

26-10-20 mma (rdecay01-V10-06-03)
- README : add macros description

14-10-20 mma (rdecay01-V10-06-02)
- add a comment in atomicDeexcitation.mac

06-10-20 mma (rdecay01-V10-06-01)
- PhysicsList : add SetDeexcitationIgnoreCut(ARMflag)
- add macro atomicDeexcitation.mac

05-08-20 A. Ribon (rdecay01-V10-06-00)
- README, .README.txt, fullChain.mac, Cf238.mac, No252.mac,
  timeWindowBiased.mac : migrated UI commands from "/grdm/..."
  to "/process/had/rdm/..."

26-11-19 I. Hrivnacova (rdecay01-V10-05-06)
- Fixed formatting in .README.txt

01-10-19 mma (rdecay01-V10-05-05)
- document timeWindowBiased.mac

14-09-19 mma (rdecay01-V10-05-04)
- timeWindow command : allow t1 = 0.

10-09-19 I. Hrivnacova (rdecay01-V10-05-03)
- Removed tabulation from TrackingAction.cc

04-09-19 mma (rdecay01-V10-05-02)
- PhysicsList.cc : restore separators

11-07-19 mma (rdecay01-V10-05-01)
- TrackingAction.cc: if (fFullChain) set kinetic energy to zero

21-06-19 Dennis Wright (rdecay01-V10-05-00)
- PhysicsList.cc: replace G4RadioactiveDecay with refactored class G4Radioactivation

27-06-18 mma (rdecay01-V10-04-03)
- add timeWindowBiased.mac and data

08-05-18 Ben Morgan (rdecay01-V10-04-02)
- Include G4Types before use of G4MULTITHREADED. For forward
  compatibility with move to #defines over -D for G4 preprocessor
  symbols.

06-04-18 mma (rdecay01-V10-04-01)
- rdecay01.cc : set visualisation only in interactive session.

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

06-11-17  mma (rdecay01-V10-03-13)
- PhysicsList::ConstructProcess() : couple SetARM() and SetAugerCascade()

24-10-17  mma (rdecay01-V10-03-12)
- PhysicsList : SetCorrelatedGamma(false)

11-08-17  mma (rdecay01-V10-03-11)
- TrackingAction : count primary ion

31-07-17  mma (rdecay01-V10-03-10)
- EndOfRun - print time life > 0 only

06-07-17  Vladimir Ivanchenko (rdecay01-V10-03-09)
- PhysicsList - enable simulation of correlated gamma decay;
  added several macro files

20-06-17  Dennis Wright (rdecay01-V10-03-08)
- /UserData/UserRadData_z98.a238 : fix format of file so that it is read
  properly by G4RadioactiveDecay

10-04-17 mma  (rdecay01-V10-03-07)
- BeginOfRunAction() : remove SetRandomNumberStore()

06-03-17 mma (rdecay01-V10-03-06)
- TrackingAction.cc : simplify get meanLife

27-02-17 V.Ivanchenko (rdecay01-V10-03-05)
- PhysicsList - use time limit from G4IonTable for de-excitation module

25-02-17 mma (rdecay01-V10-03-04)
- Run.cc : print mean time life

05-01-17 mma (rdecay01-V10-03-03)
- update UserData/PhotonEvaporation-readme

05-01-17 mma (rdecay01-V10-03-02)
- update UserData, Cf238.mac, No252.mac

30-12-16 mma (rdecay01-V10-03-01)
- PhysicsList : SetStoreAllLevels(true)

14-12-16 vi, mma (rdecay01-V10-03-00)
- PhysicsList : read new PhotonEvaporation data set
                set AugerCascade via G4EmParameters

26-10-16 mma (rdecay01-V10-02-08)
- add neutron.mac proton.mac

04-07-16 I. Hrivnacova
- Fixes for Doxygen documentation

16-06-16 V.Ivanchenko (rdecay01-V10-02-07)
- PhysicsList::ConstructProcess - return back initialisation of
    atomic de-excitation

15-06-16 dwright (rdecay01-V10-02-06)
- initialize atomic deexcitation in PhysicsList::ConstructProcess
  instead of in G4RadioactiveDecay to avoid overwriting initializtion in EM

09-06-16 mma (rdecay01-V10-02-05)
- world size = 2 cm
- gun direction : along x

16-05-16 mma (rdecay01-V10-02-04)
- complete printing of activity of each nuclide.

11-05-16 mma (rdecay01-V10-02-03)
- survey activity of each nuclide in a given time window.
  Classes modified : Run, TrackingAction, TrackingMessenger. Added timWindow.mac

31-01-16 mma (rdecay01-V10-02-02)
- Run::EndOfRun() : improve printout

08-12-15 dwright (rdecay01-V10-02-01)
- PhysicsList : SetLevelTolerance (1*eV) : needed to fix crash in system testing
  There appears to already be a level Ni60[1332.510] stored somewhere instead of
  Ni60[1332.514].  Setting the tolerance to 1 eV gets the right level.

06-12-15 mma (rdecay01-V10-02-00)
- PhysicsList : SetLevelTolerance (10*eV)
- update references : it1.mac it2.mac

18-11-15 mma  (rdecay01-V10-01-06)
- PhysicsList : add LevelTolerance (100*eV),  HalfLife(0.1*ps)

13-10-15 mma  (rdecay01-V10-01-05)
- small cosmetic in EventAction::EndOfEventAction()

01-09-15 I. Hrivnacova  (rdecay01-V10-01-04)
- Removed EventMessenger class, now obsolete, and replaced
  /rdecay01/event/printModulo commands in macros with /run/printProgress

08-06-15 mma  (rdecay01-V10-01-03)
- references: update it1.mac and it2.mac

13-03-15 mma  (rdecay01-V10-01-02)
- PhysicsList.cc : remove initialization of UAtomicDeexcitation

19-01-15 mma  (rdecay01-V10-01-01)
- add subdirectory references

12-01-15 mma  (rdecay01-V10-01-00)
- PhysicsList.cc : remove SetICM()
- compute total visible energy : TrackingAction, EventAction, Run, HistoManager

18-09-14 mma (rdecay01-V10-00-03)
- rdecay01.cc : SetNumberOfThreads(G4Threading::G4GetNumberOfCores())

11-12-13 mma (rdecay01-V10-00-02)
- MT: move histo normalization in Run::EndOfRun()

09-12-13 mma (rdecay01-V10-00-01)
- MT: add primary particle info in Run::Merge()

05-12-13 mma (rdecay01-V10-00-00)
- PhysicsList: suppress SetHLThreshold()
- TrackingAction: set fullChain true by default
- TrackingAction: if singleDecay, kill secondary ion at BeginOfTrack
- ParticleCount: remove incident ion
- MT: add ActionInitialization. Modify rdecay01.cc
- MT: PrimaryGenerator: use G4IonTable
- MT: add Run. Modify RunAction, TrackingAction

23-08-13 L.Desorgher (rdecay01-V09-06-06)
- In PhysicsList set the half life threshold of the G4RadioactiveDecay to
   nanosecond

11-07-13 I.Hrivnacova (rdecay01-V09-06-05)
- In HistoManager: use new analysis manager method SetH1Activation()

19-06-13 mma (rdecay01-V09-06-04)
- SteppingVerbose: use G4Step::GetSecondaryInCurrentStep()

14-06-13 mma (rdecay01-V09-06-03)
- TrackingAction: use G4Step::GetSecondaryInCurrentStep()

25-05-13 mma (rdecay01-V09-06-02)
- cosmetic in SteppingVerbose

19-02-13 I. Hrivnacova (rdecay01-V09-06-01)
- Applied coding guidelines (data members names and initialization)

11-02-13 mma (rdecay01-V09-06-00)
- TrackingAction : suppress AbortEvent() for single decay mode. Not convenient
  for IT decay
- DetectorConstruction : fWorldSize = 2 um


14-11-12 I. Hrivnacova (rdecay01-V09-05-14)
- Fixed order of instantiating G4VisExecutive and G4UIExecutive
  (required when Qt driver is activated).

28-10-12 mma (rdecay01-V09-05-13)
- update README and .README

07-10-12 mma (rdecay01-V09-05-12)
- use G4AnalysisManager

02-10-12 V.Ivantchenko (rdecay01-V09-05-11)
- PhysicsList - removed initialisation of de-excitation, because it can
    be called only after initialisation of geometry and not when
    processes are instantiated

22-09-12 mma
- DetectorConstruction : fWorldSize = 2 cm

05-05-12 mma (rdecay01-V09-05-10)
- add macro No252.mac to demonstrate UserEvapData file
- update readme

03-05-12 mma (rdecay01-V09-05-09)
- add macro Cf238.mac to demonstrate UserRadData file

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

23-02-12 mma (rdecay01-V09-05-07)
- HistoManager : GetFileType()

11-02-12 mma (rdecay01-V09-05-06)
- HistoManager : new handle namespace and fileName[2]
                 no subdirectory in histos file

25-01-12 mma (rdecay01-V09-05-05)
- HistoManager : add protections for histo file management

15-01-12 mma (rdecay01-V09-05-04)
- HistoManager : histId and histPt
- SetHisto() : simplification of Unit handling (HistoManager and HistoMessenger)
- HistoManager and HistoMessenger : coding conventions

13-01-12 mma (rdecay01-V09-05-03)
- Functions Normalize() and saveAscii() re-activated
- RunAction.cc : normalize histos 1 to 5

10-01-12 mma (rdecay01-V09-05-02)
- HistoManager.hh and .cc : migrate to new g4tools histogramming system
  Do not need aida anymore, nor G4ANALYSIS_USE
- Functions Normalize() and saveAscii() temporarily empty
- HistoMessenger.hh and .cc : suppress fileType command
- Update Readme and all macros accordingly

02-01-12 mma (rdecay01-V09-05-01)
- PhysicsList : use G4PhysicsHelper
- RunAction : cosmetic in Activity calculation
- fullChain.mac : example of command /grdm/nuleusLimits
- new macro electronicCapture.mac

19-12-11 V.Ivanchenko (rdecay01-V09-05-00)
- RunAction : added protections against division by zero
- PhysicsList : added atomic deexcitation

08-11-11 mma (rdecay01-V09-04-06)
- modify SteppingVerbose for OutOfWorld

16-05-11 mma (rdecay01-V09-04-05)
- histo 6 : total kinetic energy (Q)

14-04-11 mma (rdecay01-V09-04-04)
- RunAction : compute activity from primary ion
- suppress histo 9

13-02-11 mma (rdecay01-V09-04-03)
- RunAction : fixe a bug in time counting

11-02-11 mma (rdecay01-V09-04-02)
- update SteppingVerbose

31-01-11 mma (rdecay01-V09-04-01)
- PhysicsList : SetARM false
- SteppingVerbose : print global time

28-01-11 mma (rdecay01-V09-04-00)
- add Co60.mac
- HistoManager : fix aida fileOptions

11-10-10 mma (rdecay01-V09-03-02)
- TrackingAction and RunAction : modify calculation of Activity
- PhysicsList : time life threshold = -1. sec

17-09-10 mma (rdecay01-V09-03-01)
- UI commands --> /rdecay01/

16-09-10 Gabriele Cosmo (rdecay01-V09-03-00)
- Migrated name to "rdecay01".

09-09-10 mma (radioActiv-V09-03-06)
- TrackingAction : AbortEvent() in single decay mode
- UI commands : radioActiv --> rdecay1

27-08-10 mma (radioActiv-V09-03-05)
- PhysicsList : time life threshold = 0. sec; no ICM; no ARM
- TrackingAction : save rndm event under condition
- Ebalance : final - initial

05-08-10 mma (radioActiv-V09-03-04)
- Update Readme and HistoManager.cc

27-07-10 mma (radioActiv-V09-03-03)
- TrackingAction : activity = f(t). Plot (histo 9)

20-07-10 mma (radioActiv-V09-03-02)
- TrackingAction : Get global time of an event. Plot (histo 8)
- /testem/ --> /radioActiv/
- PhysicsList : more units of time

15-07-10 mma (radioActiv-V09-03-01)
- PhysicsList : SetCutsWithDefault

01-07-10 mma (radioActiv-V09-03-00)

27-06-10 mma
- DetectorConstruction : 2um*2um*2um
- PrimaryGenerator : E=0*eV by default
- RunAction : correct computation of min -> max

06-06-10 Michel Maire
- Created.
