CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoHI/HiEgammaAlgos/python/HiElectronSequence_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # load local PF Reco
00004 from RecoHI.Configuration.Reconstruction_hiPF_cff import HiParticleFlowLocalReco
00005 
00006 # creates the recoGsfTracks_electronGsfTracks__RECO = input GSF tracks
00007 from TrackingTools.GsfTracking.GsfElectronTracking_cff import *
00008 ecalDrivenElectronSeeds.SeedConfiguration.initialSeeds = "hiPixelTrackSeeds"
00009 electronCkfTrackCandidates.src = "ecalDrivenElectronSeeds"
00010 
00011 ecalDrivenElectronSeeds.barrelSuperClusters = cms.InputTag("correctedIslandBarrelSuperClusters")
00012 
00013 ecalDrivenElectronSeeds.SeedConfiguration.maxHOverEBarrel = cms.double(0.25)
00014 ecalDrivenElectronSeeds.SeedConfiguration.maxHOverEEndcaps = cms.double(0.25)
00015 
00016 electronGsfTrackingHi = cms.Sequence(ecalDrivenElectronSeeds *
00017                                      electronCkfTrackCandidates *
00018                                      electronGsfTracks)
00019 
00020 # run the supercluster(EE+EB)-GSF track association ==> output: recoGsfElectrons_gsfElectrons__RECO
00021 from RecoEgamma.EgammaElectronProducers.gsfElectronSequence_cff import *
00022 from RecoParticleFlow.PFProducer.pfElectronTranslator_cff import *
00023 gsfElectrons.ctfTracks     = cms.InputTag("hiSelectedTracks")
00024 gsfElectronCores.ctfTracks = cms.InputTag("hiSelectedTracks")
00025 pfElectronTranslator.emptyIsOk = cms.bool(True)
00026 
00027 ecalDrivenGsfElectrons.ctfTracksTag = cms.InputTag("hiSelectedTracks")
00028 ecalDrivenGsfElectronCores.ctfTracks = cms.InputTag("hiSelectedTracks")
00029 
00030 ecalDrivenGsfElectrons.maxHOverEBarrel = cms.double(0.25)
00031 ecalDrivenGsfElectrons.maxHOverEEndcaps = cms.double(0.25)
00032 
00033 hiElectronSequence = cms.Sequence(electronGsfTrackingHi *
00034                                   HiParticleFlowLocalReco *
00035                                   gsfEcalDrivenElectronSequence
00036                                   )