CMS 3D CMS Logo

HiEgamma_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # clustering sequence
11 
12 particleFlowSuperClusterECAL.regressionConfig.vertexCollection = 'hiSelectedVertex'
13 
14 hiEcalClusteringTask = cms.Task(islandClusteringTask,hybridClusteringTask,multi5x5ClusteringTask,multi5x5PreshowerClusteringTask,preshowerClusteringTask,particleFlowSuperClusterECAL)
15 hiEcalClusteringSequence = cms.Sequence(hiEcalClusteringTask)
16 
17 
18 # reco photon producer
20 
21 # use island for the moment
22 photonCore.scHybridBarrelProducer = cms.InputTag("correctedIslandBarrelSuperClusters")
23 photonCore.scIslandEndcapProducer = cms.InputTag("correctedIslandEndcapSuperClusters")
24 photonCore.minSCEt = cms.double(8.0)
25 photons.minSCEtBarrel = cms.double(5.0)
26 photons.minSCEtEndcap = cms.double(15.0)
27 photons.minR9Barrel = cms.double(10.) #0.94
28 photons.minR9Endcap = cms.double(10.) #0.95
29 photons.maxHoverEEndcap = cms.double(0.5) #0.5
30 photons.maxHoverEBarrel = cms.double(0.99) #0.5
31 photons.primaryVertexProducer = cms.InputTag('hiSelectedVertex') # replace the primary vertex
32 photons.isolationSumsCalculatorSet.trackProducer = isolationInputParameters.track # cms.InputTag("highPurityTracks")
33 
34 from RecoHI.HiEgammaAlgos.photonIsolationHIProducer_cfi import photonIsolationHIProducer
35 hiPhotonTask = cms.Task(photonTask,photonIsolationHIProducer)
36 hiPhotonSequence = cms.Sequence(hiPhotonTask)
37 
38 # HI Ecal reconstruction
39 hiEcalClustersTask = cms.Task(hiEcalClusteringTask)
40 hiEcalClusters = cms.Sequence(hiEcalClustersTask)
41 hiEgammaTask = cms.Task(hiPhotonTask)
42 hiEgammaSequence = cms.Sequence(hiEgammaTask)
43 
44 # HI Spike Clean Sequence
45 import RecoHI.HiEgammaAlgos.hiSpikeCleaner_cfi
46 hiSpikeCleanedSC = RecoHI.HiEgammaAlgos.hiSpikeCleaner_cfi.hiSpikeCleaner.clone()
47 cleanPhotonCore = photonCore.clone(
48  scHybridBarrelProducer = cms.InputTag("hiSpikeCleanedSC")
49 )
50 cleanPhotons = photons.clone(
51  photonCoreProducer = cms.InputTag("cleanPhotonCore")
52 )
53 
54 hiPhotonCleaningTask = cms.Task(hiSpikeCleanedSC,
55  cleanPhotonCore,
56  cleanPhotons)
57 hiPhotonCleaningSequence = cms.Sequence(hiPhotonCleaningTask)
multi5x5ClusteringSequence_cff
HiIsolationCommonParameters_cff
HiIslandClusteringSequence_cff
multi5x5PreshowerClusteringSequence_cff
hybridClusteringSequence_cff
preshowerClusteringSequence_cff
photonSequence_cff
particleFlowSuperClusterECAL_cfi