Skip to content

Validate inputs passed to correction

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

Check that the parameters passed to get_correction() match exactly what the Correction is expecting.

This catches cases where there are several Correction entries with the same name, but different inputs, in the CorrectionSet, see https://gitlab.cern.ch/cms-nanoAOD/jsonpog-integration/-/issues/10

Currently it's possible to silently use the wrong Correction. This should be fixed in the SFs, but better check it on our end.

Related to #84

Merge request reports