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 caloJetsForTrk = cms.Sequence(caloTowerForTrk*ak4CaloJetsForTrk)
13 
14 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
15 phase2_hcal.toModify( caloTowerForTrk, hbheInput = cms.InputTag("hbhereco") )
16