CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/RecoParticleFlow/PFProducer/python/pfBasedPhotonIso_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from CommonTools.ParticleFlow.pfParticleSelection_cff import *
00004 from RecoParticleFlow.PFProducer.photonPFIsolationDeposits_cff import *
00005 from RecoParticleFlow.PFProducer.photonPFIsolationValues_cff import *
00006 
00007 pfSelectedPhotons = cms.EDFilter(
00008     "GenericPFCandidateSelector",
00009     src = cms.InputTag("ParticleFlow"),
00010     cut = cms.string("pdgId()==22 && mva_nothing_gamma>0")
00011 #    cut = cms.string("pdgId()==22")
00012 )
00013 
00014 pfBasedPhotonIsoSequence = cms.Sequence(
00015     pfParticleSelectionSequence +
00016     pfSelectedPhotons +
00017     photonPFIsolationDepositsSequence +
00018     photonPFIsolationValuesSequence
00019     )