CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
photonProducer_cff.py
Go to the documentation of this file.
2 
5 
8 
9 sourcePhotons = patPhotons.photonSource
10 
11 phPFIsoDepositCharged.src = sourcePhotons
12 phPFIsoDepositChargedAll.src = sourcePhotons
13 phPFIsoDepositNeutral.src = sourcePhotons
14 phPFIsoDepositGamma.src = sourcePhotons
15 phPFIsoDepositPU.src = sourcePhotons
16 
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" ),
23  )
24 
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" ),
31  )
32 
33 ## for scheduled mode
34 makePatPhotons = cms.Sequence(
35  pfParticleSelectionForIsoSequence *
36  pfPhotonIsolationSequence *
37  photonMatch *
38  patPhotons
39  )