CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/PhysicsTools/PatAlgos/python/recoLayer0/electronIsolation_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 ## compute isolation, using POG modules
00004 from RecoEgamma.EgammaIsolationAlgos.eleIsoDeposits_cff import eleIsoDepositTk, eleIsoDepositEcalFromHits, eleIsoDepositHcalFromTowers
00005 from RecoEgamma.EgammaIsolationAlgos.eleIsoFromDeposits_cff import eleIsoFromDepsTk, eleIsoFromDepsEcalFromHitsByCrystal, eleIsoFromDepsHcalFromTowers
00006  
00007 
00008 eleIsoDepositEcalFromHits.ExtractorPSet.barrelEcalHits = cms.InputTag("reducedEcalRecHitsEB")
00009 eleIsoDepositEcalFromHits.ExtractorPSet.endcapEcalHits = cms.InputTag("reducedEcalRecHitsEE")
00010 
00011 ## sequence to run on AOD 
00012 patElectronTrackIsolation = cms.Sequence(
00013     eleIsoDepositTk * eleIsoFromDepsTk
00014 )
00015 
00016 patElectronEcalIsolation = cms.Sequence(
00017     eleIsoDepositEcalFromHits * eleIsoFromDepsEcalFromHitsByCrystal
00018 )
00019 
00020 patElectronHcalIsolation = cms.Sequence(
00021     eleIsoDepositHcalFromTowers * eleIsoFromDepsHcalFromTowers
00022 )
00023 
00024 patElectronIsolation = cms.Sequence(
00025     patElectronTrackIsolation +
00026     patElectronEcalIsolation  +
00027     patElectronHcalIsolation
00028 )