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 hltZMMPbPb = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
0006 hltZMMPbPb.HLTPaths = ["HLT_HIL3SingleMu*_v*"]
0007 hltZMMPbPb.throw = False
0008 hltZMMPbPb.andOr = True
0009
0010
0011 primaryVertexFilterForZMM = 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 muonSelectorForZMM = cms.EDFilter("MuonSelector",
0019 src = cms.InputTag("muons"),
0020 cut = cms.string("(isPFMuon && isGlobalMuon) && pt > 20."),
0021 filter = cms.bool(True)
0022 )
0023
0024 muonFilterForZMM = cms.EDFilter("MuonCountFilter",
0025 src = cms.InputTag("muonSelectorForZMM"),
0026 minNumber = cms.uint32(2)
0027 )
0028
0029 dimuonMassCutForZMM = cms.EDProducer("CandViewShallowCloneCombiner",
0030 checkCharge = cms.bool(True),
0031 cut = cms.string('mass > 60'),
0032 decay = cms.string("muonSelectorForZMM@+ muonSelectorForZMM@-")
0033 )
0034
0035 dimuonMassCutFilterForZMM = cms.EDFilter("CandViewCountFilter",
0036 src = cms.InputTag("dimuonMassCutForZMM"),
0037 minNumber = cms.uint32(1)
0038 )
0039
0040
0041 zMMSkimSequence = cms.Sequence(
0042 hltZMMPbPb *
0043 primaryVertexFilterForZMM *
0044 muonSelectorForZMM *
0045 muonFilterForZMM *
0046 dimuonMassCutForZMM *
0047 dimuonMassCutFilterForZMM
0048 )