CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ### phase I Pulse Shapes
43  sim_pulse_shape_TI = cms.untracked.double( 1.0),
44  sim_pulse_shape_EB_thresh = cms.double(0.00013),
45  sim_pulse_shape_EE_thresh = cms.double(0.00025),
46  sim_pulse_shape_APD_thresh = cms.double(0),
47  EBSimPulseShapeFile = cms.untracked.string("EB_SimPulseShape.txt"),
48  EESimPulseShapeFile = cms.untracked.string("EE_SimPulseShape.txt"),
49  APDSimPulseShapeFile = cms.untracked.string("APD_SimPulseShape.txt"),
50  # cluster functions/corrections -- by default no parameters are passed
51  producedEcalClusterLocalContCorrParameters = cms.untracked.bool(True),
52  localContCorrParameters = cms.untracked.vdouble(
53 # 1.00365, 0.0007179, -0.008303, 0.01116, -0.1057, 1.00362, 0.0006617, -0.005505, -0.01044, -0.1770, 1.0035),
54 # Monte Carlo (Apr 2012)
55 # 1.00385, 0.000847402, 0.0419403, 1.0033, 0.00100782, 0.0362918,
56 # 1.00322, 0.000902587, 0.0335483, 1.00478, 0.000112104, 0.05377,
57 # 1.00363, -0.00168853, 0.0392934, 1.00374, -0.00197705, 0.0402998,
58 # 1.00258, -0.00121254, 0.0278283, 1.00266, 0.00165111, 0.0245362),
59 # data (Apr 2012)
60  1.00603, 0.00300789, 0.0667232, 1.00655, 0.00386189, 0.073931,
61  1.00634, 0.00631341, 0.0764134, 1.00957, 0.0113306, 0.123808,
62  1.00403, -0.0012733, 0.042925, 1.00394, -0.00137567, 0.0416698,
63  1.00298, -0.00111589, 0.0320377, 1.00269, -0.00153347, 0.0296769),
64  producedEcalClusterCrackCorrParameters = cms.untracked.bool(True),
65  crackCorrParameters = cms.untracked.vdouble(
66  0.9933, -0.01813, -0.03359, -0.09972, -0.2889, 0.9909, 0.04019,
67  -0.1095, 0.2401, -0.3412, 0.9942, -0.01245, -0.03002, -0.1098,
68  -0.2777, 0.9981, 0.01087, -0.01359, 0.06212, -0.354),
69  mappingFile = cms.untracked.string('Geometry/EcalMapping/data/EEMap.txt'),
70  producedEcalMappingElectronics = cms.untracked.bool(True),
71  energyUncertaintyParameters = cms.untracked.vdouble(
72  0.002793, 0.000908, 0.23592, 0.04446,
73  0.02463, -0.001782, -0.343492, -0.017968,
74  -0.013338, 0.0013819, 0.398369, 0.025488,
75  0.002264, 0.000674, 0.281829, 0.043100,
76  0.02047, -0.001914, -0.297824, -0.020220,
77  -0.010669, 0.001648, 0.464209, -0.01112,
78  0.000530, 0.001274, 0.21071, 0.04679,
79  0.031323, -0.001997, -0.40509, -0.05102,
80  -0.016961, 0.0014051, 0.313083, 0.059649,
81  -0.03947, 0.03364, 3.6768, 0.243637,
82  0.05167, -0.02335, -2.77506, -0.162785,
83  -0.011482, 0.004621, 0.511206, 0.032607,
84  -0.05062, 0.057102, 5.48885, -0.5305,
85  0.06604, -0.04686, -4.34245, 0.500381,
86  -0.01487, 0.010382, 0.823244, -0.09392,
87  -0.04195, 0.028296, 1.66651, 0.87535,
88  0.048104, -0.01493, -0.98163, -0.72297,
89  -0.010256, 0.001827, 0.149991, 0.144294),
90  producedEcalClusterEnergyUncertaintyParameters = cms.untracked.bool(True),
91  energyCorrectionParameters = cms.untracked.vdouble(
92 # 40.2198, -3.03103e-6,
93 # 1.1, 8.0, -0.05185, 0.1354, 0.9165, -0.0005626, 1.385,
94 # 1.002, -0.7424, 0, 0,
95 # 0, 0.5558, 2.375, 0.1869,
96 # 7.6, 1.081, -0.00181,
97 # 0, 0,
98 # 0.9, 6.5, -0.1214, 0.2362, 0.8847, -0.00193, 1.057,
99 # 2.213, -17.29,
100 # -0.599, 8.874,
101 # 0.09632, -1.457,
102 # -0.7584, 10.29,
103 # 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
104 # 1, 0, 0, 0, 0, 0, 0, 0),
105 # New dat from Yurii Maravin (2011/03/02)
106  40.2198, -3.03103e-6,
107  1.1, 8.0, -0.05289, 0.1374, 0.9141, -0.000669, 1.38,
108  1.000, -0.698, 0, 0,
109  0, 0.6605, 8.825, 0.841,
110  7.6, 1.081, -0.00181,
111  0, 0,
112  0.9, 6.5, -0.07945, 0.1298, 0.9147, -0.001565, 0.9,
113  -3.516, -2.362,
114  2.151, 1.572,
115  -0.336, -0.2807,
116  3.2, 0,
117  1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
118  1, 0, 0, 0, 0, 0, 0, 0),
119  producedEcalClusterEnergyCorrectionParameters = cms.untracked.bool(True),
120  energyCorrectionObjectSpecificParameters = cms.untracked.vdouble(
121  # 2011 Nov 17
122 # fEta : p0, p1
123 # 40.2198, -3.03103e-6,
124 ## fBremEta : xcorr,par0, par1, par2, par3, par4 (x 14 x 2 (electron/photon))
125 # Electrons
126 #xcorr
127 # 1.00227, 1.00252, 1.00225, 1.00159, 0.999475, 0.997203, 0.993886,
128 # 0.971262, 0.975922, 0.979087, 0.98495, 0.98781, 0.989546, 0.989638,
129 #par
130 # 1.00718, -0.00187886, 0, 0, 0,
131 # 1.00713, -0.00227574, 0, 0, 0,
132 # 1.00641, -0.00259935, 0, 0, 0,
133 # 1.00761, -0.00433692, 0, 0, 0,
134 # 1.00682, -0.00551324, 0, 0, 0,
135 # 1.0073, -0.00799669, 0, 0, 0,
136 # 1.00462, -0.00870057, 0, 0, 0,
137 # 0.972798, -0.000771577, -0.00276696, 0, 0,
138 # 0.981672, -0.00202028, -0.00471028, 0, 0,
139 # 0.98251, 0.00441308, -0.00809139, 0, 0,
140 # 0.986123, 0.00832913, -0.00944584, 0, 0,
141 # 0.990124, 0.00742879, -0.00960462, 0, 0,
142 # 0.990187, 0.0094608, -0.010172, 0, 0,
143 # 0.99372, 0.00560406, -0.00943169, 0, 0,
144 # Photons
145 #xcorr
146 # 1.00506, 1.00697, 1.00595, 1.00595, 1.00595, 1.00595, 1.00595,
147 # 0.966651, 0.97381, 0.976516, 0.983254, 0.98502, 0.98502, 0.978472,
148 #par
149 # 0.00132382, 2.17664, -0.00467206, 0.988994, 17.5858,
150 # -0.00590257, 1.90733, 0.000684327, 0.986431, 16.6698,
151 # 0.00265109, 1.73272, -0.00107022, 0.989322, 15.4911,
152 # 0.00231631, 1.3463, -0.00369555, 0.987133, 10.9233,
153 # 0.00984253, 1.33889, -0.00392593, 0.979191, 9.35276,
154 # 0.023683, 1.31198, -0.00947317, 0.963352, 7.5597,
155 # 0.0851133, 1.38097, -0.0340201, 0.969502, 4.17983,
156 # 6.71705, 5034.26, -2.68669, 0.970174, 1.00288,
157 # 1306.82, 472004, -1.86145, 0.981714, -0.25644,
158 # 0.317121, 3.22717, -0.126848, 0.957792, 2.01028,
159 # 0.275225, 2.20686, -0.11009, 0.93922, 2.69958,
160 # 0.0639875, 1.40045, -0.0255853, 0.821566, 7.3297,
161 # 0.030488, 1.37842, -0.0121879, 0.8173, 9.29944,
162 # 0.213906, 1.67471, -0.0860589, 0.893636, 3.78218,
163 ## fEt : 7 x 4 (photon/electron, EB/EE)
164 # Electrons EB
165 # 0.97213, 0.999528, 5.61192e-06, 0.0143269, -17.1776, 0, 0,
166 # Electrons EE
167 # 0.930081, 0.996683, 3.54079e-05, 0.0460187, -23.2461, 0, 0,
168 # Photons EB
169 # 1, 1.00348, 1.001, -9.17302e-06, 0.999688, 0, 0,
170 # Photons EE
171 # 1, 0.996931, 0.999497, 0.992617, 7.52128e-05, -1.2845e-07, 1.00231,
172 ## fEnergy : 5 x 2 (photon/electron, EE only)
173 # Electrons EE
174 # 400, 0.982475, 4.95413e-05, 0.16886, -30.1517,
175 # Photons EE
176 # 850, 0.994169, 1.28629e-05, 0, 0),
177 # 2012 May 16
178 # fEta : p0, p1
179  40.2198, -3.03103e-6,
180 # Electron f(Brem,eta):
181  1.00355, 1.00377, 1.00307, 1.00235, 1.0008, 0.999123, 0.995808,
182  0.974023, 0.983046, 0.986587, 0.989959, 0.992291, 0.994088, 0.994841,
183 
184  1.00824, -0.00195358, 0, 0, 0,
185  1.00848, -0.00249326, 0, 0, 0,
186  1.00762, -0.00267961, 0, 0, 0,
187  1.00817, -0.00405541, 0, 0, 0,
188  1.00648, -0.00472328, 0, 0, 0,
189  1.00823, -0.00789251, 0, 0, 0,
190  1.00671, -0.00889114, 0, 0, 0,
191  0.977122, -0.00079133, -0.00213429, 0, 0,
192  0.988986, -0.00383962, -0.00256931, 0, 0,
193  0.990514, 0.00110704, -0.00538053, 0, 0,
194  0.989242, 0.00822155, -0.00760498, 0, 0,
195  0.99109, 0.0100383, -0.00889766, 0, 0,
196  0.984981, 0.0207496, -0.011706, 0, 0,
197  0.996159, 0.00762923, -0.00876377, 0, 0,
198 # Photon f(Brem,eta):
199  1.00942, 1.01462, 1.00984, 1.00984, 1.00984, 1.00984, 1.00984,
200  0.976343, 0.984129, 0.985861, 0.987185, 0.986922, 0.984653, 0.984653,
201 
202  0.0631272, 2.07465, -0.0006589, 0.989607, 12.9334,
203  -0.00810258, 1.87803, 0.00312754, 0.989272, 12.777,
204  -0.000777875, 1.6271, 0.0409175, 0.992587, 10.4214,
205  0.00499402, 1.27952, -0.0171224, 0.990867, 7.31709,
206  0.0206879, 1.3566, -0.00869229, 0.983379, 7.12404,
207  0.117245, 1.67142, -0.0468981, 0.986991, 2.89181,
208  0.0855469, 1.42217, -0.0342187, 0.971139, 4.21491,
209  2.32816, 556.179, -0.93126, 0.972245, 1.83274,
210  0.462982, 4.21266, -0.0638084, 0.973512, 1.96724,
211  0.267879, 2.82353, -0.107158, 0.955956, 2.67778,
212  0.2808, 3.11316, -0.11232, 0.956383, 2.8149,
213  0.012426, 1.80645, -1.10844, 0.907241, 4.27577,
214  0.266712, 2.74984, -0.106685, 0.958985, 2.72102,
215  0.253367, 2.53726, -0.101347, 0.925249, 3.76083,
216 ## f(ET) Electron EB
217  0.976603, 0.999277, 6.91141e-06, 0.0493142, -8.21903, 0, 0,
218 # f(ET) Electron EE
219  0.949713, 1.00196, 3.84843e-06, 0.0329028, -34.6927, 0, 0,
220 # f(ET) Photon EB
221  1, 1.00213, 1.00069, -5.27777e-06, 0.99992, 0, 0,
222 # f(ET) Photon EE
223  1, 1.00206, 0.998431, 0.995999, 3.22962e-05, -1.8556e-08, 1.00205,
224 # f(E) Electron EE
225  400, 0.986762, 3.65522e-05, 0.178521, -24.8851,
226 # f(E) Photon EE
227  600, 0.995234, 1.14198e-05, 0, 0),
228 
229  producedEcalClusterEnergyCorrectionObjectSpecificParameters = cms.untracked.bool(True),
230 
231  producedEcalSampleMask = cms.untracked.bool(True),
232  sampleMaskEB = cms.untracked.uint32(1023),
233  sampleMaskEE = cms.untracked.uint32(1023),
234 
235  producedEcalTimeBiasCorrections = cms.untracked.bool(True),
236 
237 # trivial
238 # EBtimeCorrAmplitudeBins = cms.untracked.vdouble(0),
239 # EBtimeCorrShiftBins = cms.untracked.vdouble(0),
240 # EEtimeCorrAmplitudeBins = cms.untracked.vdouble(0),
241 # EEtimeCorrShiftBins = cms.untracked.vdouble(0)
242 # data 2011
243  EBtimeCorrAmplitudeBins = cms.untracked.vdouble(
244  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,
245  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,
246  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,
247  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,
248  6833.7, 7667.5, 8603.1, 9652.9, 10830, 12152, 13635, 15298, 17165, 19260, 21610),
249  EBtimeCorrShiftBins = cms.untracked.vdouble(
250  -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,
251  -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,
252  -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,
253  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,
254  -0.428, -0.288, -0.434, -0.277, -0.210, -0.179, -0.134, 0.362, 0.152, -0.282, -0.382),
255  EEtimeCorrAmplitudeBins = cms.untracked.vdouble(
256  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,
257  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,
258  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,
259  2787.1, 3127.2, 3508.8, 3936.9, 4417.3, 4956.3, 5561.1, 6239.6, 7001, 7522.8, 8440.7, 9470.6, 10626),
260  EEtimeCorrShiftBins = cms.untracked.vdouble(
261  -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,
262  -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,
263  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,
264  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),
265 
266  producedEcalSamplesCorrelation = cms.untracked.bool(True),
267  EBG12samplesCorrelation = cms.untracked.vdouble(
268  1.00000, 0.71073, 0.55721, 0.46089, 0.40449, 0.35931, 0.33924, 0.32439, 0.31581, 0.30481),
269  EBG6samplesCorrelation = cms.untracked.vdouble(
270  1.00000, 0.70946, 0.58021, 0.49846, 0.45006, 0.41366, 0.39699, 0.38478, 0.37847, 0.37055),
271  EBG1samplesCorrelation = cms.untracked.vdouble(
272  1.00000, 0.73354, 0.64442, 0.58851, 0.55425, 0.53082, 0.51916, 0.51097, 0.50732, 0.50409),
273  EEG12samplesCorrelation = cms.untracked.vdouble(
274  1.00000, 0.71373, 0.44825, 0.30152, 0.21609, 0.14786, 0.11772, 0.10165, 0.09465, 0.08098),
275  EEG6samplesCorrelation = cms.untracked.vdouble(
276  1.00000, 0.71217, 0.47464, 0.34056, 0.26282, 0.20287, 0.17734, 0.16256, 0.15618, 0.14443),
277  EEG1samplesCorrelation = cms.untracked.vdouble(
278  1.00000, 0.72698, 0.62048, 0.55691, 0.51848, 0.49147, 0.47813, 0.47007, 0.46621, 0.46265)
279 )