File indexing completed on 2024-04-06 12:03:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 import HLTrigger.HLTfilters.hltHighLevel_cfi
0005 hltZMMPA = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
0006 hltZMMPA.HLTPaths = ["HLT_PAL3Mu15_v*"]
0007 hltZMMPA.throw = False
0008 hltZMMPA.andOr = True
0009
0010
0011 primaryVertexFilterForZMMPA = cms.EDFilter("VertexSelector",
0012 src = cms.InputTag("offlinePrimaryVertices"),
0013 cut = cms.string("!isFake && abs(z) <= 25 && position.Rho <= 2"),
0014 filter = cms.bool(True),
0015 )
0016
0017
0018 muonSelectorForZMMPA = cms.EDFilter("MuonSelector",
0019 src = cms.InputTag("muons"),
0020 cut = cms.string("(isTrackerMuon && isGlobalMuon) && pt > 25."),
0021 filter = cms.bool(True)
0022 )
0023
0024 muonFilterForZMMPA = cms.EDFilter("MuonCountFilter",
0025 src = cms.InputTag("muonSelectorForZMMPA"),
0026 minNumber = cms.uint32(2)
0027 )
0028
0029 dimuonMassCutForZMMPA = cms.EDProducer("CandViewShallowCloneCombiner",
0030 checkCharge = cms.bool(True),
0031 cut = cms.string(' 80 < mass < 110'),
0032 decay = cms.string("muonSelectorForZMMPA@+ muonSelectorForZMMPA@-")
0033 )
0034
0035 dimuonMassCutFilterForZMMPA = cms.EDFilter("CandViewCountFilter",
0036 src = cms.InputTag("dimuonMassCutForZMMPA"),
0037 minNumber = cms.uint32(1)
0038 )
0039
0040
0041 zMMPASkimSequence = cms.Sequence(
0042 hltZMMPA *
0043 primaryVertexFilterForZMMPA *
0044 muonSelectorForZMMPA *
0045 muonFilterForZMMPA *
0046 dimuonMassCutForZMMPA *
0047 dimuonMassCutFilterForZMMPA
0048 )