ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/CmsHi/JetAnalysis/python/ExtraEGammaReco_cff.py
Revision: 1.1.2.2
Committed: Wed Aug 10 22:35:34 2011 UTC (13 years, 8 months ago) by frankma
Content type: text/x-python
Branch: cmssw39x_branch
Changes since 1.1.2.1: +1 -16 lines
Log Message:
Finished adding mpa sequences

File Contents

# User Rev Content
1 frankma 1.1.2.1 import FWCore.ParameterSet.Config as cms
2    
3     # reco
4     from RecoHI.HiEgammaAlgos.HiEgamma_cff import *
5    
6     # detector responce
7     from CmsHi.PhotonAnalysis.isoConeInspector_cfi import *
8     from CmsHi.PhotonAnalysis.ecalHistProducer_cfi import *
9     from CmsHi.PhotonAnalysis.SpikeInspector_cfi import *
10    
11     # spike cleaner for island superclsters
12     cleanPhotons.maxHoverEBarrel = cms.double(100)
13 frankma 1.1.2.2
14 frankma 1.1.2.1 # clean photon filter
15     goodPhotons = cms.EDFilter("PhotonSelector",
16     src = cms.InputTag("cleanPhotons"),
17     cut = cms.string("pt > 18 & hadronicOverEm < 0.2 & abs(eta) < 1.45"),
18     )
19     filterGoodPhotons = cms.EDFilter("PhotonCountFilter",
20     src = cms.InputTag("goodPhotons"),
21     minNumber = cms.uint32(0), # tmp solution for both gamma and jets
22     maxNumber = cms.uint32(999999),
23     )
24    
25     barrelPhotonFilter = cms.Sequence ( goodPhotons * filterGoodPhotons )
26    
27     photon_extra_reco = cms.Sequence(
28     hiEcalClusteringSequence *
29     hiPhotonCleaningSequence *
30     barrelPhotonFilter
31     )