Skip to content

Commit 3cd1247

Browse files
committed
[CTP] fix quality result for empty histogram
1 parent 3931717 commit 3cd1247

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/CTP/src/RawDataReaderCheck.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ Quality RawDataReaderCheck::check(std::map<std::string, std::shared_ptr<MonitorO
107107
}
108108
}
109109
result.set(setQualityResult(mVecBadBC, mVecMediumBC));
110+
if (h->GetEntries() == 0) {
111+
result.set(Quality::Bad);
112+
}
110113
} else if (mo->getName() == "inputs") {
111114
if (mHistInputPrevious) {
112115
checkChange(h, mHistInputPrevious);

0 commit comments

Comments
 (0)