CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BeamSpot_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 from RecoVertex.BeamSpotProducer.offlineBeamSpotToCUDA_cfi import offlineBeamSpotToCUDA
5 
6 offlineBeamSpotTask = cms.Task(offlineBeamSpot)
7 
8 from Configuration.ProcessModifiers.gpu_cff import gpu
9 _offlineBeamSpotTask_gpu = offlineBeamSpotTask.copy()
10 _offlineBeamSpotTask_gpu.add(offlineBeamSpotToCUDA)
11 gpu.toReplaceWith(offlineBeamSpotTask, _offlineBeamSpotTask_gpu)