Skip to content

Commit

Permalink
Add workflows for Riemann fit and GPU (#20)
Browse files Browse the repository at this point in the history
* add `riemannFit` and `gpu` modifiers and workflows for Riemann fit and GPU modules
* switch GPU modules with `gpu` modifier
  • Loading branch information
makortel authored and fwyzard committed Nov 16, 2020
1 parent 1b730e3 commit 513ec3b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions EventFilter/SiPixelRawToDigi/python/SiPixelRawToDigi_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@
phase1Pixel.toModify(siPixelDigis, UsePhase1=True)
phase1Pixel.toModify(siPixelDigisGPU, UsePhase1=True)

# In principle I would like to hide the name 'siPixelDigisGPU', but it
# is used in test/runRawToDigi_GPU_phase1.py which I also don't want
# to break
from Configuration.ProcessModifiers.gpu_cff import gpu
gpu.toReplaceWith(siPixelDigis, siPixelDigisGPU)
4 changes: 4 additions & 0 deletions RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
import FWCore.ParameterSet.Config as cms

from RecoLocalTracker.SiPixelRecHits.SiPixelRecHitsGPU_cfi import siPixelRecHits as _siPixelRecHitsGPU
siPixelRecHits = cms.EDProducer("SiPixelRecHitConverter",
src = cms.InputTag("siPixelClusters"),
CPE = cms.string('PixelCPEGeneric'),
VerboseLevel = cms.untracked.int32(0),

)

from Configuration.ProcessModifiers.gpu_cff import gpu
gpu.toReplaceWith(siPixelRecHits, _siPixelRecHitsGPU)

siPixelRecHitsPreSplitting = siPixelRecHits.clone(
src = 'siPixelClustersPreSplitting'
)

0 comments on commit 513ec3b

Please sign in to comment.