1 import FWCore.ParameterSet.Config
as cms
5 phPFIsoValueCharged03PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
8 src = cms.InputTag(
"phPFIsoDepositCharged"),
9 deltaR = cms.double(0.3),
10 weight = cms.string(
'1'),
11 vetos = cms.vstring(),
12 skipDefaultVeto = cms.bool(
True),
13 mode = cms.string(
'sum'),
14 PivotCoordinatesForEBEE = cms.bool(
True)
19 phPFIsoValueChargedAll03PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
22 src = cms.InputTag(
"phPFIsoDepositChargedAll"),
23 deltaR = cms.double(0.3),
24 weight = cms.string(
'1'),
25 vetos = cms.vstring(),
26 skipDefaultVeto = cms.bool(
True),
27 mode = cms.string(
'sum'),
28 PivotCoordinatesForEBEE = cms.bool(
True)
33 phPFIsoValueGamma03PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
36 src = cms.InputTag(
"phPFIsoDepositGamma"),
37 deltaR = cms.double(0.3),
38 weight = cms.string(
'1'),
39 vetos = cms.vstring(
'EcalEndcaps:ConeVeto(0.05)'),
40 skipDefaultVeto = cms.bool(
True),
41 mode = cms.string(
'sum'),
42 PivotCoordinatesForEBEE = cms.bool(
True)
47 phPFIsoValueNeutral03PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
50 src = cms.InputTag(
"phPFIsoDepositNeutral"),
51 deltaR = cms.double(0.3),
52 weight = cms.string(
'1'),
53 vetos = cms.vstring(),
54 skipDefaultVeto = cms.bool(
True),
55 mode = cms.string(
'sum'),
56 PivotCoordinatesForEBEE = cms.bool(
True)
61 phPFIsoValuePU03PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
64 src = cms.InputTag(
"phPFIsoDepositPU"),
65 deltaR = cms.double(0.3),
66 weight = cms.string(
'1'),
67 vetos = cms.vstring(),
68 skipDefaultVeto = cms.bool(
True),
69 mode = cms.string(
'sum'),
70 PivotCoordinatesForEBEE = cms.bool(
True)
77 phPFIsoValueCharged04PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
80 src = cms.InputTag(
"phPFIsoDepositCharged"),
81 deltaR = cms.double(0.4),
82 weight = cms.string(
'1'),
83 vetos = cms.vstring(),
84 skipDefaultVeto = cms.bool(
True),
85 mode = cms.string(
'sum'),
86 PivotCoordinatesForEBEE = cms.bool(
True)
94 phPFIsoValueChargedAll04PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
97 src = cms.InputTag(
"phPFIsoDepositChargedAll"),
98 deltaR = cms.double(0.4),
99 weight = cms.string(
'1'),
100 vetos = cms.vstring(),
101 skipDefaultVeto = cms.bool(
True),
102 mode = cms.string(
'sum'),
103 PivotCoordinatesForEBEE = cms.bool(
True)
108 phPFIsoValueGamma04PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
109 deposits = cms.VPSet(
111 src = cms.InputTag(
"phPFIsoDepositGamma"),
112 deltaR = cms.double(0.4),
113 weight = cms.string(
'1'),
114 vetos = cms.vstring(
'EcalEndcaps:ConeVeto(0.05)'),
115 skipDefaultVeto = cms.bool(
True),
116 mode = cms.string(
'sum'),
117 PivotCoordinatesForEBEE = cms.bool(
True)
123 phPFIsoValueNeutral04PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
124 deposits = cms.VPSet(
126 src = cms.InputTag(
"phPFIsoDepositNeutral"),
127 deltaR = cms.double(0.4),
128 weight = cms.string(
'1'),
129 vetos = cms.vstring(),
130 skipDefaultVeto = cms.bool(
True),
131 mode = cms.string(
'sum'),
132 PivotCoordinatesForEBEE = cms.bool(
True)
137 phPFIsoValuePU04PFId = cms.EDProducer(
"PFCandIsolatorFromDeposits",
138 deposits = cms.VPSet(
140 src = cms.InputTag(
"phPFIsoDepositPU"),
141 deltaR = cms.double(0.4),
142 weight = cms.string(
'1'),
143 vetos = cms.vstring(),
144 skipDefaultVeto = cms.bool(
True),
145 mode = cms.string(
'sum'),
146 PivotCoordinatesForEBEE = cms.bool(
True)
151 photonPFIsolationValuesTask = cms.Task(
152 phPFIsoValueCharged03PFId,
153 phPFIsoValueChargedAll03PFId,
154 phPFIsoValueGamma03PFId,
155 phPFIsoValueNeutral03PFId,
156 phPFIsoValuePU03PFId,
158 phPFIsoValueCharged04PFId,
159 phPFIsoValueChargedAll04PFId,
160 phPFIsoValueGamma04PFId,
161 phPFIsoValueNeutral04PFId,