CMS 3D CMS Logo

photonPFIsolationValues_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 
5 phPFIsoValueCharged03PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
6  deposits = cms.VPSet(
7  cms.PSet(
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)
15  )
16  )
17 )
18 
19 phPFIsoValueChargedAll03PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
20  deposits = cms.VPSet(
21  cms.PSet(
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)
29  )
30  )
31 )
32 
33 phPFIsoValueGamma03PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
34  deposits = cms.VPSet(
35  cms.PSet(
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)
43  )
44  )
45 )
46 
47 phPFIsoValueNeutral03PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
48  deposits = cms.VPSet(
49  cms.PSet(
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)
57  )
58  )
59 )
60 
61 phPFIsoValuePU03PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
62  deposits = cms.VPSet(
63  cms.PSet(
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)
71  )
72  )
73 )
74 
75 
76 
77 phPFIsoValueCharged04PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
78  deposits = cms.VPSet(
79  cms.PSet(
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)
87  )
88  )
89 )
90 
91 
92 
93 
94 phPFIsoValueChargedAll04PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
95  deposits = cms.VPSet(
96  cms.PSet(
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)
104  )
105  )
106 )
107 
108 phPFIsoValueGamma04PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
109  deposits = cms.VPSet(
110  cms.PSet(
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)
118  )
119  )
120 )
121 
122 
123 phPFIsoValueNeutral04PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
124  deposits = cms.VPSet(
125  cms.PSet(
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)
133  )
134  )
135 )
136 
137 phPFIsoValuePU04PFId = cms.EDProducer("PFCandIsolatorFromDeposits",
138  deposits = cms.VPSet(
139  cms.PSet(
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)
147  )
148  )
149 )
150 
151 photonPFIsolationValuesTask = cms.Task(
152  phPFIsoValueCharged03PFId,
153  phPFIsoValueChargedAll03PFId,
154  phPFIsoValueGamma03PFId,
155  phPFIsoValueNeutral03PFId,
156  phPFIsoValuePU03PFId,
157 
158  phPFIsoValueCharged04PFId,
159  phPFIsoValueChargedAll04PFId,
160  phPFIsoValueGamma04PFId,
161  phPFIsoValueNeutral04PFId,
162  phPFIsoValuePU04PFId
163  )