Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-19 22:45:27

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoJets.JetProducers.ak4CaloJets_cfi import ak4CaloJets as _ak4CaloJets
0004 from RecoHI.HiJetAlgos.HiRecoJets_cff import akPu4CaloJets as _akPu4CaloJets
0005 from RecoLocalCalo.CaloTowersCreator.calotowermaker_cfi import calotowermaker
0006 caloTowerForTrk = calotowermaker.clone(
0007     hbheInput='hbheprereco',
0008     missingHcalRescaleFactorForEcal = 1.0
0009 )
0010 
0011 ak4CaloJetsForTrk = _ak4CaloJets.clone(
0012     srcPVs = 'firstStepPrimaryVerticesUnsorted', 
0013     src    = 'caloTowerForTrk'
0014 )
0015 
0016 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0017 pp_on_AA.toReplaceWith(ak4CaloJetsForTrk, _akPu4CaloJets.clone(
0018     srcPVs = 'firstStepPrimaryVerticesUnsorted', 
0019     src    = 'caloTowerForTrk')
0020 )
0021 
0022 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
0023 trackingLowPU.toModify(ak4CaloJetsForTrk,
0024     srcPVs = "pixelVertices"
0025 )
0026 
0027 caloJetsForTrkTask = cms.Task(caloTowerForTrk,ak4CaloJetsForTrk)
0028 caloJetsForTrk = cms.Sequence(caloJetsForTrkTask)
0029 
0030 from Configuration.Eras.Modifier_run3_HB_cff import run3_HB
0031 run3_HB.toModify( caloTowerForTrk, hbheInput = "hbhereco" )
0032 
0033 from Configuration.Eras.Modifier_pf_badHcalMitigationOff_cff import pf_badHcalMitigationOff
0034 pf_badHcalMitigationOff.toModify( caloTowerForTrk, missingHcalRescaleFactorForEcal = 0.0 )