1 import FWCore.ParameterSet.Config
as cms
9 Function that modifies the pixel digitiser for the Phase 1 pixel detector.
11 First argument is the pixelDigitizer object.
19 digitizer.NumPixelBarrel = cms.int32(4)
20 digitizer.NumPixelEndcap = cms.int32(3)
21 digitizer.ThresholdInElectrons_FPix = cms.double(2000.0)
22 digitizer.ThresholdInElectrons_BPix = cms.double(2000.0)
23 digitizer.ThresholdInElectrons_BPix_L1 = cms.double(3000.0)
24 digitizer.ThresholdInElectrons_BPix_L2 = cms.double(2600.0)
25 digitizer.FPix_SignalResponse_p0 = cms.double(0.00171)
26 digitizer.FPix_SignalResponse_p1 = cms.double(0.711)
27 digitizer.FPix_SignalResponse_p2 = cms.double(203.)
28 digitizer.FPix_SignalResponse_p3 = cms.double(148.)
29 digitizer.BPix_SignalResponse_p0 = cms.double(0.00171)
30 digitizer.BPix_SignalResponse_p1 = cms.double(0.711)
31 digitizer.BPix_SignalResponse_p2 = cms.double(203.)
32 digitizer.BPix_SignalResponse_p3 = cms.double(148.)
34 digitizer.ElectronsPerVcal = cms.double(47)
35 digitizer.ElectronsPerVcal_L1 = cms.double(50)
36 digitizer.ElectronsPerVcal_Offset = cms.double(-60)
37 digitizer.ElectronsPerVcal_L1_Offset = cms.double(-670)
38 digitizer.UseReweighting = cms.bool(
True)
39 digitizer.KillBadFEDChannels = cms.bool(
True)
43 digitizer.ThresholdInElectrons_FPix = cms.double(1600.0)
44 digitizer.ThresholdInElectrons_BPix = cms.double(1600.0)
45 digitizer.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
46 digitizer.ThresholdInElectrons_BPix_L2 = cms.double(1600.0)
48 SiPixelSimBlock = cms.PSet(
49 SiPixelQualityLabel = cms.string(
''),
50 KillBadFEDChannels = cms.bool(
False),
51 UseReweighting = cms.bool(
False),
52 PrintClusters = cms.bool(
False),
53 PrintTemplates = cms.bool(
False),
54 DoPixelAging = cms.bool(
False),
55 ReadoutNoiseInElec = cms.double(350.0),
56 deltaProductionCut = cms.double(0.03),
57 RoutList = cms.vstring(
58 'TrackerHitsPixelBarrelLowTof',
59 'TrackerHitsPixelBarrelHighTof',
60 'TrackerHitsPixelEndcapLowTof',
61 'TrackerHitsPixelEndcapHighTof'),
62 OffsetSmearing = cms.double(0.0),
63 ThresholdInElectrons_FPix = cms.double(3000.0),
64 ThresholdInElectrons_BPix = cms.double(3500.0),
65 ThresholdInElectrons_BPix_L1 = cms.double(3500.0),
66 ThresholdInElectrons_BPix_L2 = cms.double(3500.0),
67 AddThresholdSmearing = cms.bool(
True),
68 ThresholdSmearing_FPix = cms.double(210.0),
69 ThresholdSmearing_BPix = cms.double(245.0),
70 ThresholdSmearing_BPix_L1 = cms.double(245.0),
71 ThresholdSmearing_BPix_L2 = cms.double(245.0),
72 NoiseInElectrons = cms.double(175.0),
73 MissCalibrate = cms.bool(
True),
74 FPix_SignalResponse_p0 = cms.double(0.0043),
75 FPix_SignalResponse_p1 = cms.double(1.31),
76 FPix_SignalResponse_p2 = cms.double(93.6),
77 FPix_SignalResponse_p3 = cms.double(134.6),
78 BPix_SignalResponse_p0 = cms.double(0.0035),
79 BPix_SignalResponse_p1 = cms.double(1.23),
80 BPix_SignalResponse_p2 = cms.double(97.4),
81 BPix_SignalResponse_p3 = cms.double(126.5),
82 ElectronsPerVcal = cms.double(65.5),
83 ElectronsPerVcal_L1 = cms.double(65.5),
84 ElectronsPerVcal_Offset = cms.double(-414.0),
85 ElectronsPerVcal_L1_Offset = cms.double(-414.0),
86 ElectronPerAdc = cms.double(135.0),
87 TofUpperCut = cms.double(12.5),
88 AdcFullScale = cms.int32(255),
89 TofLowerCut = cms.double(-12.5),
90 TanLorentzAnglePerTesla_FPix = cms.double(0.106),
91 TanLorentzAnglePerTesla_BPix = cms.double(0.106),
92 AddNoisyPixels = cms.bool(
True),
93 Alpha2Order = cms.bool(
True),
94 AddPixelInefficiency = cms.bool(
True),
95 AddNoise = cms.bool(
True),
96 ChargeVCALSmearing = cms.bool(
True),
97 GainSmearing = cms.double(0.0),
98 PixGeometryType = cms.string(
'idealForDigi'),
99 useDB = cms.bool(
False),
100 LorentzAngle_DB = cms.bool(
True),
101 DeadModules_DB = cms.bool(
True),
102 killModules = cms.bool(
True),
103 NumPixelBarrel = cms.int32(3),
104 NumPixelEndcap = cms.int32(2),
109 from Configuration.Eras.Modifier_pixel_2016_cff
import pixel_2016
110 pixel_2016.toModify(SiPixelSimBlock,UseReweighting=
True)
115 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
116 phase1Pixel.toModify( SiPixelSimBlock, func=_modifyPixelDigitizerForPhase1Pixel )
120 from Configuration.Eras.Modifier_run2_SiPixel_2018_cff
import run2_SiPixel_2018
121 run2_SiPixel_2018.toModify(siPixelQualityESProducer,siPixelQualityLabel =
'forDigitizer',)
122 run2_SiPixel_2018.toModify(SiPixelSimBlock, SiPixelQualityLabel =
'forDigitizer',)
128 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
129 run3_common.toModify(SiPixelSimBlock, func=_modifyPixelDigitizerForRun3)
131 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
132 premix_stage1.toModify(SiPixelSimBlock,
134 AddNoisyPixels =
False,
135 AddPixelInefficiency =
False,
136 KillBadFEDChannels =
False,