1 import FWCore.ParameterSet.Config
as cms
6 ZMuHLTFilter = copy.deepcopy(hltHighLevel)
7 ZMuHLTFilter.throw = cms.bool(
False)
8 ZMuHLTFilter.HLTPaths = [
"HLT_Mu*",
"HLT_IsoMu*",
"HLT_DoubleMu*"]
13 looseMuonsForZMuSkim = cms.EDFilter(
"MuonSelector",
14 src = cms.InputTag(
"muons"),
15 cut = cms.string(
'pt > 10 && abs(eta)<2.4 && isGlobalMuon = 1 && isTrackerMuon = 1 && abs(innerTrack().dxy)<2.0'),
16 filter = cms.bool(
True)
19 tightMuonsForZMuSkim = cms.EDFilter(
"MuonSelector",
20 src = cms.InputTag(
"looseMuonsForZMuSkim"),
21 cut = cms.string(
'pt > 20'),
22 filter = cms.bool(
True)
26 dimuonsZMuSkim = cms.EDProducer(
"CandViewShallowCloneCombiner",
27 checkCharge = cms.bool(
False),
28 cut = cms.string(
'mass > 30'),
29 decay = cms.string(
"tightMuonsForZMuSkim looseMuonsForZMuSkim")
33 dimuonsFilterZMuSkim = cms.EDFilter(
"CandViewCountFilter",
34 src = cms.InputTag(
"dimuonsZMuSkim"),
35 minNumber = cms.uint32(1)
39 diMuonSelSeq = cms.Sequence(ZMuHLTFilter *
40 looseMuonsForZMuSkim *
41 tightMuonsForZMuSkim *