CMS 3D CMS Logo

RecoPixelVertexing_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 #
5 # for STARTUP ONLY use try and use Offline 3D PV from pixelTracks, with adaptive vertex
6 #
8 #from RecoVertex.PrimaryVertexProducer.OfflinePixel3DPrimaryVertices_cfi import *
9 recopixelvertexingTask = cms.Task(pixelTracksTask,pixelVertices)
10 recopixelvertexing = cms.Sequence(recopixelvertexingTask)
11 
12 from Configuration.ProcessModifiers.gpu_cff import gpu
13 
14 from RecoPixelVertexing.PixelVertexFinding.pixelVertexCUDA_cfi import pixelVertexCUDA
15 from RecoPixelVertexing.PixelVertexFinding.pixelVertexSoA_cfi import pixelVertexSoA
16 from RecoPixelVertexing.PixelVertexFinding.pixelVertexFromSoA_cfi import pixelVertexFromSoA as _pixelVertexFromSoA
17 
18 _pixelVertexingCUDATask = cms.Task(pixelTracksTask,pixelVertexCUDA,pixelVertexSoA,pixelVertices)
19 
20 # pixelVertexSoAonCPU = pixelVertexCUDA.clone()
21 # pixelVertexSoAonCPU.onGPU = False;
22 
23 gpu.toReplaceWith(pixelVertices,_pixelVertexFromSoA)
24 gpu.toReplaceWith(recopixelvertexingTask,_pixelVertexingCUDATask)
PixelTracks_cff
PixelVertexes_cff