1 import FWCore.ParameterSet.Config
as cms
3 from RecoJets.JetProducers.ak4CaloJets_cfi
import ak4CaloJets
as _ak4CaloJets
4 from RecoHI.HiJetAlgos.HiRecoJets_cff
import akPu4CaloJets
as _akPu4CaloJets
6 caloTowerForTrk = calotowermaker.clone(
7 hbheInput=
'hbheprereco',
8 missingHcalRescaleFactorForEcal = 1.0
11 ak4CaloJetsForTrk = _ak4CaloJets.clone(
12 srcPVs =
'firstStepPrimaryVerticesUnsorted',
13 src =
'caloTowerForTrk' 16 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
17 pp_on_AA.toReplaceWith(ak4CaloJetsForTrk, _akPu4CaloJets.clone(
18 srcPVs =
'firstStepPrimaryVerticesUnsorted',
19 src =
'caloTowerForTrk')
22 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
23 trackingLowPU.toModify(ak4CaloJetsForTrk,
24 srcPVs =
"pixelVertices" 27 caloJetsForTrkTask = cms.Task(caloTowerForTrk,ak4CaloJetsForTrk)
28 caloJetsForTrk = cms.Sequence(caloJetsForTrkTask)
30 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
31 run3_HB.toModify( caloTowerForTrk, hbheInput =
"hbhereco" )
33 from Configuration.Eras.Modifier_pf_badHcalMitigationOff_cff
import pf_badHcalMitigationOff
34 pf_badHcalMitigationOff.toModify( caloTowerForTrk, missingHcalRescaleFactorForEcal = 0.0 )