192 This function configures the full cms.PSet for a VID ID and returns it.
193 The inputs: two objects of the type WorkingPoint_V2, one
194 containing the cuts for the Barrel (EB) and the other one for the Endcap (EE).
195 The third argument is an object that contains information necessary
196 for isolation calculations.
199 parameterSet = cms.PSet(
201 idName = cms.string( wpEB.idName ),
203 cms.PSet( cutName = cms.string(
"MinPtCut"),
204 minPt = cms.double(5.0),
205 needsAdditionalProducts = cms.bool(
False),
206 isIgnored = cms.bool(
False) ),
207 cms.PSet( cutName = cms.string(
"GsfEleSCEtaMultiRangeCut"),
208 useAbsEta = cms.bool(
True),
209 allowedEtaRanges = cms.VPSet(
210 cms.PSet( minEta = cms.double(0.0),
211 maxEta = cms.double(ebCutOff) ),
212 cms.PSet( minEta = cms.double(ebCutOff),
213 maxEta = cms.double(2.5) )
215 needsAdditionalProducts = cms.bool(
False),
216 isIgnored = cms.bool(
False)),
217 cms.PSet( cutName = cms.string(
'GsfEleDEtaInCut'),
218 dEtaInCutValueEB = cms.double( wpEB.dEtaInCut ),
219 dEtaInCutValueEE = cms.double( wpEE.dEtaInCut ),
220 barrelCutOff = cms.double(ebCutOff),
221 needsAdditionalProducts = cms.bool(
False),
222 isIgnored = cms.bool(
False)),
223 cms.PSet( cutName = cms.string(
'GsfEleDPhiInCut'),
224 dPhiInCutValueEB = cms.double( wpEB.dPhiInCut ),
225 dPhiInCutValueEE = cms.double( wpEE.dPhiInCut ),
226 barrelCutOff = cms.double(ebCutOff),
227 needsAdditionalProducts = cms.bool(
False),
228 isIgnored = cms.bool(
False)),
229 cms.PSet( cutName = cms.string(
'GsfEleFull5x5SigmaIEtaIEtaCut'),
230 full5x5SigmaIEtaIEtaCutValueEB = cms.double( wpEB.full5x5_sigmaIEtaIEtaCut ),
231 full5x5SigmaIEtaIEtaCutValueEE = cms.double( wpEE.full5x5_sigmaIEtaIEtaCut ),
232 barrelCutOff = cms.double(ebCutOff),
233 needsAdditionalProducts = cms.bool(
False),
234 isIgnored = cms.bool(
False)),
235 cms.PSet( cutName = cms.string(
'GsfEleHadronicOverEMCut'),
236 hadronicOverEMCutValueEB = cms.double( wpEB.hOverECut ),
237 hadronicOverEMCutValueEE = cms.double( wpEE.hOverECut ),
238 barrelCutOff = cms.double(ebCutOff),
239 needsAdditionalProducts = cms.bool(
False),
240 isIgnored = cms.bool(
False)),
241 cms.PSet( cutName = cms.string(
'GsfEleDxyCut'),
242 dxyCutValueEB = cms.double( wpEB.dxyCut ),
243 dxyCutValueEE = cms.double( wpEE.dxyCut ),
244 vertexSrc = cms.InputTag(
"offlinePrimaryVertices"),
245 vertexSrcMiniAOD = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
246 barrelCutOff = cms.double(ebCutOff),
247 needsAdditionalProducts = cms.bool(
True),
248 isIgnored = cms.bool(
False)),
249 cms.PSet( cutName = cms.string(
'GsfEleDzCut'),
250 dzCutValueEB = cms.double( wpEB.dzCut ),
251 dzCutValueEE = cms.double( wpEE.dzCut ),
252 vertexSrc = cms.InputTag(
"offlinePrimaryVertices"),
253 vertexSrcMiniAOD = cms.InputTag(
"offlineSlimmedPrimaryVertices"),
254 barrelCutOff = cms.double(ebCutOff),
255 needsAdditionalProducts = cms.bool(
True),
256 isIgnored = cms.bool(
False)),
257 cms.PSet( cutName = cms.string(
'GsfEleEInverseMinusPInverseCut'),
258 eInverseMinusPInverseCutValueEB = cms.double( wpEB.absEInverseMinusPInverseCut ),
259 eInverseMinusPInverseCutValueEE = cms.double( wpEE.absEInverseMinusPInverseCut ),
260 barrelCutOff = cms.double(ebCutOff),
261 needsAdditionalProducts = cms.bool(
False),
262 isIgnored = cms.bool(
False)),
263 cms.PSet( cutName = cms.string(
'GsfEleEffAreaPFIsoCut'),
264 isoCutEBLowPt = cms.double( wpEB.relCombIsolationWithEALowPtCut ),
265 isoCutEBHighPt = cms.double( wpEB.relCombIsolationWithEAHighPtCut ),
266 isoCutEELowPt = cms.double( wpEE.relCombIsolationWithEALowPtCut ),
267 isoCutEEHighPt = cms.double( wpEE.relCombIsolationWithEAHighPtCut ),
268 isRelativeIso = cms.bool(
True),
269 ptCutOff = cms.double(20.0),
270 barrelCutOff = cms.double(ebCutOff),
271 rho = cms.InputTag(
"fixedGridRhoFastjetAll"),
272 effAreasConfigFile = cms.FileInPath( isoInputs.neuHadAndPhoIsolationEffAreas ),
273 needsAdditionalProducts = cms.bool(
True),
274 isIgnored = cms.bool(
False) ),
275 cms.PSet( cutName = cms.string(
'GsfEleConversionVetoCut'),
276 conversionSrc = cms.InputTag(
'allConversions'),
277 conversionSrcMiniAOD = cms.InputTag(
'reducedEgamma:reducedConversions'),
278 beamspotSrc = cms.InputTag(
'offlineBeamSpot'),
279 needsAdditionalProducts = cms.bool(
True),
280 isIgnored = cms.bool(
False)),
281 cms.PSet( cutName = cms.string(
'GsfEleMissingHitsCut'),
282 maxMissingHitsEB = cms.uint32( wpEB.missingHitsCut ),
283 maxMissingHitsEE = cms.uint32( wpEE.missingHitsCut ),
284 barrelCutOff = cms.double(ebCutOff),
285 needsAdditionalProducts = cms.bool(
False),
286 isIgnored = cms.bool(
False) ),