This PR adds a new task that can be used to rebin histograms such that the resulting histograms are flat in signal or flat in all backgrounds.
It is currently very hard-coded and only allows rebinning signal categories to flat signal and background categories to flat background.
TODO:
apparently, the CreateDatacards task fills empty bins with some default value (1e-05), which messes with our final histograms since we create histograms with 1000 bins. We should either change this in columnflow or implement some workaround -> https://github.com/columnflow/columnflow/pull/302
This PR adds a new task that can be used to rebin histograms such that the resulting histograms are flat in signal or flat in all backgrounds. It is currently very hard-coded and only allows rebinning signal categories to flat signal and background categories to flat background.
TODO: