1 import FWCore.ParameterSet.Config
as cms
7 pfSelectedPhotons = cms.EDFilter(
8 "GenericPFCandidateSelector",
9 src = cms.InputTag(
"particleFlow"),
10 cut = cms.string(
"pdgId()==22 && mva_nothing_gamma>0")
14 pfBasedPhotonIsoTask = cms.Task(
15 pfParticleSelectionTask,
17 photonPFIsolationDepositsTask,
18 photonPFIsolationValuesTask
20 pfBasedPhotonIsoSequence = cms.Sequence(pfBasedPhotonIsoTask)