1 import FWCore.ParameterSet.Config
as cms
2 from HeterogeneousCore.CUDACore.SwitchProducerCUDA
import SwitchProducerCUDA
3 from Configuration.ProcessModifiers.gpu_cff
import gpu
8 cpu = _ecalRecHit.clone()
11 ecalCalibratedRecHitTask = cms.Task(
16 from RecoLocalCalo.EcalRecProducers.ecalRechitADCToGeVConstantGPUESProducer_cfi
import ecalRechitADCToGeVConstantGPUESProducer
17 from RecoLocalCalo.EcalRecProducers.ecalRechitChannelStatusGPUESProducer_cfi
import ecalRechitChannelStatusGPUESProducer
18 from RecoLocalCalo.EcalRecProducers.ecalIntercalibConstantsGPUESProducer_cfi
import ecalIntercalibConstantsGPUESProducer
19 from RecoLocalCalo.EcalRecProducers.ecalLaserAPDPNRatiosGPUESProducer_cfi
import ecalLaserAPDPNRatiosGPUESProducer
20 from RecoLocalCalo.EcalRecProducers.ecalLaserAPDPNRatiosRefGPUESProducer_cfi
import ecalLaserAPDPNRatiosRefGPUESProducer
21 from RecoLocalCalo.EcalRecProducers.ecalLaserAlphasGPUESProducer_cfi
import ecalLaserAlphasGPUESProducer
22 from RecoLocalCalo.EcalRecProducers.ecalLinearCorrectionsGPUESProducer_cfi
import ecalLinearCorrectionsGPUESProducer
23 from RecoLocalCalo.EcalRecProducers.ecalRecHitParametersGPUESProducer_cfi
import ecalRecHitParametersGPUESProducer
26 from RecoLocalCalo.EcalRecProducers.ecalRecHitGPU_cfi
import ecalRecHitGPU
as _ecalRecHitGPU
27 ecalRecHitGPU = _ecalRecHitGPU.clone(
28 uncalibrecHitsInLabelEB = cms.InputTag(
'ecalMultiFitUncalibRecHitGPU',
'EcalUncalibRecHitsEB'),
29 uncalibrecHitsInLabelEE = cms.InputTag(
'ecalMultiFitUncalibRecHitGPU',
'EcalUncalibRecHitsEE')
33 from RecoLocalCalo.EcalRecProducers.ecalCPURecHitProducer_cfi
import ecalCPURecHitProducer
as _ecalCPURecHitProducer
34 ecalRecHitSoA = _ecalCPURecHitProducer.clone(
35 recHitsInLabelEB = cms.InputTag(
'ecalRecHitGPU',
'EcalRecHitsEB'),
36 recHitsInLabelEE = cms.InputTag(
'ecalRecHitGPU',
'EcalRecHitsEE')
51 gpu.toReplaceWith(ecalCalibratedRecHitTask, cms.Task(
53 ecalRechitADCToGeVConstantGPUESProducer,
54 ecalRechitChannelStatusGPUESProducer,
55 ecalIntercalibConstantsGPUESProducer,
56 ecalLaserAPDPNRatiosGPUESProducer,
57 ecalLaserAPDPNRatiosRefGPUESProducer,
58 ecalLaserAlphasGPUESProducer,
59 ecalLinearCorrectionsGPUESProducer,
60 ecalRecHitParametersGPUESProducer,