1 import FWCore.ParameterSet.Config
as cms
9 pfNoPileUpCandidates = pfAllChargedHadrons.clone()
10 pfNoPileUpCandidates.pdgId.extend(pfAllNeutralHadronsAndPhotons.pdgId)
12 egmIsolationTask = cms.Task( pfParticleSelectionTask,
14 egmGedGsfElectronPFNoPileUpIsolation,
15 egmGedGsfElectronPFPileUpIsolation,
16 pfClusterIsolationTask
18 egmIsolationSequence = cms.Sequence(egmIsolationTask)