Skip to content

Make GenFSR optional

Dominik Muller requested to merge make_genfsr_option into master

Changes:

  • Location of GenFSR is a property in all tools instead of assuming the default location. Properties default value is the default location.
  • getIfExist return is checked for nullptr when getting the FSR, and all accesses are guarded preventing segmentation faults
  • Passing "" as location allows to turn off GenFSR handling in the tool
  • TES interaction ignores the RootInTES, otherwise GenFSR becomes /myRoot/FileRecords/GenFSR rejected as invalid

Reason:

  • To get ReDecay working again, need support for RootInTES and the ability to set a different GenFSR for the signal sample generation tool (in practice not filling a GenFSR for the signal part is ideal as the information isn't useful anyway).

No changes to the default configuration are necessary.

Merge request reports