1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.ProcessModifiers.gpu_cff
import gpu
5 from RecoLocalCalo.EcalRecProducers.ecalMultiFitUncalibRecHit_cfi
import ecalMultiFitUncalibRecHit
7 ecalMultiFitUncalibRecHitTask = cms.Task(ecalMultiFitUncalibRecHit)
10 from RecoLocalCalo.EcalRecProducers.ecalPedestalsGPUESProducer_cfi
import ecalPedestalsGPUESProducer
11 from RecoLocalCalo.EcalRecProducers.ecalGainRatiosGPUESProducer_cfi
import ecalGainRatiosGPUESProducer
12 from RecoLocalCalo.EcalRecProducers.ecalPulseShapesGPUESProducer_cfi
import ecalPulseShapesGPUESProducer
13 from RecoLocalCalo.EcalRecProducers.ecalPulseCovariancesGPUESProducer_cfi
import ecalPulseCovariancesGPUESProducer
14 from RecoLocalCalo.EcalRecProducers.ecalSamplesCorrelationGPUESProducer_cfi
import ecalSamplesCorrelationGPUESProducer
15 from RecoLocalCalo.EcalRecProducers.ecalTimeBiasCorrectionsGPUESProducer_cfi
import ecalTimeBiasCorrectionsGPUESProducer
16 from RecoLocalCalo.EcalRecProducers.ecalTimeCalibConstantsGPUESProducer_cfi
import ecalTimeCalibConstantsGPUESProducer
17 from RecoLocalCalo.EcalRecProducers.ecalMultifitParametersGPUESProducer_cfi
import ecalMultifitParametersGPUESProducer
20 from RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitProducerGPU_cfi
import ecalUncalibRecHitProducerGPU
as _ecalUncalibRecHitProducerGPU
21 ecalMultiFitUncalibRecHitGPU = _ecalUncalibRecHitProducerGPU.clone(
22 digisLabelEB = cms.InputTag(
'ecalDigisGPU',
'ebDigis'),
23 digisLabelEE = cms.InputTag(
'ecalDigisGPU',
'eeDigis'),
27 from RecoLocalCalo.EcalRecProducers.ecalCPUUncalibRecHitProducer_cfi
import ecalCPUUncalibRecHitProducer
as _ecalCPUUncalibRecHitProducer
28 ecalMultiFitUncalibRecHitSoA = _ecalCPUUncalibRecHitProducer.clone(
29 recHitsInLabelEB = cms.InputTag(
'ecalMultiFitUncalibRecHitGPU',
'EcalUncalibRecHitsEB'),
30 recHitsInLabelEE = cms.InputTag(
'ecalMultiFitUncalibRecHitGPU',
'EcalUncalibRecHitsEE'),
34 from RecoLocalCalo.EcalRecProducers.ecalUncalibRecHitConvertGPU2CPUFormat_cfi
import ecalUncalibRecHitConvertGPU2CPUFormat
as _ecalUncalibRecHitConvertGPU2CPUFormat
35 _ecalMultiFitUncalibRecHit_gpu = _ecalUncalibRecHitConvertGPU2CPUFormat.clone(
36 recHitsLabelGPUEB = cms.InputTag(
'ecalMultiFitUncalibRecHitSoA',
'EcalUncalibRecHitsEB'),
37 recHitsLabelGPUEE = cms.InputTag(
'ecalMultiFitUncalibRecHitSoA',
'EcalUncalibRecHitsEE'),
39 gpu.toReplaceWith(ecalMultiFitUncalibRecHit, _ecalMultiFitUncalibRecHit_gpu)
41 gpu.toReplaceWith(ecalMultiFitUncalibRecHitTask, cms.Task(
43 ecalPedestalsGPUESProducer,
44 ecalGainRatiosGPUESProducer,
45 ecalPulseShapesGPUESProducer,
46 ecalPulseCovariancesGPUESProducer,
47 ecalSamplesCorrelationGPUESProducer,
48 ecalTimeBiasCorrectionsGPUESProducer,
49 ecalTimeCalibConstantsGPUESProducer,
50 ecalMultifitParametersGPUESProducer,
52 ecalMultiFitUncalibRecHitGPU,
54 ecalMultiFitUncalibRecHitSoA,
56 ecalMultiFitUncalibRecHit,