6 from Configuration.StandardSequences.Eras
import eras
10 Function that modifies the pixel digitiser for Run 2 with 25ns bunchspacing.
11 First argument is the pixelDigitizer object.
14 digitizer.theInstLumiScaleFactor = cms.double(364)
15 digitizer.theLadderEfficiency_BPix1 = cms.vdouble( [1]*20 )
16 digitizer.theLadderEfficiency_BPix2 = cms.vdouble( [1]*32 )
17 digitizer.theLadderEfficiency_BPix3 = cms.vdouble( [1]*44 )
18 digitizer.theModuleEfficiency_BPix1 = cms.vdouble( 1, 1, 1, 1, )
19 digitizer.theModuleEfficiency_BPix2 = cms.vdouble( 1, 1, 1, 1, )
20 digitizer.theModuleEfficiency_BPix3 = cms.vdouble( 1, 1, 1, 1 )
21 digitizer.thePUEfficiency_BPix1 = cms.vdouble( 1.00023, -3.18350e-06, 5.08503e-10, -6.79785e-14 )
22 digitizer.thePUEfficiency_BPix2 = cms.vdouble( 9.99974e-01, -8.91313e-07, 5.29196e-12, -2.28725e-15 )
23 digitizer.thePUEfficiency_BPix3 = cms.vdouble( 1.00005, -6.59249e-07, 2.75277e-11, -1.62683e-15 )
27 Function that modifies the pixel digitiser for Run 2 with 50ns bunchspacing.
29 First argument is the pixelDigitizer object.
32 digitizer.theInstLumiScaleFactor = cms.double(246.4)
33 digitizer.theLadderEfficiency_BPix1 = cms.vdouble( [0.979259,0.976677]*10 )
34 digitizer.theLadderEfficiency_BPix2 = cms.vdouble( [0.994321,0.993944]*16 )
35 digitizer.theLadderEfficiency_BPix3 = cms.vdouble( [0.996787,0.996945]*22 )
37 SiPixelSimBlock = cms.PSet(
38 DoPixelAging = cms.bool(
False),
39 ReadoutNoiseInElec = cms.double(350.0),
40 deltaProductionCut = cms.double(0.03),
41 RoutList = cms.vstring(
42 'TrackerHitsPixelBarrelLowTof',
43 'TrackerHitsPixelBarrelHighTof',
44 'TrackerHitsPixelEndcapLowTof',
45 'TrackerHitsPixelEndcapHighTof'),
46 OffsetSmearing = cms.double(0.0),
47 ThresholdInElectrons_FPix = cms.double(3000.0),
48 ThresholdInElectrons_BPix = cms.double(3500.0),
49 ThresholdInElectrons_BPix_L1 = cms.double(3500.0),
50 AddThresholdSmearing = cms.bool(
True),
51 ThresholdSmearing_FPix = cms.double(210.0),
52 ThresholdSmearing_BPix = cms.double(245.0),
53 ThresholdSmearing_BPix_L1 = cms.double(245.0),
54 NoiseInElectrons = cms.double(175.0),
55 MissCalibrate = cms.bool(
True),
56 FPix_SignalResponse_p0 = cms.double(0.0043),
57 FPix_SignalResponse_p1 = cms.double(1.31),
58 FPix_SignalResponse_p2 = cms.double(93.6),
59 FPix_SignalResponse_p3 = cms.double(134.6),
60 BPix_SignalResponse_p0 = cms.double(0.0035),
61 BPix_SignalResponse_p1 = cms.double(1.23),
62 BPix_SignalResponse_p2 = cms.double(97.4),
63 BPix_SignalResponse_p3 = cms.double(126.5),
64 ElectronsPerVcal = cms.double(65.5),
65 ElectronsPerVcal_Offset = cms.double(-414.0),
66 ElectronPerAdc = cms.double(135.0),
67 TofUpperCut = cms.double(12.5),
68 AdcFullScale = cms.int32(255),
69 AdcFullScaleStack = cms.int32(255),
70 FirstStackLayer = cms.int32(5),
71 TofLowerCut = cms.double(-12.5),
72 TanLorentzAnglePerTesla_FPix = cms.double(0.106),
73 TanLorentzAnglePerTesla_BPix = cms.double(0.106),
74 AddNoisyPixels = cms.bool(
True),
75 Alpha2Order = cms.bool(
True),
76 AddPixelInefficiencyFromPython = cms.bool(
True),
77 AddNoise = cms.bool(
True),
78 ChargeVCALSmearing = cms.bool(
True),
79 GainSmearing = cms.double(0.0),
80 PixGeometryType = cms.string(
'idealForDigi'),
81 useDB = cms.bool(
False),
82 LorentzAngle_DB = cms.bool(
True),
83 DeadModules_DB = cms.bool(
True),
84 killModules = cms.bool(
True),
85 NumPixelBarrel = cms.int32(3),
86 NumPixelEndcap = cms.int32(2),
87 theInstLumiScaleFactor = cms.double(221.95),
88 bunchScaleAt25 = cms.double(1.0),
89 thePixelColEfficiency_BPix1 = cms.double(1.0),
90 thePixelColEfficiency_BPix2 = cms.double(1.0),
91 thePixelColEfficiency_BPix3 = cms.double(1.0),
92 thePixelColEfficiency_FPix1 = cms.double(0.999),
93 thePixelColEfficiency_FPix2 = cms.double(0.999),
94 thePixelEfficiency_BPix1 = cms.double(1.0),
95 thePixelEfficiency_BPix2 = cms.double(1.0),
96 thePixelEfficiency_BPix3 = cms.double(1.0),
97 thePixelEfficiency_FPix1 = cms.double(0.999),
98 thePixelEfficiency_FPix2 = cms.double(0.999),
99 thePixelChipEfficiency_BPix1 = cms.double(1.0),
100 thePixelChipEfficiency_BPix2 = cms.double(1.0),
101 thePixelChipEfficiency_BPix3 = cms.double(1.0),
102 thePixelChipEfficiency_FPix1 = cms.double(0.999),
103 thePixelChipEfficiency_FPix2 = cms.double(0.999),
104 theLadderEfficiency_BPix1 = cms.vdouble(
126 theLadderEfficiency_BPix2 = cms.vdouble(
160 theLadderEfficiency_BPix3 = cms.vdouble(
206 theModuleEfficiency_BPix1 = cms.vdouble(
212 theModuleEfficiency_BPix2 = cms.vdouble(
218 theModuleEfficiency_BPix3 = cms.vdouble(
224 thePUEfficiency_BPix1 = cms.vdouble(
229 thePUEfficiency_BPix2 = cms.vdouble(
234 thePUEfficiency_BPix3 = cms.vdouble(
239 theInnerEfficiency_FPix1 = cms.double(1.0),
240 theInnerEfficiency_FPix2 = cms.double(1.0),
241 theOuterEfficiency_FPix1 = cms.double(1.0),
242 theOuterEfficiency_FPix2 = cms.double(1.0),
243 thePUEfficiency_FPix_Inner = cms.vdouble(
246 thePUEfficiency_FPix_Outer = cms.vdouble(
249 DeadModules = cms.VPSet(
250 cms.PSet(Dead_detID = cms.int32(302055940), Module = cms.string(
"tbmB"))
251 ,cms.PSet(Dead_detID = cms.int32(302059800), Module = cms.string(
"whole"))
252 ,cms.PSet(Dead_detID = cms.int32(302121992), Module = cms.string(
"whole"))
253 ,cms.PSet(Dead_detID = cms.int32(302123296), Module = cms.string(
"whole"))
254 ,cms.PSet(Dead_detID = cms.int32(302125060), Module = cms.string(
"tbmA"))
255 ,cms.PSet(Dead_detID = cms.int32(302125076), Module = cms.string(
"tbmA"))
256 ,cms.PSet(Dead_detID = cms.int32(302126364), Module = cms.string(
"tbmB"))
257 ,cms.PSet(Dead_detID = cms.int32(302126596), Module = cms.string(
"whole"))
258 ,cms.PSet(Dead_detID = cms.int32(302127136), Module = cms.string(
"whole"))
259 ,cms.PSet(Dead_detID = cms.int32(302188552), Module = cms.string(
"whole"))
260 ,cms.PSet(Dead_detID = cms.int32(302188824), Module = cms.string(
"whole"))
261 ,cms.PSet(Dead_detID = cms.int32(302194200), Module = cms.string(
"whole"))
262 ,cms.PSet(Dead_detID = cms.int32(302195232), Module = cms.string(
"whole"))
263 ,cms.PSet(Dead_detID = cms.int32(302197252), Module = cms.string(
"whole"))
264 ,cms.PSet(Dead_detID = cms.int32(302197784), Module = cms.string(
"whole"))
266 ,cms.PSet(Dead_detID = cms.int32(352453892), Module = cms.string(
"whole"))
267 ,cms.PSet(Dead_detID = cms.int32(352453896), Module = cms.string(
"whole"))
268 ,cms.PSet(Dead_detID = cms.int32(352453900), Module = cms.string(
"whole"))
269 ,cms.PSet(Dead_detID = cms.int32(352453904), Module = cms.string(
"whole"))
270 ,cms.PSet(Dead_detID = cms.int32(352454916), Module = cms.string(
"whole"))
271 ,cms.PSet(Dead_detID = cms.int32(352454920), Module = cms.string(
"whole"))
272 ,cms.PSet(Dead_detID = cms.int32(352454924), Module = cms.string(
"whole"))
273 ,cms.PSet(Dead_detID = cms.int32(352454928), Module = cms.string(
"whole"))
274 ,cms.PSet(Dead_detID = cms.int32(352455940), Module = cms.string(
"whole"))
275 ,cms.PSet(Dead_detID = cms.int32(352455944), Module = cms.string(
"whole"))
276 ,cms.PSet(Dead_detID = cms.int32(352455948), Module = cms.string(
"whole"))
277 ,cms.PSet(Dead_detID = cms.int32(352455952), Module = cms.string(
"whole"))
278 ,cms.PSet(Dead_detID = cms.int32(352454148), Module = cms.string(
"whole"))
279 ,cms.PSet(Dead_detID = cms.int32(352454152), Module = cms.string(
"whole"))
280 ,cms.PSet(Dead_detID = cms.int32(352454156), Module = cms.string(
"whole"))
281 ,cms.PSet(Dead_detID = cms.int32(352455172), Module = cms.string(
"whole"))
282 ,cms.PSet(Dead_detID = cms.int32(352455176), Module = cms.string(
"whole"))
283 ,cms.PSet(Dead_detID = cms.int32(352455180), Module = cms.string(
"whole"))
284 ,cms.PSet(Dead_detID = cms.int32(352456196), Module = cms.string(
"whole"))
285 ,cms.PSet(Dead_detID = cms.int32(352456200), Module = cms.string(
"whole"))
286 ,cms.PSet(Dead_detID = cms.int32(352456204), Module = cms.string(
"whole"))
287 ,cms.PSet(Dead_detID = cms.int32(343999748), Module = cms.string(
"whole"))
288 ,cms.PSet(Dead_detID = cms.int32(343999752), Module = cms.string(
"whole"))
289 ,cms.PSet(Dead_detID = cms.int32(343999756), Module = cms.string(
"whole"))
290 ,cms.PSet(Dead_detID = cms.int32(343999760), Module = cms.string(
"whole"))
291 ,cms.PSet(Dead_detID = cms.int32(344014340), Module = cms.string(
"whole"))
292 ,cms.PSet(Dead_detID = cms.int32(344014344), Module = cms.string(
"whole"))
293 ,cms.PSet(Dead_detID = cms.int32(344014348), Module = cms.string(
"whole"))
294 ,cms.PSet(Dead_detID = cms.int32(344019460), Module = cms.string(
"whole"))
295 ,cms.PSet(Dead_detID = cms.int32(344019464), Module = cms.string(
"whole"))
296 ,cms.PSet(Dead_detID = cms.int32(344019468), Module = cms.string(
"whole"))
297 ,cms.PSet(Dead_detID = cms.int32(344077572), Module = cms.string(
"whole"))
298 ,cms.PSet(Dead_detID = cms.int32(344077576), Module = cms.string(
"whole"))
299 ,cms.PSet(Dead_detID = cms.int32(344077580), Module = cms.string(
"whole"))
300 ,cms.PSet(Dead_detID = cms.int32(344077584), Module = cms.string(
"whole"))
301 ,cms.PSet(Dead_detID = cms.int32(344078596), Module = cms.string(
"whole"))
302 ,cms.PSet(Dead_detID = cms.int32(344078600), Module = cms.string(
"whole"))
303 ,cms.PSet(Dead_detID = cms.int32(344078604), Module = cms.string(
"whole"))
304 ,cms.PSet(Dead_detID = cms.int32(344078608), Module = cms.string(
"whole"))
305 ,cms.PSet(Dead_detID = cms.int32(344079620), Module = cms.string(
"whole"))
306 ,cms.PSet(Dead_detID = cms.int32(344079624), Module = cms.string(
"whole"))
307 ,cms.PSet(Dead_detID = cms.int32(344079628), Module = cms.string(
"whole"))
308 ,cms.PSet(Dead_detID = cms.int32(344079632), Module = cms.string(
"whole"))
309 ,cms.PSet(Dead_detID = cms.int32(344078852), Module = cms.string(
"whole"))
310 ,cms.PSet(Dead_detID = cms.int32(344078856), Module = cms.string(
"whole"))
311 ,cms.PSet(Dead_detID = cms.int32(344078860), Module = cms.string(
"whole"))
323 eras.run2_25ns_specific.toModify( SiPixelSimBlock, func=_modifyPixelDigitizerForRun2Bunchspacing25 )
324 eras.run2_50ns_specific.toModify( SiPixelSimBlock, func=_modifyPixelDigitizerForRun2Bunchspacing50 )
def _modifyPixelDigitizerForRun2Bunchspacing50
def _modifyPixelDigitizerForRun2Bunchspacing25