1 import FWCore.ParameterSet.Config
as cms
3 PixelDigitizerAlgorithmCommon = cms.PSet(
4 ElectronPerAdc = cms.double(1500.0),
5 ReadoutNoiseInElec = cms.double(-99.9),
6 ThresholdInElectrons_Barrel = cms.double(1000.0),
7 ThresholdInElectrons_Endcap = cms.double(1000.0),
8 AddThresholdSmearing = cms.bool(
False),
9 ThresholdSmearing_Barrel = cms.double(0.0),
10 ThresholdSmearing_Endcap = cms.double(0.0),
11 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
12 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
13 NoiseInElectrons = cms.double(0.0),
14 Phase2ReadoutMode = cms.int32(3),
15 AdcFullScale = cms.int32(15),
16 TofUpperCut = cms.double(20.),
17 TofLowerCut = cms.double(-5.),
18 AddNoisyPixels = cms.bool(
False),
19 Alpha2Order = cms.bool(
True),
20 AddNoise = cms.bool(
False),
21 AddXTalk = cms.bool(
False),
22 InterstripCoupling = cms.double(0.0),
23 Odd_row_interchannelCoupling_next_row = cms.double(0.20),
24 Even_row_interchannelCoupling_next_row = cms.double(0.0),
25 Odd_column_interchannelCoupling_next_column = cms.double(0.0),
26 Even_column_interchannelCoupling_next_column = cms.double(0.0),
27 SigmaZero = cms.double(0.00037),
28 SigmaCoeff = cms.double(0),
29 ClusterWidth = cms.double(3),
30 LorentzAngle_DB = cms.bool(
True),
31 TanLorentzAnglePerTesla_Endcap = cms.double(0.106),
32 TanLorentzAnglePerTesla_Barrel = cms.double(0.106),
33 KillModules = cms.bool(
False),
34 DeadModules_DB = cms.bool(
False),
35 DeadModules = cms.VPSet(),
36 AddInefficiency = cms.bool(
False),
37 Inefficiency_DB = cms.bool(
False),
38 UseReweighting = cms.bool(
False),
39 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
40 EfficiencyFactors_Endcap = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999,
42 CellsToKill = cms.VPSet(),
43 ApplyTimewalk = cms.bool(
False),
44 TimewalkModel = cms.PSet(
45 ThresholdValues = cms.vdouble(1000, 1200, 1500, 3000),
48 charge = cms.vdouble(1000, 1025, 1050, 1100, 1200, 1500, 2000, 6000, 10000, 15000, 20000, 30000),
49 delay = cms.vdouble(26.8, 23.73, 21.92, 19.46, 16.52, 12.15, 8.88, 3.03, 1.69, 0.95, 0.56, 0.19)
52 charge = cms.vdouble(1200, 1225, 1250, 1500, 2000, 6000, 10000, 15000, 20000, 30000),
53 delay = cms.vdouble(26.28, 23.5, 21.79, 14.92, 10.27, 3.33, 1.86, 1.07, 0.66, 0.27)
56 charge = cms.vdouble(1500, 1525, 1550, 1600, 2000, 6000, 10000, 15000, 20000, 30000),
57 delay = cms.vdouble(25.36, 23.05, 21.6, 19.56, 12.94, 3.79, 2.14, 1.26, 0.81, 0.39)
60 charge = cms.vdouble(3000, 3025, 3050, 3100, 3500, 6000, 10000, 15000, 20000, 30000),
61 delay = cms.vdouble(25.63, 23.63, 22.35, 20.65, 14.92, 6.7, 3.68, 2.29, 1.62, 1.02)
66 phase2TrackerDigitizer = cms.PSet(
68 accumulatorType = cms.string(
"Phase2TrackerDigitizer"),
69 hitsProducer = cms.string(
'g4SimHits'),
70 ROUList = cms.vstring(
71 'TrackerHitsPixelBarrelLowTof',
72 'TrackerHitsPixelBarrelHighTof',
73 'TrackerHitsPixelEndcapLowTof',
74 'TrackerHitsPixelEndcapHighTof'),
75 GeometryType = cms.string(
'idealForDigi'),
76 isOTreadoutAnalog = cms.bool(
False),
78 usePseudoPixel3DAlgo = cms.bool(
False),
79 premixStage1 = cms.bool(
False),
80 AlgorithmCommon = cms.PSet(
81 DeltaProductionCut = cms.double(0.03),
82 makeDigiSimLinks = cms.untracked.bool(
True),
86 PixelDigitizerAlgorithm = PixelDigitizerAlgorithmCommon.clone(
87 UseReweighting = cms.bool(
False),
90 Pixel3DDigitizerAlgorithm = PixelDigitizerAlgorithmCommon.clone(
91 SigmaCoeff = cms.double(1.80),
92 NPColumnRadius = cms.double(4.0),
93 OhmicColumnRadius = cms.double(4.0),
94 NPColumnGap = cms.double(46.0),
95 UseReweighting = cms.bool(
False),
98 PSPDigitizerAlgorithm = cms.PSet(
99 ElectronPerAdc = cms.double(135.0),
100 ReadoutNoiseInElec = cms.double(-99.9),
101 ThresholdInElectrons_Barrel = cms.double(6300.),
102 ThresholdInElectrons_Endcap = cms.double(6300.),
103 AddThresholdSmearing = cms.bool(
False),
104 ThresholdSmearing_Barrel = cms.double(630.0),
105 ThresholdSmearing_Endcap = cms.double(630.0),
106 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
107 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
108 NoiseInElectrons = cms.double(200),
109 Phase2ReadoutMode = cms.int32(0),
110 AdcFullScale = cms.int32(255),
111 TofUpperCut = cms.double(12.5),
112 TofLowerCut = cms.double(-12.5),
113 AddNoisyPixels = cms.bool(
True),
114 Alpha2Order = cms.bool(
True),
115 AddNoise = cms.bool(
True),
116 AddXTalk = cms.bool(
True),
117 InterstripCoupling = cms.double(0.05),
118 SigmaZero = cms.double(0.00037),
119 SigmaCoeff = cms.double(1.80),
120 ClusterWidth = cms.double(3),
121 LorentzAngle_DB = cms.bool(
True),
122 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
123 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
124 KillModules = cms.bool(
False),
125 DeadModules_DB = cms.bool(
False),
126 DeadModules = cms.VPSet(),
127 AddInefficiency = cms.bool(
False),
128 Inefficiency_DB = cms.bool(
False),
129 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
130 EfficiencyFactors_Endcap = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999,
132 CellsToKill = cms.VPSet(),
133 BiasRailInefficiencyFlag = cms.int32(1),
134 UseReweighting = cms.bool(
False),
137 PSSDigitizerAlgorithm = cms.PSet(
138 ElectronPerAdc = cms.double(135.0),
140 ReadoutNoiseInElec = cms.double(-99.9),
141 ThresholdInElectrons_Barrel = cms.double(4800.),
142 ThresholdInElectrons_Endcap = cms.double(4800.),
143 AddThresholdSmearing = cms.bool(
False),
144 ThresholdSmearing_Barrel = cms.double(480.0),
145 ThresholdSmearing_Endcap = cms.double(480.0),
146 HIPThresholdInElectrons_Barrel = cms.double(21000.),
147 HIPThresholdInElectrons_Endcap = cms.double(21000.),
148 NoiseInElectrons = cms.double(1010),
149 Phase2ReadoutMode = cms.int32(0),
150 AdcFullScale = cms.int32(255),
151 TofUpperCut = cms.double(12.5),
152 TofLowerCut = cms.double(-12.5),
153 AddNoisyPixels = cms.bool(
True),
154 Alpha2Order = cms.bool(
True),
155 AddNoise = cms.bool(
True),
156 AddXTalk = cms.bool(
True),
157 InterstripCoupling = cms.double(0.05),
158 SigmaZero = cms.double(0.00037),
159 SigmaCoeff = cms.double(1.80),
160 ClusterWidth = cms.double(3),
161 LorentzAngle_DB = cms.bool(
True),
162 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
163 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
164 KillModules = cms.bool(
False),
165 DeadModules_DB = cms.bool(
False),
166 DeadModules = cms.VPSet(),
167 AddInefficiency = cms.bool(
False),
168 Inefficiency_DB = cms.bool(
False),
169 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
170 EfficiencyFactors_Endcap = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999,
172 CellsToKill = cms.VPSet(),
173 UseReweighting = cms.bool(
False),
176 SSDigitizerAlgorithm = cms.PSet(
177 ElectronPerAdc = cms.double(135.0),
179 ReadoutNoiseInElec = cms.double(-99.9),
180 ThresholdInElectrons_Barrel = cms.double(6000.),
181 ThresholdInElectrons_Endcap = cms.double(6000.),
182 AddThresholdSmearing = cms.bool(
False),
183 ThresholdSmearing_Barrel = cms.double(600.0),
184 ThresholdSmearing_Endcap = cms.double(600.0),
185 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
186 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
187 NoiseInElectrons = cms.double(1263),
188 Phase2ReadoutMode = cms.int32(0),
189 AdcFullScale = cms.int32(255),
190 TofUpperCut = cms.double(12.5),
191 TofLowerCut = cms.double(-12.5),
192 AddNoisyPixels = cms.bool(
True),
193 Alpha2Order = cms.bool(
True),
194 AddNoise = cms.bool(
True),
195 AddXTalk = cms.bool(
True),
196 InterstripCoupling = cms.double(0.05),
197 SigmaZero = cms.double(0.00037),
198 SigmaCoeff = cms.double(1.80),
199 ClusterWidth = cms.double(3),
200 LorentzAngle_DB = cms.bool(
True),
201 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
202 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
203 KillModules = cms.bool(
False),
204 DeadModules_DB = cms.bool(
False),
205 DeadModules = cms.VPSet(),
206 AddInefficiency = cms.bool(
False),
207 Inefficiency_DB = cms.bool(
False),
208 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
209 EfficiencyFactors_Endcap = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999,
211 CellsToKill = cms.VPSet(),
212 HitDetectionMode = cms.int32(0),
213 PulseShapeParameters = cms.vdouble(-3.0, 16.043703, 99.999857, 40.571650, 2.0, 1.2459094),
214 CBCDeadTime = cms.double(0.0),
215 UseReweighting = cms.bool(
False),
229 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
230 _premixStage1ModifyDict = dict(
232 PixelDigitizerAlgorithm = dict(
233 AddNoisyPixels =
False,
234 AddInefficiency =
False,
235 AddThresholdSmearing =
False,
237 Pixel3DDigitizerAlgorithm = dict(
238 AddNoisyPixels =
False,
239 AddInefficiency =
False,
240 AddThresholdSmearing =
False,
242 PSPDigitizerAlgorithm = dict(
243 AddNoisyPixels =
False,
244 AddInefficiency =
False,
245 AddThresholdSmearing =
False,
247 PSSDigitizerAlgorithm = dict(
248 AddNoisyPixels =
False,
249 AddInefficiency =
False,
250 AddThresholdSmearing =
False,
251 Phase2ReadoutMode = -1,
253 SSDigitizerAlgorithm = dict(
254 AddNoisyPixels =
False,
255 AddInefficiency =
False,
256 AddThresholdSmearing =
False,
260 premix_stage1.toModify(phase2TrackerDigitizer, **_premixStage1ModifyDict)
262 from Configuration.ProcessModifiers.enableXTalkInPhase2Pixel_cff
import enableXTalkInPhase2Pixel
263 _enableXTalkInPhase2PixelModifyDict = dict(
264 PixelDigitizerAlgorithm = dict(
266 Odd_row_interchannelCoupling_next_row = 0.00,
267 Even_row_interchannelCoupling_next_row = 0.06
271 enableXTalkInPhase2Pixel.toModify(phase2TrackerDigitizer, **_enableXTalkInPhase2PixelModifyDict)