import FWCore.ParameterSet.Config as cms

#
# complete sequence of clustering in ecal barrel & endcap + preshower
# Shahram Rahatlou, University of Rome & INFN, 3 Aug 2006
#
# create sequence for island clustering
from RecoEcal.EgammaClusterProducers.islandClusteringSequence_cff import *
# hybrid clustering sequence
from RecoEcal.EgammaClusterProducers.hybridClusteringSequence_cff import *
# clusters in preshower
from RecoEcal.EgammaClusterProducers.preshowerClusteringSequence_cff import *
# dynamic hybrid sequence
from RecoEcal.EgammaClusterProducers.dynamicHybridClusteringSequence_cff import *
# multi5x5 clusters
from RecoEcal.EgammaClusterProducers.multi5x5ClusteringSequence_cff import *
# preshower sequence for multi5x5 clusters
from RecoEcal.EgammaClusterProducers.multi5x5PreshowerClusteringSequence_cff import *
#selected digis
from RecoEcal.EgammaClusterProducers.ecalDigiSelector_cff import *
# create path with all clustering algos
# NB: preshower MUST be run after island clustering in the endcap
ecalClusteringTask = cms.Task(islandClusteringTask,
                              hybridClusteringTask,
                              preshowerClusteringTask,
                              dynamicHybridClusteringTask,
                              multi5x5ClusteringTask,
                              multi5x5PreshowerClusteringTask,
                              seldigisTask)
ecalClusteringSequence = cms.Sequence(ecalClusteringTask)

