File indexing completed on 2024-07-10 02:34:08
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 ALCARECOTkAlJpsiMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006 andOr = True,
0007 eventSetupPathsKey = 'TkAlJpsiMuMu',
0008 throw = False
0009 )
0010
0011
0012
0013
0014
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOTkAlJpsiMuMuDCSFilter = 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 ALCARECOTkAlJpsiMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
0026
0027 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0028 ALCARECOTkAlJpsiMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0029 ALCARECOTkAlJpsiMuMu.filter = True
0030
0031 ALCARECOTkAlJpsiMuMu.applyBasicCuts = True
0032 ALCARECOTkAlJpsiMuMu.ptMin = 0.8
0033 ALCARECOTkAlJpsiMuMu.etaMin = -3.5
0034 ALCARECOTkAlJpsiMuMu.etaMax = 3.5
0035 ALCARECOTkAlJpsiMuMu.nHitMin = 0
0036
0037 ALCARECOTkAlJpsiMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlJpsiMuMuGoodMuons'
0038
0039 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyIsolationtest = False
0040 ALCARECOTkAlJpsiMuMu.GlobalSelector.applyGlobalMuonFilter = True
0041
0042 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
0043 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.minXMass = 2.7
0044 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.maxXMass = 3.4
0045 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.daughterMass = 0.105
0046 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyChargeFilter = False
0047 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.charge = 0
0048 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0049 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.acoplanarDistance = 1
0050 ALCARECOTkAlJpsiMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
0051
0052
0053 TkAlJpsiMuMuGenMuonSelector = cms.EDFilter("GenParticleSelector",
0054 src = cms.InputTag("genParticles"),
0055 cut = cms.string("abs(pdgId) == 13"),
0056 filter = cms.bool(False),
0057 throwOnMissing = cms.untracked.bool(False))
0058
0059 seqALCARECOTkAlJpsiMuMu = cms.Sequence(ALCARECOTkAlJpsiMuMuHLT+ALCARECOTkAlJpsiMuMuDCSFilter+ALCARECOTkAlJpsiMuMuGoodMuons+ALCARECOTkAlJpsiMuMu+TkAlJpsiMuMuGenMuonSelector)
0060
0061
0062 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0063 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0064 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlJpsiMuMuHLT,
0065 eventSetupPathsKey='TkAlJpsiMuMuHI'
0066 )
0067
0068 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0069 phase2_tracker.toModify(ALCARECOTkAlJpsiMuMu, etaMin = -4, etaMax = 4)