1 import FWCore.ParameterSet.Config
as cms
9 pfSelectedElectrons = cms.EDFilter(
10 "GenericPFCandidateSelector",
11 src = cms.InputTag(
"particleFlowTmp"),
12 cut = cms.string(
"abs(pdgId())==11")
15 pfSelectedPhotons = cms.EDFilter(
16 "GenericPFCandidateSelector",
17 src = cms.InputTag(
"particleFlowTmp"),
18 cut = cms.string(
"pdgId()==22 && mva_nothing_gamma>0")
25 pfBasedElectronPhotonIsoTask = cms.Task(
26 pfParticleSelectionTask,
31 photonPFIsolationDepositsTask,
32 photonPFIsolationValuesTask
34 pfBasedElectronPhotonIsoSequence = cms.Sequence(pfBasedElectronPhotonIsoTask)