Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Tracker Local Reco
0004 
0005 from RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitConverter_cfi import *
0006 from RecoLocalTracker.SiStripRecHitConverter.SiStripRecHitMatcher_cfi import *
0007 from RecoLocalTracker.SiStripRecHitConverter.StripCPEfromTrackAngle_cfi import *
0008 from RecoLocalTracker.SiStripZeroSuppression.SiStripZeroSuppression_cfi import *
0009 from RecoLocalTracker.SiStripClusterizer.SiStripClusterizer_cfi import *
0010 from RecoLocalTracker.SiPixelClusterizer.siPixelClustersPreSplitting_cff import *
0011 from RecoLocalTracker.SiPixelDigiReProducers.siPixelDigisMorphed_cfi import *
0012 from RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi import *
0013 from RecoLocalTracker.SubCollectionProducers.clustersummaryproducer_cfi import *
0014 
0015 pixeltrackerlocalrecoTask = cms.Task(
0016     siPixelClustersPreSplittingTask,
0017     siPixelRecHitsPreSplittingTask)
0018 
0019 from Configuration.ProcessModifiers.siPixelDigiMorphing_cff import *
0020 siPixelDigiMorphing.toModify(pixeltrackerlocalrecoTask, func=lambda t: t.add(siPixelDigisMorphed))
0021 
0022 striptrackerlocalrecoTask = cms.Task(
0023     siStripZeroSuppression,
0024     siStripClusters,
0025     siStripMatchedRecHits)
0026 
0027 trackerlocalrecoTask = cms.Task(
0028     pixeltrackerlocalrecoTask,
0029     striptrackerlocalrecoTask,
0030     clusterSummaryProducer)
0031 
0032 pixeltrackerlocalreco = cms.Sequence(pixeltrackerlocalrecoTask)
0033 striptrackerlocalreco = cms.Sequence(striptrackerlocalrecoTask)
0034 trackerlocalreco = cms.Sequence(trackerlocalrecoTask)
0035 
0036 from RecoLocalTracker.SiPhase2Clusterizer.phase2TrackerClusterizer_cfi import *
0037 from RecoLocalTracker.Phase2TrackerRecHits.Phase2StripCPEGeometricESProducer_cfi import *
0038 from RecoLocalTracker.SiPhase2VectorHitBuilder.siPhase2RecHitMatcher_cfi import *
0039 
0040 _pixeltrackerlocalrecoTask_phase2 = pixeltrackerlocalrecoTask.copy()
0041 _pixeltrackerlocalrecoTask_phase2.add(siPhase2Clusters)
0042 phase2_tracker.toReplaceWith(pixeltrackerlocalrecoTask, _pixeltrackerlocalrecoTask_phase2)
0043 phase2_tracker.toReplaceWith(trackerlocalrecoTask, trackerlocalrecoTask.copyAndExclude([striptrackerlocalrecoTask]))