Skip to content

Commit

Permalink
Merge pull request #44697 from fmanteca/CMSSW_14_0_X
Browse files Browse the repository at this point in the history
[14_0_X] Removed pixelLayers requirement in MuonSelectors.cc
  • Loading branch information
cmsbuild authored Apr 12, 2024
2 parents 289d578 + f19939c commit 51476e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DataFormats/MuonReco/src/MuonSelectors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -867,8 +867,7 @@ bool muon::isLooseTriggerMuon(const reco::Muon& muon) {
bool tk_id = muon::isGoodMuon(muon, TMOneStationTight);
if (not tk_id)
return false;
bool layer_requirements = muon.innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5 &&
muon.innerTrack()->hitPattern().pixelLayersWithMeasurement() > 0;
bool layer_requirements = muon.innerTrack()->hitPattern().trackerLayersWithMeasurement() > 5;
bool match_requirements =
(muon.expectedNnumberOfMatchedStations() < 2) or (muon.numberOfMatchedStations() > 1) or (muon.pt() < 8);
return layer_requirements and match_requirements;
Expand Down

0 comments on commit 51476e1

Please sign in to comment.