3 patMuons.addGenMatch = cms.bool(
False)
5 goodVertex = cms.EDFilter(
"VertexSelector",
6 src = cms.InputTag(
"offlinePrimaryVertices"),
7 cut = cms.string(
"(!isFake) & ndof > 3 & abs(z) < 15 & position.Rho < 2"),
8 filter = cms.bool(
True)
11 goodMuons = cms.EDFilter(
"PATMuonSelector",
12 src = cms.InputTag(
"patMuons"),
14 'pt > 10 && abs(eta) < 2.5 && isGlobalMuon && isTrackerMuon '
15 ' && innerTrack.hitPattern.numberOfValidTrackerHits > 9 & innerTrack.hitPattern.numberOfValidPixelHits > 0'
16 ' && abs(dB) < 0.2 && globalTrack.normalizedChi2 < 10'
17 ' && globalTrack.hitPattern.numberOfValidMuonHits > 0 && numberOfMatches > 1'
19 filter = cms.bool(
True)
22 goodMuonsPFIso = cms.EDFilter(
"PATMuonRefSelector",
23 src = cms.InputTag(
"goodMuons"),
24 cut = cms.string(
'(pfIsolationR04().sumChargedHadronPt - pfIsolationR04().sumPUPt)<0.1*pt'),
25 filter = cms.bool(
False)
28 goldenZmumuCandidatesGe0IsoMuons = cms.EDProducer(
"CandViewShallowCloneCombiner",
29 checkCharge = cms.bool(
True),
31 cut = cms.string(
'charge = 0 & max(daughter(0).pt,daughter(1).pt)>20'),
32 decay = cms.string(
"goodMuons@+ goodMuons@-")
40 goldenZmumuCandidatesGe2IsoMuons = goldenZmumuCandidatesGe0IsoMuons.clone(
41 decay = cms.string(
"goodMuonsPFIso@+ goodMuonsPFIso@-")
44 goldenZmumuFilter = cms.EDFilter(
"CandViewCountFilter",
45 src = cms.InputTag(
"goldenZmumuCandidatesGe0IsoMuons"),
47 minNumber = cms.uint32(1)
50 goldenZmumuSelectionSequence = cms.Sequence(
55 * goldenZmumuCandidatesGe0IsoMuons
57 * goldenZmumuCandidatesGe2IsoMuons