CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
hgcalLocalReco_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 
6 from RecoLocalCalo.HGCalRecProducers.hgcalRecHitMapProducer_cfi import hgcalRecHitMapProducer
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 hgcalLayerClusters, hgcalLayerClustersHFNose
14 
15 hgcalLocalRecoTask = cms.Task( HGCalUncalibRecHit,
16  HGCalRecHit,
17  hgcalRecHitMapProducer,
18  hgcalLayerClusters,
19  hgcalMultiClusters,
20  particleFlowRecHitHGC,
21  particleFlowClusterHGCal )
22 
23 _hfnose_hgcalLocalRecoTask = hgcalLocalRecoTask.copy()
24 _hfnose_hgcalLocalRecoTask.add(hgcalLayerClustersHFNose)
25 
26 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
27 phase2_hfnose.toReplaceWith(
28  hgcalLocalRecoTask, _hfnose_hgcalLocalRecoTask )
29 
30 hgcalLocalRecoSequence = cms.Sequence(hgcalLocalRecoTask)