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,
28 ClusterThreshold_L1 = 4000
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 DropDuplicates =
False,
37 MissCalibrate =
False,
38 Phase2Calibration =
True,
39 Phase2ReadoutMode = PixelDigitizerAlgorithmCommon.Phase2ReadoutMode.value(),
40 Phase2DigiBaseline = PixelDigitizerAlgorithmCommon.ThresholdInElectrons_Barrel.value(),
42 ElectronPerADCGain = PixelDigitizerAlgorithmCommon.ElectronPerAdc.value()
44 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
45 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,
48 from Configuration.ProcessModifiers.pixelNtupletFit_cff
import pixelNtupletFit
49 (phase2_tracker & pixelNtupletFit).toModify(siPixelClusters,
50 DropDuplicates =
False