1 import FWCore.ParameterSet.Config
as cms
3 IsoConeDefinitions = cms.VPSet(cms.PSet( isolationAlgo = cms.string(
'PhotonPFIsolationWithMapBasedVeto'),
4 coneSize = cms.double(0.3),
5 isolateAgainst = cms.string(
'h+'),
6 miniAODVertexCodes = cms.vuint32(2,3),
7 vertexIndex = cms.int32(0),
8 particleBasedIsolation = cms.InputTag(
"reducedEgamma",
"reducedPhotonPfCandMap"),
11 cms.PSet( isolationAlgo = cms.string(
'PhotonPFIsolationWithMapBasedVeto'),
12 coneSize = cms.double(0.3),
13 isolateAgainst = cms.string(
'h0'),
14 miniAODVertexCodes = cms.vuint32(2,3),
15 vertexIndex = cms.int32(0),
16 particleBasedIsolation = cms.InputTag(
"reducedEgamma",
"reducedPhotonPfCandMap"),
18 cms.PSet( isolationAlgo = cms.string(
'PhotonPFIsolationWithMapBasedVeto'),
19 coneSize = cms.double(0.3),
20 isolateAgainst = cms.string(
'gamma'),
21 miniAODVertexCodes = cms.vuint32(2,3),
22 vertexIndex = cms.int32(0),
23 particleBasedIsolation = cms.InputTag(
"reducedEgamma",
"reducedPhotonPfCandMap"),
28 egmPhotonIsolationAODPUPPI = cms.EDProducer(
"CITKPFIsolationSumProducerForPUPPI",
29 srcToIsolate = cms.InputTag(
"gedPhotons"),
30 srcForIsolationCone = cms.InputTag(
'particleFlow'),
31 puppiValueMap = cms.InputTag(
'puppi'),
32 isolationConeDefinitions = IsoConeDefinitions
35 egmPhotonIsolationMiniAODPUPPI = egmPhotonIsolationAODPUPPI.clone()
36 egmPhotonIsolationMiniAODPUPPI.srcForIsolationCone = cms.InputTag(
"packedPFCandidates")
37 egmPhotonIsolationMiniAODPUPPI.srcToIsolate = cms.InputTag(
"slimmedPhotons")
38 egmPhotonIsolationMiniAODPUPPI.puppiValueMap = cms.InputTag(
'')