CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
gedPhotonSequence_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # sequence to make photons from clusters in ECAL
5 #
6 # photon producer
9 
11 
12 gedPhotonsTmp = RecoEgamma.EgammaPhotonProducers.gedPhotons_cfi.gedPhotons.clone()
13 gedPhotonsTmp.photonProducer = cms.InputTag("gedPhotonCore")
14 gedPhotonsTmp.candidateP4type = cms.string("fromEcalEnergy")
15 del gedPhotonsTmp.regressionConfig
16 gedPhotonsTmp.outputPhotonCollection = cms.string("")
17 gedPhotonsTmp.reconstructionStep = cms.string("tmp")
18 gedPhotonSequenceTmp = cms.Sequence(gedPhotonCore+gedPhotonsTmp)
19 
20 
21 gedPhotons = RecoEgamma.EgammaPhotonProducers.gedPhotons_cfi.gedPhotons.clone()
22 gedPhotons.photonProducer = cms.InputTag("gedPhotonsTmp")
23 gedPhotons.outputPhotonCollection = cms.string("")
24 gedPhotons.reconstructionStep = cms.string("final")
25 gedPhotons.chargedHadronIsolation = cms.InputTag("egmPhotonIsolationCITK:h+-DR030-")
26 gedPhotons.neutralHadronIsolation = cms.InputTag("egmPhotonIsolationCITK:h0-DR030-")
27 gedPhotons.photonIsolation = cms.InputTag("egmPhotonIsolationCITK:gamma-DR030-")
28 gedPhotons.pfECALClusIsolation = cms.InputTag("photonEcalPFClusterIsolationProducer")
29 gedPhotons.pfHCALClusIsolation = cms.InputTag("photonHcalPFClusterIsolationProducer")
30 gedPhotonSequence = cms.Sequence(gedPhotons)
31 
32 
33