CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HiEgamma_cff.py
Go to the documentation of this file.
2 
3 # clustering sequence
9 
10 hiEcalClusteringSequence = cms.Sequence(islandClusteringSequence*hybridClusteringSequence*multi5x5ClusteringSequence*multi5x5PreshowerClusteringSequence*preshowerClusteringSequence)
11 
12 # high purity tracks
13 highPurityTracks = cms.EDFilter("TrackSelector",
14  src = cms.InputTag("hiSelectedTracks"),
15  cut = cms.string('quality("highPurity")')
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.string('hiSelectedVertex') # replace the primary vertex
32 photons.isolationSumsCalculatorSet.trackProducer = cms.InputTag("highPurityTracks")
33 
34 hiPhotonSequence = cms.Sequence(highPurityTracks*photonSequence)
35 
36 # HI Egamma Isolation
38 
39 # HI Ecal reconstruction
40 hiEcalClusters = cms.Sequence(hiEcalClusteringSequence)
41 hiEgammaSequence = cms.Sequence(hiPhotonSequence)
42 hiEcalClustersIsolation = cms.Sequence(hiEgammaSequence * hiEgammaIsolationSequence)
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 hiPhotonCleaningSequence = cms.Sequence(hiSpikeCleanedSC *
55  highPurityTracks *
56  cleanPhotonCore *
57  cleanPhotons)