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 phPFIsoDepositChargedPAT.src = sourcePhotons
12 phPFIsoDepositChargedAllPAT.src = sourcePhotons
13 phPFIsoDepositNeutralPAT.src = sourcePhotons
14 phPFIsoDepositGammaPAT.src = sourcePhotons
15 phPFIsoDepositPUPAT.src = sourcePhotons
16 
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" ),
23  )
24 
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" ),
31  )
32 
33 ## for scheduled mode
34 makePatPhotons = cms.Sequence(
35  pfParticleSelectionForIsoSequence *
36  pfPhotonIsolationPATSequence *
37  photonMatch *
38  patPhotons
39  )