Skip to content

Commit

Permalink
fix for thr value (#2478)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucia Anna Tarasovicova <[email protected]>
  • Loading branch information
2 people authored and Barthelemy committed Nov 8, 2024
1 parent 5a5af4d commit 302a96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/CTP/src/RawDataReaderCheck.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Quality RawDataReaderCheck::check(std::map<std::string, std::shared_ptr<MonitorO
if (mLHCBCs.count() == 0) {
continue;
}
float average = h->GetEntries() / mLHCBCs.count();
float average = h->Integral() / mLHCBCs.count();
mThreshold = average - mNSigBC * sqrt(average);
if (mThreshold < std::sqrt(average)) {
mThreshold = average / 2;
Expand Down

0 comments on commit 302a96f

Please sign in to comment.