File indexing completed on 2024-04-06 12:24:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHBHE_cfi import _thresholdsHBphase1, _thresholdsHEphase1, _thresholdsHBphase1_2023
0004
0005 egammaHBHERecHit = cms.PSet(
0006 hbheRecHits = cms.InputTag('hbhereco'),
0007 recHitEThresholdHB = _thresholdsHBphase1,
0008 recHitEThresholdHE = _thresholdsHEphase1,
0009 maxHcalRecHitSeverity = cms.int32(9),
0010 usePFThresholdsFromDB = cms.bool(False)
0011 )
0012
0013 egammaHBHERecHit_2023 = egammaHBHERecHit.clone(
0014 recHitEThresholdHB = _thresholdsHBphase1_2023
0015 )
0016
0017 from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023
0018 run3_egamma_2023.toReplaceWith(egammaHBHERecHit,egammaHBHERecHit_2023)
0019
0020 from Configuration.Eras.Modifier_hcalPfCutsFromDB_cff import hcalPfCutsFromDB
0021 hcalPfCutsFromDB.toModify(egammaHBHERecHit,
0022 usePFThresholdsFromDB = True)
0023
0024