CMS 3D CMS Logo

EcalTrivialCondRetriever_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 EcalTrivialConditionRetriever = cms.ESSource("EcalTrivialConditionRetriever",
4  TotLumi = cms.untracked.double(0.0),
5  InstLumi = cms.untracked.double(0.0),
6  producedEcalChannelStatus = cms.untracked.bool(True),
7  producedEcalDQMTowerStatus = cms.untracked.bool(True),
8  producedEcalDQMChannelStatus = cms.untracked.bool(True),
9  producedEcalDCSTowerStatus = cms.untracked.bool(True),
10  producedEcalDAQTowerStatus = cms.untracked.bool(True),
11  producedEcalTrgChannelStatus = cms.untracked.bool(True),
12  # Values to get correct noise on RecHit amplitude using 3+5 weights
13  EBpedRMSX12 = cms.untracked.double(1.089),
14  weightsForTB = cms.untracked.bool(False),
15  # channel status
16  channelStatusFile = cms.untracked.string(''),
17  producedEcalPedestals = cms.untracked.bool(True),
18  # If set true reading optimized weights (3+5 weights) from file
19  getWeightsFromFile = cms.untracked.bool(True),
20  intercalibErrorsFile = cms.untracked.string(''),
21  laserAPDPNMean = cms.untracked.double(1.0),
22  laserAPDPNRefMean = cms.untracked.double(1.0),
23  # untracked string amplWeightsFile = "CalibCalorimetry/EcalTrivialCondModules/data/ampWeights_TB.txt"
24  # file with intercalib constants - same format used for online and offline DB
25  # by default set all inter calib const to 1.0 if no file provided
26  intercalibConstantsFile = cms.untracked.string(''),
27  linearCorrectionsFile = cms.untracked.string(''),
28  producedEcalWeights = cms.untracked.bool(True),
29  EEpedRMSX12 = cms.untracked.double(2.018),
30  producedEcalLinearCorrections = cms.untracked.bool(True),
31  producedEcalIntercalibConstants = cms.untracked.bool(True),
32  producedEcalIntercalibConstantsMC = cms.untracked.bool(True),
33  producedEcalIntercalibErrors = cms.untracked.bool(True),
34  producedEcalTimeCalibConstants = cms.untracked.bool(True),
35  producedEcalTimeCalibErrors = cms.untracked.bool(True),
36  producedEcalTimeOffsetConstant = cms.untracked.bool(True),
37  producedEcalLaserCorrection = cms.untracked.bool(True),
38  producedEcalGainRatios = cms.untracked.bool(True),
39  producedEcalADCToGeVConstant = cms.untracked.bool(True),
40  adcToGeVEBConstant = cms.untracked.double(0.035),
41  adcToGeVEEConstant = cms.untracked.double(0.06),
42  # cluster functions/corrections -- by default no parameters are passed
43  producedEcalClusterLocalContCorrParameters = cms.untracked.bool(True),
44  localContCorrParameters = cms.untracked.vdouble(
45 # 1.00365, 0.0007179, -0.008303, 0.01116, -0.1057, 1.00362, 0.0006617, -0.005505, -0.01044, -0.1770, 1.0035),
46 # Monte Carlo (Apr 2012)
47 # 1.00385, 0.000847402, 0.0419403, 1.0033, 0.00100782, 0.0362918,
48 # 1.00322, 0.000902587, 0.0335483, 1.00478, 0.000112104, 0.05377,
49 # 1.00363, -0.00168853, 0.0392934, 1.00374, -0.00197705, 0.0402998,
50 # 1.00258, -0.00121254, 0.0278283, 1.00266, 0.00165111, 0.0245362),
51 # data (Apr 2012)
52  1.00603, 0.00300789, 0.0667232, 1.00655, 0.00386189, 0.073931,
53  1.00634, 0.00631341, 0.0764134, 1.00957, 0.0113306, 0.123808,
54  1.00403, -0.0012733, 0.042925, 1.00394, -0.00137567, 0.0416698,
55  1.00298, -0.00111589, 0.0320377, 1.00269, -0.00153347, 0.0296769),
56  producedEcalClusterCrackCorrParameters = cms.untracked.bool(True),
57  crackCorrParameters = cms.untracked.vdouble(
58  0.9933, -0.01813, -0.03359, -0.09972, -0.2889, 0.9909, 0.04019,
59  -0.1095, 0.2401, -0.3412, 0.9942, -0.01245, -0.03002, -0.1098,
60  -0.2777, 0.9981, 0.01087, -0.01359, 0.06212, -0.354),
61  mappingFile = cms.untracked.string('Geometry/EcalMapping/data/EEMap.txt'),
62  producedEcalMappingElectronics = cms.untracked.bool(True),
63  energyUncertaintyParameters = cms.untracked.vdouble(
64  0.002793, 0.000908, 0.23592, 0.04446,
65  0.02463, -0.001782, -0.343492, -0.017968,
66  -0.013338, 0.0013819, 0.398369, 0.025488,
67  0.002264, 0.000674, 0.281829, 0.043100,
68  0.02047, -0.001914, -0.297824, -0.020220,
69  -0.010669, 0.001648, 0.464209, -0.01112,
70  0.000530, 0.001274, 0.21071, 0.04679,
71  0.031323, -0.001997, -0.40509, -0.05102,
72  -0.016961, 0.0014051, 0.313083, 0.059649,
73  -0.03947, 0.03364, 3.6768, 0.243637,
74  0.05167, -0.02335, -2.77506, -0.162785,
75  -0.011482, 0.004621, 0.511206, 0.032607,
76  -0.05062, 0.057102, 5.48885, -0.5305,
77  0.06604, -0.04686, -4.34245, 0.500381,
78  -0.01487, 0.010382, 0.823244, -0.09392,
79  -0.04195, 0.028296, 1.66651, 0.87535,
80  0.048104, -0.01493, -0.98163, -0.72297,
81  -0.010256, 0.001827, 0.149991, 0.144294),
82  producedEcalClusterEnergyUncertaintyParameters = cms.untracked.bool(True),
83  energyCorrectionParameters = cms.untracked.vdouble(
84 # 40.2198, -3.03103e-6,
85 # 1.1, 8.0, -0.05185, 0.1354, 0.9165, -0.0005626, 1.385,
86 # 1.002, -0.7424, 0, 0,
87 # 0, 0.5558, 2.375, 0.1869,
88 # 7.6, 1.081, -0.00181,
89 # 0, 0,
90 # 0.9, 6.5, -0.1214, 0.2362, 0.8847, -0.00193, 1.057,
91 # 2.213, -17.29,
92 # -0.599, 8.874,
93 # 0.09632, -1.457,
94 # -0.7584, 10.29,
95 # 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
96 # 1, 0, 0, 0, 0, 0, 0, 0),
97 # New dat from Yurii Maravin (2011/03/02)
98  40.2198, -3.03103e-6,
99  1.1, 8.0, -0.05289, 0.1374, 0.9141, -0.000669, 1.38,
100  1.000, -0.698, 0, 0,
101  0, 0.6605, 8.825, 0.841,
102  7.6, 1.081, -0.00181,
103  0, 0,
104  0.9, 6.5, -0.07945, 0.1298, 0.9147, -0.001565, 0.9,
105  -3.516, -2.362,
106  2.151, 1.572,
107  -0.336, -0.2807,
108  3.2, 0,
109  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
110  1, 0, 0, 0, 0, 0, 0, 0),
111  producedEcalClusterEnergyCorrectionParameters = cms.untracked.bool(True),
112  energyCorrectionObjectSpecificParameters = cms.untracked.vdouble(
113  # 2011 Nov 17
114 # fEta : p0, p1
115 # 40.2198, -3.03103e-6,
116 ## fBremEta : xcorr,par0, par1, par2, par3, par4 (x 14 x 2 (electron/photon))
117 # Electrons
118 #xcorr
119 # 1.00227, 1.00252, 1.00225, 1.00159, 0.999475, 0.997203, 0.993886,
120 # 0.971262, 0.975922, 0.979087, 0.98495, 0.98781, 0.989546, 0.989638,
121 #par
122 # 1.00718, -0.00187886, 0, 0, 0,
123 # 1.00713, -0.00227574, 0, 0, 0,
124 # 1.00641, -0.00259935, 0, 0, 0,
125 # 1.00761, -0.00433692, 0, 0, 0,
126 # 1.00682, -0.00551324, 0, 0, 0,
127 # 1.0073, -0.00799669, 0, 0, 0,
128 # 1.00462, -0.00870057, 0, 0, 0,
129 # 0.972798, -0.000771577, -0.00276696, 0, 0,
130 # 0.981672, -0.00202028, -0.00471028, 0, 0,
131 # 0.98251, 0.00441308, -0.00809139, 0, 0,
132 # 0.986123, 0.00832913, -0.00944584, 0, 0,
133 # 0.990124, 0.00742879, -0.00960462, 0, 0,
134 # 0.990187, 0.0094608, -0.010172, 0, 0,
135 # 0.99372, 0.00560406, -0.00943169, 0, 0,
136 # Photons
137 #xcorr
138 # 1.00506, 1.00697, 1.00595, 1.00595, 1.00595, 1.00595, 1.00595,
139 # 0.966651, 0.97381, 0.976516, 0.983254, 0.98502, 0.98502, 0.978472,
140 #par
141 # 0.00132382, 2.17664, -0.00467206, 0.988994, 17.5858,
142 # -0.00590257, 1.90733, 0.000684327, 0.986431, 16.6698,
143 # 0.00265109, 1.73272, -0.00107022, 0.989322, 15.4911,
144 # 0.00231631, 1.3463, -0.00369555, 0.987133, 10.9233,
145 # 0.00984253, 1.33889, -0.00392593, 0.979191, 9.35276,
146 # 0.023683, 1.31198, -0.00947317, 0.963352, 7.5597,
147 # 0.0851133, 1.38097, -0.0340201, 0.969502, 4.17983,
148 # 6.71705, 5034.26, -2.68669, 0.970174, 1.00288,
149 # 1306.82, 472004, -1.86145, 0.981714, -0.25644,
150 # 0.317121, 3.22717, -0.126848, 0.957792, 2.01028,
151 # 0.275225, 2.20686, -0.11009, 0.93922, 2.69958,
152 # 0.0639875, 1.40045, -0.0255853, 0.821566, 7.3297,
153 # 0.030488, 1.37842, -0.0121879, 0.8173, 9.29944,
154 # 0.213906, 1.67471, -0.0860589, 0.893636, 3.78218,
155 ## fEt : 7 x 4 (photon/electron, EB/EE)
156 # Electrons EB
157 # 0.97213, 0.999528, 5.61192e-06, 0.0143269, -17.1776, 0, 0,
158 # Electrons EE
159 # 0.930081, 0.996683, 3.54079e-05, 0.0460187, -23.2461, 0, 0,
160 # Photons EB
161 # 1, 1.00348, 1.001, -9.17302e-06, 0.999688, 0, 0,
162 # Photons EE
163 # 1, 0.996931, 0.999497, 0.992617, 7.52128e-05, -1.2845e-07, 1.00231,
164 ## fEnergy : 5 x 2 (photon/electron, EE only)
165 # Electrons EE
166 # 400, 0.982475, 4.95413e-05, 0.16886, -30.1517,
167 # Photons EE
168 # 850, 0.994169, 1.28629e-05, 0, 0),
169 # 2012 May 16
170 # fEta : p0, p1
171  40.2198, -3.03103e-6,
172 # Electron f(Brem,eta):
173  1.00355, 1.00377, 1.00307, 1.00235, 1.0008, 0.999123, 0.995808,
174  0.974023, 0.983046, 0.986587, 0.989959, 0.992291, 0.994088, 0.994841,
175 
176  1.00824, -0.00195358, 0, 0, 0,
177  1.00848, -0.00249326, 0, 0, 0,
178  1.00762, -0.00267961, 0, 0, 0,
179  1.00817, -0.00405541, 0, 0, 0,
180  1.00648, -0.00472328, 0, 0, 0,
181  1.00823, -0.00789251, 0, 0, 0,
182  1.00671, -0.00889114, 0, 0, 0,
183  0.977122, -0.00079133, -0.00213429, 0, 0,
184  0.988986, -0.00383962, -0.00256931, 0, 0,
185  0.990514, 0.00110704, -0.00538053, 0, 0,
186  0.989242, 0.00822155, -0.00760498, 0, 0,
187  0.99109, 0.0100383, -0.00889766, 0, 0,
188  0.984981, 0.0207496, -0.011706, 0, 0,
189  0.996159, 0.00762923, -0.00876377, 0, 0,
190 # Photon f(Brem,eta):
191  1.00942, 1.01462, 1.00984, 1.00984, 1.00984, 1.00984, 1.00984,
192  0.976343, 0.984129, 0.985861, 0.987185, 0.986922, 0.984653, 0.984653,
193 
194  0.0631272, 2.07465, -0.0006589, 0.989607, 12.9334,
195  -0.00810258, 1.87803, 0.00312754, 0.989272, 12.777,
196  -0.000777875, 1.6271, 0.0409175, 0.992587, 10.4214,
197  0.00499402, 1.27952, -0.0171224, 0.990867, 7.31709,
198  0.0206879, 1.3566, -0.00869229, 0.983379, 7.12404,
199  0.117245, 1.67142, -0.0468981, 0.986991, 2.89181,
200  0.0855469, 1.42217, -0.0342187, 0.971139, 4.21491,
201  2.32816, 556.179, -0.93126, 0.972245, 1.83274,
202  0.462982, 4.21266, -0.0638084, 0.973512, 1.96724,
203  0.267879, 2.82353, -0.107158, 0.955956, 2.67778,
204  0.2808, 3.11316, -0.11232, 0.956383, 2.8149,
205  0.012426, 1.80645, -1.10844, 0.907241, 4.27577,
206  0.266712, 2.74984, -0.106685, 0.958985, 2.72102,
207  0.253367, 2.53726, -0.101347, 0.925249, 3.76083,
208 ## f(ET) Electron EB
209  0.976603, 0.999277, 6.91141e-06, 0.0493142, -8.21903, 0, 0,
210 # f(ET) Electron EE
211  0.949713, 1.00196, 3.84843e-06, 0.0329028, -34.6927, 0, 0,
212 # f(ET) Photon EB
213  1, 1.00213, 1.00069, -5.27777e-06, 0.99992, 0, 0,
214 # f(ET) Photon EE
215  1, 1.00206, 0.998431, 0.995999, 3.22962e-05, -1.8556e-08, 1.00205,
216 # f(E) Electron EE
217  400, 0.986762, 3.65522e-05, 0.178521, -24.8851,
218 # f(E) Photon EE
219  600, 0.995234, 1.14198e-05, 0, 0),
220 
221  producedEcalClusterEnergyCorrectionObjectSpecificParameters = cms.untracked.bool(True),
222 
223  producedEcalSampleMask = cms.untracked.bool(True),
224  sampleMaskEB = cms.untracked.uint32(1023),
225  sampleMaskEE = cms.untracked.uint32(1023),
226 
227  producedEcalTimeBiasCorrections = cms.untracked.bool(True),
228 
229 # trivial
230 # EBtimeCorrAmplitudeBins = cms.untracked.vdouble(0),
231 # EBtimeCorrShiftBins = cms.untracked.vdouble(0),
232 # EEtimeCorrAmplitudeBins = cms.untracked.vdouble(0),
233 # EEtimeCorrShiftBins = cms.untracked.vdouble(0)
234 # data 2011
235  EBtimeCorrAmplitudeBins = cms.untracked.vdouble(
236  7.9, 8.9, 10, 11.2, 12.5, 14.1, 15.8, 17.7, 19.9, 22.3, 25, 28.1, 31.5, 35.3, 39.7,
237  44.5, 49.9, 56, 62.8, 70.5, 79.1, 88.8, 99.6, 111.7, 125.4, 140.7, 157.9, 177.1, 198.7, 223,
238  250.2, 280.7, 315, 353.4, 396.5, 444.9, 499.2, 560.1, 628.4, 705.1, 791.1, 887.7, 996, 1117.5, 1253.9,
239  1406.8, 1578.5, 1771.1, 1987.2, 2229.7, 2501.8, 2807, 3149.5, 3533.8, 3895.9, 3896, 4311.8, 4837.9, 5428.2, 6090.6,
240  6833.7, 7667.5, 8603.1, 9652.9, 10830, 12152, 13635, 15298, 17165, 19260, 21610),
241  EBtimeCorrShiftBins = cms.untracked.vdouble(
242  -1.770, -1.770, -1.770, -1.770, -1.666, -1.430, -1.233, -1.012, -0.866, -0.736, -0.640, -0.561, -0.505, -0.452, -0.405,
243  -0.363, -0.335, -0.305, -0.279, -0.260, -0.239, -0.220, -0.204, -0.191, -0.186, -0.177, -0.158, -0.137, -0.126, -0.115,
244  -0.104, -0.096, -0.085, -0.064, -0.056, -0.036, -0.020, -0.006, -0.020, -0.009, -0.020, 0.005, 0.053, 0.076, 0.093,
245  0.137, 0.143, 0.171, 0.222, 0.229, 0.271, 0.298, 0.312, 0.307, 0.254 , -0.997 ,-0.859 , -0.819, -0.775, -0.589,
246  -0.428, -0.288, -0.434, -0.277, -0.210, -0.179, -0.134, 0.362, 0.152, -0.282, -0.382),
247  EEtimeCorrAmplitudeBins = cms.untracked.vdouble(
248  15.7, 17.6, 19.7, 22.1, 24.8, 27.9, 31.3, 35.1, 39.4, 44.2, 49.6, 55.6, 62.4, 70, 78.6,
249  88.1, 98.9, 111, 124.5, 139.7, 156.7, 175.9, 197.3, 221.4, 248.4, 278.7, 312.7, 350.9, 393.7, 441.7,
250  495.6, 556.1, 624, 700.1, 785.5, 881.4, 988.9, 1109.6, 1245, 1396.9, 1567.3, 1758.6, 1973.1, 2213.9, 2484,
251  2787.1, 3127.2, 3508.8, 3936.9, 4417.3, 4956.3, 5561.1, 6239.6, 7001, 7522.8, 8440.7, 9470.6, 10626),
252  EEtimeCorrShiftBins = cms.untracked.vdouble(
253  -0.896, -0.896, -0.896, -0.896, -0.563, -0.392, -0.287, -0.203, -0.135, -0.100, -0.068, -0.050, -0.060, -0.052, -0.055,
254  -0.050, -0.052, -0.056, -0.055, -0.056, -0.048, -0.037, -0.038, -0.037, -0.025, -0.026, -0.024, -0.013, -0.003, 0.005,
255  0.020, 0.026, 0.008, 0.007, -0.006, 0.024, 0.045, 0.062, 0.085, 0.088 , 0.111 , 0.139, 0.156, 0.176, 0.210,
256  0.242, 0.267, 0.301, 0.318, 0.278, 0.287, 0.218, 0.305, 0.245, 0.184, -0.159, -0.095, 0.037),
257 
258  producedEcalSamplesCorrelation = cms.untracked.bool(True),
259  EBG12samplesCorrelation = cms.untracked.vdouble(
260  1.00000, 0.71073, 0.55721, 0.46089, 0.40449, 0.35931, 0.33924, 0.32439, 0.31581, 0.30481),
261  EBG6samplesCorrelation = cms.untracked.vdouble(
262  1.00000, 0.70946, 0.58021, 0.49846, 0.45006, 0.41366, 0.39699, 0.38478, 0.37847, 0.37055),
263  EBG1samplesCorrelation = cms.untracked.vdouble(
264  1.00000, 0.73354, 0.64442, 0.58851, 0.55425, 0.53082, 0.51916, 0.51097, 0.50732, 0.50409),
265  EEG12samplesCorrelation = cms.untracked.vdouble(
266  1.00000, 0.71373, 0.44825, 0.30152, 0.21609, 0.14786, 0.11772, 0.10165, 0.09465, 0.08098),
267  EEG6samplesCorrelation = cms.untracked.vdouble(
268  1.00000, 0.71217, 0.47464, 0.34056, 0.26282, 0.20287, 0.17734, 0.16256, 0.15618, 0.14443),
269  EEG1samplesCorrelation = cms.untracked.vdouble(
270  1.00000, 0.72698, 0.62048, 0.55691, 0.51848, 0.49147, 0.47813, 0.47007, 0.46621, 0.46265)
271 )