CMS 3D CMS Logo

caloJetsForTrk_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 as _ak4CaloJets
5 caloTowerForTrk = calotowermaker.clone(hbheInput=cms.InputTag('hbheprereco'))
6 ak4CaloJetsForTrk = _ak4CaloJets.clone(srcPVs = cms.InputTag('firstStepPrimaryVerticesUnsorted'), src= cms.InputTag('caloTowerForTrk'))
7 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
8 trackingLowPU.toModify(ak4CaloJetsForTrk,
9  srcPVs = "pixelVertices"
10 )
11 
12 caloJetsForTrkTask = cms.Task(caloTowerForTrk,ak4CaloJetsForTrk)
13 caloJetsForTrk = cms.Sequence(caloJetsForTrkTask)
14 
15 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
16 phase2_hcal.toModify( caloTowerForTrk, hbheInput = cms.InputTag("hbhereco") )
17