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.electronPFIsolationDeposits_cff import *
00005 from RecoParticleFlow.PFProducer.electronPFIsolationValues_cff import *
00006 from RecoParticleFlow.PFProducer.photonPFIsolationDeposits_cff import *
00007 from RecoParticleFlow.PFProducer.photonPFIsolationValues_cff import *
00008
00009 pfSelectedElectrons = cms.EDFilter(
00010 "GenericPFCandidateSelector",
00011 src = cms.InputTag("particleFlowTmp"),
00012 cut = cms.string("abs(pdgId())==11")
00013 )
00014
00015 pfSelectedPhotons = cms.EDFilter(
00016 "GenericPFCandidateSelector",
00017 src = cms.InputTag("particleFlowTmp"),
00018 cut = cms.string("pdgId()==22 && mva_nothing_gamma>0")
00019 )
00020
00021
00022
00023
00024
00025 pfBasedElectronPhotonIsoSequence = cms.Sequence(
00026 pfParticleSelectionSequence +
00027 pfSelectedElectrons +
00028 electronPFIsolationDepositsSequence +
00029 electronPFIsolationValuesSequence+
00030 pfSelectedPhotons +
00031 photonPFIsolationDepositsSequence +
00032 photonPFIsolationValuesSequence
00033 )