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
53 TkAlJpsiMuMuGenMuonSelector = cms.EDFilter(
"GenParticleSelector",
54 src = cms.InputTag(
"genParticles"),
55 cut = cms.string(
"abs(pdgId) == 13"),
56 filter = cms.bool(
False),
57 throwOnMissing = cms.untracked.bool(
False))
59 seqALCARECOTkAlJpsiMuMu = cms.Sequence(ALCARECOTkAlJpsiMuMuHLT+ALCARECOTkAlJpsiMuMuDCSFilter+ALCARECOTkAlJpsiMuMuGoodMuons+ALCARECOTkAlJpsiMuMu+TkAlJpsiMuMuGenMuonSelector)
62 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
63 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
64 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlJpsiMuMuHLT,
65 eventSetupPathsKey=
'TkAlJpsiMuMuHI' 68 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
69 phase2_tracker.toModify(ALCARECOTkAlJpsiMuMu, etaMin = -4, etaMax = 4)
dont throw on unknown path names