Skip to content

Commit

Permalink
review by Marino
Browse files Browse the repository at this point in the history
  • Loading branch information
JanFSchulte committed Mar 1, 2022
1 parent 6fd9f3d commit deafa87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions HLTrigger/Muon/plugins/HLTMuonL1TFilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ HLTMuonL1TFilter::HLTMuonL1TFilter(const edm::ParameterSet& iConfig)
// }
qualityBitMask_ |= 1 << selectQualitie;
}
//make sure cut parameter for candidate matching is
//make sure cut parameter for candidate matching is strictly positive
if (maxDR_ <= 0.) {
throw cms::Exception("HLTPFJetsMatchedToFilteredJetsProducerConfiguration")
throw cms::Exception("HLTMuonL1TFilterConfiguration")
<< "invalid value for parameter \"MaxDeltaR\" (must be > 0): " << maxDR_;
}
// dump parameters for debugging
Expand Down Expand Up @@ -123,6 +123,7 @@ bool HLTMuonL1TFilter::hltFilter(edm::Event& iEvent,
for (int it2 = 0; it2 < prevSize; it2++) {
if (deltaR2(muon->eta(), muon->phi(), prevMuons[it2]->eta(), prevMuons[it2]->phi()) < maxDR2_)
matchPrevL1 = true;
break;
}
if (!matchPrevL1)
continue;
Expand Down

0 comments on commit deafa87

Please sign in to comment.