1 import FWCore.ParameterSet.Config
as cms
3 from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizerDefault_cfi
import SiPixelClusterizerDefault
as _SiPixelClusterizerDefault
4 siPixelClusters = _SiPixelClusterizerDefault.clone()
7 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
8 phase1Pixel.toModify(siPixelClusters,
9 VCaltoElectronGain = 47,
10 VCaltoElectronGain_L1 = 50,
11 VCaltoElectronOffset = -60,
12 VCaltoElectronOffset_L1 = -670,
13 ChannelThreshold = 10,
15 ClusterThreshold = 4000,
16 ClusterThreshold_L1 = 2000
22 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
23 run3_common.toModify(siPixelClusters,
24 VCaltoElectronGain = 1,
25 VCaltoElectronGain_L1 = 1,
26 VCaltoElectronOffset = 0,
27 VCaltoElectronOffset_L1 = 0
32 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
33 from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi
import PixelDigitizerAlgorithmCommon
34 phase2_tracker.toModify(siPixelClusters,
35 src =
'simSiPixelDigis:Pixel',
36 MissCalibrate =
False,
37 Phase2Calibration =
True,
38 Phase2ReadoutMode = PixelDigitizerAlgorithmCommon.Phase2ReadoutMode.value(),
39 Phase2DigiBaseline = PixelDigitizerAlgorithmCommon.ThresholdInElectrons_Barrel.value(),
41 ElectronPerADCGain = PixelDigitizerAlgorithmCommon.ElectronPerAdc.value()
43 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
44 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,