CMS 3D CMS Logo

tpClusterProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from SimTracker.TrackerHitAssociation.tpClusterProducerDefault_cfi import tpClusterProducerDefault as _tpClusterProducerDefault
4 
5 tpClusterProducer = _tpClusterProducerDefault.clone()
6 
7 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
8 phase2_tracker.toModify(
9  tpClusterProducer,
10  pixelSimLinkSrc = cms.InputTag("simSiPixelDigis", "Pixel"),
11  phase2OTSimLinkSrc = cms.InputTag("simSiPixelDigis","Tracker")
12 )
13 
14 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
15 premix_stage2.toModify(tpClusterProducer,
16  trackingParticleSrc = "mixData:MergedTrackTruth",
17  pixelSimLinkSrc = "mixData:PixelDigiSimLink",
18  stripSimLinkSrc = "mixData:StripDigiSimLink",
19  phase2OTSimLinkSrc = "mixData:Phase2OTDigiSimLink",
20 )