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,
18 gpu.toModify(siPixelDigis,
20 siPixelDigiErrors = cms.VPSet(
21 cms.PSet(type = cms.string(
"DetIdedmEDCollection")),
22 cms.PSet(type = cms.string(
"SiPixelRawDataErroredmDetSetVector")),
23 cms.PSet(type = cms.string(
"PixelFEDChanneledmNewDetSetVector"))
25 siPixelDigisClustersPreSplitting = cms.VPSet(
26 cms.PSet(type = cms.string(
"PixelDigiedmDetSetVector"))