2 import FWCore.ParameterSet.Config
as cms
5 ALCARECOTkAlJpsiMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
7 eventSetupPathsKey =
'TkAlJpsiMuMu',
15 import DPGAnalysis.Skims.skim_detstatus_cfi
16 ALCARECOTkAlJpsiMuMuDCSFilter = 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 ALCARECOTkAlJpsiMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
28 ALCARECOTkAlJpsiMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
29 ALCARECOTkAlJpsiMuMu.filter =
True 31 ALCARECOTkAlJpsiMuMu.applyBasicCuts =
True 32 ALCARECOTkAlJpsiMuMu.ptMin = 0.8
33 ALCARECOTkAlJpsiMuMu.etaMin = -3.5
34 ALCARECOTkAlJpsiMuMu.etaMax = 3.5
35 ALCARECOTkAlJpsiMuMu.nHitMin = 0
37 ALCARECOTkAlJpsiMuMu.GlobalSelector.muonSource =
'ALCARECOTkAlJpsiMuMuGoodMuons' 39 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyIsolationtest =
False 40 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyGlobalMuonFilter =
True 42 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyMassrangeFilter =
True 43 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.minXMass = 2.7
44 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.maxXMass = 3.4
45 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.daughterMass = 0.105
46 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyChargeFilter =
False 47 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.charge = 0
48 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter =
False 49 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.acoplanarDistance = 1
50 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
52 seqALCARECOTkAlJpsiMuMu = cms.Sequence(ALCARECOTkAlJpsiMuMuHLT+ALCARECOTkAlJpsiMuMuDCSFilter+ALCARECOTkAlJpsiMuMuGoodMuons+ALCARECOTkAlJpsiMuMu)
55 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
56 from Configuration.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
57 (pp_on_XeXe_2017 | pp_on_AA_2018).toModify(ALCARECOTkAlJpsiMuMuHLT,
58 eventSetupPathsKey=
'TkAlJpsiMuMuHI' dont throw on unknown path names