diff --git a/Modules/EMCAL/src/RawErrorCheck.cxx b/Modules/EMCAL/src/RawErrorCheck.cxx index 25910aad31..3a7a3928c3 100644 --- a/Modules/EMCAL/src/RawErrorCheck.cxx +++ b/Modules/EMCAL/src/RawErrorCheck.cxx @@ -271,7 +271,7 @@ Quality RawErrorCheck::check(std::mapGetYaxis()->GetBinLabel(errorcode + 1)) + " above critical threshold: Call oncall!"); - } else if (numErrors > thresholdTotalErrWarn) { // Number of raw error exceeds the threshold but is considered to be okay. Error can be fixed at beam dump + } else if (numErrors > thresholdTotalErrWarn && result != Quality::Bad) { // Number of raw error exceeds the threshold but is considered to be okay. Error can be fixed at beam dump if (result != Quality::Medium) { result = Quality::Medium; }