Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-21 03:38:47

0001 import FWCore.ParameterSet.Config as cms
0002 from DQM.SiPixelPhase1Heterogeneous.siPixelPhase1MonitorTrackSoA_cfi import *
0003 from DQM.SiPixelPhase1Heterogeneous.siPixelPhase1MonitorVertexSoA_cfi import *
0004 from DQM.SiPixelPhase1Heterogeneous.siPixelPhase1MonitorRecHitsSoA_cfi import *
0005 
0006 monitorpixelSoASource = cms.Sequence(siPixelPhase1MonitorRecHitsSoA * siPixelPhase1MonitorTrackSoA * siPixelPhase1MonitorVertexSoA)
0007 
0008 #Define the sequence for GPU vs CPU validation
0009 #This should run:- individual monitor for the 2 collections + comparison module
0010 from DQM.SiPixelPhase1Heterogeneous.siPixelPhase1CompareTrackSoA_cfi import *
0011 from DQM.SiPixelPhase1Heterogeneous.siPixelPhase1CompareVertexSoA_cfi import *
0012 from DQM.SiPixelPhase1Heterogeneous.siPixelPhase1CompareRecHitsSoA_cfi import *
0013 
0014 siPixelPhase1MonitorTrackSoACPU = siPixelPhase1MonitorTrackSoA.clone(
0015   pixelTrackSrc = 'pixelTracksSoA@cpu',
0016   topFolderName = 'SiPixelHeterogeneous/PixelTrackSoACPU',
0017 )
0018 
0019 siPixelPhase1MonitorTrackSoAGPU = siPixelPhase1MonitorTrackSoA.clone(
0020   pixelTrackSrc = 'pixelTracksSoA@cuda',
0021   topFolderName = 'SiPixelHeterogeneous/PixelTrackSoAGPU',
0022 )
0023 
0024 siPixelPhase1MonitorVertexSoACPU = siPixelPhase1MonitorVertexSoA.clone(
0025   pixelVertexSrc = 'pixelVerticesSoA@cpu',
0026   topFolderName = 'SiPixelHeterogeneous/PixelVertexSoACPU',
0027 )
0028 
0029 siPixelPhase1MonitorVertexSoAGPU = siPixelPhase1MonitorVertexSoA.clone(
0030   pixelVertexSrc = 'pixelVerticesSoA@cuda',
0031   topFolderName = 'SiPixelHeterogeneous/PixelVertexSoAGPU',
0032 )
0033 
0034 siPixelPhase1MonitorRecHitsSoACPU = siPixelPhase1MonitorRecHitsSoA.clone(
0035  pixelHitsSrc = "siPixelRecHitsPreSplittingSoA@cpu",
0036  TopFolderName = "SiPixelHeterogeneous/PixelRecHitsSoACPU"
0037 )
0038 
0039 siPixelPhase1MonitorRecHitsSoAGPU = siPixelPhase1MonitorRecHitsSoA.clone(
0040  pixelHitsSrc = "siPixelRecHitsPreSplittingSoA@cuda",
0041  TopFolderName = "SiPixelHeterogeneous/PixelRecHitsSoAGPU"
0042 )
0043 
0044 monitorpixelSoACompareSource = cms.Sequence(siPixelPhase1MonitorRecHitsSoACPU *
0045                                             siPixelPhase1MonitorRecHitsSoAGPU *
0046                                             siPixelPhase1CompareRecHitsSoA *
0047                                             siPixelPhase1MonitorTrackSoAGPU *
0048                                             siPixelPhase1MonitorTrackSoACPU *
0049                                             siPixelPhase1CompareTrackSoA *
0050                                             siPixelPhase1MonitorVertexSoACPU *
0051                                             siPixelPhase1MonitorVertexSoAGPU *
0052                                             siPixelPhase1CompareVertexSoA
0053 )
0054 
0055 from Configuration.ProcessModifiers.gpuValidationPixel_cff import gpuValidationPixel
0056 gpuValidationPixel.toReplaceWith(monitorpixelSoASource, monitorpixelSoACompareSource)