CMS 3D CMS Logo

hiCaloJetsForTrk_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 from RecoHI.HiJetAlgos.HiRecoJets_cff import akPu4CaloJets
5 from JetMETCorrections.Configuration.CorrectedJetProducersDefault_cff import ak4CaloJetsL2L3, ak4CaloL2L3Corrector, ak4CaloL2RelativeCorrector, ak4CaloL3AbsoluteCorrector
6 
7 hiCaloTowerForTrk = calotowermaker.clone( hbheInput = 'hbheprereco')
8 akPu4CaloJetsForTrk = akPu4CaloJets.clone( srcPVs = 'hiSelectedPixelVertex', src = 'hiCaloTowerForTrk')
9 
10 akPu4CaloJetsCorrected = ak4CaloJetsL2L3.clone(
11  src = "akPu4CaloJetsForTrk"
12 )
13 
14 akPu4CaloJetsSelected = cms.EDFilter( "LargestEtCaloJetSelector",
15  src = cms.InputTag( "akPu4CaloJetsCorrected" ),
16  filter = cms.bool( False ),
17  maxNumber = cms.uint32( 4 )
18 )
19 
20 hiCaloJetsForTrkTask = cms.Task(hiCaloTowerForTrk,akPu4CaloJetsForTrk,akPu4CaloJetsCorrected,akPu4CaloJetsSelected,ak4CaloL2L3Corrector,ak4CaloL2RelativeCorrector,ak4CaloL3AbsoluteCorrector)