2 import FWCore.ParameterSet.Config
as cms
12 monitorpixelSoASource = cms.Sequence(siPixelPhase1MonitorRecHitsSoA * siPixelPhase1MonitorTrackSoA * siPixelMonitorVertexSoA)
15 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
16 _monitorpixelSoARecHitsSource = cms.Sequence(siPixelPhase2MonitorRecHitsSoA * siPixelPhase2MonitorTrackSoA * siPixelMonitorVertexSoA)
17 phase2_tracker.toReplaceWith(monitorpixelSoASource, _monitorpixelSoARecHitsSource)
20 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
22 _monitorpixelSoARecHitsSourceHIon = cms.Sequence(siPixelHIonPhase1MonitorRecHitsSoA * siPixelHIonPhase1MonitorTrackSoA * siPixelMonitorVertexSoA)
23 (pp_on_AA & ~phase2_tracker).toReplaceWith(monitorpixelSoASource, _monitorpixelSoARecHitsSourceHIon)
38 SiPixelPhase1RawDataConfForCPU = copy.deepcopy(SiPixelPhase1RawDataConf)
39 for pset
in SiPixelPhase1RawDataConfForCPU:
40 pset.topFolderName =
"SiPixelHeterogeneous/PixelErrorsCPU" 42 siPixelPhase1MonitorRawDataACPU = SiPixelPhase1RawDataAnalyzer.clone(
43 src =
"siPixelDigis@cpu",
44 histograms = SiPixelPhase1RawDataConfForCPU
47 SiPixelPhase1RawDataConfForGPU = copy.deepcopy(SiPixelPhase1RawDataConf)
48 for pset
in SiPixelPhase1RawDataConfForGPU:
49 pset.topFolderName =
"SiPixelHeterogeneous/PixelErrorsGPU" 51 siPixelPhase1MonitorRawDataAGPU = SiPixelPhase1RawDataAnalyzer.clone(
52 src =
"siPixelDigis@cuda",
53 histograms =SiPixelPhase1RawDataConfForGPU
57 siPixelPhase1MonitorRecHitsSoACPU = siPixelPhase1MonitorRecHitsSoA.clone(
58 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cpu",
59 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoACPU" 62 siPixelPhase1MonitorRecHitsSoAGPU = siPixelPhase1MonitorRecHitsSoA.clone(
63 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cuda",
64 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoAGPU" 67 siPixelPhase2MonitorRecHitsSoACPU = siPixelPhase2MonitorRecHitsSoA.clone(
68 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cpu",
69 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoACPU" 72 siPixelPhase2MonitorRecHitsSoAGPU = siPixelPhase2MonitorRecHitsSoA.clone(
73 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cuda",
74 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoAGPU" 77 siPixelHIonPhase1MonitorRecHitsSoACPU = siPixelHIonPhase1MonitorRecHitsSoA.clone(
78 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cpu",
79 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoACPU" 82 siPixelHIonPhase1MonitorRecHitsSoAGPU = siPixelHIonPhase1MonitorRecHitsSoA.clone(
83 pixelHitsSrc =
"siPixelRecHitsPreSplittingSoA@cuda",
84 TopFolderName =
"SiPixelHeterogeneous/PixelRecHitsSoAGPU" 88 siPixelPhase1MonitorTrackSoACPU = siPixelPhase1MonitorTrackSoA.clone(
89 pixelTrackSrc =
'pixelTracksSoA@cpu',
90 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoACPU',
93 siPixelPhase1MonitorTrackSoAGPU = siPixelPhase1MonitorTrackSoA.clone(
94 pixelTrackSrc =
'pixelTracksSoA@cuda',
95 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoAGPU',
98 siPixelPhase2MonitorTrackSoACPU = siPixelPhase2MonitorTrackSoA.clone(
99 pixelTrackSrc =
'pixelTracksSoA@cpu',
100 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoACPU',
103 siPixelPhase2MonitorTrackSoAGPU = siPixelPhase2MonitorTrackSoA.clone(
104 pixelTrackSrc =
'pixelTracksSoA@cuda',
105 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoAGPU',
108 siPixelHIonPhase1MonitorTrackSoACPU = siPixelHIonPhase1MonitorTrackSoA.clone(
109 pixelTrackSrc =
'pixelTracksSoA@cpu',
110 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoACPU',
113 siPixelHIonPhase1MonitorTrackSoAGPU = siPixelHIonPhase1MonitorTrackSoA.clone(
114 pixelTrackSrc =
'pixelTracksSoA@cuda',
115 topFolderName =
'SiPixelHeterogeneous/PixelTrackSoAGPU',
119 siPixelMonitorVertexSoACPU = siPixelMonitorVertexSoA.clone(
120 pixelVertexSrc =
'pixelVerticesSoA@cpu',
121 topFolderName =
'SiPixelHeterogeneous/PixelVertexSoACPU',
124 siPixelMonitorVertexSoAGPU = siPixelMonitorVertexSoA.clone(
125 pixelVertexSrc =
'pixelVerticesSoA@cuda',
126 topFolderName =
'SiPixelHeterogeneous/PixelVertexSoAGPU',
130 monitorpixelSoACompareSource = cms.Sequence(siPixelPhase1MonitorRawDataACPU *
131 siPixelPhase1MonitorRawDataAGPU *
132 siPixelPhase1MonitorRecHitsSoACPU *
133 siPixelPhase1MonitorRecHitsSoAGPU *
134 siPixelPhase1CompareRecHitsSoA *
135 siPixelPhase1MonitorTrackSoAGPU *
136 siPixelPhase1MonitorTrackSoACPU *
137 siPixelPhase1CompareTrackSoA *
138 siPixelMonitorVertexSoACPU *
139 siPixelMonitorVertexSoAGPU *
140 siPixelCompareVertexSoA *
141 siPixelPhase1RawDataErrorComparator)
144 _monitorpixelSoACompareSource = cms.Sequence(siPixelPhase2MonitorRecHitsSoACPU *
145 siPixelPhase2MonitorRecHitsSoAGPU *
146 siPixelPhase2CompareRecHitsSoA *
147 siPixelPhase2MonitorTrackSoAGPU *
148 siPixelPhase2MonitorTrackSoACPU *
149 siPixelPhase2CompareTrackSoA *
150 siPixelMonitorVertexSoACPU *
151 siPixelMonitorVertexSoAGPU *
152 siPixelCompareVertexSoA)
155 _monitorpixelSoACompareSourceHIonPhase1 = cms.Sequence(siPixelHIonPhase1MonitorRecHitsSoACPU *
156 siPixelHIonPhase1MonitorRecHitsSoAGPU *
157 siPixelHIonPhase1CompareRecHitsSoA *
158 siPixelHIonPhase1MonitorTrackSoAGPU *
159 siPixelHIonPhase1MonitorTrackSoACPU *
160 siPixelHIonPhase1CompareTrackSoA *
161 siPixelMonitorVertexSoACPU *
162 siPixelMonitorVertexSoAGPU *
163 siPixelCompareVertexSoA)
165 phase2_tracker.toReplaceWith(monitorpixelSoACompareSource,_monitorpixelSoACompareSource)
168 gpuValidationPixel.toReplaceWith(monitorpixelSoASource, monitorpixelSoACompareSource)