1 import FWCore.ParameterSet.Config
as cms
3 pfZeroSuppressionThresholds_EB = [0.080]*170
4 pfZeroSuppressionThresholds_EEminus = [0.300]*39
5 pfZeroSuppressionThresholds_EEplus = pfZeroSuppressionThresholds_EEminus
7 _pfZeroSuppressionThresholds_EB_2017 = [0.250]*170
8 _pfZeroSuppressionThresholds_EEminus_2017 = [1.25023, 1.25033, 1.25047, 1.25068, 1.25097, 1.25139, 1.25199, 1.25286, 1.2541, 1.25587,
9 1.25842, 1.26207, 1.26729, 1.27479, 1.28553, 1.30092, 1.32299, 1.35462, 1.39995, 1.46493,
10 1.55807, 1.69156, 1.88291, 2.15716, 2.55027, 3.11371, 3.92131, 5.07887, 6.73803, 9.11615,
11 10, 10, 10, 10, 10, 10, 10, 10, 10 ]
12 _pfZeroSuppressionThresholds_EEplus_2017 = _pfZeroSuppressionThresholds_EEminus_2017
16 particle_flow_zero_suppression_ECAL = cms.PSet(
17 thresholds = cms.vdouble(pfZeroSuppressionThresholds_EB + pfZeroSuppressionThresholds_EEminus + pfZeroSuppressionThresholds_EEplus
21 _particle_flow_zero_suppression_ECAL_2017 = cms.PSet(
22 thresholds = cms.vdouble(_pfZeroSuppressionThresholds_EB_2017 + _pfZeroSuppressionThresholds_EEminus_2017 + _pfZeroSuppressionThresholds_EEplus_2017
26 from Configuration.Eras.Modifier_run2_ECAL_2017_cff
import run2_ECAL_2017
27 run2_ECAL_2017.toReplaceWith(particle_flow_zero_suppression_ECAL, _particle_flow_zero_suppression_ECAL_2017)
29 from Configuration.Eras.Modifier_phase2_ecal_cff
import phase2_ecal
30 phase2_ecal.toReplaceWith(particle_flow_zero_suppression_ECAL, _particle_flow_zero_suppression_ECAL_2017)