9 sourcePhotons = patPhotons.photonSource
11 phPFIsoDepositChargedPAT.src = sourcePhotons
12 phPFIsoDepositChargedAllPAT.src = sourcePhotons
13 phPFIsoDepositNeutralPAT.src = sourcePhotons
14 phPFIsoDepositGammaPAT.src = sourcePhotons
15 phPFIsoDepositPUPAT.src = sourcePhotons
17 patPhotons.isoDeposits = cms.PSet(
18 pfChargedHadrons = cms.InputTag(
"phPFIsoDepositChargedPAT" ),
19 pfChargedAll = cms.InputTag(
"phPFIsoDepositChargedAllPAT" ),
20 pfPUChargedHadrons = cms.InputTag(
"phPFIsoDepositPUPAT" ),
21 pfNeutralHadrons = cms.InputTag(
"phPFIsoDepositNeutralPAT" ),
22 pfPhotons = cms.InputTag(
"phPFIsoDepositGammaPAT" ),
25 patPhotons.isolationValues = cms.PSet(
26 pfChargedHadrons = cms.InputTag(
"phPFIsoValueCharged04PFIdPAT"),
27 pfChargedAll = cms.InputTag(
"phPFIsoValueChargedAll04PFIdPAT"),
28 pfPUChargedHadrons = cms.InputTag(
"phPFIsoValuePU04PFIdPAT" ),
29 pfNeutralHadrons = cms.InputTag(
"phPFIsoValueNeutral04PFIdPAT" ),
30 pfPhotons = cms.InputTag(
"phPFIsoValueGamma04PFIdPAT" ),
34 makePatPhotons = cms.Sequence(
35 pfParticleSelectionForIsoSequence *
36 pfPhotonIsolationPATSequence *