1 import FWCore.ParameterSet.Config
as cms
5 from RecoEgamma.EgammaIsolationAlgos.egmPhotonIsolationMiniAOD_cff
import IsoConeDefinitions
7 pfNoPileUpCandidates = pfAllChargedHadrons.clone()
8 pfNoPileUpCandidates.pdgId.extend(pfAllNeutralHadronsAndPhotons.pdgId)
10 particleFlowTmpPtrs = cms.EDProducer(
"PFCandidateFwdPtrProducer",
11 src = cms.InputTag(
'particleFlow')
14 egmPhotonIsolationAOD = cms.EDProducer(
"CITKPFIsolationSumProducer",
15 srcToIsolate = cms.InputTag(
"gedPhotons"),
16 srcForIsolationCone = cms.InputTag(
'pfNoPileUpCandidates'),
17 isolationConeDefinitions = IsoConeDefinitions
20 egmPhotonIsolationAODSequence = cms.Sequence(particleFlowTmpPtrs + pfParticleSelectionSequence + pfNoPileUpCandidates + egmPhotonIsolationAOD)