Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoVertex.BeamSpotProducer.BeamSpot_cfi import *
0004 from RecoVertex.BeamSpotProducer.offlineBeamSpotToCUDA_cfi import offlineBeamSpotToCUDA
0005 
0006 offlineBeamSpotTask = cms.Task(offlineBeamSpot)
0007 
0008 from Configuration.ProcessModifiers.gpu_cff import gpu
0009 _offlineBeamSpotTask_gpu = offlineBeamSpotTask.copy()
0010 _offlineBeamSpotTask_gpu.add(offlineBeamSpotToCUDA)
0011 gpu.toReplaceWith(offlineBeamSpotTask, _offlineBeamSpotTask_gpu)