2 import FWCore.ParameterSet.Config
as cms
6 siPixelClusters = cms.EDProducer(
"SiPixelClusterProducer",
7 SiPixelGainCalibrationServiceParameters,
8 src = cms.InputTag(
"siPixelDigis"),
9 ChannelThreshold = cms.int32(1000),
10 MissCalibrate = cms.untracked.bool(
True),
11 SplitClusters = cms.bool(
False),
12 VCaltoElectronGain = cms.int32(65),
13 VCaltoElectronGain_L1 = cms.int32(65),
14 VCaltoElectronOffset = cms.int32(-414),
15 VCaltoElectronOffset_L1 = cms.int32(-414),
21 payloadType = cms.string(
'Offline'),
23 SeedThreshold = cms.int32(1000),
24 ClusterThreshold = cms.int32(4000),
25 ClusterThreshold_L1 = cms.int32(4000),
27 maxNumberOfClusters = cms.int32(-1),
28 ElectronPerADCGain = cms.double(135.0),
29 Phase2Calibration = cms.bool(
False),
30 Phase2ReadoutMode = cms.int32(-1),
31 Phase2DigiBaseline = cms.double(1200.),
32 Phase2KinkADC = cms.int32(8),
36 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
37 phase1Pixel.toModify(siPixelClusters,
38 VCaltoElectronGain = cms.int32(47),
39 VCaltoElectronGain_L1 = cms.int32(50),
40 VCaltoElectronOffset = cms.int32(-60),
41 VCaltoElectronOffset_L1 = cms.int32(-670),
42 ChannelThreshold = cms.int32(10),
43 SeedThreshold = cms.int32(1000),
44 ClusterThreshold = cms.int32(4000),
45 ClusterThreshold_L1 = cms.int32(2000)
50 from Configuration.Eras.Modifier_phase2_tracker_cff
import phase2_tracker
51 phase2_tracker.toModify(siPixelClusters,
52 src = cms.InputTag(
'simSiPixelDigis',
"Pixel"),
53 MissCalibrate =
False,
54 Phase2Calibration = cms.bool(
True),
55 Phase2ReadoutMode = cms.int32(-1),
56 Phase2DigiBaseline = cms.double(1200.),
57 Phase2KinkADC = cms.int32(8),
58 ElectronPerADCGain = cms.double(600.)
60 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
61 (premix_stage2 & phase2_tracker).toModify(siPixelClusters,