Extend the functionality of the PU residual calibs
Summary: The changes implemented here are needed to derive:
- Pile-up residual calibrations for HLT jets using FTK information.
- Pile-up residual calibrations for HLT jets for the TLA analysis.
Details of the new features:
-
It is now possible to apply the pileup residual calibrations without applying the jet area-based calibration. This is needed for HLT jets where it is not possible to re-apply the jet area-based calibrations since the online rho is not stored in the xAODs. With this, we can pick-up the jets corrected by the jet area-based calibration and apply on top the residual calibrations. This was implemented by @mdaneri.
-
It is possible to use nJet (number of jets above a given threshold) instead of NPV in the pile-up residual calibrations. This is needed for the TLA analysis. This was implemented by @ckaldero.
-
Sequential residual: It is now possible to apply first the mu-based calibration and then NPV- or nJet-based calibration. It is also possible to apply only the mu-, NPV- or nJet-based calibrations, which is helpful for deriving the sequential residual calibrations.
-
It is possible to choose the vertex container to be used to calculate NPV.
Tagging @sschramm to let him know.