CMS 3D CMS Logo

SiStripClusterizer_RealData_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 siStripClusters = cms.EDProducer("SiStripClusterizer",
6  Clusterizer = DefaultClusterizer,
7  DigiProducersList = cms.VInputTag(
8  cms.InputTag('siStripDigis','ZeroSuppressed'),
9  cms.InputTag('siStripZeroSuppression','VirginRaw'),
10  cms.InputTag('siStripZeroSuppression','ProcessedRaw'),
11  cms.InputTag('siStripZeroSuppression','ScopeMode')),
12  )
13 
14 from Configuration.ProcessModifiers.approxSiStripClusters_cff import approxSiStripClusters
15 from RecoLocalTracker.SiStripClusterizer.SiStripApprox2Clusters_cfi import SiStripApprox2Clusters
16 SiStripApprox2Clusters.inputApproxClusters = 'SiStripClusters2ApproxClusters'
17 approxSiStripClusters.toModify(SiStripApprox2Clusters, inputApproxClusters = 'hltSiStripClusters2ApproxClusters')
18 approxSiStripClusters.toReplaceWith(siStripClusters,SiStripApprox2Clusters)
19 
20 # The SiStripClusters are not used anymore in phase2 tracking
21 # This part has to be clean up when they will be officially removed from the entire flow
22 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
23 phase2_tracker.toModify(siStripClusters, # FIXME
24  DigiProducersList = [ 'simSiStripDigis:ZeroSuppressed',
25  'siStripZeroSuppression:VirginRaw',
26  'siStripZeroSuppression:ProcessedRaw',
27  'siStripZeroSuppression:ScopeMode']
28 )