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
10 
11 hiEcalClusteringSequence = cms.Sequence(islandClusteringSequence*hybridClusteringSequence*multi5x5ClusteringSequence*multi5x5PreshowerClusteringSequence*preshowerClusteringSequence)
12 
13 # high purity tracks
14 #highPurityTracks = cms.EDFilter("TrackSelector",
15 # src = cms.InputTag("hiSelectedTracks"),
16 ## cut = cms.string('quality("highPurity")')
17 #)
18 
19 # reco photon producer
21 
22 # use island for the moment
23 photonCore.scHybridBarrelProducer = cms.InputTag("correctedIslandBarrelSuperClusters")
24 photonCore.scIslandEndcapProducer = cms.InputTag("correctedIslandEndcapSuperClusters")
25 photonCore.minSCEt = cms.double(8.0)
26 photons.minSCEtBarrel = cms.double(5.0)
27 photons.minSCEtEndcap = cms.double(15.0)
28 photons.minR9Barrel = cms.double(10.) #0.94
29 photons.minR9Endcap = cms.double(10.) #0.95
30 photons.maxHoverEEndcap = cms.double(0.5) #0.5
31 photons.maxHoverEBarrel = cms.double(0.99) #0.5
32 photons.primaryVertexProducer = cms.string('hiSelectedVertex') # replace the primary vertex
33 photons.isolationSumsCalculatorSet.trackProducer = isolationInputParameters.track # cms.InputTag("highPurityTracks")
34 
35 hiPhotonSequence = cms.Sequence(#highPurityTracks*
36  photonSequence)
37 
38 # HI Egamma Isolation
40 
41 # HI Ecal reconstruction
42 hiEcalClusters = cms.Sequence(hiEcalClusteringSequence)
43 hiEgammaSequence = cms.Sequence(hiPhotonSequence)
44 hiEcalClustersIsolation = cms.Sequence(hiEgammaSequence * hiEgammaIsolationSequence)
45 
46 # HI Spike Clean Sequence
47 import RecoHI.HiEgammaAlgos.hiSpikeCleaner_cfi
48 hiSpikeCleanedSC = RecoHI.HiEgammaAlgos.hiSpikeCleaner_cfi.hiSpikeCleaner.clone(
49 # swissCutThr = cms.untracked.double(0.95)
50  )
51 cleanPhotonCore = photonCore.clone(
52  scHybridBarrelProducer = cms.InputTag("hiSpikeCleanedSC")
53 )
54 cleanPhotons = photons.clone(
55  photonCoreProducer = cms.InputTag("cleanPhotonCore")
56 )
57 
58 hiPhotonCleaningSequence = cms.Sequence(hiSpikeCleanedSC *
59  #highPurityTracks *
60  cleanPhotonCore *
61  cleanPhotons)