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 ALCARECOTkAlUpsilonMuMuHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
0006 andOr = True,
0007 eventSetupPathsKey = 'TkAlUpsilonMuMu',
0008 throw = False
0009 )
0010
0011
0012
0013
0014
0015 import DPGAnalysis.Skims.skim_detstatus_cfi
0016 ALCARECOTkAlUpsilonMuMuDCSFilter = 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 ALCARECOTkAlUpsilonMuMuGoodMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlGoodIdMuonSelector.clone()
0026 ALCARECOTkAlUpsilonMuMuRelCombIsoMuons = Alignment.CommonAlignmentProducer.TkAlMuonSelectors_cfi.TkAlRelCombIsoMuonSelector.clone(
0027 src = 'ALCARECOTkAlUpsilonMuMuGoodMuons',
0028 cut = '(isolationR03().sumPt + isolationR03().emEt + isolationR03().hadEt)/pt < 0.3'
0029
0030 )
0031
0032 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
0033 ALCARECOTkAlUpsilonMuMu = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone()
0034 ALCARECOTkAlUpsilonMuMu.filter = True
0035
0036 ALCARECOTkAlUpsilonMuMu.applyBasicCuts = True
0037 ALCARECOTkAlUpsilonMuMu.ptMin = 3.
0038 ALCARECOTkAlUpsilonMuMu.etaMin = -3.5
0039 ALCARECOTkAlUpsilonMuMu.etaMax = 3.5
0040 ALCARECOTkAlUpsilonMuMu.nHitMin = 0
0041
0042 ALCARECOTkAlUpsilonMuMu.GlobalSelector.muonSource = 'ALCARECOTkAlUpsilonMuMuRelCombIsoMuons'
0043
0044 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyIsolationtest = False
0045 ALCARECOTkAlUpsilonMuMu.GlobalSelector.applyGlobalMuonFilter = True
0046
0047 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyMassrangeFilter = True
0048 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.minXMass = 8.9
0049 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.maxXMass = 9.9
0050 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.daughterMass = 0.105
0051 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyChargeFilter = True
0052 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.charge = 0
0053 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.applyAcoplanarityFilter = False
0054 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.acoplanarDistance = 1
0055 ALCARECOTkAlUpsilonMuMu.TwoBodyDecaySelector.numberOfCandidates = 1
0056
0057
0058 TkAlUpsilonMuMuGenMuonSelector = cms.EDFilter("GenParticleSelector",
0059 src = cms.InputTag("genParticles"),
0060 cut = cms.string("abs(pdgId) == 13"),
0061 filter = cms.bool(False),
0062 throwOnMissing = cms.untracked.bool(False))
0063
0064 seqALCARECOTkAlUpsilonMuMu = cms.Sequence(ALCARECOTkAlUpsilonMuMuHLT+ALCARECOTkAlUpsilonMuMuDCSFilter+ALCARECOTkAlUpsilonMuMuGoodMuons+ALCARECOTkAlUpsilonMuMuRelCombIsoMuons+ALCARECOTkAlUpsilonMuMu+TkAlUpsilonMuMuGenMuonSelector)
0065
0066
0067 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0068 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0069 (pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlUpsilonMuMuHLT,
0070 eventSetupPathsKey='TkAlUpsilonMuMuHI'
0071 )
0072 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0073 phase2_tracker.toModify(ALCARECOTkAlUpsilonMuMu, etaMin = -4, etaMax = 4)