CMS 3D CMS Logo

egammaHBHERecHitThreshold_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHBHE_cfi import _thresholdsHBphase1, _thresholdsHEphase1, _thresholdsHBphase1_2023
4 
5 egammaHBHERecHit = cms.PSet(
6  hbheRecHits = cms.InputTag('hbhereco'),
7  recHitEThresholdHB = _thresholdsHBphase1,
8  recHitEThresholdHE = _thresholdsHEphase1,
9  maxHcalRecHitSeverity = cms.int32(9),
10  usePFThresholdsFromDB = cms.bool(False)
11 )
12 
13 egammaHBHERecHit_2023 = egammaHBHERecHit.clone(
14  recHitEThresholdHB = _thresholdsHBphase1_2023
15 )
16 
17 from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023
18 run3_egamma_2023.toReplaceWith(egammaHBHERecHit,egammaHBHERecHit_2023)
19 
20 from Configuration.Eras.Modifier_hcalPfCutsFromDB_cff import hcalPfCutsFromDB
21 hcalPfCutsFromDB.toModify(egammaHBHERecHit,
22  usePFThresholdsFromDB = True)
23 
24