CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Calibration/EcalAlCaRecoProducers/python/alcastreamElectron_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 #  run on collection of electrons to make a collection of AlCaReco electrons 
00005 #  and store them in the output collection
00006 #
00007 # hybrid clustering in the barrel
00008 from RecoEcal.EgammaClusterProducers.hybridClusteringSequence_cff import *
00009 # island clustering for the endcaps
00010 from RecoEcal.EgammaClusterProducers.islandClusteringSequence_cff import *
00011 from Geometry.CaloEventSetup.CaloGeometry_cfi import *
00012 # sequence to make si-strip based electrons
00013 from RecoEgamma.EgammaElectronProducers.electronSequence_cff import *
00014 from Calibration.EcalAlCaRecoProducers.alCaIsolatedElectrons_cfi import *
00015 electronFilter = cms.EDFilter("EtaPtMinGsfElectronFullCloneSelector",
00016     filter = cms.bool(True),
00017     src = cms.InputTag("gsfElectrons"),
00018     etaMin = cms.double(-2.7),
00019     etaMax = cms.double(2.7),
00020     ptMin = cms.double(5.0)
00021 )
00022 
00023 #  sequence alcastreamElectron = {hybridClusteringSequence, islandClusteringSequence,electronSequence, alCaIsolatedElectrons}
00024 # this is the full path if you start from uncalibrated RecHits
00025 #  path alcastreamElectron = {hybridClusteringSequence, islandClusteringSequence,electronSequence, alCaIsolatedElectrons}
00026 # use this if siStripElectrons are already present
00027 #  path alcastreamElectron = {alCaIsolatedElectrons}
00028 seqAlcastreamElectron = cms.Sequence(electronFilter*alCaIsolatedElectrons)
00029