# Example rdecay02 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-06-07 Vladimir Ivanchenko (rdecay02-V11-02-00)
- BiasedRDPhysics - removed unnecessary lines and forward declarations

## 2023-11-10 Alberto Ribon (rdecay02-V11-01-02)
- 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-08-04 Michel Maire (rdecay02-V11-01-01)
- add run.mac
- update README, CMakeLists.txt

## 2023-07-21 Michel Maire (rdecay02-V11-01-00)
- Revision of all headers

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

---

# History entries prior to 11.0
     
06-10-21 I. Hrivnacova (rdecay02-V10-07-04)
- Migration to new G4AnalysisManager.hh header;
  define the default output file type (root).

27-07-21 mma (rdecay02-V10-07-03)
- RunAction::CountProcesses() : add a protection if (process == nullptr)
    
19-07-21 I. Hrivnacova (rdecay02-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 (rdecay02-V10-07-01)
--------------------------------------
- Use new CLHEP units for minute, hour, day, year and millielectronvolt
  in PhysicsList.

19-04-21 mma (rdecay02-V10-07-00)
---------------------------------
- rdecay02.cc: RunManagerFactory
               G4SteppingVerboseWithUnits
- ActionInitialization.hh and cc: remove SteppingVerbose class
      
05-08-20  Alberto Ribon (rdecay02-V10-06-00)
--------------------------------------------
- README, .README.txt, macros/* : migrated UI commands from "/grdm/..."
  to "/process/had/rdm/..."

20-06-19  Dennis Wright (rdecay02-V10-05-00)
--------------------------------------------
- in order to separate biased from unbiased RDM in physics lists, create new 
  class BiasedRDPhysics which uses new G4Radioactivation process with all
  biasing available, instead of using 
  physics_lists/constructors/decay/G4RadioactiveDecayPhysics
  which will in future used only unbiased RDM.

- PhysicsList.cc: replace G4RadioactiveDecayPhysics with BiasedRDPhysics,
  also remove HP option physics lists 

- Run.cc:  replace G4RadioactiveDecay with G4Radioactivation


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

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

04-04-18 Dennis Wright (rdecay02-V10-04-01)
- in /src
    PhysicsList.cc: in ctor set nuclide table half-life threshold to
    0.1 picosecond and level tolerance to 1.0 eV, otherwise we miss many 
    short-lived nuclides

    HistoManager.cc, TrackingAction.cc: add two histograms to look at
    0 - 0.1 MeV, and 0 to 1 MeV ranges in particle emission spectra

- in /macros
    update to latest UserEvapData_z83.a210, UserRadData_z82.a210,
    UserEvapData_z102.a252 to latest database formats

    remove energy unit (keV) from call to /gun/ion in u238b.mac,
    po201m.mac and UserEvapDataBiTest.mac

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

06-07-17 Vladimir Ivanchenko (rdecay02-V10-03-01)
- PhysicsList - use G4EmStandardPhysics and G4EmExtraPhysics,
    defined EM parameters as it was in previous version of the
    example, disable electro- and muon-nuclear as it was in previous
    version of the example
- EmStandardPhysics and GammaPhysics are removed

15-06-17 Dennis Wright (rdecay02-V10-03-00)
- README: add note stating that all histograms but one are turned off by
    default, and describing how to turn them back on.  Solves user 
    complaint in bug report #1936 

14-10-16 G.Folger (rdecay02-V10-02-01)
- remove direct use of theParticleIterator, use GetParticleTableIterator().
    fix required by clang39 on Linux and MAC
	 
04-07-16 I. Hrivnacova
- Fixes for Doxygen documentation

22-02-2016  mma  (rdecay02-V10-02-00)
- PhysicsList : register hadronic processes
 
24-08-2015  mma  (rdecay02-V10-01-03)
- update Readme
     
10-05-2015  mma  (rdecay02-V10-01-02)
- HistoManager: SetNtupleActivation(false)
     
02-03-2015  mma  (rdecay02-V10-01-01)
- modify rdecay02.in
      
27-02-2015  Michel Maire  (rdecay02-V10-01-00)
- Rewritten.
- use analysis g4tools
- migration to MT 

16 October 2014  Ivana Hrivnacova  (rdecay02-V10-00-03)
------------------------------------------------
- Fixed coding guidelines (long lines) in exrdmDetectorConstruction.cc

1 July 2014  Dennis Wright  (rdecay02-V10-00-02)
------------------------------------------------
- fix bug 1461: no elastic cross section found for generic ions
  Assigned model G4NuclNuclDiffuseElastic and cross section G4GGNuclNuclCrossSection
  to generic ions in exrdmPhysListHadron 
     
18/02/2014 mma     (rdecay02-V10-00-01)
- exrdmAnalysisManager::EndOfEvent(), 217 : do not force 'second' 
     
07/01/2014 Gunter Folger     (rdecay02-V10-00-00)
- Fix problem identified in boudary chack mode. In exrdmHisto.cc::AddRow(), 
   using root, float ar[4] was used to take 6 elements. 
	Fix is to new ar with proper size.
	
18/11/2013  Ivana Hrivnacova (rdecay02-V09-06-06)
- Fixed .README

04/11/2013  Dennis Wright (rdecay02-V09-06-05)
- exrdmPhysicsList - replace G4LElastic and G4LCapture with G4HadronElastic
  and G4NeutronRadCapture

23/08/2013  Vladimir Ivanchenko (rdecay02-V09-06-04)
- exrdmPhysicsList - use standard constructors for EM physics, removed
    local low-energy EM physics

23/08/2013  Vladimir Ivanchenko (rdecay02-V09-06-03)
- exrdmPhysicsList - use standard constructors for hadronic builders
    instead of obsolete

22/08/2013  Vladimir Ivanchenko (rdecay02-V09-06-02)
- Removed unused include of G4UrbanMscModel93.hh 

01/04/2013 A.Dotti (rdecay02-V09-06-01)
- New API for phsyics list

19/02/2013 I. Hrivnacova 
- Applied coding guidelines (data members initialization)    

01/02/2013  Vladimir Ivanchenko (rdecay02-V09-06-00)
- Migration to new physics_lists directory structure

28/11/2012  Gabriele Cosmo (rdecay02-V09-05-05)
- Fixed cases of variable shadowing.

14/11/2012  Ivana Hrivnacova (rdecay02-V09-05-04)
- Minor fix in CMake build

24/10/2012  Alberto Ribon  (rdecay02-V09-05-03)
- Migrated to the new stopping physics.

25/09/2012  Ivana Hrivnacova
- Fixed AIDA dependent code 

13/06/2012  Laurent Desorgher  (rdecay02-V09-05-02)
 - Update/Review of the code according to coding guide lines 2.1-3.1 

01/05/2012  Laurent Desorgher  (rdecay02-V09-05-01)     
- Adding of tuple RDecayProducts registering Z,A,time,energy, PID,weight of each radioactive decay product
- Changes in  UserRadDataCf238Test.mac and UserRadData_z82.a210 to check  
  that the mean life time given in  UserRadData_z82.a210 is properly taken into account in the code. 
- Merge the modification  of Fan Lei for the activation computation in the new tag 

04/04/2012  Laurent Desorgher  (rdecay02-V09-05-00)
- Update/Review of the code according to coding guide lines 1.3, 1.4, and 1.5

23/11/2011 - L.Desorgher    (rdecay02-V09-04-04)

-Add the commands "/process/em/fluo true" "/process/em/auger true"
in all macro files to have the atomic relaxation taking place, with the new EM interface
for atomic relaxation. 
-Update of the README file to warn on the need of these commands.



23/11/2011 - L.Desorgher    (rdecay02-V09-04-03)
- Create this intermediate tag as copy  of   exradioactive-V09-04-00 for what concern
rdecay02.   The exradioactive-V09-04-00 tag was created in the parent directory, 
but it contains only change in  rdecay02.So its cirrect place would have been here.
For changes from  rdecay02-V09-04-02 to rdecay02-V09-04-03 see the History file in the parent 
directory.


29/04/2011 - S. Incerti    (rdecay02-V09-04-02)
- Updated obsolete low energy EM physics list

31/03/2011 - G. Folger    (rdecay02-V09-04-01)
-  Add missing include of StatMF in physics list. This was previously
    included indirectly via G4ExcitationHandler.

04/03/2011 - L. Desorgher (rdecay02-V09-04-00)
-Correct prepocessor lines 316-320 in exrdmHisto.cc to get the code 
 also compiled with ROOT (G4ANALYSIS_USE_ROOT switch on)

17/11/2010 - F.Lei (rdecay02-V09-03-04)
- The radioactivity data is output in file ".activity" with the same file name as the .aida or .root files
- Added more macros macros/u238-b.mac macros/u238.mac  macros/po201m.mac
- rename vrml.mac to vrml.g4mac

11/11/2010 - F.Lei (rdecay02-V09-03-03)
- Updated exrdmAnalysisManager.cc to output the accumulated radioactivities in the file
  "activities.data" at the end of a run, in VR mode.
- Added macros/proton-beam.mac

09/11/2010 - M.Asai (rdecay02-V09-03-02)
- Fix AIDA file option.

08/11/2010 - J.Allison (rdecay02-V09-03-01)
- Introduced G4UIExecutive. 

16/10/2010 - G.Cosmo (rdecay02-V09-03-00)
- Migrated from "exrdm".

06/06/2010 - J.Perl (exrdm-V09-03-02)
- Remove unused variable in EventAction 

02/06/2010 - J.Perl (exrdm-V09-03-01)
- Updated vis usage

10/05/2010 V.Ivanchenko (exrdm-V09-03-00)
- substitute G4MultipleScattering by specialized processes per particle type

22/09/2009 G.Folger (exrdm-V09-02-00)
-  remove trivial compilation warning when compiled without G4ANALYSIS_USE in 
   src/src/exrdmHisto.cc

05/12/2008 F.Lei (exrdm-V09-01-04)
- exrdmAnalysisManager.cc, exrdmSteppingAction.cc
   - better G4ANALYSIS_USE and G4ANALYSIS_USE_ROOT logic 
- GNUMakefile

04/12/2008 F.Lei (exrdm-V09-01-03)
- exrdmHisto: delete hfileROOT in save();
- exrdmAnalysisManager.cc, exrdmSteppingAction.cc
   - used || login between G4ANALYSIS_USE and G4ANALYSIS_USE_ROOT
- Updated README, macro/f24.mac

04/12/2008 G.Barrand
- exrdmAnalyisManager : dispose() : cstor, dstor private.
- exrdmHisto : revisit the AIDA sector, mainly creation/deletion of things.
  Now the program holds in case of multiple /run/beamOn.
  NOTE : someone should do the same with the ROOT sector...
  I have let a //FIXME in exrdmHisto::~exrdmHisto and ~exrdmAnalysisManager().
- EventAction, RunAction : have some #ifdef G4VIS_USE to be able to
  disconnect properly the G4/vis.

02/12/2008 F.Lei (exrdm-V09-01-02)
- exrdmHisto,exrdmHistoMessenger & exrdmAnalysisManager: updated the usage 
  of AIDA analysis package.
  
August 10th, 2008 V.Ivanchenko (exrdm-V09-01-01)
--------------------------------------------------
- exdrmMatarialMessenger - fix units of density
- exdrmPhysicsList - fix definition of cuts; simplify logic
                     of setting of hadronic physics;
                     remove double instantiation of radioactive decay
- removed compillation warnings in several places
- replace flag G4ANALYSIS_USE_AIDA by G4ANALYSIS_USE
- remove AIDA setup from GNUmakefile (use one from central scripts)

01 May 2008, Fan Lei (exrdm-V09-01-00)
--------------------------------------------------
- Removed "," from the Ntuple header definition
- All energy depositions are collected, apart from that of the primary track.  

November 15th, 2007 V.Ivanchenko (exrdm-V09-00-02)
--------------------------------------------------
- A minor fix of low-energy EM physics builder

November 14th, 2007 V.Ivanchenko (exrdm-V09-00-01)
--------------------------------------------------
- Use decay and radiactive decay builders from physics)lists library
- Added elastic, stopping, ion and extraEm physics

July 3th, 2007 V.Ivanchenko (exrdm-V09-00-00)
---------------------------------------------
- Remove obsolete hadronic builders and use only QGSP_BIC, QGSP_BIC_HP,
  QGSP_BERT, QGSP_BERT_HP

February 14th, 2006 V.Ivanchenko (exrdm-V08-02-01)
-------------------------------
- Use standard EM builder from physics_list subdirectory

21/12/2006 F.Lei (exrdm-V08-02-00)
- Added ROOT format option for outputting results. It is the default format now. 

February 16th, 2006 V.Ivanchenko (exrdm-V08-00-00)
-------------------------------
- Update Physics Lists

December 6th, 2005 Gabriele Cosmo
---------------------------------
- Trivial changes for support of CLHEP-2.0.X series.

December 2nd, 2005 V.Ivanchenko (exrdm-V07-01-02)
-------------------------------
- Fix crash connected with non-static hadrons

November 15th, 2005 Gabriele Cosmo (exrdm-V07-01-01)
----------------------------------
- Migration to <sstream> from deprecated <strstream>.

July 19th, 2005 Fan Lei (exrdm-V07-01-00)
-----------------------
- Changed in GNUmakefile 
     LOADLIBS += `aida-config --lib`
       with:
     LDLIBS += `aida-config --lib`
  fixing AIDA link problem for WIN32-VC.
- Corrected a typo in exRDMHistoMessenger.cc.
 
June 3rd, 2005 Fan Lei (exrdm-V07-00-01)
----------------------
- updates to physics list
- added macros/test.mac for testing the physics list

May 3rd, 2005 John Allison
--------------------------
- Replaced vis manager with G4VisExecutive.

March 3rd, 2005 Fan Lei (exrdm-V07-00-00)
-----------------------
- Update to exrdmPhysicsList.cc

December 3rd, 2004 Gabriele Cosmo (exrdm-V06-02-02)
---------------------------------
- Use new phys-lists structure.

December 3rd, 2004 Gabriele Cosmo (exrdm-V06-02-01)
---------------------------------
- Implemented migration to <cmath>.

November 11th, 2004 Fan lei (exrdm-V06-02-00)
---------------------------
- First release 
