New pu reweighing based on correctionlib
Including new PU reweighting calculation based on correctionlib
. This MR makes the PU reweighing interface the same as all other corrections and thus easier to use for the user.
These modifications work based on having a "new understanding" of the runPeriod
and ruEra
attributes of the Dataset
class as reported in this MR and its subsequent update in this MR.
This MR is also based on new locations of the code as reported in this MR.
All modifications have been tested and are fully compatible with both Run-2 and Run-3 analyses.