Skip to content

Fix JME corrections for data

Sebastien Wertz requested to merge swertz/bamboo:fixJMEData into master

This fixes a bug introduced in https://gitlab.cern.ch/cp3-cms/bamboo/-/merge_requests/223

The parton flavour branch does not exist in data, hence trying to reapply the JEC on data would fail. The tests did not catch it because the input file used for testing is MC.

Thanks to @jlidrych for reporting.

Goes together with https://gitlab.cern.ch/cp3-cms/CMSJMECalculators/-/merge_requests/8. After merging this, you will need to update the CMSJMECalculator package.

Merge request reports