1 import FWCore.ParameterSet.Config
as cms
2 from HeterogeneousCore.CUDACore.SwitchProducerCUDA
import SwitchProducerCUDA
3 from Configuration.ProcessModifiers.gpu_cff
import gpu
6 from EventFilter.SiPixelRawToDigi.siPixelRawToDigi_cfi
import siPixelRawToDigi
as _siPixelRawToDigi
8 cpu = _siPixelRawToDigi.clone()
12 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
13 phase1Pixel.toModify(siPixelDigis.cpu,
17 from Configuration.ProcessModifiers.siPixelQualityRawToDigi_cff
import siPixelQualityRawToDigi
18 siPixelQualityRawToDigi.toModify(siPixelDigis.cpu,
19 UseQualityInfo =
True,
20 SiPixelQualityLabel =
'forRawToDigi',
25 gpu.toModify(siPixelDigis,
27 siPixelDigiErrors = cms.VPSet(
28 cms.PSet(type = cms.string(
"DetIdedmEDCollection")),
29 cms.PSet(type = cms.string(
"SiPixelRawDataErroredmDetSetVector")),
30 cms.PSet(type = cms.string(
"PixelFEDChanneledmNewDetSetVector"))
32 siPixelDigisClustersPreSplitting = cms.VPSet(
33 cms.PSet(type = cms.string(
"PixelDigiedmDetSetVector"))