Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from RecoEgamma.EgammaIsolationAlgos.gamIsoDeposits_cff import gamIsoDepositTk, gamIsoDepositEcalFromHits, gamIsoDepositHcalFromTowers
00005 from RecoEgamma.EgammaIsolationAlgos.gamIsoFromDepsModules_cff import gamIsoFromDepsTk, gamIsoFromDepsEcalFromHits, gamIsoFromDepsHcalFromTowers
00006
00007
00008 gamIsoDepositEcalFromHits.ExtractorPSet.barrelEcalHits = cms.InputTag("reducedEcalRecHitsEB")
00009 gamIsoDepositEcalFromHits.ExtractorPSet.endcapEcalHits = cms.InputTag("reducedEcalRecHitsEE")
00010
00011
00012 patPhotonTrackIsolation = cms.Sequence(
00013 gamIsoDepositTk * gamIsoFromDepsTk
00014 )
00015
00016 patPhotonEcalIsolation = cms.Sequence(
00017 gamIsoDepositEcalFromHits * gamIsoFromDepsEcalFromHits
00018 )
00019
00020 patPhotonHcalIsolation = cms.Sequence(
00021 gamIsoDepositHcalFromTowers * gamIsoFromDepsHcalFromTowers
00022 )
00023
00024 patPhotonIsolation = cms.Sequence(
00025 patPhotonTrackIsolation +
00026 patPhotonEcalIsolation +
00027 patPhotonHcalIsolation
00028 )