1 import FWCore.ParameterSet.Config
as cms
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" 12 caloJetsForTrkTask = cms.Task(caloTowerForTrk,ak4CaloJetsForTrk)
13 caloJetsForTrk = cms.Sequence(caloJetsForTrkTask)
15 from Configuration.Eras.Modifier_phase2_hcal_cff
import phase2_hcal
16 phase2_hcal.toModify( caloTowerForTrk, hbheInput = cms.InputTag(
"hbhereco") )