CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
egmPhotonIsolationAOD_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 from RecoEgamma.EgammaIsolationAlgos.egmIsoConeDefinitions_cfi import IsoConeDefinitions
6 
7 pfNoPileUpCandidates = pfAllChargedHadrons.clone()
8 pfNoPileUpCandidates.pdgId.extend(pfAllNeutralHadronsAndPhotons.pdgId)
9 
10 particleFlowTmpPtrs = cms.EDProducer("PFCandidateFwdPtrProducer",
11 src = cms.InputTag('particleFlow')
12 )
13 
14 egmPhotonIsolationAOD = cms.EDProducer( "CITKPFIsolationSumProducer",
15  srcToIsolate = cms.InputTag("gedPhotons"),
16  srcForIsolationCone = cms.InputTag('pfNoPileUpCandidates'),
17  isolationConeDefinitions = IsoConeDefinitions
18  )
19 
20 egmPhotonIsolationAODSequence = cms.Sequence(particleFlowTmpPtrs + pfParticleSelectionSequence + pfNoPileUpCandidates + egmPhotonIsolationAOD)
21