Fix issues with ROOTService
@dovombru and I had the some idea as clear from !728 (closed). I went a bit further and refactored the ROOTService to only open ROOT files once and write TTrees once at the end instead of for each batch of events.
In addition, a property has been added to disable the tree writing by default in the KsToPiPi
and RICH1Calibration
lines. For the stack/production builds ROOT will always enabled and making tuples should not be enabled.
To avoid a crash in the SVMonitor
it has been disabled. That monitoring code needs to anyway be migrated to a dedicated monitoring algorithm to properly take into account event masks.
Closes #289 (closed)
Edited by Dorothea Vom Bruch