1 import FWCore.ParameterSet.Config
as cms
2 import PhysicsTools.IsolationAlgos.CITKPFIsolationSumProducer_cfi
as _mod
4 ElectronIsolation = _mod.CITKPFIsolationSumProducer.clone(
5 srcToIsolate =
"slimmedElectrons",
6 srcForIsolationCone =
'packedPFCandidates',
7 isolationConeDefinitions = cms.VPSet(
8 cms.PSet( isolationAlgo = cms.string(
'ElectronPFIsolationWithConeVeto'),
9 coneSize = cms.double(0.3),
10 VetoConeSizeEndcaps = cms.double(0.015),
11 VetoConeSizeBarrel = cms.double(0.0),
12 isolateAgainst = cms.string(
'h+'),
13 miniAODVertexCodes = cms.vuint32(2,3) ),
14 cms.PSet( isolationAlgo = cms.string(
'ElectronPFIsolationWithConeVeto'),
15 coneSize = cms.double(0.3),
16 VetoConeSizeEndcaps = cms.double(0.0),
17 VetoConeSizeBarrel = cms.double(0.0),
18 isolateAgainst = cms.string(
'h0'),
19 miniAODVertexCodes = cms.vuint32(2,3) ),
20 cms.PSet( isolationAlgo = cms.string(
'ElectronPFIsolationWithConeVeto'),
21 coneSize = cms.double(0.3),
22 VetoConeSizeEndcaps = cms.double(0.08),
23 VetoConeSizeBarrel = cms.double(0.0),
24 isolateAgainst = cms.string(
'gamma'),
25 miniAODVertexCodes = cms.vuint32(2,3) )