File indexing completed on 2024-11-05 05:20:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006
0007 from Alignment.CommonAlignmentProducer.alignmentGoodIdMuonSelector_cfi import alignmentGoodIdMuonSelector
0008 TkAlGoodIdMuonSelector = alignmentGoodIdMuonSelector.clone(src = 'muons',
0009 requireGlobal = True,
0010 requireTracker = True,
0011 minMatches = 1,
0012 minMuonHits = 0,
0013 maxEta = 2.5,
0014 maxChi2 = 20,
0015 filter = True)
0016
0017
0018
0019 from Alignment.CommonAlignmentProducer.alignmentRelCombIsoMuonSelector_cfi import alignmentRelCombIsoMuonSelector
0020 TkAlRelCombIsoMuonSelector = alignmentRelCombIsoMuonSelector.clone(src = cms.InputTag('TkAlGoodIdMuonSelector'),
0021 filter = True,
0022 relCombIsoCut = 0.15,
0023 useTrackerOnlyIsolation = False)
0024
0025
0026 seqALCARECOTkAlRelCombIsoMuons = cms.Sequence(TkAlGoodIdMuonSelector+TkAlRelCombIsoMuonSelector)
0027
0028
0029
0030
0031
0032
0033
0034
0035 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0036 phase2_common.toModify(TkAlGoodIdMuonSelector,
0037 useSecondarySelection = True,
0038 secondaryEtaLow = 2.3,
0039 secondaryEtaHigh = 3,
0040 secondaryMinMatches = 0,
0041 secondaryRequireTracker = True)
0042
0043
0044
0045
0046 phase2_common.toModify(TkAlRelCombIsoMuonSelector,
0047 relCombIsoCut = 0.10,
0048 useTrackerOnlyIsolation = True)