File indexing completed on 2024-07-10 02:34:07
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005
0006 import Alignment.CommonAlignmentProducer.ALCARECOTkAlZMuMu_cff as confALCARECOTkAlZMuMu
0007 ALCARECOTkAlDiMuonHLT = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuHLT.clone()
0008 ALCARECOTkAlDiMuonDCSFilter = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuDCSFilter.clone()
0009 ALCARECOTkAlDiMuonGoodMuons = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuGoodMuons.clone()
0010 ALCARECOTkAlDiMuonRelCombIsoMuons = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuRelCombIsoMuons.clone(src = 'ALCARECOTkAlDiMuonGoodMuons')
0011 ALCARECOTkAlDiMuon = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMu.clone()
0012 ALCARECOTkAlDiMuon.GlobalSelector.muonSource = 'ALCARECOTkAlDiMuonRelCombIsoMuons'
0013
0014
0015
0016
0017 import Alignment.CommonAlignmentProducer.AlignmentTracksFromVertexSelector_cfi as TracksFromVertex
0018 ALCARECOTkAlDiMuonVertexTracks = TracksFromVertex.AlignmentTracksFromVertexSelector.clone()
0019
0020
0021
0022
0023 TkAlDiMuonAndVertexGenMuonSelector = cms.EDFilter("GenParticleSelector",
0024 src = cms.InputTag("genParticles"),
0025 cut = cms.string("abs(pdgId) == 13"),
0026 filter = cms.bool(False),
0027 throwOnMissing = cms.untracked.bool(False))
0028
0029
0030
0031
0032 seqALCARECOTkAlDiMuonAndVertex = cms.Sequence(ALCARECOTkAlDiMuonHLT+
0033 ALCARECOTkAlDiMuonDCSFilter+
0034 ALCARECOTkAlDiMuonGoodMuons+
0035 ALCARECOTkAlDiMuonRelCombIsoMuons+
0036 ALCARECOTkAlDiMuon+
0037 ALCARECOTkAlDiMuonVertexTracks+
0038 TkAlDiMuonAndVertexGenMuonSelector)
0039
0040
0041 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0042 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0043 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlDiMuonHLT,
0044 eventSetupPathsKey='TkAlZMuMuHI')
0045 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0046 phase2_tracker.toModify(ALCARECOTkAlDiMuon, etaMin = -4, etaMax = 4)