_particle_flow_zero_suppression_ECAL_2018_C = cms.PSet(
    thresholds = cms.vdouble(_pfZeroSuppressionThresholds_EB_2018_C + _pfZeroSuppressionThresholds_EEminus_2018_C + _pfZeroSuppressionThresholds_EEplus_2018_C
        )
    )



particle_flow_zero_suppression_ECAL = cms.PSet(
    thresholds = cms.vdouble(pfZeroSuppressionThresholds_EB + pfZeroSuppressionThresholds_EEminus + pfZeroSuppressionThresholds_EEplus
        )
    )

_particle_flow_zero_suppression_ECAL_2017 = cms.PSet(
    thresholds = cms.vdouble(_pfZeroSuppressionThresholds_EB_2017 + _pfZeroSuppressionThresholds_EEminus_2017 + _pfZeroSuppressionThresholds_EEplus_2017
        )
    )

#
# The thresholds have been temporarily removed (lowered to 80 MeV in EB and 300 MeV in EE,
# then overseeded by the gathering and seeding PF cluster thresholds)
# Later, we may need to reintroduce eta dependent thresholds
# to mitigate the effect of the noise
#

from Configuration.Eras.Modifier_run2_ECAL_2017_cff import run2_ECAL_2017
run2_ECAL_2017.toReplaceWith(particle_flow_zero_suppression_ECAL, _particle_flow_zero_suppression_ECAL_2017)

from Configuration.Eras.Modifier_phase2_ecal_cff import phase2_ecal
phase2_ecal.toReplaceWith(particle_flow_zero_suppression_ECAL, _particle_flow_zero_suppression_ECAL_2017)
Exemple #2
0
    4.55807,  # rings 190-199 (EE-) / 229-238 (EE+)
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5,
    5
]  # rings 200-208 (EE-) / 239-247 (EE+)
_pfZeroSuppressionThresholds_EEplus_2017 = _pfZeroSuppressionThresholds_EEminus_2017

particle_flow_zero_suppression_ECAL = cms.PSet(
    thresholds=cms.vdouble(pfZeroSuppressionThresholds_EB +
                           pfZeroSuppressionThresholds_EEminus +
                           pfZeroSuppressionThresholds_EEplus))

_particle_flow_zero_suppression_ECAL_2017 = cms.PSet(
    thresholds=cms.vdouble(_pfZeroSuppressionThresholds_EB_2017 +
                           _pfZeroSuppressionThresholds_EEminus_2017 +
                           _pfZeroSuppressionThresholds_EEplus_2017))

from Configuration.Eras.Modifier_run2_ECAL_2017_cff import run2_ECAL_2017
run2_ECAL_2017.toReplaceWith(particle_flow_zero_suppression_ECAL,
                             _particle_flow_zero_suppression_ECAL_2017)

from Configuration.Eras.Modifier_phase2_ecal_cff import phase2_ecal
phase2_ecal.toReplaceWith(particle_flow_zero_suppression_ECAL,
                          _particle_flow_zero_suppression_ECAL_2017)
from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal

phase2_hgcal.toReplaceWith(SimL1Emulator, _phase2_siml1emulator)

# ########################################################################
# Customisation for the phase2_ecal era. Includes the ecalEB TPs
# ########################################################################
from SimCalorimetry.EcalEBTrigPrimProducers.ecalEBTriggerPrimitiveDigis_cff import *

_phase2_siml1emulator_ebtp = SimL1Emulator.copy()
_phase2_siml1emulator_ebtp += simEcalEBTriggerPrimitiveDigis

from Configuration.Eras.Modifier_phase2_ecal_cff import phase2_ecal

phase2_ecal.toReplaceWith(SimL1Emulator, _phase2_siml1emulator_ebtp)

# If PreMixing, don't run these modules during first step
from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1

premix_stage1.toReplaceWith(
    SimL1Emulator,
    SimL1Emulator.copyAndExclude(
        [SimL1TCalorimeter, SimL1TechnicalTriggers, SimL1TGlobal]))

# ########################################################################
# Customisation for the phase2_trigger era, assumes TrackTrigger available
# ########################################################################
phase2_SimL1Emulator = SimL1Emulator.copy()

# Vertex