Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoJets.JetProducers.ak4CaloJets_cfi import ak4CaloJets
0004 
0005 from RecoJets.JetProducers.fixedGridRhoProducerFastjet_cfi import fixedGridRhoFastjetAllCalo
0006 
0007 doPileup = cms.bool(True)
0008 
0009 ak4CaloJetsPUCorr =ak4CaloJets.clone(doPUOffsetCorr = doPileup)
0010 ak4CaloJets.doAreaFastjet = True
0011 
0012 fixedGridRhoFastjetCentralCalo = fixedGridRhoFastjetAllCalo.clone(
0013     maxRapidity = 2.5
0014     )
0015 
0016 recoJetsTask   =cms.Task(fixedGridRhoFastjetAllCalo,
0017                          fixedGridRhoFastjetCentralCalo,
0018                          ak4CaloJets)
0019 recoJets   =cms.Sequence(recoJetsTask)
0020 
0021 recoAllJetsTask=cms.Task(fixedGridRhoFastjetAllCalo,
0022                          fixedGridRhoFastjetCentralCalo,                         
0023                          fixedGridRhoFastjetAllCalo,
0024                          ak4CaloJets)
0025 recoAllJets=cms.Sequence(recoAllJetsTask)
0026 
0027 recoAllJetsPUOffsetCorrTask=cms.Task(fixedGridRhoFastjetAllCalo,
0028                                      fixedGridRhoFastjetCentralCalo,
0029                                      ak4CaloJetsPUCorr)
0030 recoAllJetsPUOffsetCorr=cms.Sequence(recoAllJetsPUOffsetCorrTask)
0031 
0032 from RecoHI.HiJetAlgos.HiRecoJets_cff import caloTowersRecTask, caloTowers, akPu4CaloJets
0033 
0034 recoJetsHITask =cms.Task(fixedGridRhoFastjetAllCalo,
0035                          fixedGridRhoFastjetCentralCalo,
0036                          ak4CaloJets,
0037                          caloTowersRecTask,
0038                          caloTowers,
0039                          akPu4CaloJets
0040                          )
0041 recoJetsHI =cms.Sequence(recoJetsHITask)