Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from CommonTools.ParticleFlow.Isolation.tools_cfi import *
00004
00005
00006 phPFIsoDepositCharged=isoDepositReplace('pfSelectedPhotons','pfAllChargedHadrons')
00007 phPFIsoDepositChargedAll=isoDepositReplace('pfSelectedPhotons','pfAllChargedParticles')
00008 phPFIsoDepositNeutral=isoDepositReplace('pfSelectedPhotons','pfAllNeutralHadrons')
00009
00010 phPFIsoDepositPU=isoDepositReplace('pfSelectedPhotons','pfPileUpAllChargedParticles')
00011 phPFIsoDepositGamma= cms.EDProducer("CandIsoDepositProducer",
00012 src = cms.InputTag("pfSelectedPhotons"),
00013 MultipleDepositsFlag = cms.bool(False),
00014 trackType = cms.string('candidate'),
00015 ExtractorPSet = cms.PSet(
00016 Diff_z = cms.double(99999.99),
00017 ComponentName = cms.string('PFCandWithSuperClusterExtractor'),
00018 DR_Max = cms.double(1.0),
00019 Diff_r = cms.double(99999.99),
00020 inputCandView = cms.InputTag("pfAllPhotons"),
00021 DR_Veto = cms.double(1e-05),
00022 SCMatch_Veto = cms.bool(True),
00023 MissHitSCMatch_Veto = cms.bool(False),
00024 DepositLabel = cms.untracked.string('')
00025 )
00026 )
00027
00028 photonPFIsolationDepositsSequence = cms.Sequence(
00029 phPFIsoDepositCharged+
00030 phPFIsoDepositChargedAll+
00031 phPFIsoDepositGamma+
00032 phPFIsoDepositNeutral+
00033 phPFIsoDepositPU
00034 )