# Example xray_fluorescence 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-15 I. Hrivnacova (XRayFluo-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-09-09 Susanna Guatelli (XRayFluo-V11-00-02)
- Ranecu Engine removed. Default one now used
  
## 2022-02-14 Gabriele Cosmo (XRayFluo-V11-00-01)
- XrayFluoEventAction: fixed compilation warning on Intel-icx compiler
  for unused variable.

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

---

# History entries prior to 11.0

04.11.2021  I. Hrivnacova Tag:XRayFluo-V10-07-07
- Updated for changes in the analysis category:
  G4VAnalysisReader::ReadNtuple(const G4String&) is renamed back
  in GetNtuple

25.10.2021 B.Morgan Tag:XRayFluo-V10-07-06
- Use G4StrUtil functions replacing deprecated G4String member functions

16.10.2021  S.Guatelli Tag:XRayFluo-V10-07-05
- Migration to G4RunManagerFactory

07.10.2021  I. Hrivnacova Tag:XRayFluo-V10-07-04
- Migration to new G4AnalysisManager.hh header;
  define the default output file type (root),
  explicitly include G4RootAnalysisReader.
  
26.08.2021  I. Hrivnacova Tag:XRayFluo-V10-07-03
- Updated for changes in the analysis category:
  G4VAnalysisReader::GetNtuple(const G4String&) is renamed in ReadNtuple

19.07.2021  I. Hrivnacova Tag:XRayFluo-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.

24.05.2021  B. Morgan (XRayFluo-V10-07-01)
- Bump required CMake version range to 3.12...3.20, matching core Geant4

12.02.2021  S. Guatelli Tag:XRayFluo-V10-07-00
-  Dependence to G4EmProcessOptions.hh removed.
   Method SetCuts() removed from local physics list as it is not thread-safe.

02.11.2020 Ben Morgan Tag:XRayFluo-V10-06-00
- Support same CMake version range as core Geant4

30.08.2019 Susanna Guatelli Tag:XRayFluo-V10-05-01
- G4VIS_USE and G4UI_USE deleted

31.01.2019 Ivana Hrivnacova  Tag: XrayFluo-V10-05-00
- Merged GitHub PR #4: all Boolean operators now return G4bool.

09.11.2018 Gabiele Cosmo   Tag: XrayFluo-V10-04-01
- XrayFluoMercuryDetectorMessenger: fixed typo in printout.

10.05.2018 Ben Morgan      Tag: XrayFluo-V10-04-00
- Include G4Types before use of G4MULTITHREADED. For forward
  compatibility with move to #defines over -D for G4 preprocessor
  symbols.

12.01.2017 Gabriele Cosmo  Tag: XrayFluo-V10-03-00
- Use units for angles explicitly in XrayFluoDetectorConstruction

19.11.2016 Andrea Dotti    Tag: XrayFluo-V10-02-02
- Explicit set of SD to manager

28.10.2016 Gunter Folger   Tag: XrayFluo-V10-02-01
- Removed direct use of {a,the}ParticleIterator, use GetParticleTableIterator().
  Fix required by clang39 on Linux and MAC

11.09.2015 S. Incerti Tag: XrayFluo-V10-01-00
- Updated macro livermore.mac

06-06-2014 L.Pandola Tag: XrayFluo-V10-00-10
- Changed verbosity in livermore.mac to bring the output
below 1 MB (as requested for system testing)

20-05-2014 L.Pandola Tag: XrayFluo-V10-00-09
- Migrated SteppingVerbose, registered now through the
 ActionInitialization class.

16-05-2014 L.Pandola Tag: XrayFluo-V10-00-08
- Real MT migration: use the G4MTRunManager
- Add PhysicsHasBeenChanged() to the commands of the physics list
 messenger

13-05-2014 L.Pandola Tag: XrayFluo-V10-00-07
- Fix a bug with ntuple numbering in XrayFluoAnalysisManager
- Fix a bug in the ActionInitializer causing the rejection of previous tag

08-05-2014 L.Pandola Tag: XrayFluo-V10-00-06
- Updated hit class to make it MT-compliant
- Fixed the procedure for the update of geometry between runs
- Make const methods in the RunAction. Revised logic of RunAction: only
the master RunAction loads data
- Take RunAction pointer in XrayFluoPrimaryGeneratorAction
- Remove unused verbosity in XrayFluoDataSet
- Revise logic for reading external events (MT-compliant).
- Protect methods of the singleton analysis class by Mutex.

22-04-2014 L.Pandola Tag: XrayFluo-V10-00-05
- Created and integrated an action initialization class.
- Make const methods and add ConstructSDandField() in the detector
 construction classes.
- Getting prepared for the MT migration

17-04-2014 L.Pandola Tag: XrayFluo-V10-00-04
- Fix bug in the analysis manager
- Remove the workaround to avoid the deletion of the output file
 (following the fix in analysis-V10-00-09)

15-04-2014 L.Pandola Tag: XrayFluo-V10-00-03
- Remove compiler warning which caused the rejection of
XrayFluo-V10-00-02

14-04-2014 L.Pandola Tag: XrayFluo-V10-00-02
- Complete the migration to the g4tools (removed AIDA dependency).
Method XrayFluoAnalysisManager::LoadGunData() is restored by using the
new G4AnalysisReader interface.

13-12-2013 L.Pandola Tag: XrayFluo-V10-00-01
- First partial migration to g4tools (internal tag). Removed AIDA
dependency. Output works properly, but the application is presently
unable to use the method
 XrayFluoAnalysisManager::LoadGunData()
to open a phase space file and feed data to the primary generator.

13-12-2013 L.Pandola Tag: XrayFluo-V10-00-00
- Fix shadowed variables and compilation errors due to the #include of
G4SystemOfUnits. Do not show up in system testing, but only when AIDA
is available.

25-11-2013 G.Folger Tag: XrayFluo-V09-06-02
- Fix  one more typo in XrayFluoDetectorConstruction.cc: G4cout replaced by G4endl;

22-11-2013 G.Folger Tag: XrayFluo-V09-06-01
- Fix typo in XrayFluoDetectorConstruction.cc: G4cout replaced by G4endl;

18-06-2013 A. Dotti Tag: XrayFluo-V09-06-00
- Fixed compilation warnings with most recent clang compiler
  (unused private data fields)

28-11-2012 G. Cosmo Tag: XrayFluo-V09-05-06
- Fixed cases of variable shadowing.

06-11-2012 L. Pandola Tag: XrayFluo-V09-05-05
- Fix syntax in CMakeLists.txt

26-10-2012 L. Pandola Tag: XrayFluo-V09-05-04
- Replace CMakeLists.txt to deal with UI/VIS

12-10-2012 G. Cosmo  Tag: XrayFluo-V09-05-03
- Explicit inclusion of units and constants headers.

13-06-2012 G. Cosmo  Tag: XrayFluo-V09-05-02
- Fixed compilation warnings for extra parenthesis from MacOSX/clang.

15-12-2011 P. Mato  Tag: XrayFluo-V09-05-01
- XrayFluoNistMaterials.cc
  Fixed the induced memory corruption problem only intermittently visible
  on MacOSX. The vectors to define materials needed to be cleared properly.

08-12-2011 P. Mato  Tag: XrayFluo-V09-05-00
- Added CMakeLists.txt file.

25-11-2011 G.Folger  Tag: XrayFluo-V09-04-05
- Fix compilation error on Windows.

16-11-2011 G.Folger  Tag: XrayFluo-V09-04-04
- Migrated to new G4Exception.

03-11-2011 A.Mantero Tag: XrayFluo-V09-04-03
- Update for README file.

03-11-2011 A.Mantero Tag: XrayFluo-V09-04-02
- Migrated PhysicsList to all pre-built PL generating deexcitation products.
- Added example for macro (livermore.mac).
- removed old macros.
- Removed XrayFluoPhysListEmStandardFLUO.cc.

27-03-2011 A.Mantero Tag: XrayFluo-V09-04-01
- Re commit of the previous tag.

07-02-2011 A.Mantero Tag: XrayFluo-V09-04-00
- migrated physicslist to standard EM+Fluo (with PIXE)
- added several files (XrayFluoPhysListEmStandardFLUO.cc, XrayFluoStepMax.cc
  XrayFluoStepMaxMessenger.cc and relative headers)
  and modified accordingly others.

18-11-2010 G.A.P.Cirrone, Tag: XrayFluo-V09-03-03
- Corrected bug in the MercuryPrimaryGeneratorAction file on source definition

18-11-2010 John Allison, Tag: XrayFluo-V09-03-02
- Introduced G4UIExecutive.

03-06-2010 Joseph Perl, Tag: XrayFluo-V09-03-00
- Updated vis usage

10-11-2009 Alf, Tag: XrayFluo-V09-02-01
- Physics List  migrated to new Lowenergy physics processes design
- XrayFluoDataSet  migrated in order to meet new modification of G4VEMDataSet

10-04-2009 G.A.P.Cirrone, Tag: XrayFluo-V09-02-00
- Tag for release after the GNUmakefile update

6-03-2009 Guy Barrand (in agreement with G.Cosmo)
- GNUmakefile : remove the G4ANALYSIS_USE logic found in this file
  since it is handled already in the config/analysis.gmk.
  This avoids a duplication in the compilation and link commands
  of the aida-config options.

15-11-2004 Gabriele Cosmo: XrayFluo-V07-01-00
- Migration to <sstream> from deprecated <strstream>.

3-5-2005  John Allison
- Replaced vis manager with G4VisExecutive.

10-12-2004 Alfonso Mantero: XrayFluo-V06-02-01
- Can now be used in batch mode without histograms.

8-12-2004 Alfonso Mantero: XrayFluo-V06-02-00
- General update, including migration to <cmath>.

4-12-2003 Susanna Guatelli: XrayFluo-V05-02-08
- Removed the compilation warnings, introduction of VRML viewer.
  This tag referes to the tag  examples-V05-02-07 prepared for
  Geant4 6.0 release.

4-12-2003 Susanna Guatelli: XrayFluo-V05-02-07
- Correspond the head found in CVS. It does not compile.
- Created.
