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