Skip to content

Commit

Permalink
Merge pull request #43892 from mmusich/mm_dev_fix_phase2_alcareco_muo…
Browse files Browse the repository at this point in the history
…n_selection

[14.0.X] add phase2 customizations to `TkAlMuonSelectors` to increase selection efficiency
  • Loading branch information
cmsbuild authored Feb 9, 2024
2 parents 0e0543d + 175abba commit 15570d7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Alignment/CommonAlignmentProducer/python/TkAlMuonSelectors_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,16 @@
cut = cms.string('(isolationR03().sumPt + isolationR03().emEt + isolationR03().hadEt)/pt < 0.15'),
filter = cms.bool(True)
)

## FIXME: these are needed for ALCARECO production in CMSSW_14_0_X
## to avoid loosing in efficiency. To be reviewed after muon reco is fixed

from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
phase2_common.toModify(TkAlGoodIdMuonSelector,
cut = '(abs(eta) < 2.5 & isGlobalMuon & isTrackerMuon & numberOfMatches > 1 & globalTrack.hitPattern.numberOfValidMuonHits > 0 & globalTrack.normalizedChi2 < 20.) ||' # regular selection
'(abs(eta) > 2.3 & abs(eta) < 3.0 & numberOfMatches >= 0 & isTrackerMuon)' # to recover GE0 tracks
)

phase2_common.toModify(TkAlRelCombIsoMuonSelector,
cut = '(isolationR03().sumPt)/pt < 0.1' # only tracker isolation
)

0 comments on commit 15570d7

Please sign in to comment.