Add cutflow support to ttbar event selection block
Description
Adds cutflow support to the ttbar event selection block, by providing two json files as additional output of the dumper, one containing event counts between the different preparation step before the event selection and one that provides event counts for the sub-selections during the event selection.
The make...Config functions were mostly copied from TopCPToolkit, with the addition of the EventCountingBlock and a modified copy of the EventCutFlowBlock to use a different algorithm defined in the dumper. As far as I can see this is the only way of doing it while preserving most of the original structure as intended by TopCPToolkit.
Review checklist:
-
CI Passing -
Comments addressed -
Source branch is up to date with target
Edited by Samuel Van Stroud