CMS 3D CMS Logo

pfBasedPhotonIso_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
7 pfSelectedPhotons = cms.EDFilter(
8  "GenericPFCandidateSelector",
9  src = cms.InputTag("particleFlow"),
10  cut = cms.string("pdgId()==22 && mva_nothing_gamma>0")
11 # cut = cms.string("pdgId()==22")
12 )
13 
14 pfBasedPhotonIsoTask = cms.Task(
15  pfParticleSelectionTask,
16  pfSelectedPhotons,
17  photonPFIsolationDepositsTask,
18  photonPFIsolationValuesTask
19 )
20 pfBasedPhotonIsoSequence = cms.Sequence(pfBasedPhotonIsoTask)
pfParticleSelection_cff
photonPFIsolationValues_cff
photonPFIsolationDeposits_cff