2 import FWCore.ParameterSet.Config
as cms
4 from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizerDefault_cfi
import SiPixelClusterizerDefault
as _SiPixelClusterizerDefault
5 siPixelClusters = _SiPixelClusterizerDefault.clone()
8 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
9 phase1Pixel.toModify(siPixelClusters,
10 VCaltoElectronGain = 47,
11 VCaltoElectronGain_L1 = 50,
12 VCaltoElectronOffset = -60,
13 VCaltoElectronOffset_L1 = -670,
14 ChannelThreshold = 10,
16 ClusterThreshold = 4000,
17 ClusterThreshold_L1 = 2000
21 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
22 phase2_tracker.toModify(siPixelClusters,
23 src =
'simSiPixelDigis:Pixel',
24 MissCalibrate =
False,
25 Phase2Calibration =
True,
26 Phase2ReadoutMode = -1,
27 Phase2DigiBaseline = 1200.,
29 ElectronPerADCGain = 600.
31 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
32 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,