1 import FWCore.ParameterSet.Config
as cms
5 ALCARECOTkAlZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7 eventSetupPathsKey =
'TkAlZMuMu',
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOTkAlZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
17 DetectorType = cms.vstring(
'TIBTID',
'TOB',
'TECp',
'TECm',
'BPIX',
'FPIX',
18 'DT0',
'DTp',
'DTm',
'CSCp',
'CSCm'),
19 ApplyFilter = cms.bool(
True),
20 AndOr = cms.bool(
True),
21 DebugOn = cms.untracked.bool(
False)
24 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
25 ALCARECOTkAlZMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
26 ALCARECOTkAlZMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
27 src =
'ALCARECOTkAlZMuMuGoodMuons' 31 ALCARECOTkAlZMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
32 ALCARECOTkAlZMuMu.filter =
True 34 ALCARECOTkAlZMuMu.applyBasicCuts =
True 35 ALCARECOTkAlZMuMu.ptMin = 15.0
36 ALCARECOTkAlZMuMu.etaMin = -3.5
37 ALCARECOTkAlZMuMu.etaMax = 3.5
38 ALCARECOTkAlZMuMu.nHitMin = 0
40 ALCARECOTkAlZMuMu.GlobalSelector.muonSource =
'ALCARECOTkAlZMuMuRelCombIsoMuons' 42 ALCARECOTkAlZMuMu.GlobalSelector.applyIsolationtest =
False 43 ALCARECOTkAlZMuMu.GlobalSelector.applyGlobalMuonFilter =
True 45 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyMassrangeFilter =
True 46 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.minXMass = 65.0
47 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.maxXMass = 115.0
48 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.daughterMass = 0.105
49 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyChargeFilter =
True 50 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.charge = 0
51 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter =
False 52 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
55 TkAlZMuMuGenMuonSelector = cms.EDFilter(
"GenParticleSelector",
56 src = cms.InputTag(
"genParticles"),
57 cut = cms.string(
"abs(pdgId) == 13"),
58 filter = cms.bool(
False),
59 throwOnMissing = cms.untracked.bool(
False))
61 seqALCARECOTkAlZMuMu = cms.Sequence(ALCARECOTkAlZMuMuHLT+ALCARECOTkAlZMuMuDCSFilter+ALCARECOTkAlZMuMuGoodMuons+ALCARECOTkAlZMuMuRelCombIsoMuons+ALCARECOTkAlZMuMu+TkAlZMuMuGenMuonSelector)
64 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
65 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
66 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlZMuMuHLT,
67 eventSetupPathsKey=
'TkAlZMuMuHI' 70 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
71 phase2_tracker.toModify(ALCARECOTkAlZMuMu, etaMin = -4, etaMax = 4)