CMS 3D CMS Logo

es_hardcode_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 es_hardcode = cms.ESSource("HcalHardcodeCalibrations",
4  GainWidthsForTrigPrims = cms.bool(True),
5  HBRecalibration = cms.bool(True),
6  HBmeanenergies = cms.FileInPath('CalibCalorimetry/HcalPlugins/data/meanenergiesHB.txt'),
7  HBreCalibCutoff = cms.double(100.0),
8  HERecalibration = cms.bool(False),
9  HEmeanenergies = cms.FileInPath('CalibCalorimetry/HcalPlugins/data/meanenergiesHE.txt'),
10  HEreCalibCutoff = cms.double(100.0),
11  HFRecalParameterBlock = cms.PSet(
12  HFdepthOneParameterA = cms.vdouble(
13  0.004123, 0.00602, 0.008201, 0.010489, 0.013379,
14  0.016997, 0.021464, 0.027371, 0.034195, 0.044807,
15  0.058939, 0.125497
16  ),
17  HFdepthOneParameterB = cms.vdouble(
18  -4e-06, -2e-06, 0.0, 4e-06, 1.5e-05,
19  2.6e-05, 6.3e-05, 8.4e-05, 0.00016, 0.000107,
20  0.000425, 0.000209
21  ),
22  HFdepthTwoParameterA = cms.vdouble(
23  0.002861, 0.004168, 0.0064, 0.008388, 0.011601,
24  0.014425, 0.018633, 0.023232, 0.028274, 0.035447,
25  0.051579, 0.086593
26  ),
27  HFdepthTwoParameterB = cms.vdouble(
28  -2e-06, -0.0, -7e-06, -6e-06, -2e-06,
29  1e-06, 1.9e-05, 3.1e-05, 6.7e-05, 1.2e-05,
30  0.000157, -3e-06
31  )
32  ),
33  HFRecalibration = cms.bool(True),
34  SiPMCharacteristics = cms.VPSet(
35  cms.PSet(
36  crosstalk = cms.double(0.0),
37  nonlin1 = cms.double(1.0),
38  nonlin2 = cms.double(0.0),
39  nonlin3 = cms.double(0.0),
40  pixels = cms.int32(36000)
41  ),
42  cms.PSet(
43  crosstalk = cms.double(0.0),
44  nonlin1 = cms.double(1.0),
45  nonlin2 = cms.double(0.0),
46  nonlin3 = cms.double(0.0),
47  pixels = cms.int32(2500)
48  ),
49  cms.PSet(
50  crosstalk = cms.double(0.17),
51  nonlin1 = cms.double(1.00985),
52  nonlin2 = cms.double(7.84089e-06),
53  nonlin3 = cms.double(2.86282e-10),
54  pixels = cms.int32(27370)
55  ),
56  cms.PSet(
57  crosstalk = cms.double(0.196),
58  nonlin1 = cms.double(1.00546),
59  nonlin2 = cms.double(6.40239e-06),
60  nonlin3 = cms.double(1.27011e-10),
61  pixels = cms.int32(38018)
62  ),
63  cms.PSet(
64  crosstalk = cms.double(0.17),
65  nonlin1 = cms.double(1.00985),
66  nonlin2 = cms.double(7.84089e-06),
67  nonlin3 = cms.double(2.86282e-10),
68  pixels = cms.int32(27370)
69  ),
70  cms.PSet(
71  crosstalk = cms.double(0.196),
72  nonlin1 = cms.double(1.00546),
73  nonlin2 = cms.double(6.40239e-06),
74  nonlin3 = cms.double(1.27011e-10),
75  pixels = cms.int32(38018)
76  ),
77  cms.PSet(
78  crosstalk = cms.double(0.0),
79  nonlin1 = cms.double(1.0),
80  nonlin2 = cms.double(0.0),
81  nonlin3 = cms.double(0.0),
82  pixels = cms.int32(0)
83  )
84  ),
85  hb = cms.PSet(
86  darkCurrent = cms.vdouble(0.0),
87  doRadiationDamage = cms.bool(False),
88  gain = cms.vdouble(0.19),
89  gainWidth = cms.vdouble(0.0),
90  mcShape = cms.int32(125),
91  pedestal = cms.double(3.285),
92  pedestalWidth = cms.double(0.809),
93  photoelectronsToAnalog = cms.double(0.3305),
94  qieOffset = cms.vdouble(-0.49, 1.8, 7.2, 37.9),
95  qieSlope = cms.vdouble(0.912, 0.917, 0.922, 0.923),
96  qieType = cms.int32(0),
97  recoShape = cms.int32(105),
98  zsThreshold = cms.int32(8)
99  ),
100  hbUpgrade = cms.PSet(
101  darkCurrent = cms.vdouble(0.01, 0.015),
102  doRadiationDamage = cms.bool(True),
103  gain = cms.vdouble(0.0006252),
104  gainWidth = cms.vdouble(0),
105  mcShape = cms.int32(206),
106  pedestal = cms.double(17.3),
107  pedestalWidth = cms.double(1.5),
108  photoelectronsToAnalog = cms.double(40.0),
109  qieOffset = cms.vdouble(0.0, 0.0, 0.0, 0.0),
110  qieSlope = cms.vdouble(0.05376, 0.05376, 0.05376, 0.05376),
111  qieType = cms.int32(2),
112  radiationDamage = cms.PSet(
113  depVsNeutrons = cms.vdouble(5.543e-10, 8.012e-10),
114  depVsTemp = cms.double(0.0631),
115  intlumiOffset = cms.double(150),
116  intlumiToNeutrons = cms.double(367000000.0),
117  temperatureBase = cms.double(20),
118  temperatureNew = cms.double(-5)
119  ),
120  recoShape = cms.int32(206),
121  zsThreshold = cms.int32(16)
122  ),
123  he = cms.PSet(
124  darkCurrent = cms.vdouble(0.0),
125  doRadiationDamage = cms.bool(False),
126  gain = cms.vdouble(0.23),
127  gainWidth = cms.vdouble(0),
128  mcShape = cms.int32(125),
129  pedestal = cms.double(3.163),
130  pedestalWidth = cms.double(0.9698),
131  photoelectronsToAnalog = cms.double(0.3305),
132  qieOffset = cms.vdouble(-0.38, 2.0, 7.6, 39.6),
133  qieSlope = cms.vdouble(0.912, 0.916, 0.92, 0.922),
134  qieType = cms.int32(0),
135  recoShape = cms.int32(105),
136  zsThreshold = cms.int32(9)
137  ),
138  heUpgrade = cms.PSet(
139  darkCurrent = cms.vdouble(0.01, 0.015),
140  doRadiationDamage = cms.bool(True),
141  gain = cms.vdouble(0.0006252),
142  gainWidth = cms.vdouble(0),
143  mcShape = cms.int32(206),
144  pedestal = cms.double(17.3),
145  pedestalWidth = cms.double(1.5),
146  photoelectronsToAnalog = cms.double(40.0),
147  qieOffset = cms.vdouble(0.0, 0.0, 0.0, 0.0),
148  qieSlope = cms.vdouble(0.05376, 0.05376, 0.05376, 0.05376),
149  qieType = cms.int32(2),
150  radiationDamage = cms.PSet(
151  depVsNeutrons = cms.vdouble(5.543e-10, 8.012e-10),
152  depVsTemp = cms.double(0.0631),
153  intlumiOffset = cms.double(75),
154  intlumiToNeutrons = cms.double(29200000.0),
155  temperatureBase = cms.double(20),
156  temperatureNew = cms.double(5)
157  ),
158  recoShape = cms.int32(206),
159  zsThreshold = cms.int32(16)
160  ),
161  hf = cms.PSet(
162  darkCurrent = cms.vdouble(0.0),
163  doRadiationDamage = cms.bool(False),
164  gain = cms.vdouble(0.14, 0.135),
165  gainWidth = cms.vdouble(0.0, 0.0),
166  mcShape = cms.int32(301),
167  pedestal = cms.double(9.354),
168  pedestalWidth = cms.double(2.516),
169  photoelectronsToAnalog = cms.double(0.0),
170  qieOffset = cms.vdouble(-0.87, 1.4, 7.8, -29.6),
171  qieSlope = cms.vdouble(0.359, 0.358, 0.36, 0.367),
172  qieType = cms.int32(0),
173  recoShape = cms.int32(301),
174  zsThreshold = cms.int32(-9999)
175  ),
176  hfUpgrade = cms.PSet(
177  darkCurrent = cms.vdouble(0.0),
178  doRadiationDamage = cms.bool(False),
179  gain = cms.vdouble(0.14, 0.135),
180  gainWidth = cms.vdouble(0.0, 0.0),
181  mcShape = cms.int32(301),
182  pedestal = cms.double(13.33),
183  pedestalWidth = cms.double(3.33),
184  photoelectronsToAnalog = cms.double(0.0),
185  qieOffset = cms.vdouble(0.0697, -0.7405, 12.38, -671.9),
186  qieSlope = cms.vdouble(0.297, 0.298, 0.298, 0.313),
187  qieType = cms.int32(1),
188  recoShape = cms.int32(301),
189  zsThreshold = cms.int32(-9999)
190  ),
191  ho = cms.PSet(
192  darkCurrent = cms.vdouble(0.0),
193  doRadiationDamage = cms.bool(False),
194  gain = cms.vdouble(0.006, 0.0087),
195  gainWidth = cms.vdouble(0.0, 0.0),
196  mcShape = cms.int32(201),
197  pedestal = cms.double(12.06),
198  pedestalWidth = cms.double(0.6285),
199  photoelectronsToAnalog = cms.double(4.0),
200  qieOffset = cms.vdouble(-0.44, 1.4, 7.1, 38.5),
201  qieSlope = cms.vdouble(0.907, 0.915, 0.92, 0.921),
202  qieType = cms.int32(0),
203  recoShape = cms.int32(201),
204  zsThreshold = cms.int32(24)
205  ),
206  iLumi = cms.double(1000.0),
207  killHE = cms.bool(True),
208  testHEPlan1 = cms.bool(False),
209  testHFQIE10 = cms.bool(False),
210  toGet = cms.untracked.vstring(
211  'GainWidths',
212  'MCParams',
213  'RecoParams',
214  'RespCorrs',
215  'QIEData',
216  'QIETypes',
217  'Gains',
218  'Pedestals',
219  'PedestalWidths',
220  'EffectivePedestals',
221  'EffectivePedestalWidths',
222  'ChannelQuality',
223  'ZSThresholds',
224  'TimeCorrs',
225  'LUTCorrs',
226  'LutMetadata',
227  'L1TriggerObjects',
228  'PFCorrs',
229  'FrontEndMap',
230  'CovarianceMatrices',
231  'SiPMParameters',
232  'SiPMCharacteristics',
233  'TPChannelParameters',
234  'TPParameters',
235  'FlagHFDigiTimeParams'
236  ),
237  useHBUpgrade = cms.bool(True),
238  useHEUpgrade = cms.bool(True),
239  useHFUpgrade = cms.bool(True),
240  useHOUpgrade = cms.bool(True),
241  useIeta18depth1 = cms.bool(False),
242  useLayer0Weight = cms.bool(True)
243 )