CMS 3D CMS Logo

RecoEcal_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Sequence for clustering in ecal barrel & endcap + preshower
4 # hybrid clustering sequence
6 # multi5x5 clusters
8 # preshower sequence for multi5x5 clusters
10 #reduced recHit collection producer
12 
13 #create the EcalNextToDeadChannel record on the fly
15 # create path with all clustering algos
16 # NB: preshower MUST be run after multi5x5 clustering in the endcap
17 
18 #particle flow super clustering sequence
20 
21 ecalClustersNoPFBox = cms.Sequence(hybridClusteringSequence*multi5x5ClusteringSequence*multi5x5PreshowerClusteringSequence)
22 ecalClusters = cms.Sequence(ecalClustersNoPFBox*particleFlowSuperClusteringSequence)
23 
24 from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
25 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
26 from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018
27 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
28 from Configuration.Eras.Modifier_ppRef_2017_cff import ppRef_2017
29 
31 
32 _ecalClustersHI = ecalClusters.copy()
33 _ecalClustersHI += islandClusteringSequence
34 for e in [pA_2016, peripheralPbPb, pp_on_AA_2018, pp_on_XeXe_2017, ppRef_2017]:
35  e.toReplaceWith(ecalClusters, _ecalClustersHI)