CMS 3D CMS Logo

SiPixelPhase1HeterogenousDQM_FirstStep_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
5 
6 monitorpixelSoASource = cms.Sequence(siPixelPhase1MonitorRecHitsSoA * siPixelPhase1MonitorTrackSoA * siPixelPhase1MonitorVertexSoA)
7 
8 #Define the sequence for GPU vs CPU validation
9 #This should run:- individual monitor for the 2 collections + comparison module
13 
14 siPixelPhase1MonitorTrackSoACPU = siPixelPhase1MonitorTrackSoA.clone(
15  pixelTrackSrc = 'pixelTracksSoA@cpu',
16  topFolderName = 'SiPixelHeterogeneous/PixelTrackSoACPU',
17 )
18 
19 siPixelPhase1MonitorTrackSoAGPU = siPixelPhase1MonitorTrackSoA.clone(
20  pixelTrackSrc = 'pixelTracksSoA@cuda',
21  topFolderName = 'SiPixelHeterogeneous/PixelTrackSoAGPU',
22 )
23 
24 siPixelPhase1MonitorVertexSoACPU = siPixelPhase1MonitorVertexSoA.clone(
25  pixelVertexSrc = 'pixelVerticesSoA@cpu',
26  topFolderName = 'SiPixelHeterogeneous/PixelVertexSoACPU',
27 )
28 
29 siPixelPhase1MonitorVertexSoAGPU = siPixelPhase1MonitorVertexSoA.clone(
30  pixelVertexSrc = 'pixelVerticesSoA@cuda',
31  topFolderName = 'SiPixelHeterogeneous/PixelVertexSoAGPU',
32 )
33 
34 siPixelPhase1MonitorRecHitsSoACPU = siPixelPhase1MonitorRecHitsSoA.clone(
35  pixelHitsSrc = "siPixelRecHitsPreSplittingSoA@cpu",
36  TopFolderName = "SiPixelHeterogeneous/PixelRecHitsSoACPU"
37 )
38 
39 siPixelPhase1MonitorRecHitsSoAGPU = siPixelPhase1MonitorRecHitsSoA.clone(
40  pixelHitsSrc = "siPixelRecHitsPreSplittingSoA@cuda",
41  TopFolderName = "SiPixelHeterogeneous/PixelRecHitsSoAGPU"
42 )
43 
44 monitorpixelSoACompareSource = cms.Sequence(siPixelPhase1MonitorRecHitsSoACPU *
45  siPixelPhase1MonitorRecHitsSoAGPU *
46  siPixelPhase1CompareRecHitsSoA *
47  siPixelPhase1MonitorTrackSoAGPU *
48  siPixelPhase1MonitorTrackSoACPU *
49  siPixelPhase1CompareTrackSoA *
50  siPixelPhase1MonitorVertexSoACPU *
51  siPixelPhase1MonitorVertexSoAGPU *
52  siPixelPhase1CompareVertexSoA
53 )
54 
55 from Configuration.ProcessModifiers.gpuValidationPixel_cff import gpuValidationPixel
56 gpuValidationPixel.toReplaceWith(monitorpixelSoASource, monitorpixelSoACompareSource)