Skip to content

Commit

Permalink
Merge pull request #40756 from swagata87/egm_hb_thres_2023
Browse files Browse the repository at this point in the history
[12.6.X] Ensure that egamma picks up 2023 HB thresholds for 12_6_X MC production
  • Loading branch information
cmsbuild committed Feb 14, 2023
2 parents 3b733e4 + e777901 commit e7b8ada
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Configuration/Eras/python/Era_Run3_2023_cff.py
@@ -0,0 +1,6 @@
import FWCore.ParameterSet.Config as cms

from Configuration.Eras.Era_Run3_cff import Run3
from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023

Run3_2023 = cms.ModifierChain(Run3, run3_egamma_2023)
3 changes: 3 additions & 0 deletions Configuration/Eras/python/Modifier_run3_egamma_2023_cff.py
@@ -0,0 +1,3 @@
import FWCore.ParameterSet.Config as cms

run3_egamma_2023 =cms.Modifier()
1 change: 1 addition & 0 deletions Configuration/StandardSequences/python/Eras.py
Expand Up @@ -34,6 +34,7 @@ def __init__(self):
'Run2_2018_highBetaStar',
'Run2_2018_noMkFit',
'Run3',
'Run3_2023',
'Run3_noMkFit',
'Run3_pp_on_PbPb',
'Run3_pp_on_PbPb_approxSiStripClusters',
Expand Down
@@ -1,10 +1,17 @@
import FWCore.ParameterSet.Config as cms

from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHBHE_cfi import _thresholdsHBphase1, _thresholdsHEphase1
from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHBHE_cfi import _thresholdsHBphase1, _thresholdsHEphase1, _thresholdsHBphase1_2023

egammaHBHERecHit = cms.PSet(
hbheRecHits = cms.InputTag('hbhereco'),
recHitEThresholdHB = _thresholdsHBphase1,
recHitEThresholdHE = _thresholdsHEphase1,
maxHcalRecHitSeverity = cms.int32(9),
)

egammaHBHERecHit_2023 = egammaHBHERecHit.clone(
recHitEThresholdHB = _thresholdsHBphase1_2023
)

from Configuration.Eras.Modifier_run3_egamma_2023_cff import run3_egamma_2023
run3_egamma_2023.toReplaceWith(egammaHBHERecHit,egammaHBHERecHit_2023)
Expand Up @@ -4,6 +4,8 @@
_thresholdsHE = cms.vdouble(0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8)
_thresholdsHBphase1 = cms.vdouble(0.1, 0.2, 0.3, 0.3)
_thresholdsHEphase1 = cms.vdouble(0.1, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2)
#updated HB RecHit threshold for 2023
_thresholdsHBphase1_2023 = cms.vdouble(0.4, 0.3, 0.3, 0.3)

particleFlowRecHitHBHE = cms.EDProducer("PFRecHitProducer",
navigator = cms.PSet(
Expand Down

0 comments on commit e7b8ada

Please sign in to comment.