diff --git a/Modules/MFT/src/QcMFTClusterCheck.cxx b/Modules/MFT/src/QcMFTClusterCheck.cxx index 838925ffc0..a4561c3c6a 100644 --- a/Modules/MFT/src/QcMFTClusterCheck.cxx +++ b/Modules/MFT/src/QcMFTClusterCheck.cxx @@ -186,6 +186,7 @@ Quality QcMFTClusterCheck::check(std::map= 2) { + if (mAdjacentCount >= mLadderThresholdBad) { if (!mAdjacentLadders) { mAdjacentLadders = true; } @@ -165,20 +165,20 @@ Quality QcMFTDigitCheck::check(std::map= 1) { + if (!mAdjacentLadders && mEmptyCount >= mLadderThresholdMedium) { result = Quality::Medium; } if (mAdjacentLadders) { result = Quality::Bad; } + mEmptyCount = 0; } } return result; } - std::string QcMFTDigitCheck::getAcceptedType() { return "TH1"; } void QcMFTDigitCheck::readMaskedChips(std::shared_ptr mo) @@ -387,5 +387,4 @@ void QcMFTDigitCheck::beautify(std::shared_ptr mo, Quality checkR } } } - } // namespace o2::quality_control_modules::mft