1 import FWCore.ParameterSet.Config
as cms
21 ecalClustersNoPFBoxTask = cms.Task(hybridClusteringTask,
22 multi5x5ClusteringTask,
23 multi5x5PreshowerClusteringTask)
24 ecalClustersNoPFBox = cms.Sequence(ecalClustersNoPFBoxTask)
25 ecalClustersTask = cms.Task(ecalClustersNoPFBoxTask, particleFlowSuperClusteringTask)
26 ecalClusters = cms.Sequence(ecalClustersTask)
28 from Configuration.Eras.Modifier_pA_2016_cff
import pA_2016
29 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
30 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
31 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
32 from Configuration.Eras.Modifier_ppRef_2017_cff
import ppRef_2017
36 _ecalClustersHITask = ecalClustersTask.copy()
37 _ecalClustersHITask.add(islandClusteringTask)
38 for e
in [pA_2016, peripheralPbPb, pp_on_AA, pp_on_XeXe_2017, ppRef_2017]:
39 e.toReplaceWith(ecalClustersTask, _ecalClustersHITask)