1 import FWCore.ParameterSet.Config
as cms
3 from RecoEgamma.EgammaIsolationAlgos.egmIsoConeDefinitions_cfi
import IsoConeDefinitions
as _IsoConeDefinitions
4 import PhysicsTools.IsolationAlgos.CITKPFIsolationSumProducer_cfi
as _mod
6 egmPhotonIsolation = _mod.CITKPFIsolationSumProducer.clone(
7 srcToIsolate =
"slimmedPhotons",
8 srcForIsolationCone =
'packedPFCandidates',
9 isolationConeDefinitions = _IsoConeDefinitions
14 egmPhotonIsolationMiniAODTask = cms.Task( egmPhotonIsolation )
15 egmPhotonIsolationMiniAODSequence = cms.Sequence( egmPhotonIsolationMiniAODTask )