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 DigitalReadout = cms.bool(
False),
34 AdcFullScale = cms.int32(16),
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(
True),
41 InterstripCoupling = cms.double(0.05),
42 SigmaZero = cms.double(0.00037),
43 SigmaCoeff = cms.double(1.80),
44 ClusterWidth = cms.double(3),
45 LorentzAngle_DB = cms.bool(
False),
46 TanLorentzAnglePerTesla_Endcap = cms.double(0.106),
47 TanLorentzAnglePerTesla_Barrel = cms.double(0.106),
48 KillModules = cms.bool(
False),
49 DeadModules_DB = cms.bool(
False),
50 DeadModules = cms.VPSet(),
51 AddInefficiency = cms.bool(
False),
52 Inefficiency_DB = cms.bool(
False),
53 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
54 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,
56 CellsToKill = cms.VPSet()
59 PSPDigitizerAlgorithm = cms.PSet(
60 ElectronPerAdc = cms.double(135.0),
61 ReadoutNoiseInElec = cms.double(200.0),
62 ThresholdInElectrons_Barrel = cms.double(6300.),
63 ThresholdInElectrons_Endcap = cms.double(6300.),
64 AddThresholdSmearing = cms.bool(
True),
65 ThresholdSmearing_Barrel = cms.double(630.0),
66 ThresholdSmearing_Endcap = cms.double(630.0),
67 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
68 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
69 NoiseInElectrons = cms.double(200),
70 DigitalReadout = cms.bool(
True),
71 AdcFullScale = cms.int32(255),
72 TofUpperCut = cms.double(12.5),
73 TofLowerCut = cms.double(-12.5),
74 AddNoisyPixels = cms.bool(
True),
75 Alpha2Order = cms.bool(
True),
76 AddNoise = cms.bool(
True),
77 AddXTalk = cms.bool(
True),
78 InterstripCoupling = cms.double(0.05),
79 SigmaZero = cms.double(0.00037),
80 SigmaCoeff = cms.double(1.80),
81 ClusterWidth = cms.double(3),
82 LorentzAngle_DB = cms.bool(
False),
83 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
84 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
85 KillModules = cms.bool(
False),
86 DeadModules_DB = cms.bool(
False),
87 DeadModules = cms.VPSet(),
88 AddInefficiency = cms.bool(
False),
89 Inefficiency_DB = cms.bool(
False),
90 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
91 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,
93 CellsToKill = cms.VPSet()
96 PSSDigitizerAlgorithm = cms.PSet(
97 ElectronPerAdc = cms.double(135.0),
99 ReadoutNoiseInElec = cms.double(700.0),
100 ThresholdInElectrons_Barrel = cms.double(6300.),
101 ThresholdInElectrons_Endcap = cms.double(6300.),
102 AddThresholdSmearing = cms.bool(
True),
103 ThresholdSmearing_Barrel = cms.double(630.0),
104 ThresholdSmearing_Endcap = cms.double(630.0),
105 HIPThresholdInElectrons_Barrel = cms.double(21000.),
106 HIPThresholdInElectrons_Endcap = cms.double(21000.),
107 NoiseInElectrons = cms.double(700),
108 DigitalReadout = cms.bool(
True),
109 AdcFullScale = cms.int32(255),
110 TofUpperCut = cms.double(12.5),
111 TofLowerCut = cms.double(-12.5),
112 AddNoisyPixels = cms.bool(
True),
113 Alpha2Order = cms.bool(
True),
114 AddNoise = cms.bool(
True),
115 AddXTalk = cms.bool(
True),
116 InterstripCoupling = cms.double(0.05),
117 SigmaZero = cms.double(0.00037),
118 SigmaCoeff = cms.double(1.80),
119 ClusterWidth = cms.double(3),
120 LorentzAngle_DB = cms.bool(
False),
121 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
122 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
123 KillModules = cms.bool(
False),
124 DeadModules_DB = cms.bool(
False),
125 DeadModules = cms.VPSet(),
126 AddInefficiency = cms.bool(
False),
127 Inefficiency_DB = cms.bool(
False),
128 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
129 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,
131 CellsToKill = cms.VPSet()
134 SSDigitizerAlgorithm = cms.PSet(
135 ElectronPerAdc = cms.double(135.0),
137 ReadoutNoiseInElec = cms.double(1000.0),
138 ThresholdInElectrons_Barrel = cms.double(5800.),
139 ThresholdInElectrons_Endcap = cms.double(5800.),
140 AddThresholdSmearing = cms.bool(
True),
141 ThresholdSmearing_Barrel = cms.double(580.0),
142 ThresholdSmearing_Endcap = cms.double(580.0),
143 HIPThresholdInElectrons_Barrel = cms.double(1.0e10),
144 HIPThresholdInElectrons_Endcap = cms.double(1.0e10),
145 NoiseInElectrons = cms.double(1000),
146 DigitalReadout = cms.bool(
True),
147 AdcFullScale = cms.int32(255),
148 TofUpperCut = cms.double(12.5),
149 TofLowerCut = cms.double(-12.5),
150 AddNoisyPixels = cms.bool(
True),
151 Alpha2Order = cms.bool(
True),
152 AddNoise = cms.bool(
True),
153 AddXTalk = cms.bool(
True),
154 InterstripCoupling = cms.double(0.05),
155 SigmaZero = cms.double(0.00037),
156 SigmaCoeff = cms.double(1.80),
157 ClusterWidth = cms.double(3),
158 LorentzAngle_DB = cms.bool(
False),
159 TanLorentzAnglePerTesla_Endcap = cms.double(0.07),
160 TanLorentzAnglePerTesla_Barrel = cms.double(0.07),
161 KillModules = cms.bool(
False),
162 DeadModules_DB = cms.bool(
False),
163 DeadModules = cms.VPSet(),
164 AddInefficiency = cms.bool(
False),
165 Inefficiency_DB = cms.bool(
False),
166 EfficiencyFactors_Barrel = cms.vdouble(0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999, 0.999 ),
167 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,
169 CellsToKill = cms.VPSet()
186 from Configuration.ProcessModifiers.premix_stage1_cff
import premix_stage1
187 _premixStage1ModifyDict =
dict(
189 PixelDigitizerAlgorithm =
dict(
190 AddNoisyPixels =
False,
191 AddInefficiency =
False,
192 AddThresholdSmearing =
False,
193 ElectronPerAdc = phase2TrackerDigitizer.PSPDigitizerAlgorithm.ElectronPerAdc.value(),
194 AdcFullScale = phase2TrackerDigitizer.PSPDigitizerAlgorithm.AdcFullScale.value(),
196 PSPDigitizerAlgorithm =
dict(
197 AddNoisyPixels =
False,
198 AddInefficiency =
False,
199 AddThresholdSmearing =
False,
201 PSSDigitizerAlgorithm =
dict(
202 AddNoisyPixels =
False,
203 AddInefficiency =
False,
204 AddThresholdSmearing =
False,
206 SSDigitizerAlgorithm =
dict(
207 AddNoisyPixels =
False,
208 AddInefficiency =
False,
209 AddThresholdSmearing =
False,
212 premix_stage1.toModify(phase2TrackerDigitizer, **_premixStage1ModifyDict)