CMS 3D CMS Logo

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 import PhysicsTools.IsolationAlgos.CITKPFIsolationSumProducer_cfi as _mod
7 
8 egmPhotonIsolation = _mod.CITKPFIsolationSumProducer.clone(
9  srcToIsolate = "gedPhotons",
10  srcForIsolationCone = 'pfNoPileUpCandidates',
11  isolationConeDefinitions = _IsoConeDefinitions
12  )
13 
14 egmPhotonIsolationAODTask = cms.Task(pfNoPileUpIsoTask,
15  pfNoPileUpCandidates,
16  egmPhotonIsolation)
17 egmPhotonIsolationAODSequence = cms.Sequence(egmPhotonIsolationAODTask)
pfNoPileUpIso_cff
egmIsolationDefinitions_cff