CMS 3D CMS Logo

photonIsolation_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ### Apparently we need to make HCAL isolation from Towers ourselves
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 ### Compute isolation values, using POG modules
00013 from RecoEgamma.EgammaIsolationAlgos.gamIsoFromDepsModules_cff  import *
00014 
00015 # sequence to run on AOD 
00016 patPhotonIsolation = cms.Sequence(
00017     gamIsoFromDepsTk +
00018     gamIsoFromDepsEcalFromHits +
00019     gamIsoDepositHcalFromTowers * gamIsoFromDepsHcalFromTowers 
00020 )

Generated on Tue Jun 9 17:41:44 2009 for CMSSW by  doxygen 1.5.4