1 import FWCore.ParameterSet.Config
as cms
3 TkAlGoodIdMuonSelector = cms.EDFilter(
"MuonSelector",
4 src = cms.InputTag(
'muons'),
5 cut = cms.string(
'isGlobalMuon &' 7 'numberOfMatches > 1 &' 8 'globalTrack.hitPattern.numberOfValidMuonHits > 0 &' 10 'globalTrack.normalizedChi2 < 20.'),
11 filter = cms.bool(
True)
14 TkAlRelCombIsoMuonSelector = cms.EDFilter(
"MuonSelector",
15 src = cms.InputTag(
''),
16 cut = cms.string(
'(isolationR03().sumPt + isolationR03().emEt + isolationR03().hadEt)/pt < 0.15'),
17 filter = cms.bool(
True)
23 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
24 phase2_common.toModify(TkAlGoodIdMuonSelector,
25 cut =
'(abs(eta) < 2.5 & isGlobalMuon & isTrackerMuon & numberOfMatches > 1 & globalTrack.hitPattern.numberOfValidMuonHits > 0 & globalTrack.normalizedChi2 < 20.) ||' 26 '(abs(eta) > 2.3 & abs(eta) < 3.0 & numberOfMatches >= 0 & isTrackerMuon)' 29 phase2_common.toModify(TkAlRelCombIsoMuonSelector,
30 cut =
'(isolationR03().sumPt)/pt < 0.1'