File indexing completed on 2024-11-05 05:20:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003 import HLTrigger.HLTfilters.hltHighLevel_cfi
0004
0005 ALCARECOTkAlZMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006 andOr = True,
0007 eventSetupPathsKey = 'TkAlZMuMu',
0008 throw = False
0009 )
0010
0011
0012
0013
0014
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOTkAlZMuMuDCSFilter = DPGAnalysis.Skims.skim_detstatus_cfi.dcsstatus.clone(
0017 DetectorType = cms.vstring('TIBTID','TOB','TECp','TECm','BPIX','FPIX',
0018 'DT0','DTp','DTm','CSCp','CSCm'),
0019 ApplyFilter = cms.bool(True),
0020 AndOr = cms.bool(True),
0021 DebugOn = cms.untracked.bool(False)
0022 )
0023
0024
0025 from Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi import *
0026
0027 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0028 ALCARECOTkAlZMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0029 ALCARECOTkAlZMuMu.filter = True
0030
0031 ALCARECOTkAlZMuMu.applyBasicCuts = True
0032 ALCARECOTkAlZMuMu.ptMin = 15.0
0033 ALCARECOTkAlZMuMu.etaMin = -3.5
0034 ALCARECOTkAlZMuMu.etaMax = 3.5
0035 ALCARECOTkAlZMuMu.nHitMin = 0
0036
0037 ALCARECOTkAlZMuMu.GlobalSelector.muonSource = 'TkAlRelCombIsoMuonSelector'
0038
0039 ALCARECOTkAlZMuMu.GlobalSelector.applyIsolationtest = False
0040 ALCARECOTkAlZMuMu.GlobalSelector.applyGlobalMuonFilter = True
0041
0042 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
0043 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.minXMass = 65.0
0044 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.maxXMass = 115.0
0045 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.daughterMass = 0.105
0046 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyChargeFilter = True
0047 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.charge = 0
0048 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0049 ALCARECOTkAlZMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
0050
0051
0052 TkAlZMuMuGenMuonSelector = cms.EDFilter("GenParticleSelector",
0053 src = cms.InputTag("genParticles"),
0054 cut = cms.string("abs(pdgId) == 13"),
0055 filter = cms.bool(False),
0056 throwOnMissing = cms.untracked.bool(False))
0057
0058 seqALCARECOTkAlZMuMu = cms.Sequence(ALCARECOTkAlZMuMuHLT+
0059 ALCARECOTkAlZMuMuDCSFilter+
0060 seqALCARECOTkAlRelCombIsoMuons+
0061 ALCARECOTkAlZMuMu+
0062 TkAlZMuMuGenMuonSelector)
0063
0064
0065 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0066 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0067 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlZMuMuHLT,
0068 eventSetupPathsKey='TkAlZMuMuHI'
0069 )
0070
0071 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0072 phase2_tracker.toModify(ALCARECOTkAlZMuMu, etaMin = -4, etaMax = 4)