2 import FWCore.ParameterSet.Config
as cms
13 This is a container class to hold numerical cut values for either
14 the barrel or endcap set of cuts
19 full5x5_sigmaIEtaIEtaCut,
21 absPFChaHadIsoWithEACut_C1,
22 absPFChaHadIsoWithEACut_C2,
23 absPFNeuHadIsoWithEACut_C1,
24 absPFNeuHadIsoWithEACut_C2,
25 absPFPhoIsoWithEACut_C1,
26 absPFPhoIsoWithEACut_C2
40 This is a container class to hold numerical cut values for either
41 the barrel or endcap set of cuts
42 This version of the container is different from the previous one
43 by the fact that it contains three constants instead of two for
44 the neutral hadron isolation cut, for exponantial parameterization
49 full5x5_sigmaIEtaIEtaCut,
52 absPFChaHadIsoWithEACut_C1,
53 absPFChaHadIsoWithEACut_C2,
54 absPFNeuHadIsoWithEACut_C1,
55 absPFNeuHadIsoWithEACut_C2,
56 absPFNeuHadIsoWithEACut_C3,
57 absPFPhoIsoWithEACut_C1,
58 absPFPhoIsoWithEACut_C2
73 A container class that holds the names of the isolation maps in the event record
74 and the names of the files with the effective area constants for pile-up corrections
77 chHadIsolationMapName,
78 chHadIsolationEffAreas,
79 neuHadIsolationMapName,
80 neuHadIsolationEffAreas,
98 cutName = cms.string(
"MinPtCut"),
99 minPt = cms.double(5.0),
100 needsAdditionalProducts = cms.bool(
False),
101 isIgnored = cms.bool(
False)
107 cutName = cms.string(
"PhoSCEtaMultiRangeCut"),
108 useAbsEta = cms.bool(
True),
109 allowedEtaRanges = cms.VPSet(
110 cms.PSet( minEta = cms.double(0.0),
111 maxEta = cms.double(ebCutOff) ),
112 cms.PSet( minEta = cms.double(ebCutOff),
113 maxEta = cms.double(2.5) )
115 needsAdditionalProducts = cms.bool(
False),
116 isIgnored = cms.bool(
False)
122 Arguments: two containers of working point cut values of the type WorkingPoint_*
125 cutName = cms.string(
'PhoSingleTowerHadOverEmCut'),
126 hadronicOverEMCutValueEB = cms.double( wpEB.hOverECut ),
127 hadronicOverEMCutValueEE = cms.double( wpEE.hOverECut ),
128 barrelCutOff = cms.double(ebCutOff),
129 needsAdditionalProducts = cms.bool(
False),
130 isIgnored = cms.bool(
False)
138 Arguments: two containers of working point cut values of the type WorkingPoint_*
141 cutName = cms.string(
'PhoFull5x5SigmaIEtaIEtaValueMapCut'),
142 cutValueEB = cms.double( wpEB.full5x5_sigmaIEtaIEtaCut ),
143 cutValueEE = cms.double( wpEE.full5x5_sigmaIEtaIEtaCut ),
144 full5x5SigmaIEtaIEtaMap = cms.InputTag(
'photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta'),
145 barrelCutOff = cms.double(ebCutOff),
146 needsAdditionalProducts = cms.bool(
True),
147 isIgnored = cms.bool(
False)
154 Arguments: two containers of working point cut values of the type WorkingPoint_*
157 cutName = cms.string(
'PhoFull5x5SigmaIEtaIEtaCut'),
158 cutValueEB = cms.double( wpEB.full5x5_sigmaIEtaIEtaCut ),
159 cutValueEE = cms.double( wpEE.full5x5_sigmaIEtaIEtaCut ),
160 full5x5SigmaIEtaIEtaMap = cms.InputTag(
'photonIDValueMapProducer:phoFull5x5SigmaIEtaIEta'),
161 barrelCutOff = cms.double(ebCutOff),
162 needsAdditionalProducts = cms.bool(
False),
163 isIgnored = cms.bool(
False)
170 Arguments: two containers of working point cut values of the type WorkingPoint_*
171 The third argument contains data for isolation calculation.
174 cutName = cms.string(
'PhoAnyPFIsoWithEACut'),
176 C1_EB = cms.double( wpEB.absPFChaHadIsoWithEACut_C1 ),
177 C2_EB = cms.double( wpEB.absPFChaHadIsoWithEACut_C2 ),
178 C1_EE = cms.double( wpEE.absPFChaHadIsoWithEACut_C1 ),
179 C2_EE = cms.double( wpEE.absPFChaHadIsoWithEACut_C2 ),
180 anyPFIsoMap = cms.InputTag( isoInputs.chHadIsolationMapName ),
181 barrelCutOff = cms.double(ebCutOff),
182 useRelativeIso = cms.bool(
False),
183 needsAdditionalProducts = cms.bool(
True),
184 isIgnored = cms.bool(
False),
185 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
186 effAreasConfigFile = cms.FileInPath( isoInputs.chHadIsolationEffAreas )
193 Arguments: two containers of working point cut values of the type WorkingPoint_*
194 The third argument contains data for isolation calculation.
197 cutName = cms.string(
'PhoAnyPFIsoWithEACut'),
199 C1_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C1 ),
200 C2_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C2 ),
201 C1_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C1 ),
202 C2_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C2 ),
203 anyPFIsoMap = cms.InputTag( isoInputs.neuHadIsolationMapName ),
204 barrelCutOff = cms.double(ebCutOff),
205 useRelativeIso = cms.bool(
False),
206 needsAdditionalProducts = cms.bool(
True),
207 isIgnored = cms.bool(
False),
208 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
209 effAreasConfigFile = cms.FileInPath( isoInputs.neuHadIsolationEffAreas )
216 Arguments: two containers of working point cut values of the type WorkingPoint_*
217 The third argument contains data for isolation calculation.
220 cutName = cms.string(
'PhoAnyPFIsoWithEAAndExpoScalingEBCut'),
222 C1_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C1 ),
223 C2_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C2 ),
224 C3_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C3 ),
226 C1_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C1 ),
227 C2_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C2 ),
228 anyPFIsoMap = cms.InputTag( isoInputs.neuHadIsolationMapName ),
229 barrelCutOff = cms.double(ebCutOff),
230 useRelativeIso = cms.bool(
False),
231 needsAdditionalProducts = cms.bool(
True),
232 isIgnored = cms.bool(
False),
233 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
234 effAreasConfigFile = cms.FileInPath( isoInputs.neuHadIsolationEffAreas )
241 Arguments: two containers of working point cut values of the type WorkingPoint_*
242 The third argument contains data for isolation calculation.
245 cutName = cms.string(
'PhoAnyPFIsoWithEAAndExpoScalingCut'),
247 C1_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C1 ),
248 C2_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C2 ),
249 C3_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C3 ),
251 C1_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C1 ),
252 C2_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C2 ),
253 C3_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C3 ),
254 anyPFIsoMap = cms.InputTag( isoInputs.neuHadIsolationMapName ),
255 barrelCutOff = cms.double(ebCutOff),
256 useRelativeIso = cms.bool(
False),
257 needsAdditionalProducts = cms.bool(
True),
258 isIgnored = cms.bool(
False),
259 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
260 effAreasConfigFile = cms.FileInPath( isoInputs.neuHadIsolationEffAreas )
267 Arguments: two containers of working point cut values of the type WorkingPoint_*
268 The third argument contains data for isolation calculation.
271 cutName = cms.string(
'PhoAnyPFIsoWithEAAndQuadScalingCut'),
273 C1_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C1 ),
274 C2_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C2 ),
275 C3_EB = cms.double( wpEB.absPFNeuHadIsoWithEACut_C3 ),
277 C1_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C1 ),
278 C2_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C2 ),
279 C3_EE = cms.double( wpEE.absPFNeuHadIsoWithEACut_C3 ),
280 anyPFIsoMap = cms.InputTag( isoInputs.neuHadIsolationMapName ),
281 barrelCutOff = cms.double(ebCutOff),
282 useRelativeIso = cms.bool(
False),
283 needsAdditionalProducts = cms.bool(
True),
284 isIgnored = cms.bool(
False),
285 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
286 effAreasConfigFile = cms.FileInPath( isoInputs.neuHadIsolationEffAreas )
293 Arguments: two containers of working point cut values of the type WorkingPoint_*
294 The third argument contains data for isolation calculation.
297 cutName = cms.string(
'PhoAnyPFIsoWithEACut'),
299 C1_EB = cms.double( wpEB.absPFPhoIsoWithEACut_C1 ),
300 C2_EB = cms.double( wpEB.absPFPhoIsoWithEACut_C2 ),
301 C1_EE = cms.double( wpEE.absPFPhoIsoWithEACut_C1 ),
302 C2_EE = cms.double( wpEE.absPFPhoIsoWithEACut_C2 ),
303 anyPFIsoMap = cms.InputTag( isoInputs.phoIsolationMapName ),
304 barrelCutOff = cms.double(ebCutOff),
305 useRelativeIso = cms.bool(
False),
306 needsAdditionalProducts = cms.bool(
True),
307 isIgnored = cms.bool(
False),
308 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
309 effAreasConfigFile = cms.FileInPath( isoInputs.phoIsolationEffAreas )
319 This function configures the full cms.PSet for a VID ID and returns it.
320 The inputs: two objects of the type WorkingPoint_V1, one
321 containing the cuts for the Barrel (EB) and the other one for the Endcap (EE).
322 The third argument contains data for isolation calculation.
325 parameterSet = cms.PSet(
327 idName = cms.string( wpEB.idName ),
343 This function configures the full cms.PSet for a VID ID and returns it.
344 The inputs: first object is of the type WorkingPoint_V2, second object
345 is of the type WorkingPoint_V1, containing the cuts for the Barrel (EB)
346 and the other one for the Endcap (EE).
347 The third argument contains data for isolation calculation.
349 The V2 with respect to V1 has one change: the neutral hadron isolation
350 cut has an exponential pt scaling for the barrel.
353 parameterSet = cms.PSet(
355 idName = cms.string( wpEB.idName ),
371 This function configures the full cms.PSet for a VID ID and returns it.
372 The inputs: first object is of the type WorkingPoint_V2, second object
373 is of the type WorkingPoint_V1, containing the cuts for the Barrel (EB)
374 and the other one for the Endcap (EE).
375 The third argument contains data for isolation calculation.
377 The V3 with respect to V2 has one change: the full5x5 sigmaIEtaIEta
378 is taken from the native reco::Photon method and not from a ValueMap
379 produced upstream by some producer module.
382 parameterSet = cms.PSet(
384 idName = cms.string( wpEB.idName ),
400 This function configures the full cms.PSet for a VID ID and returns it.
401 The inputs: first object is of the type WorkingPoint_V2, second object
402 is of the type WorkingPoint_V2 as well, first containing the cuts for the
403 Barrel (EB) and the other one for the Endcap (EE).
404 The third argument contains data for isolation calculation.
406 The V4 with respect to V3 has one change: both barrel and endcap
407 use the exponential scaling for the neutral hadron isolation cut
408 (in V3 it was only done for the barrel)
411 parameterSet = cms.PSet(
413 idName = cms.string( wpEB.idName ),
429 This function configures the full cms.PSet for a VID ID and returns it.
430 The inputs: first object is of the type WorkingPoint_V2, second object
431 is of the type WorkingPoint_V2 as well, first containing the cuts for the
432 Barrel (EB) and the other one for the Endcap (EE).
433 The third argument contains data for isolation calculation.
435 The V5 with respect to V4 has one change: the neutral hadron isolation
436 for both barrel and endcap now uses quadratic polynomial scaling.
439 parameterSet = cms.PSet(
441 idName = cms.string( wpEB.idName ),