File indexing completed on 2024-11-05 05:20:09
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOTkAlMuonIsolatedHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006 andOr = True,
0007 eventSetupPathsKey = 'TkAlMuonIsolated',
0008 throw = False
0009 )
0010
0011
0012
0013
0014
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOTkAlMuonIsolatedDCSFilter = 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 from Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi import *
0025
0026 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0027 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0028 filter = True,
0029 applyBasicCuts = True,
0030 ptMin = 2.0,
0031 etaMin = -3.5,
0032 etaMax = 3.5,
0033 nHitMin = 0
0034 )
0035
0036 ALCARECOTkAlMuonIsolated.GlobalSelector.muonSource = 'TkAlRelCombIsoMuonSelector'
0037
0038 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest = False
0039 ALCARECOTkAlMuonIsolated.GlobalSelector.minJetDeltaR = 0.1
0040 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter = True
0041
0042 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter = False
0043 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter = False
0044 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0045
0046 seqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedHLT+
0047 ALCARECOTkAlMuonIsolatedDCSFilter+
0048 seqALCARECOTkAlRelCombIsoMuons+
0049 ALCARECOTkAlMuonIsolated)
0050
0051
0052 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0053 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0054 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMuonIsolatedHLT,
0055 eventSetupPathsKey='TkAlMuonIsolatedHI'
0056 )
0057
0058 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMuonIsolated.GlobalSelector,
0059 minJetDeltaR=0.0
0060 )
0061 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0062 phase2_tracker.toModify(ALCARECOTkAlMuonIsolated, etaMin = -4, etaMax = 4)