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
54 seqALCARECOTkAlZMuMu = cms.Sequence(ALCARECOTkAlZMuMuHLT+ALCARECOTkAlZMuMuDCSFilter+ALCARECOTkAlZMuMuGoodMuons+ALCARECOTkAlZMuMuRelCombIsoMuons+ALCARECOTkAlZMuMu)
57 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
58 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
59 (pp_on_XeXe_2017 | pp_on_AA_2018).toModify(ALCARECOTkAlZMuMuHLT,
60 eventSetupPathsKey=
'TkAlZMuMuHI'