CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/PhysicsTools/PatAlgos/python/recoLayer0/photonIsolation_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ### Compute isolation values, using POG modules
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 # sequence to run on AOD 
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 )