2 import FWCore.ParameterSet.Config
as cms
10 monitorpixelSoASource = cms.Sequence(siPixelPhase1MonitorRecHitsSoA * siPixelPhase1MonitorTrackSoA * siPixelMonitorVertexSoA)
13 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
14 _monitorpixelSoARecHitsSource = cms.Sequence(siPixelPhase2MonitorRecHitsSoA * siPixelPhase2MonitorTrackSoA * siPixelMonitorVertexSoA)
15 phase2_tracker.toReplaceWith(monitorpixelSoASource, _monitorpixelSoARecHitsSource)
28 SiPixelPhase1RawDataConfForCPU = copy.deepcopy(SiPixelPhase1RawDataConf)
29 for pset
in SiPixelPhase1RawDataConfForCPU:
30 pset.topFolderName =
"SiPixelHeterogeneous/PixelErrorsCPU" 32 siPixelPhase1MonitorRawDataACPU = SiPixelPhase1RawDataAnalyzer.clone(
33 src =
"siPixelDigis@cpu",
34 histograms = SiPixelPhase1RawDataConfForCPU
37 SiPixelPhase1RawDataConfForGPU = copy.deepcopy(SiPixelPhase1RawDataConf)
38 for pset
in SiPixelPhase1RawDataConfForGPU:
39 pset.topFolderName =
"SiPixelHeterogeneous/PixelErrorsGPU" 41 siPixelPhase1MonitorRawDataAGPU = SiPixelPhase1RawDataAnalyzer.clone(
42 src =
"siPixelDigis@cuda",
43 histograms =SiPixelPhase1RawDataConfForGPU
47 siPixelPhase1MonitorRecHitsSoACPU = siPixelPhase1MonitorRecHitsSoA.clone(
48 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cpu",
49 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoACPU" 52 siPixelPhase1MonitorRecHitsSoAGPU = siPixelPhase1MonitorRecHitsSoA.clone(
53 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cuda",
54 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoAGPU" 57 siPixelPhase2MonitorRecHitsSoACPU = siPixelPhase2MonitorRecHitsSoA.clone(
58 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cpu",
59 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoACPU" 62 siPixelPhase2MonitorRecHitsSoAGPU = siPixelPhase2MonitorRecHitsSoA.clone(
63 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cuda",
64 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoAGPU" 68 siPixelPhase1MonitorTrackSoACPU = siPixelPhase1MonitorTrackSoA.clone(
69 pixelTrackSrc =
'pixelTracksSoA@cpu',
70 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoACPU',
73 siPixelPhase1MonitorTrackSoAGPU = siPixelPhase1MonitorTrackSoA.clone(
74 pixelTrackSrc =
'pixelTracksSoA@cuda',
75 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoAGPU',
78 siPixelPhase2MonitorTrackSoACPU = siPixelPhase2MonitorTrackSoA.clone(
79 pixelTrackSrc =
'pixelTracksSoA@cpu',
80 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoACPU',
83 siPixelPhase2MonitorTrackSoAGPU = siPixelPhase2MonitorTrackSoA.clone(
84 pixelTrackSrc =
'pixelTracksSoA@cuda',
85 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoAGPU',
89 siPixelMonitorVertexSoACPU = siPixelMonitorVertexSoA.clone(
90 pixelVertexSrc =
'pixelVerticesSoA@cpu',
91 topFolderName =
'SiPixelHeterogeneous/PixelVertexSoACPU',
94 siPixelMonitorVertexSoAGPU = siPixelMonitorVertexSoA.clone(
95 pixelVertexSrc =
'pixelVerticesSoA@cuda',
96 topFolderName =
'SiPixelHeterogeneous/PixelVertexSoAGPU',
100 monitorpixelSoACompareSource = cms.Sequence(siPixelPhase1MonitorRawDataACPU *
101 siPixelPhase1MonitorRawDataAGPU *
102 siPixelPhase1MonitorRecHitsSoACPU *
103 siPixelPhase1MonitorRecHitsSoAGPU *
104 siPixelPhase1CompareRecHitsSoA *
105 siPixelPhase1MonitorTrackSoAGPU *
106 siPixelPhase1MonitorTrackSoACPU *
107 siPixelPhase1CompareTrackSoA *
108 siPixelMonitorVertexSoACPU *
109 siPixelMonitorVertexSoAGPU *
110 siPixelCompareVertexSoA *
111 siPixelPhase1RawDataErrorComparator)
114 _monitorpixelSoACompareSource = cms.Sequence(siPixelPhase2MonitorRecHitsSoACPU *
115 siPixelPhase2MonitorRecHitsSoAGPU *
116 siPixelPhase2CompareRecHitsSoA *
117 siPixelPhase2MonitorTrackSoAGPU *
118 siPixelPhase2MonitorTrackSoACPU *
119 siPixelPhase2CompareTrackSoA *
120 siPixelMonitorVertexSoACPU *
121 siPixelMonitorVertexSoAGPU *
122 siPixelCompareVertexSoA)
124 phase2_tracker.toReplaceWith(monitorpixelSoACompareSource,_monitorpixelSoACompareSource)
127 gpuValidationPixel.toReplaceWith(monitorpixelSoASource, monitorpixelSoACompareSource)