CMS 3D CMS Logo

hgcalLocalReco_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 from RecoLocalCalo.HGCalRecProducers.recHitMapProducer_cfi import recHitMapProducer
7 
8 # patch particle flow clusters for HGC into local reco sequence
9 # (for now until global reco is going with some sort of clustering)
13 from RecoLocalCalo.HGCalRecProducers.hgcalLayerClusters_cff import hgcalLayerClustersHFNose, hgcalLayerClustersEE, hgcalLayerClustersHSi, hgcalLayerClustersHSci, hgcalMergeLayerClusters
14 
15 hgcalLocalRecoTask = cms.Task( HGCalUncalibRecHit,
16  HGCalRecHit,
17  recHitMapProducer,
18  hgcalLayerClustersEE,
19  hgcalLayerClustersHSi,
20  hgcalLayerClustersHSci,
21  hgcalMergeLayerClusters,
22  hgcalMultiClusters,
23  particleFlowRecHitHGC,
24  particleFlowClusterHGCal )
25 
26 _hfnose_hgcalLocalRecoTask = hgcalLocalRecoTask.copy()
27 _hfnose_hgcalLocalRecoTask.add(hgcalLayerClustersHFNose)
28 
29 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
30 phase2_hfnose.toReplaceWith(
31  hgcalLocalRecoTask, _hfnose_hgcalLocalRecoTask )
32 
33 hgcalLocalRecoSequence = cms.Sequence(hgcalLocalRecoTask)