CMS 3D CMS Logo

ALCARECOTkAlDiMuonAndVertex_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
7 ALCARECOTkAlDiMuonHLT = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuHLT.clone()
8 ALCARECOTkAlDiMuonDCSFilter = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuDCSFilter.clone()
9 ALCARECOTkAlDiMuonGoodMuons = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuGoodMuons.clone()
10 ALCARECOTkAlDiMuonRelCombIsoMuons = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMuRelCombIsoMuons.clone(src = 'ALCARECOTkAlDiMuonGoodMuons')
11 ALCARECOTkAlDiMuon = confALCARECOTkAlZMuMu.ALCARECOTkAlZMuMu.clone()
12 ALCARECOTkAlDiMuon.GlobalSelector.muonSource = 'ALCARECOTkAlDiMuonRelCombIsoMuons'
13 
14 
17 import Alignment.CommonAlignmentProducer.AlignmentTracksFromVertexSelector_cfi as TracksFromVertex
18 ALCARECOTkAlDiMuonVertexTracks = TracksFromVertex.AlignmentTracksFromVertexSelector.clone()
19 
20 
23 TkAlDiMuonAndVertexGenMuonSelector = cms.EDFilter("GenParticleSelector",
24  src = cms.InputTag("genParticles"),
25  cut = cms.string("abs(pdgId) == 13"), # Select only muons
26  filter = cms.bool(False),
27  throwOnMissing = cms.untracked.bool(False))
28 
29 
32 seqALCARECOTkAlDiMuonAndVertex = cms.Sequence(ALCARECOTkAlDiMuonHLT+
33  ALCARECOTkAlDiMuonDCSFilter+
34  ALCARECOTkAlDiMuonGoodMuons+
35  ALCARECOTkAlDiMuonRelCombIsoMuons+
36  ALCARECOTkAlDiMuon+
37  ALCARECOTkAlDiMuonVertexTracks+
38  TkAlDiMuonAndVertexGenMuonSelector)
39 
40 
41 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
42 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
43 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlDiMuonHLT,
44  eventSetupPathsKey='TkAlZMuMuHI')
45 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
46 phase2_tracker.toModify(ALCARECOTkAlDiMuon, etaMin = -4, etaMax = 4)