1 import FWCore.ParameterSet.Config
as cms
2 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
6 from CalibTracker.SiPixelESProducers.siPixelROCsStatusAndMappingWrapperESProducer_cfi
import siPixelROCsStatusAndMappingWrapperESProducer
7 from CalibTracker.SiPixelESProducers.siPixelGainCalibrationForHLTGPU_cfi
import siPixelGainCalibrationForHLTGPU
12 siPixelClustersPreSplittingTask = cms.Task(
14 siPixelClustersPreSplitting
18 from RecoLocalTracker.SiPixelClusterizer.siPixelRawToClusterCUDA_cfi
import siPixelRawToClusterCUDA
as _siPixelRawToClusterCUDA
19 siPixelClustersPreSplittingCUDA = _siPixelRawToClusterCUDA.clone()
21 run3_common.toModify(siPixelClustersPreSplittingCUDA,
24 clusterThreshold_layer1 = 4000)
27 from RecoLocalTracker.SiPixelClusterizer.siPixelDigisClustersFromSoAPhase1_cfi
import siPixelDigisClustersFromSoAPhase1
as _siPixelDigisClustersFromSoAPhase1
28 from RecoLocalTracker.SiPixelClusterizer.siPixelDigisClustersFromSoAPhase2_cfi
import siPixelDigisClustersFromSoAPhase2
as _siPixelDigisClustersFromSoAPhase2
30 siPixelDigisClustersPreSplitting = _siPixelDigisClustersFromSoAPhase1.clone()
32 run3_common.toModify(siPixelDigisClustersPreSplitting,
33 clusterThreshold_layer1 = 4000)
35 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
37 gpu.toReplaceWith(siPixelClustersPreSplittingTask, cms.Task(
39 siPixelROCsStatusAndMappingWrapperESProducer,
40 siPixelGainCalibrationForHLTGPU,
42 siPixelClustersPreSplittingCUDA,
44 siPixelDigisClustersPreSplitting,
46 siPixelClustersPreSplittingTask.copy()
49 from RecoLocalTracker.SiPixelClusterizer.siPixelPhase2DigiToClusterCUDA_cfi
import siPixelPhase2DigiToClusterCUDA
as _siPixelPhase2DigiToClusterCUDA
53 phase2_tracker.toReplaceWith(siPixelClustersPreSplittingCUDA,_siPixelPhase2DigiToClusterCUDA.clone())
55 from EventFilter.SiPixelRawToDigi.siPixelDigisSoAFromCUDA_cfi
import siPixelDigisSoAFromCUDA
as _siPixelDigisSoAFromCUDA
56 siPixelDigisPhase2SoA = _siPixelDigisSoAFromCUDA.clone(
57 src =
"siPixelClustersPreSplittingCUDA" 60 phase2_tracker.toReplaceWith(siPixelDigisClustersPreSplitting, _siPixelDigisClustersFromSoAPhase2.clone(
61 clusterThreshold_layer1 = 4000,
62 clusterThreshold_otherLayers = 4000,
63 src =
"siPixelDigisPhase2SoA",
67 (gpu & phase2_tracker).toReplaceWith(siPixelClustersPreSplittingTask, cms.Task(
69 siPixelClustersPreSplittingCUDA,
71 siPixelDigisPhase2SoA,
73 siPixelDigisClustersPreSplitting,
75 siPixelClustersPreSplitting))