File indexing completed on 2024-04-06 11:56:15
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 import Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi
0025 ALCARECOTkAlMuonIsolatedGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
0026 ALCARECOTkAlMuonIsolatedRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
0027 src = 'ALCARECOTkAlMuonIsolatedGoodMuons'
0028 )
0029
0030 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0031 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
0032 filter = True,
0033 applyBasicCuts = True,
0034 ptMin = 2.0,
0035 etaMin = -3.5,
0036 etaMax = 3.5,
0037 nHitMin = 0
0038 )
0039
0040 ALCARECOTkAlMuonIsolated.GlobalSelector.muonSource = 'ALCARECOTkAlMuonIsolatedRelCombIsoMuons'
0041
0042 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest = False
0043 ALCARECOTkAlMuonIsolated.GlobalSelector.minJetDeltaR = 0.1
0044 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter = True
0045
0046 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter = False
0047 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter = False
0048 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0049
0050 seqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedHLT+ALCARECOTkAlMuonIsolatedDCSFilter+ALCARECOTkAlMuonIsolatedGoodMuons+ALCARECOTkAlMuonIsolatedRelCombIsoMuons+ALCARECOTkAlMuonIsolated)
0051
0052
0053
0054 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0055 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0056 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMuonIsolatedHLT,
0057 eventSetupPathsKey='TkAlMuonIsolatedHI'
0058 )
0059
0060 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMuonIsolated.GlobalSelector,
0061 minJetDeltaR=0.0
0062 )
0063 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0064 phase2_tracker.toModify(ALCARECOTkAlMuonIsolated, etaMin = -4, etaMax = 4)