00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from RecoEgamma.EgammaIsolationAlgos.gamHcalExtractorBlocks_cff import *
00005 gamIsoDepositHcalFromTowers = cms.EDProducer("CandIsoDepositProducer",
00006 src = cms.InputTag("photons"),
00007 MultipleDepositsFlag = cms.bool(False),
00008 trackType = cms.string('candidate'),
00009 ExtractorPSet = cms.PSet( GamIsoHcalFromTowersExtractorBlock )
00010 )
00011
00012
00013 from RecoEgamma.EgammaIsolationAlgos.gamIsoFromDepsModules_cff import *
00014
00015
00016 patPhotonIsolation = cms.Sequence(
00017 gamIsoFromDepsTk +
00018 gamIsoFromDepsEcalFromHits +
00019 gamIsoDepositHcalFromTowers * gamIsoFromDepsHcalFromTowers
00020 )