Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 import copy
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 goodMuons1 = cms.EDFilter("MuonViewRefSelector",
00014 src = cms.InputTag("muons"),
00015 cut = cms.string('isGlobalMuon=1 && isTrackerMuon=1 && abs(eta)<2.1 && abs(globalTrack().dxy)<0.2 && pt>20. && globalTrack().normalizedChi2<10 && globalTrack().hitPattern().numberOfValidTrackerHits>10 && globalTrack().hitPattern().numberOfValidMuonHits>0 && globalTrack().hitPattern().numberOfValidPixelHits>0 && numberOfMatches>1 && (isolationR03().sumPt+isolationR03().emEt+isolationR03().hadEt)<0.15*pt'),
00016 filter = cms.bool(True)
00017 )
00018
00019
00020 goodMuons2 = cms.EDFilter("MuonViewRefSelector",
00021 src = cms.InputTag("muons"),
00022 cut = cms.string('isGlobalMuon=1 && pt>20. && abs(eta)<2.4 && abs(globalTrack().dxy)<1.0 && globalTrack().hitPattern().numberOfValidTrackerHits>6'),
00023 filter = cms.bool(True)
00024 )
00025
00026
00027 zmmCands = cms.EDProducer("CandViewShallowCloneCombiner",
00028 checkCharge = cms.bool(False),
00029 cut = cms.string('mass>60'),
00030 decay = cms.string("goodMuons1 goodMuons2")
00031 )
00032 zmmFilter = cms.EDFilter("CandViewCountFilter",
00033 src = cms.InputTag("zmmCands"),
00034 minNumber = cms.uint32(1)
00035 )
00036
00037
00038 goldenZmmSelectionSequence = cms.Sequence(
00039
00040 goodMuons1*goodMuons2 *
00041 zmmCands*zmmFilter
00042 )