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