-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40756 from swagata87/egm_hb_thres_2023
[12.6.X] Ensure that egamma picks up 2023 HB thresholds for 12_6_X MC production
- Loading branch information
Showing
5 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
run3_egamma_2023 =cms.Modifier() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
RecoEgamma/EgammaIsolationAlgos/python/egammaHBHERecHitThreshold_cff.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters