Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
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
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 )