2 import FWCore.ParameterSet.Config
as cms
5 ALCARECOTkAlMuonIsolatedHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7 eventSetupPathsKey =
'TkAlMuonIsolated',
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOTkAlMuonIsolatedDCSFilter = 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 ALCARECOTkAlMuonIsolatedGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
26 ALCARECOTkAlMuonIsolatedRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
27 src =
'ALCARECOTkAlMuonIsolatedGoodMuons'
31 ALCARECOTkAlMuonIsolated = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
33 applyBasicCuts =
True,
40 ALCARECOTkAlMuonIsolated.GlobalSelector.muonSource =
'ALCARECOTkAlMuonIsolatedRelCombIsoMuons'
42 ALCARECOTkAlMuonIsolated.GlobalSelector.applyIsolationtest =
False
43 ALCARECOTkAlMuonIsolated.GlobalSelector.minJetDeltaR = 0.1
44 ALCARECOTkAlMuonIsolated.GlobalSelector.applyGlobalMuonFilter =
True
46 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyMassrangeFilter =
False
47 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyChargeFilter =
False
48 ALCARECOTkAlMuonIsolated.TwoBodyDecaySelector.applyAcoplanarityFilter =
False
50 seqALCARECOTkAlMuonIsolated = cms.Sequence(ALCARECOTkAlMuonIsolatedHLT+ALCARECOTkAlMuonIsolatedDCSFilter+ALCARECOTkAlMuonIsolatedGoodMuons+ALCARECOTkAlMuonIsolatedRelCombIsoMuons+ALCARECOTkAlMuonIsolated)
54 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
55 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
56 (pp_on_XeXe_2017 | pp_on_AA_2018).toModify(ALCARECOTkAlMuonIsolatedHLT,
57 eventSetupPathsKey=
'TkAlMuonIsolatedHI'
60 (pp_on_XeXe_2017 | pp_on_AA_2018).toModify(ALCARECOTkAlMuonIsolated.GlobalSelector,