CMS 3D CMS Logo

particleFlowZeroSuppressionECAL_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 pfZeroSuppressionThresholds_EB = [0.080]*170
4 pfZeroSuppressionThresholds_EEminus = [0.300]*39
5 pfZeroSuppressionThresholds_EEplus = pfZeroSuppressionThresholds_EEminus
6 
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, # rings 170-179 (EE-) / 209-218 (EE+)
9  1.25842, 1.26207, 1.26729, 1.27479, 1.28553, 1.30092, 1.32299, 1.35462, 1.39995, 1.46493, # rings 180-189 (EE-) / 219-228 (EE+)
10  1.55807, 1.69156, 1.88291, 2.15716, 2.55027, 3.11371, 3.92131, 5.07887, 6.73803, 9.11615, # rings 190-199 (EE-) / 229-238 (EE+)
11  10, 10, 10, 10, 10, 10, 10, 10, 10 ] # rings 200-208 (EE-) / 239-247 (EE+)
12 _pfZeroSuppressionThresholds_EEplus_2017 = _pfZeroSuppressionThresholds_EEminus_2017
13 
14 
15 
16 particle_flow_zero_suppression_ECAL = cms.PSet(
17  thresholds = cms.vdouble(pfZeroSuppressionThresholds_EB + pfZeroSuppressionThresholds_EEminus + pfZeroSuppressionThresholds_EEplus
18  )
19  )
20 
21 _particle_flow_zero_suppression_ECAL_2017 = cms.PSet(
22  thresholds = cms.vdouble(_pfZeroSuppressionThresholds_EB_2017 + _pfZeroSuppressionThresholds_EEminus_2017 + _pfZeroSuppressionThresholds_EEplus_2017
23  )
24  )
25 
26 #
27 # The following commented lines were used in 2017 to set SR@PF eta dependent thresholds
28 # as defined in _particle_flow_zero_suppression_ECAL_2017
29 #
30 # For 2018 the thresholds have been temporarily removed (lowered to 80 MeV in EB and 300 MeV in EE,
31 # then overseeded by the gathering and seeding PF cluster thresholds)
32 # Later, we may need to reintroduce eta dependent thresholds
33 # to mitigate the effect of the noise
34 #
35 
36 #from Configuration.Eras.Modifier_run2_ECAL_2017_cff import run2_ECAL_2017
37 #run2_ECAL_2017.toReplaceWith(particle_flow_zero_suppression_ECAL, _particle_flow_zero_suppression_ECAL_2017)
38 
39 #from Configuration.Eras.Modifier_phase2_ecal_cff import phase2_ecal
40 #phase2_ecal.toReplaceWith(particle_flow_zero_suppression_ECAL, _particle_flow_zero_suppression_ECAL_2017)