Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from RecoHI.HiEgammaAlgos.HiIslandClusteringSequence_cff import *
00005 from RecoEcal.EgammaClusterProducers.hybridClusteringSequence_cff import *
00006 from RecoEcal.EgammaClusterProducers.multi5x5ClusteringSequence_cff import *
00007 from RecoEcal.EgammaClusterProducers.multi5x5PreshowerClusteringSequence_cff import *
00008 from RecoEcal.EgammaClusterProducers.preshowerClusteringSequence_cff import *
00009
00010 hiEcalClusteringSequence = cms.Sequence(islandClusteringSequence*hybridClusteringSequence*multi5x5ClusteringSequence*multi5x5PreshowerClusteringSequence*preshowerClusteringSequence)
00011
00012
00013 highPurityTracks = cms.EDFilter("TrackSelector",
00014 src = cms.InputTag("hiSelectedTracks"),
00015 cut = cms.string('quality("highPurity")')
00016 )
00017
00018
00019 from RecoEgamma.EgammaPhotonProducers.photonSequence_cff import *
00020
00021
00022 photonCore.scHybridBarrelProducer = cms.InputTag("correctedIslandBarrelSuperClusters")
00023 photonCore.scIslandEndcapProducer = cms.InputTag("correctedIslandEndcapSuperClusters")
00024 photonCore.minSCEt = cms.double(8.0)
00025 photons.minSCEtBarrel = cms.double(5.0)
00026 photons.minSCEtEndcap = cms.double(15.0)
00027 photons.minR9Barrel = cms.double(10.)
00028 photons.minR9Endcap = cms.double(10.)
00029 photons.maxHoverEEndcap = cms.double(0.5)
00030 photons.maxHoverEBarrel = cms.double(0.99)
00031 photons.primaryVertexProducer = cms.string('hiSelectedVertex')
00032 photons.isolationSumsCalculatorSet.trackProducer = cms.InputTag("highPurityTracks")
00033
00034 hiPhotonSequence = cms.Sequence(highPurityTracks*photonSequence)
00035
00036
00037 from RecoHI.HiEgammaAlgos.HiEgammaIsolation_cff import *
00038
00039
00040 hiEcalClusters = cms.Sequence(hiEcalClusteringSequence)
00041 hiEgammaSequence = cms.Sequence(hiPhotonSequence)
00042 hiEcalClustersIsolation = cms.Sequence(hiEgammaSequence * hiEgammaIsolationSequence)
00043
00044
00045 import RecoHI.HiEgammaAlgos.hiSpikeCleaner_cfi
00046 hiSpikeCleanedSC = RecoHI.HiEgammaAlgos.hiSpikeCleaner_cfi.hiSpikeCleaner.clone()
00047 cleanPhotonCore = photonCore.clone(
00048 scHybridBarrelProducer = cms.InputTag("hiSpikeCleanedSC")
00049 )
00050 cleanPhotons = photons.clone(
00051 photonCoreProducer = cms.InputTag("cleanPhotonCore")
00052 )
00053
00054 hiPhotonCleaningSequence = cms.Sequence(hiSpikeCleanedSC *
00055 highPurityTracks *
00056 cleanPhotonCore *
00057 cleanPhotons)