diff --git a/PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration/CalibrationDataInterface/Root/CalibrationDataInterfaceROOT.cxx b/PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration/CalibrationDataInterface/Root/CalibrationDataInterfaceROOT.cxx index 611d03a13920d7cd8c76a58515fcb735e393c4c6..ae31b6fbf8978bd85ce86d6f1738f7c9228df25d 100644 --- a/PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration/CalibrationDataInterface/Root/CalibrationDataInterfaceROOT.cxx +++ b/PhysicsAnalysis/JetTagging/JetTagPerformanceCalibration/CalibrationDataInterface/Root/CalibrationDataInterfaceROOT.cxx @@ -1626,7 +1626,7 @@ Analysis::CalibrationDataInterfaceROOT::getWeightScaleFactor (const CalibrationD return Analysis::kError; } // the 'extrapolation' uncertainty (always a named one) needs a somewhat special treatment - bool extrapolate = SFNamed ? eigenVariation->isExtrapolationVariation(numVariation) : false; + bool extrapolate = (unc==SFNamed) ? eigenVariation->isExtrapolationVariation(numVariation) : false; double valueUp; double valueDown;