Support pure-flavour JEC uncertainties
Goes together with https://gitlab.cern.ch/cp3-cms/CMSJMECalculators/-/merge_requests/6 (the tests here will fail until it is merged), so once this one is merged you will have to use v0.2.0 (or master) of the CMSJMECalculators package.
Add support for the FlavorPureXXXX
variations, where XXXX
is Quark, Gluon, Charm or Bottom, as opposed to the usual FlavorQCD
which assumes a specific flavour mixture.
Depending on the jet parton flavour, the uncertainties are applied or kept to the nominal pt. No flavour uncertainty is therefore applied for jets with an undefined (=0) parton flavour.