Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003 from Calibration.EcalAlCaRecoProducers.alCaIsolatedElectrons_cfi import *
00004 from Calibration.EcalAlCaRecoProducers.electronIsolationSequence_cff import *
00005 from RecoLocalCalo.EcalRecAlgos.EcalSeverityLevelESProducer_cfi import *
00006
00007 import HLTrigger.HLTfilters.hltHighLevel_cfi
00008
00009
00010
00011
00012
00013
00014 isolElectronewkHLTFilter=HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone(
00015
00016
00017 eventSetupPathsKey='EcalCalElectron',
00018 throw = False
00019 )
00020
00021 goodElectrons = cms.EDFilter("CandViewRefSelector",
00022 filter = cms.bool(True),
00023 src = cms.InputTag("gsfElectrons"),
00024 cut = cms.string('et > 15')
00025 )
00026
00027 goodElectronFilter = cms.EDFilter("CandViewCountFilter",
00028 src = cms.InputTag("goodElectrons"),
00029 minNumber = cms.uint32(1)
00030 )
00031
00032 goodElectrons2 = cms.EDFilter("CandViewRefSelector",
00033 filter = cms.bool(True),
00034 src = cms.InputTag("gsfElectrons"),
00035 cut = cms.string('et > 1')
00036 )
00037
00038 goodElectronFilter2 = cms.EDFilter("CandViewCountFilter",
00039 src = cms.InputTag("goodElectrons2"),
00040 minNumber = cms.uint32(0)
00041 )
00042
00043
00044
00045 superClusterMerger = cms.EDProducer("EgammaSuperClusterMerger",
00046 src = cms.VInputTag(cms.InputTag('correctedHybridSuperClusters'), cms.InputTag('correctedMulti5x5SuperClustersWithPreshower'))
00047 )
00048
00049 superClusterCands = cms.EDProducer("ConcreteEcalCandidateProducer",
00050 src = cms.InputTag("superClusterMerger"),
00051 particleType = cms.string('gamma')
00052 )
00053
00054 goodSuperClusters = cms.EDFilter("CandViewRefSelector",
00055 filter = cms.bool(True),
00056 src = cms.InputTag("superClusterCands"),
00057 cut = cms.string('et > 20')
00058 )
00059
00060 goodSuperClusterFilter = cms.EDFilter("CandViewCountFilter",
00061 src = cms.InputTag("goodSuperClusters"),
00062 minNumber = cms.uint32(1)
00063 )
00064
00065 goodSuperClusters2 = cms.EDFilter("CandViewRefSelector",
00066 filter = cms.bool(True),
00067 src = cms.InputTag("superClusterCands"),
00068 cut = cms.string('et > 10')
00069 )
00070
00071 goodSuperClusterFilter2 = cms.EDFilter("CandViewCountFilter",
00072 src = cms.InputTag("goodSuperClusters2"),
00073 minNumber = cms.uint32(0)
00074 )
00075
00076 seqALCARECOEcalCalElectronRECO = cms.Sequence(alCaIsolatedElectrons)
00077
00078 seqALCARECOEcalCalElectron = cms.Sequence(isolElectronewkHLTFilter* \
00079 superClusterMerger* \
00080 superClusterCands* \
00081 goodSuperClusters* \
00082 goodSuperClusterFilter* \
00083 goodSuperClusters2* \
00084 goodSuperClusterFilter2* \
00085 goodElectrons* \
00086 goodElectronFilter* \
00087 goodElectrons2* \
00088 goodElectronFilter2* \
00089 alcaElectronIsolationSequence* \
00090 seqALCARECOEcalCalElectronRECO)
00091