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
5 caloTowerForTrk = calotowermaker.clone(hbheInput=cms.InputTag('hbheprereco'))
6 ak4CaloJetsForTrk = ak4CaloJets.clone(srcPVs = cms.InputTag('firstStepPrimaryVertices'), src= cms.InputTag('caloTowerForTrk'))
7 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
8 trackingLowPU.toModify(ak4CaloJetsForTrk,
9  srcPVs = "pixelVertices"
10 )
11 from Configuration.Eras.Modifier_trackingPhase1PU70_cff import trackingPhase1PU70
12 trackingPhase1PU70.toModify(ak4CaloJetsForTrk,
13  srcPVs = "pixelVertices"
14 )
15 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
16 trackingPhase2PU140.toModify(ak4CaloJetsForTrk,
17  srcPVs = "pixelVertices"
18 )
19 
20 caloJetsForTrk = cms.Sequence(caloTowerForTrk*ak4CaloJetsForTrk)
21 
22 from Configuration.Eras.Modifier_phase2_hcal_cff import phase2_hcal
23 phase2_hcal.toModify( caloTowerForTrk, hbheInput = cms.InputTag("hbhereco") )
24