File indexing completed on 2024-04-06 12:24:37
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004
0005 from RecoEcal.EgammaClusterProducers.hybridClusteringSequence_cff import *
0006
0007 from RecoEcal.EgammaClusterProducers.multi5x5ClusteringSequence_cff import *
0008
0009 from RecoEcal.EgammaClusterProducers.multi5x5PreshowerClusteringSequence_cff import *
0010
0011 from RecoEcal.EgammaClusterProducers.reducedRecHitsSequence_cff import *
0012
0013
0014 from RecoEcal.EgammaCoreTools.EcalNextToDeadChannelESProducer_cff import *
0015
0016
0017
0018
0019 from RecoEcal.EgammaClusterProducers.particleFlowSuperClusteringSequence_cff import *
0020
0021 ecalClustersNoPFBoxTask = cms.Task(hybridClusteringTask,
0022 multi5x5ClusteringTask,
0023 multi5x5PreshowerClusteringTask)
0024 ecalClustersNoPFBox = cms.Sequence(ecalClustersNoPFBoxTask)
0025 ecalClustersTask = cms.Task(ecalClustersNoPFBoxTask, particleFlowSuperClusteringTask)
0026 ecalClusters = cms.Sequence(ecalClustersTask)
0027
0028 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
0029 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
0030 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0031 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0032 from Configuration.Eras.Modifier_ppRef_2017_cff import ppRef_2017
0033
0034 from RecoEcal.EgammaClusterProducers.islandClusteringSequence_cff import *
0035
0036 _ecalClustersHITask = ecalClustersTask.copy()
0037 _ecalClustersHITask.add(islandClusteringTask)
0038 for e in [pA_2016, peripheralPbPb, pp_on_AA, pp_on_XeXe_2017, ppRef_2017]:
0039 e.toReplaceWith(ecalClustersTask, _ecalClustersHITask)