Skip to content

Commit

Permalink
Merge pull request #36005 from vjmastra/fix-dimu-multiple-mass-window…
Browse files Browse the repository at this point in the history
…s-12_2_0_pre1

Bugfix for mass-window cut in HLTMuonDimuonL3Filter
  • Loading branch information
cmsbuild committed Nov 5, 2021
2 parents 06f15e3 + 93e777a commit d523d5d
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions HLTrigger/Muon/plugins/HLTMuonDimuonL3Filter.cc
Expand Up @@ -603,28 +603,28 @@ bool HLTMuonDimuonL3Filter::applyDiMuonSelection(const RecoChargedCandidateRef&
bool proceed = false;
for (unsigned int iv = 0; iv < min_InvMass_.size(); iv++) {
if (invmass < min_InvMass_[iv])
return false;
continue;
if (invmass > max_InvMass_[iv])
return false;
continue;
if (ptLx1 > ptLx2) {
if (ptLx1 < min_PtMax_[iv])
return false;
continue;
if (ptLx2 < min_PtMin_[iv])
return false;
continue;
if (ptLx2 > max_PtMin_[iv])
return false;
continue;
} else {
if (ptLx2 < min_PtMax_[iv])
return false;
continue;
if (ptLx1 < min_PtMin_[iv])
return false;
continue;
if (ptLx1 > max_PtMin_[iv])
return false;
continue;
}
if (pt12 < min_PtPair_[iv])
return false;
continue;
if (pt12 > max_PtPair_[iv])
return false;
continue;
proceed = true;
break;
}
Expand Down

0 comments on commit d523d5d

Please sign in to comment.