Skip to content

Commit

Permalink
mininal fixes to run patatrack pixel only workflows without using pha…
Browse files Browse the repository at this point in the history
…se-1 pixel conditions
  • Loading branch information
mmusich committed Sep 20, 2023
1 parent df70e9e commit 8b7f3db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Configuration/StandardSequences/python/RawToDigi_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@
RawToDigiTask_pixelOnly = cms.Task(siPixelDigisTask, scalersRawToDigi)
RawToDigi_pixelOnly = cms.Sequence(RawToDigiTask_pixelOnly)

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
# Remove siPixelDigis until we have phase2 pixel digis
phase2_tracker.toReplaceWith(RawToDigiTask_pixelOnly, cms.Task()) # FIXME

RawToDigiTask_ecalOnly = cms.Task(ecalDigisTask, ecalPreshowerDigis, scalersRawToDigi)
RawToDigi_ecalOnly = cms.Sequence(RawToDigiTask_ecalOnly)

Expand All @@ -86,7 +90,6 @@
from Configuration.Eras.Modifier_run3_common_cff import run3_common
run3_common.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([castorDigis]))

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
# Remove siPixelDigis until we have phase2 pixel digis
# No Strips in the Phase-2 tracker
phase2_tracker.toReplaceWith(RawToDigiTask, RawToDigiTask.copyAndExclude([siPixelDigis,siStripDigis])) # FIXME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
cpu = _siPixelClusters.clone()
)

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
from Configuration.ProcessModifiers.gpu_cff import gpu
# SwitchProducer wrapping the legacy pixel cluster producer or an alias for the pixel clusters information converted from SoA
gpu.toModify(siPixelClustersPreSplitting,
(gpu & ~phase2_tracker).toModify(siPixelClustersPreSplitting,
# ensure the same results when running on GPU (which supports only the 'HLT' payload) and CPU
cpu = dict(
payloadType = 'HLT'
Expand Down

0 comments on commit 8b7f3db

Please sign in to comment.