CMS 3D CMS Logo

RecoJets_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoJets.JetProducers.ak4CaloJets_cfi import ak4CaloJets
4 
5 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAllCalo
6 
7 doPileup = cms.bool(True)
8 
9 ak4CaloJetsPUCorr =ak4CaloJets.clone (doPUOffsetCorr = doPileup)
10 ak4CaloJets.doAreaFastjet = True
11 
12 fixedGridRhoFastjetCentralCalo = fixedGridRhoFastjetAllCalo.clone(
13  maxRapidity = cms.double(2.5)
14  )
15 
16 recoJets =cms.Sequence(fixedGridRhoFastjetAllCalo+
17  fixedGridRhoFastjetCentralCalo+
18  ak4CaloJets
19  )
20 
21 recoAllJets=cms.Sequence(fixedGridRhoFastjetAllCalo+
22  fixedGridRhoFastjetCentralCalo+
23  fixedGridRhoFastjetAllCalo+
24  ak4CaloJets
25  )
26 
27 
28 recoAllJetsPUOffsetCorr=cms.Sequence(fixedGridRhoFastjetAllCalo+
29  fixedGridRhoFastjetCentralCalo+
30  ak4CaloJetsPUCorr)