Skip to content

Commit

Permalink
Update CalibTracker/SiStripHitEfficiency/plugins/SiStripHitEfficiency…
Browse files Browse the repository at this point in the history
…Harvester.cc


as per code review.
  • Loading branch information
mmusich committed Jul 5, 2023
1 parent c41694d commit e68a53c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ void SiStripHitEfficiencyHarvester::dqmEndJob(DQMStore::IBooker& booker, DQMStor
if (denom) {
assert(num <= denom); // can't have this happen
const auto eff = num / denom;
const auto eff_up = (num <= denom) ? TEfficiency::Bayesian(denom, num, .99, 1, 1, true) : 1.f;
const auto eff_up = TEfficiency::Bayesian(denom, num, .99, 1, 1, true);

if ((denom >= nModsMin_) && (eff_up < layer_min_eff)) {
//We have a bad module, put it in the list!
Expand Down

0 comments on commit e68a53c

Please sign in to comment.