1 import FWCore.ParameterSet.Config
as cms
3 from RecoJets.JetProducers.ak4CaloJets_cfi
import ak4CaloJets
as _ak4CaloJets
6 caloTowerForTrk = calotowermaker.clone(
7 hbheInput=
'hbheprereco'
10 ak4CaloJetsForTrk = _ak4CaloJets.clone(
11 srcPVs =
'firstStepPrimaryVerticesUnsorted',
12 src =
'caloTowerForTrk'
15 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
16 pp_on_AA.toReplaceWith(ak4CaloJetsForTrk, _akPu4CaloJets.clone(
17 srcPVs =
'firstStepPrimaryVerticesUnsorted',
18 src =
'caloTowerForTrk')
21 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
22 trackingLowPU.toModify(ak4CaloJetsForTrk,
23 srcPVs =
"pixelVertices"
26 caloJetsForTrkTask = cms.Task(caloTowerForTrk,ak4CaloJetsForTrk)
27 caloJetsForTrk = cms.Sequence(caloJetsForTrkTask)
29 from Configuration.Eras.Modifier_pf_badHcalMitigation_cff
import pf_badHcalMitigation
30 pf_badHcalMitigation.toModify( caloTowerForTrk, missingHcalRescaleFactorForEcal = 1.0 )
32 from Configuration.Eras.Modifier_run3_HB_cff
import run3_HB
33 run3_HB.toModify( caloTowerForTrk, hbheInput =
"hbhereco" )