Skip to content

Commit 302a96f

Browse files
lhusovaLucia Anna Tarasovicova
authored andcommitted
fix for thr value (#2478)
Co-authored-by: Lucia Anna Tarasovicova <lucia.anna.husova@cern.ch>
1 parent 5a5af4d commit 302a96f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/CTP/src/RawDataReaderCheck.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Quality RawDataReaderCheck::check(std::map<std::string, std::shared_ptr<MonitorO
9292
if (mLHCBCs.count() == 0) {
9393
continue;
9494
}
95-
float average = h->GetEntries() / mLHCBCs.count();
95+
float average = h->Integral() / mLHCBCs.count();
9696
mThreshold = average - mNSigBC * sqrt(average);
9797
if (mThreshold < std::sqrt(average)) {
9898
mThreshold = average / 2;

0 commit comments

Comments
 (0)