Skip to content

Commit

Permalink
make warnings when using fallback option stronger
Browse files Browse the repository at this point in the history
  • Loading branch information
miholzbo committed May 21, 2024
1 parent cf4c0d7 commit 60f7b6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Root/BJetEfficiencyCorrector.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ EL::StatusCode BJetEfficiencyCorrector :: initialize ()
default:
if (m_allowCalibrationFallback) {
ANA_MSG_WARNING("Cannot determine MC shower type for sample " << gridName << ", falling back to 'default'.");
ANA_MSG_WARNING("Please double-check if this is appropriate for your sample, otherwise you have specify the MC-to-MC calibration manually!");
calibration="default";
break;
}
Expand Down Expand Up @@ -289,6 +290,7 @@ EL::StatusCode BJetEfficiencyCorrector :: initialize ()
case HelperFunctions::Unknown:
if (m_allowCalibrationFallback) {
ANA_MSG_WARNING("Cannot determine MC shower type for sample " << gridName << ", falling back to 'default'.");
ANA_MSG_WARNING("Please double-check if this is appropriate for your sample, otherwise you have specify the MC-to-MC calibration manually!");
calibration="default";
break;
}
Expand Down

0 comments on commit 60f7b6e

Please sign in to comment.