CMS 3D CMS Logo

pfBasedElectronPhotonIso_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 #from RecoParticleFlow.PFProducer.electronPFIsolationDeposits_cff import *
5 #from RecoParticleFlow.PFProducer.electronPFIsolationValues_cff import *
8 
9 pfSelectedElectrons = cms.EDFilter(
10  "GenericPFCandidateSelector",
11  src = cms.InputTag("particleFlowTmp"),
12  cut = cms.string("abs(pdgId())==11")
13 )
14 
15 pfSelectedPhotons = cms.EDFilter(
16  "GenericPFCandidateSelector",
17  src = cms.InputTag("particleFlowTmp"),
18  cut = cms.string("pdgId()==22 && mva_nothing_gamma>0")
19 )
20 
21 
22 # pfPileUp.PFCandidates = cms.InputTag("particleFlowTmp")
23 # pfNoPileUp.bottomCollection = cms.InputTag("particleFlowTmp")
24 
25 pfBasedElectronPhotonIsoSequence = cms.Sequence(
26  pfParticleSelectionSequence +
27  pfSelectedElectrons +
28 # electronPFIsolationDepositsSequence +
29 # electronPFIsolationValuesSequence+
30  pfSelectedPhotons +
31  photonPFIsolationDepositsSequence +
32  photonPFIsolationValuesSequence
33  )