1 import FWCore.ParameterSet.Config
as cms
3 cocPatElectrons = cms.EDProducer(
"PATElectronCleaner",
5 src = cms.InputTag(
"isolatedPatElectrons"),
8 preselection = cms.string(
''),
11 checkOverlaps = cms.PSet(
13 src = cms.InputTag(
"selectedPatMuons"),
14 algorithm = cms.string(
"byDeltaR"),
15 preselection = cms.string(
""),
16 deltaR = cms.double(0.3),
17 checkRecoComponents = cms.bool(
False),
18 pairCut = cms.string(
""),
19 requireNoOverlaps = cms.bool(
False),
21 isolatedMuons = cms.PSet(
22 src = cms.InputTag(
"isolatedPatMuons"),
23 algorithm = cms.string(
"byDeltaR"),
24 preselection = cms.string(
""),
25 deltaR = cms.double(0.3),
26 checkRecoComponents = cms.bool(
False),
27 pairCut = cms.string(
""),
28 requireNoOverlaps = cms.bool(
False),
33 finalCut = cms.string(
''),
36 cocPatJets = cms.EDProducer(
"PATJetCleaner",
37 src = cms.InputTag(
"selectedPatJets"),
40 preselection = cms.string(
''),
43 checkOverlaps = cms.PSet(
45 src = cms.InputTag(
"selectedPatMuons"),
46 algorithm = cms.string(
"byDeltaR"),
47 preselection = cms.string(
""),
48 deltaR = cms.double(0.5),
49 checkRecoComponents = cms.bool(
False),
50 pairCut = cms.string(
""),
51 requireNoOverlaps = cms.bool(
False),
53 isolatedMuons = cms.PSet(
54 src = cms.InputTag(
"isolatedPatMuons"),
55 algorithm = cms.string(
"byDeltaR"),
56 preselection = cms.string(
""),
57 deltaR = cms.double(0.5),
58 checkRecoComponents = cms.bool(
False),
59 pairCut = cms.string(
""),
60 requireNoOverlaps = cms.bool(
False),
63 src = cms.InputTag(
"selectedPatElectrons"),
64 algorithm = cms.string(
"byDeltaR"),
65 preselection = cms.string(
""),
66 deltaR = cms.double(0.5),
67 checkRecoComponents = cms.bool(
False),
68 pairCut = cms.string(
""),
69 requireNoOverlaps = cms.bool(
False),
71 isolatedElectrons = cms.PSet(
72 src = cms.InputTag(
"isolatedPatElectrons"),
73 algorithm = cms.string(
"byDeltaR"),
74 preselection = cms.string(
""),
75 deltaR = cms.double(0.5),
76 checkRecoComponents = cms.bool(
False),
77 pairCut = cms.string(
""),
78 requireNoOverlaps = cms.bool(
False),
80 cocElectrons = cms.PSet(
81 src = cms.InputTag(
"cocPatElectrons"),
82 algorithm = cms.string(
"byDeltaR"),
83 preselection = cms.string(
""),
84 deltaR = cms.double(0.5),
85 checkRecoComponents = cms.bool(
False),
86 pairCut = cms.string(
""),
87 requireNoOverlaps = cms.bool(
False),
91 finalCut = cms.string(
''),
94 customCOC = cms.Sequence(
95 cocPatElectrons * cocPatJets