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 phase2_tracker.toModify(siPixelClusters,
34 src =
'simSiPixelDigis:Pixel',
35 MissCalibrate =
False,
36 Phase2Calibration =
True,
37 Phase2ReadoutMode = -1,
38 Phase2DigiBaseline = 1200.,
40 ElectronPerADCGain = 600.
42 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
43 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,