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.siPixelDigisClustersFromSoA_cfi
import siPixelDigisClustersFromSoA
as _siPixelDigisClustersFromSoA
28 siPixelDigisClustersPreSplitting = _siPixelDigisClustersFromSoA.clone()
30 run3_common.toModify(siPixelDigisClustersPreSplitting,
31 clusterThreshold_layer1 = 4000)
33 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
35 (gpu & ~phase2_tracker).toReplaceWith(siPixelClustersPreSplittingTask, cms.Task(
37 siPixelROCsStatusAndMappingWrapperESProducer,
38 siPixelGainCalibrationForHLTGPU,
40 siPixelClustersPreSplittingCUDA,
42 siPixelDigisClustersPreSplitting,
44 siPixelClustersPreSplittingTask.copy()
47 from RecoLocalTracker.SiPixelClusterizer.siPixelPhase2DigiToClusterCUDA_cfi
import siPixelPhase2DigiToClusterCUDA
as _siPixelPhase2DigiToClusterCUDA
51 phase2_tracker.toReplaceWith(siPixelClustersPreSplittingCUDA,_siPixelPhase2DigiToClusterCUDA.clone())
53 from EventFilter.SiPixelRawToDigi.siPixelDigisSoAFromCUDA_cfi
import siPixelDigisSoAFromCUDA
as _siPixelDigisSoAFromCUDA
54 siPixelDigisPhase2SoA = _siPixelDigisSoAFromCUDA.clone(
55 src =
"siPixelClustersPreSplittingCUDA" 58 phase2_tracker.toModify(siPixelDigisClustersPreSplitting,
59 clusterThreshold_layer1 = 4000,
60 clusterThreshold_otherLayers = 4000,
61 src =
"siPixelDigisPhase2SoA",
64 (gpu & phase2_tracker).toReplaceWith(siPixelClustersPreSplittingTask, cms.Task(
66 siPixelClustersPreSplittingCUDA,
68 siPixelDigisPhase2SoA,
70 siPixelDigisClustersPreSplitting,
72 siPixelClustersPreSplitting))