Cutflow counts grid submit
Description
If we dump using full event selection which typically want to look at a cutflow afterwards, i.e. we have to explicitly add the cutflow which is output by the dumper to the grid output. In this case we can't use the existing merge script for hdf5 files though, since the cutflow_counts.json which get's output by the dumper is not an hdf5 file.
For these reasons this merge request introduces a new associative array OUTPUTS_BY_MODE, which specifies the usual output.h5 output as well as a cutflow_counts.json output for the event selection options. Other modes are not specified and default to output.h5. The MR also introduces an option -g which allows to disable merging and is required for the event selection modes.
Review checklist:
-
CI Passing -
Comments addressed -
Source branch is up to date with target
Edited by Jona Ackerschott