Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:47

0001 import FWCore.ParameterSet.Config as cms
0002 import copy
0003 
0004 from Configuration.StandardSequences.MagneticField_cff import *
0005 
0006 import SimTracker.TrackAssociatorProducers.trackAssociatorByHits_cfi as tabh
0007 
0008 # Track quality parameters
0009 trackQuality = cms.PSet(
0010     hitAssociator = cms.PSet(
0011         associatePixel = cms.bool(True),
0012         associateStrip = cms.bool(True),
0013         associateRecoTracks = cms.bool(True),
0014         ROUList = copy.deepcopy(tabh.trackAssociatorByHits.ROUList),
0015                 pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
0016                 stripSimLinkSrc = cms.InputTag("simSiStripDigis")
0017     )
0018 )
0019 
0020 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0021 premix_stage2.toModify(trackQuality,
0022     hitAssociator = dict(
0023         pixelSimLinkSrc = "mixData:PixelDigiSimLink",
0024         stripSimLinkSrc = "mixData:StripDigiSimLink",
0025     )
0026 )