1 import FWCore.ParameterSet.Config
as cms
5 hltZMMPbPb = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone()
6 hltZMMPbPb.HLTPaths = [
"HLT_HIL3SingleMu*_v*"]
7 hltZMMPbPb.throw =
False 8 hltZMMPbPb.andOr =
True 11 primaryVertexFilterForZMM = cms.EDFilter(
"VertexSelector",
12 src = cms.InputTag(
"offlinePrimaryVertices"),
13 cut = cms.string(
"!isFake && abs(z) <= 25 && position.Rho <= 2"),
14 filter = cms.bool(
True),
18 muonSelectorForZMM = cms.EDFilter(
"MuonSelector",
19 src = cms.InputTag(
"muons"),
20 cut = cms.string(
"(isPFMuon && isGlobalMuon) && pt > 20."),
21 filter = cms.bool(
True)
24 muonFilterForZMM = cms.EDFilter(
"MuonCountFilter",
25 src = cms.InputTag(
"muonSelectorForZMM"),
26 minNumber = cms.uint32(2)
29 dimuonMassCutForZMM = cms.EDProducer(
"CandViewShallowCloneCombiner",
30 checkCharge = cms.bool(
True),
31 cut = cms.string(
'mass > 60'),
32 decay = cms.string(
"muonSelectorForZMM@+ muonSelectorForZMM@-")
35 dimuonMassCutFilterForZMM = cms.EDFilter(
"CandViewCountFilter",
36 src = cms.InputTag(
"dimuonMassCutForZMM"),
37 minNumber = cms.uint32(1)
41 zMMSkimSequence = cms.Sequence(
43 primaryVertexFilterForZMM *
47 dimuonMassCutFilterForZMM