9 sourcePhotons = patPhotons.photonSource
11 phPFIsoDepositCharged.src = sourcePhotons
12 phPFIsoDepositChargedAll.src = sourcePhotons
13 phPFIsoDepositNeutral.src = sourcePhotons
14 phPFIsoDepositGamma.src = sourcePhotons
15 phPFIsoDepositPU.src = sourcePhotons
17 patPhotons.isoDeposits = cms.PSet(
18 pfChargedHadrons = cms.InputTag(
"phPFIsoDepositCharged" ),
19 pfChargedAll = cms.InputTag(
"phPFIsoDepositChargedAll" ),
20 pfPUChargedHadrons = cms.InputTag(
"phPFIsoDepositPU" ),
21 pfNeutralHadrons = cms.InputTag(
"phPFIsoDepositNeutral" ),
22 pfPhotons = cms.InputTag(
"phPFIsoDepositGamma" ),
25 patPhotons.isolationValues = cms.PSet(
26 pfChargedHadrons = cms.InputTag(
"phPFIsoValueCharged04PFId"),
27 pfChargedAll = cms.InputTag(
"phPFIsoValueChargedAll04PFId"),
28 pfPUChargedHadrons = cms.InputTag(
"phPFIsoValuePU04PFId" ),
29 pfNeutralHadrons = cms.InputTag(
"phPFIsoValueNeutral04PFId" ),
30 pfPhotons = cms.InputTag(
"phPFIsoValueGamma04PFId" ),
34 makePatPhotons = cms.Sequence(
35 pfParticleSelectionForIsoSequence *
36 pfPhotonIsolationSequence *