CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
egmPhotonIsolationAOD_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from CommonTools.ParticleFlow.pfNoPileUpIso_cff import pfPileUpIso, pfNoPileUpIso, pfNoPileUpIsoTask
4 from RecoEgamma.EgammaIsolationAlgos.egmIsoConeDefinitions_cfi import IsoConeDefinitions as _IsoConeDefinitions
6 
7 
8 egmPhotonIsolation = cms.EDProducer( "CITKPFIsolationSumProducer",
9  srcToIsolate = cms.InputTag("gedPhotons"),
10  srcForIsolationCone = cms.InputTag('pfNoPileUpCandidates'),
11  isolationConeDefinitions = _IsoConeDefinitions
12  )
13 
14 egmPhotonIsolationAODTask = cms.Task(pfNoPileUpIsoTask,
15  pfNoPileUpCandidates,
16  egmPhotonIsolation)
17 egmPhotonIsolationAODSequence = cms.Sequence(egmPhotonIsolationAODTask)
pfNoPileUpIso_cff
egmIsolationDefinitions_cff