Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-10 22:49:49

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoLocalCalo.HGCalRecProducers.HGCalUncalibRecHit_cfi import *
0004 from RecoLocalCalo.HGCalRecProducers.HGCalRecHit_cfi import *
0005 
0006 from RecoLocalCalo.HGCalRecProducers.hgcalRecHitMapProducer_cfi import hgcalRecHitMapProducer
0007 
0008 # patch particle flow clusters for HGC into local reco sequence
0009 # (for now until global reco is going with some sort of clustering)
0010 from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHGC_cfi import *
0011 from RecoParticleFlow.PFClusterProducer.particleFlowClusterHGC_cfi import *
0012 from RecoLocalCalo.HGCalRecProducers.hgcalMultiClusters_cfi import *
0013 from RecoLocalCalo.HGCalRecProducers.hgcalLayerClusters_cff import hgcalLayerClusters, hgcalLayerClustersHFNose
0014 
0015 hgcalLocalRecoTask = cms.Task( HGCalUncalibRecHit,
0016                                        HGCalRecHit,
0017                                        hgcalRecHitMapProducer,
0018                                        hgcalLayerClusters,
0019                                        hgcalMultiClusters,
0020                                        particleFlowRecHitHGC,
0021                                        particleFlowClusterHGCal )
0022 
0023 _hfnose_hgcalLocalRecoTask = hgcalLocalRecoTask.copy()
0024 _hfnose_hgcalLocalRecoTask.add(hgcalLayerClustersHFNose)
0025 
0026 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
0027 phase2_hfnose.toReplaceWith(
0028     hgcalLocalRecoTask, _hfnose_hgcalLocalRecoTask )
0029 
0030 hgcalLocalRecoSequence = cms.Sequence(hgcalLocalRecoTask)