1 import FWCore.ParameterSet.Config
as cms
3 phase2TrackerDigitizer = cms.PSet(
5 accumulatorType = cms.string(
"Phase2TrackerDigitizer"),
6 hitsProducer = cms.string(
'g4SimHits'),
8 'TrackerHitsPixelBarrelLowTof',
9 'TrackerHitsPixelBarrelHighTof',
10 'TrackerHitsPixelEndcapLowTof',
11 'TrackerHitsPixelEndcapHighTof'),
12 GeometryType = cms.string(
'idealForDigi'),
13 isOTreadoutAnalog = cms.bool(
False),
15 premixStage1 = cms.bool(
False),
16 AlgorithmCommon = cms.PSet(
17 DeltaProductionCut = cms.double(0.03),
18 makeDigiSimLinks = cms.untracked.bool(
True),
22 PixelDigitizerAlgorithm = cms.PSet(
23 ElectronPerAdc = cms.double(600.0),
24 ReadoutNoiseInElec = cms.double(0.0),
25 ThresholdInElectrons_Barrel = cms.double(1200.0),
26 ThresholdInElectrons_Endcap = cms.double(1200.0),
27 AddThresholdSmearing = cms.bool(
False),
28 ThresholdSmearing_Barrel = cms.double(0.0),
29 ThresholdSmearing_Endcap = cms.double(0.0),
30 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
31 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
32 NoiseInElectrons = cms.double(0.0),
33 Phase2ReadoutMode = cms.int32(-1),
34 AdcFullScale = cms.int32(15),
35 TofUpperCut = cms.double(12.5),
36 TofLowerCut = cms.double(-12.5),
37 AddNoisyPixels = cms.bool(
False),
38 Alpha2Order = cms.bool(
True),
39 AddNoise = cms.bool(
False),
40 AddXTalk = cms.bool(
False),
41 InterstripCoupling = cms.double(0.0),
42 Odd_row_interchannelCoupling_next_row = cms.double(0.20),
43 Even_row_interchannelCoupling_next_row = cms.double(0.0),
44 Odd_column_interchannelCoupling_next_column = cms.double(0.0),
45 Even_column_interchannelCoupling_next_column = cms.double(0.0),
46 SigmaZero = cms.double(0.00037),
47 SigmaCoeff = cms.double(0),
48 ClusterWidth = cms.double(3),
49 LorentzAngle_DB = cms.bool(
True),
50 TanLorentzAnglePerTesla_Endcap = cms.double(0.106),
51 TanLorentzAnglePerTesla_Barrel = cms.double(0.106),
52 KillModules = cms.bool(
False),
53 DeadModules_DB = cms.bool(
False),
54 DeadModules = cms.VPSet(),
55 AddInefficiency = cms.bool(
False),
56 Inefficiency_DB = cms.bool(
False),
57 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
58 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,
60 CellsToKill = cms.VPSet()
63 PSPDigitizerAlgorithm = cms.PSet(
64 ElectronPerAdc = cms.double(135.0),
65 ReadoutNoiseInElec = cms.double(200.0),
66 ThresholdInElectrons_Barrel = cms.double(6300.),
67 ThresholdInElectrons_Endcap = cms.double(6300.),
68 AddThresholdSmearing = cms.bool(
True),
69 ThresholdSmearing_Barrel = cms.double(630.0),
70 ThresholdSmearing_Endcap = cms.double(630.0),
71 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
72 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
73 NoiseInElectrons = cms.double(200),
74 Phase2ReadoutMode = cms.int32(0),
75 AdcFullScale = cms.int32(255),
76 TofUpperCut = cms.double(12.5),
77 TofLowerCut = cms.double(-12.5),
78 AddNoisyPixels = cms.bool(
True),
79 Alpha2Order = cms.bool(
True),
80 AddNoise = cms.bool(
True),
81 AddXTalk = cms.bool(
True),
82 InterstripCoupling = cms.double(0.05),
83 SigmaZero = cms.double(0.00037),
84 SigmaCoeff = cms.double(1.80),
85 ClusterWidth = cms.double(3),
86 LorentzAngle_DB = cms.bool(
False),
87 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
88 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
89 KillModules = cms.bool(
False),
90 DeadModules_DB = cms.bool(
False),
91 DeadModules = cms.VPSet(),
92 AddInefficiency = cms.bool(
False),
93 Inefficiency_DB = cms.bool(
False),
94 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
95 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,
97 CellsToKill = cms.VPSet()
100 PSSDigitizerAlgorithm = cms.PSet(
101 ElectronPerAdc = cms.double(135.0),
103 ReadoutNoiseInElec = cms.double(700.0),
104 ThresholdInElectrons_Barrel = cms.double(6300.),
105 ThresholdInElectrons_Endcap = cms.double(6300.),
106 AddThresholdSmearing = cms.bool(
True),
107 ThresholdSmearing_Barrel = cms.double(630.0),
108 ThresholdSmearing_Endcap = cms.double(630.0),
109 HIPThresholdInElectrons_Barrel = cms.double(21000.),
110 HIPThresholdInElectrons_Endcap = cms.double(21000.),
111 NoiseInElectrons = cms.double(700),
112 Phase2ReadoutMode = cms.int32(0),
113 AdcFullScale = cms.int32(255),
114 TofUpperCut = cms.double(12.5),
115 TofLowerCut = cms.double(-12.5),
116 AddNoisyPixels = cms.bool(
True),
117 Alpha2Order = cms.bool(
True),
118 AddNoise = cms.bool(
True),
119 AddXTalk = cms.bool(
True),
120 InterstripCoupling = cms.double(0.05),
121 SigmaZero = cms.double(0.00037),
122 SigmaCoeff = cms.double(1.80),
123 ClusterWidth = cms.double(3),
124 LorentzAngle_DB = cms.bool(
False),
125 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
126 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
127 KillModules = cms.bool(
False),
128 DeadModules_DB = cms.bool(
False),
129 DeadModules = cms.VPSet(),
130 AddInefficiency = cms.bool(
False),
131 Inefficiency_DB = cms.bool(
False),
132 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
133 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,
135 CellsToKill = cms.VPSet()
138 SSDigitizerAlgorithm = cms.PSet(
139 ElectronPerAdc = cms.double(135.0),
141 ReadoutNoiseInElec = cms.double(1000.0),
142 ThresholdInElectrons_Barrel = cms.double(5800.),
143 ThresholdInElectrons_Endcap = cms.double(5800.),
144 AddThresholdSmearing = cms.bool(
True),
145 ThresholdSmearing_Barrel = cms.double(580.0),
146 ThresholdSmearing_Endcap = cms.double(580.0),
147 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
148 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
149 NoiseInElectrons = cms.double(1000),
150 Phase2ReadoutMode = cms.int32(0),
151 AdcFullScale = cms.int32(255),
152 TofUpperCut = cms.double(12.5),
153 TofLowerCut = cms.double(-12.5),
154 AddNoisyPixels = cms.bool(
True),
155 Alpha2Order = cms.bool(
True),
156 AddNoise = cms.bool(
True),
157 AddXTalk = cms.bool(
True),
158 InterstripCoupling = cms.double(0.05),
159 SigmaZero = cms.double(0.00037),
160 SigmaCoeff = cms.double(1.80),
161 ClusterWidth = cms.double(3),
162 LorentzAngle_DB = cms.bool(
False),
163 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
164 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
165 KillModules = cms.bool(
False),
166 DeadModules_DB = cms.bool(
False),
167 DeadModules = cms.VPSet(),
168 AddInefficiency = cms.bool(
False),
169 Inefficiency_DB = cms.bool(
False),
170 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
171 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,
173 CellsToKill = cms.VPSet()
190 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
191 _premixStage1ModifyDict = dict(
193 PixelDigitizerAlgorithm = dict(
194 AddNoisyPixels =
False,
195 AddInefficiency =
False,
196 AddThresholdSmearing =
False,
197 ElectronPerAdc = phase2TrackerDigitizer.PSPDigitizerAlgorithm.ElectronPerAdc.value(),
198 AdcFullScale = phase2TrackerDigitizer.PSPDigitizerAlgorithm.AdcFullScale.value(),
200 PSPDigitizerAlgorithm = dict(
201 AddNoisyPixels =
False,
202 AddInefficiency =
False,
203 AddThresholdSmearing =
False,
205 PSSDigitizerAlgorithm = dict(
206 AddNoisyPixels =
False,
207 AddInefficiency =
False,
208 AddThresholdSmearing =
False,
210 SSDigitizerAlgorithm = dict(
211 AddNoisyPixels =
False,
212 AddInefficiency =
False,
213 AddThresholdSmearing =
False,
216 premix_stage1.toModify(phase2TrackerDigitizer, **_premixStage1ModifyDict)