Skip to content

Commit

Permalink
take the list of SiStrip FED errors from RAW' in case of the approxim…
Browse files Browse the repository at this point in the history
…ated cluster workflow
  • Loading branch information
mmusich committed Aug 8, 2023
1 parent 4e3c70e commit e6f3888
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
badPixelFEDChannelCollectionLabels = ['siPixelDigis'],
)

# in case of RAW' (approximated SiStrip clusters)
# take the list of inactive strip labels directly from RAW data
from Configuration.ProcessModifiers.approxSiStripClusters_cff import approxSiStripClusters
approxSiStripClusters.toModify(MeasurementTrackerEvent,
inactiveStripDetectorLabels = ["siStripDigisHLT"])

# This customization will be removed once we have phase2 pixel digis
# Need this line to stop error about missing siPixelDigis
from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
Expand All @@ -31,4 +37,9 @@

MeasurementTrackerEventPreSplitting = MeasurementTrackerEvent.clone(
pixelClusterProducer = 'siPixelClustersPreSplitting'
)
)

# in case of RAW' (approximated SiStrip clusters)
# take the list of inactive strip labels directly from RAW data
approxSiStripClusters.toModify(MeasurementTrackerEventPreSplitting,
inactiveStripDetectorLabels = ["siStripDigisHLT"])

0 comments on commit e6f3888

Please sign in to comment.