AliPhysics  41af4b0 (41af4b0)
readOCDB.C
Go to the documentation of this file.
1 #include "readOCDB_Temperature.C"
2 #include "readOCDB_LED.C"
3 
4 Int_t readTemp(Int_t *runs, Int_t nruns=1, const char *pername="unspec")
5 {
6  if (!gGrid)
7  TGrid::Connect("alien://");
8  AliCDBManager* cdb = AliCDBManager::Instance();
9  if (cdb->GetDefaultStorage()==0)
10  cdb->SetDefaultStorage("raw://");
11 
12  Int_t ret = 0;
13 
14  TObjArray arr;
15  arr.SetOwner(1);
16 
17  for (Int_t i=0;i<nruns;++i) {
18  Int_t rn = runs[i];
19  cout << "*** Working on " << i+1 << "/" << nruns << " with run number " << rn << " ***" << endl;
20  TInfo *ti = readOCDB_Temperature(rn,0);
21  if (!ti)
22  continue;
23  ti->Print();
24  arr.Add(ti);
25  ++ret;
26  }
27 
28  TFile *outf = TFile::Open("tempinfo.root","update");
29  arr.Write(Form("temperatures_%s",pername),TObject::kSingleKey);
30  outf->ls();
31  outf->Close();
32  delete outf;
33  Double_t frac = 100.*ret/nruns;
34  cout << "Finished temperature objects with " << frac << " percent!" << endl;
35  return ret;
36 }
37 
38 Int_t readLed(Int_t *runs, Int_t nruns=1, const char *pername="unspec")
39 {
40  if (!gGrid)
41  TGrid::Connect("alien://");
42  AliCDBManager* cdb = AliCDBManager::Instance();
43  if (cdb->GetDefaultStorage()==0)
44  cdb->SetDefaultStorage("raw://");
45 
46  Int_t ret = 0;
47 
48  TObjArray arr;
49  arr.SetOwner(1);
50 
51  for (Int_t i=0;i<nruns;++i) {
52  Int_t rn = runs[i];
53  cout << "*** Working on " << i+1 << "/" << nruns << " with run number " << rn << " ***" << endl;
54  LInfo *ti = readOCDB_LED(rn,0);
55  if (!ti)
56  continue;
57  ti->Print();
58  arr.Add(ti);
59  ++ret;
60  }
61 
62  TFile *outf = TFile::Open("ledinfo.root","update");
63  arr.Write(Form("led_%s",pername),TObject::kSingleKey);
64  outf->ls();
65  outf->Close();
66  delete outf;
67  Double_t frac = 100.*ret/nruns;
68  cout << "Finished LED objects with " << frac << " percent!" << endl;
69  return ret;
70 }
71 
72 void read_LHC13b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
73 {
74  Int_t runs[] = {195344, 195351, 195389, 195391, 195478, 195479, 195480, 195481, 195482, 195483};
75  Int_t nruns = sizeof(runs)/sizeof(Int_t);
76  if (test)
77  nruns=3;
78 
79  if (loc) {
80  AliCDBManager* cdb = AliCDBManager::Instance();
81  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2013/");
82  }
83 
84  if (!readLEDOnly) readTemp(runs,nruns,"lhc13b");
85  readLed(runs,nruns,"lhc13b");
86 }
87 
88 void read_LHC10b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
89 {
90  Int_t runs[] = {115393, 115399, 115401, 116102, 116288, 116402, 116403, 116643, 116645, 117050, 117052, 117053, 117059, 117060, 117063, 117099, 117109, 117112, 117116, 117220, 117222};
91  Int_t nruns = sizeof(runs)/sizeof(Int_t);
92  if (test)
93  nruns=3;
94 
95  if (loc) {
96  AliCDBManager* cdb = AliCDBManager::Instance();
97  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2010/");
98  }
99 
100  if (!readLEDOnly) readTemp(runs,nruns,"lhc10b");
101  readLed(runs,nruns,"lhc10b");
102 }
103 
104 void read_LHC10c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
105 {
106  Int_t runs[] = {119159, 119161, 119163, 119841, 119842, 119844, 119845, 119846, 119853, 119856, 119859, 119862, 120067, 120069, 120072, 120076, 120079, 120244, 120503, 120504, 120505, 120616, 120617, 120671, 120741, 120820, 120821, 120822, 120823, 120824, 120825, 120829};
107  Int_t nruns = sizeof(runs)/sizeof(Int_t);
108  if (test)
109  nruns=3;
110 
111  if (loc) {
112  AliCDBManager* cdb = AliCDBManager::Instance();
113  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2010/");
114  }
115 
116  if (!readLEDOnly) readTemp(runs,nruns,"lhc10c");
117  readLed(runs,nruns,"lhc10c");
118 }
119 
120 void read_LHC10d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
121 {
122  Int_t runs[] = {122374, 122375, 125630, 125632, 125633, 125842, 125843, 125844, 125847, 125848, 125849, 125850, 125851, 125855, 126004, 126007, 126008, 126073, 126078, 126081, 126082, 126088, 126090, 126097, 126158, 126160, 126167, 126168, 126284, 126285, 126351, 126352, 126359, 126403, 126404, 126405, 126406, 126407, 126408, 126409, 126422, 126424, 126425, 126432};
123  Int_t nruns = sizeof(runs)/sizeof(Int_t);
124  if (test)
125  nruns=3;
126 
127  if (loc) {
128  AliCDBManager* cdb = AliCDBManager::Instance();
129  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2010/");
130  }
131 
132  if (!readLEDOnly) readTemp(runs,nruns,"lhc10d");
133  readLed(runs,nruns,"lhc10d");
134 }
135 
136 void read_LHC10e(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
137 {
138  Int_t runs[] = {128486, 128494, 128495, 128498, 128503, 128504, 128505, 128506, 128582, 128590, 128592, 128594, 128596, 128605, 128609, 128611, 128615, 128621, 128677, 128678, 128777, 128778, 128819, 128820, 128823, 128824, 128833, 128834, 128835, 128836, 128843, 128850, 128853, 128855, 128913, 129042, 129512, 129513, 129514, 129515, 129516, 129519, 129520, 129521, 129523, 129524, 129525, 129527, 129528, 129536, 129540, 129586, 129587, 129599, 129639, 129641, 129647, 129650, 129651, 129652, 129653, 129659, 129666, 129723, 129726, 129729, 129734, 129735, 129736, 129738, 129742, 129744, 129959, 129960, 129961, 129962, 129966, 129983, 130149, 130151, 130157, 130158, 130168, 130172, 130178, 130343, 130354, 130356, 130358, 130360, 130375, 130480, 130481, 130517, 130519, 130696, 130704, 130793, 130795, 130798, 130799, 130834, 130840, 130842, 130844, 130847, 130848};
139  Int_t nruns = sizeof(runs)/sizeof(Int_t);
140  if (test)
141  nruns=3;
142 
143  if (loc) {
144  AliCDBManager* cdb = AliCDBManager::Instance();
145  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2010/");
146  }
147 
148  if (!readLEDOnly) readTemp(runs,nruns,"lhc10e");
149  readLed(runs,nruns,"lhc10e");
150 }
151 
152 void read_LHC10f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
153 {
154  Int_t runs[] = {133006, 133007, 133010, 133327, 133329, 133330, 133414, 133670, 133762, 133800, 133920, 133969, 133982};
155  Int_t nruns = sizeof(runs)/sizeof(Int_t);
156  if (test)
157  nruns=3;
158 
159  if (loc) {
160  AliCDBManager* cdb = AliCDBManager::Instance();
161  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2010/");
162  }
163 
164  if (!readLEDOnly) readTemp(runs,nruns,"lhc10f");
165  readLed(runs,nruns,"lhc10f");
166 }
167 
168 void read_LHC11a7(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
169 {
170  Int_t runs[] = {146277, 146223, 146220, 146208, 146158, 146156, 146153, 146152, 146141, 146025, 146024, 146023, 145674, 145455, 145385, 145384, 145383, 145379, 145355, 145354, 145353, 145314, 145300, 145290, 145289, 145288 };
171  Int_t nruns = sizeof(runs)/sizeof(Int_t);
172  if (test)
173  nruns=3;
174 
175  if (loc) {
176  AliCDBManager* cdb = AliCDBManager::Instance();
177  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2011/");
178  }
179 
180  if (!readLEDOnly) readTemp(runs,nruns,"lhc11a7");
181  readLed(runs,nruns,"lhc11a7");
182 }
183 
184 
185 void read_LHC11a(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
186 {
187  Int_t runs[] = {146746, 146747, 146748, 146801, 146802, 146803, 146804, 146805, 146806, 146807, 146817, 146824, 146856, 146858 };
188  Int_t nruns = sizeof(runs)/sizeof(Int_t);
189  if (test)
190  nruns=3;
191 
192  if (loc) {
193  AliCDBManager* cdb = AliCDBManager::Instance();
194  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2011/");
195  }
196 
197  if (!readLEDOnly) readTemp(runs,nruns,"lhc11a");
198  readLed(runs,nruns,"lhc11a");
199 }
200 
201 void read_LHC11b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
202 {
203  Int_t runs[] = {148531, 148534, 148538, 148541, 148544, 148547, 148549, 148553, 148556, 148559, 148565, 148569, 148576, 148582, 148592, 148601, 148625, 148630, 148645, 148648, 148659, 148663, 148708, 148711, 148719, 148800, 148838, 148843, 148844, 148847, 148850, 148852, 148853, 148854, 148856, 148857, 149068, 149070, 149071, 149072, 149113, 149127, 149129, 149130, 149133, 149134, 149767, 149880, 149881, 149883, 149884, 149890, 149927, 149929, 149930, 149931, 149960, 149961, 149975, 150059, 150060, 150160, 150162, 150163, 150211, 150212, 150248, 150250, 150252, 150254, 150256, 150259, 150374, 150375, 150420, 150421, 150423, 150427, 150428, 150433, 150434, 150437, 150438, 150440, 150499, 150500, 150518, 150629, 151636, 151638};
204  Int_t nruns = sizeof(runs)/sizeof(Int_t);
205  if (test)
206  nruns=3;
207 
208  if (loc) {
209  AliCDBManager* cdb = AliCDBManager::Instance();
210  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2011/");
211  }
212 
213  if (!readLEDOnly) readTemp(runs,nruns,"lhc11b");
214  readLed(runs,nruns,"lhc11b");
215 }
216 
217 void read_LHC11c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
218 {
219  Int_t runs[] = {151655, 151660, 151661, 151664, 151672, 151674, 151681, 151689, 151724, 151849, 151850, 151851, 151852, 152003, 152011, 152015, 152208, 152256, 152284, 152306, 152309, 152311, 152312, 152319, 152320, 152321, 152322, 152366, 152367, 152368, 152369, 152371, 152377, 152455, 152488, 152512, 152513, 152567, 152568, 152570, 152581, 152591, 152599, 153116, 153223, 153232, 153296, 153362, 153363, 153369, 153371, 153373, 153415, 153465, 153533, 153536, 153539, 153541, 153542, 153544, 153548, 153552, 153558, 153560, 153566, 153570, 153571, 153583, 153587, 153589, 153591, 153594, 153702, 153709, 153718, 153725, 153726, 153727, 153728, 153733, 153738, 153776, 153777, 153779, 153784, 153794, 153796, 153798, 153805, 153807, 153808, 153873, 153875, 153876, 153997, 154001, 154002, 154018, 154024, 154026, 154030, 154031, 154039, 154056, 154060, 154066, 154070, 154083, 154125, 154126, 154129, 154130, 154132, 154136, 154138, 154141, 154143, 154145, 154151, 154158, 154163, 154207, 154211, 154219, 154220, 154221, 154222, 154234, 154235, 154252, 154257, 154261, 154264, 154266, 154269, 154270, 154273, 154281, 154283, 154286, 154289, 154293, 154296, 154315, 154316, 154317, 154382, 154383, 154385, 154448, 154478, 154480, 154482, 154483, 154485, 154495, 154583, 154591, 154594, 154596, 154597, 154598, 154599, 154726, 154732, 154733, 154742, 154745, 154748, 154750, 154753, 154755, 154786, 154789, 154793, 154796, 154808, 154903, 154908, 154929, 154930,154780, 154773, 154763,154787,154783};
220  Int_t nruns = sizeof(runs)/sizeof(Int_t);
221  if (test)
222  nruns=3;
223 
224  if (loc) {
225  AliCDBManager* cdb = AliCDBManager::Instance();
226  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2011/");
227  }
228 
229  if (!readLEDOnly) readTemp(runs,nruns,"lhc11c");
230  readLed(runs,nruns,"lhc11c");
231 }
232 
233 
234 void read_LHC11d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
235 {
236  Int_t runs[] = {156620, 156621, 156626, 156629, 156794, 156797, 156829, 156889, 156891, 156895, 156896, 157003, 157025, 157082, 157083, 157087, 157090, 157091, 157092, 157094, 157096, 157098, 157203, 157209, 157210, 157211, 157212, 157214, 157220, 157226, 157227, 157257, 157260, 157261, 157262, 157268, 157272, 157273, 157275, 157277, 157475, 157476, 157496, 157560, 157561, 157562, 157564, 157567, 157569, 157645, 157698, 157707, 157708, 157713, 157734, 157765, 157766, 157770, 157818, 157819, 157848, 157857, 157975, 157976, 158000, 158001, 158002, 158003, 158009, 158011, 158013, 158014, 158020, 158025, 158026, 158031, 158036, 158037, 158041, 158042, 158048, 158049, 158050, 158051, 158052, 158053, 158084, 158086, 158110, 158111, 158112, 158114, 158115, 158118, 158120, 158124, 158135, 158136, 158137, 158180, 158189, 158191, 158192, 158194, 158196, 158200, 158201, 158285, 158287, 158288, 158293, 158299, 158301, 158303, 158304, 158338, 158341, 158467, 158468, 158469, 158471, 158492, 158495, 158496, 158508, 158509, 158511, 158516, 158518, 158520, 158521, 158522, 158526, 158528, 158531, 158533, 158592, 158598, 158602, 158604, 158608, 158611, 158613, 158615, 158617, 158622, 158626, 158673, 158706, 158714, 158717, 158718, 158722, 158729, 158745, 158776, 158777, 158779, 158780, 158781, 158784, 158788, 158790, 158791, 158792, 158793, 158794, 158844, 158848, 158856, 158868, 158875, 158876, 158877, 158878, 158879, 159007, 159028, 159040, 159042, 159044, 159076, 159085, 159090, 159117, 159120, 159121, 159122, 159128, 159146, 159147, 159150, 159154, 159156, 159162, 159167, 159168, 159169, 159173, 159177, 159185, 159186, 159191, 159192, 159193, 159194, 159199, 159200, 159201, 159204, 159205, 159206, 159207, 159212, 159214, 159215, 159216, 159217, 159218, 159220, 159221, 159223, 159254, 159255, 159257, 159258, 159259, 159260, 159283, 159285, 159286, 159318, 159378, 159379, 159450, 159451, 159502, 159503, 159505, 159517, 159521, 159532, 159535, 159536, 159538, 159539, 159571, 159575, 159577, 159580, 159581, 159582, 159586, 159593, 159595, 159599, 159602, 159606, 159635};
237  Int_t nruns = sizeof(runs)/sizeof(Int_t);
238  if (test)
239  nruns=3;
240 
241  if (loc) {
242  AliCDBManager* cdb = AliCDBManager::Instance();
243  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2011/");
244  }
245 
246  if (!readLEDOnly) readTemp(runs,nruns,"lhc11d");
247  readLed(runs,nruns,"lhc11d");
248 }
249 
250 void read_LHC11h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
251 {
252  Int_t runs[] = {167987, 167988, 168310, 168311, 168322, 168325, 168341, 168342, 168361, 168362, 168458, 168460, 168464, 168467, 168511, 168512, 168514, 168777, 168826, 168984, 168988, 168992, 169035, 169091, 169094, 169099, 169138, 169143, 169144, 169145, 169148, 169156, 169160, 169167, 169238, 169411, 169415, 169417, 169418, 169419, 169420, 169475, 169498, 169504, 169506, 169512, 169515, 169550, 169553, 169554, 169555, 169557, 169584, 169586, 169587, 169588, 169590, 169591, 169835, 169837, 169846, 169855, 169858, 169859, 169923, 169965, 169975, 169981, 170027, 170036, 170038, 170040, 170083, 170085, 170152, 170155, 170159, 170163, 170193, 170195, 170203, 170204, 170207, 170208, 170228, 170230, 170268, 170269, 170270, 170306, 170308, 170309, 170311, 170312, 170313, 170315, 170387, 170388, 170572, 170593};
253  Int_t nruns = sizeof(runs)/sizeof(Int_t);
254  if (test)
255  nruns=3;
256 
257  if (loc) {
258  AliCDBManager* cdb = AliCDBManager::Instance();
259  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2011/");
260  }
261 
262  if (!readLEDOnly) readTemp(runs,nruns,"lhc11h");
263  readLed(runs,nruns,"lhc11h");
264 }
265 
266 void read_LHC12a(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
267 {
268  Int_t runs[] = {176715, 176730, 176749, 176752, 176753, 176849, 176854, 176859, 176924, 176926, 176927, 176929, 177011};
269  Int_t nruns = sizeof(runs)/sizeof(Int_t);
270  if (test)
271  nruns=3;
272 
273  if (loc) {
274  AliCDBManager* cdb = AliCDBManager::Instance();
275  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
276  }
277 
278  if (!readLEDOnly) readTemp(runs,nruns,"lhc12a");
279  readLed(runs,nruns,"lhc12a");
280 }
281 
282 
283 void read_LHC12b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
284 {
285  Int_t runs[] = {177580, 177592, 177597, 177612, 177620, 177624, 177671, 177679, 177680, 177681, 177682, 177798, 177799, 177802, 177804, 177805, 177942};
286  Int_t nruns = sizeof(runs)/sizeof(Int_t);
287  if (test)
288  nruns=3;
289 
290  if (loc) {
291  AliCDBManager* cdb = AliCDBManager::Instance();
292  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
293  }
294 
295  if (!readLEDOnly) readTemp(runs,nruns,"lhc12b");
296  readLed(runs,nruns,"lhc12b");
297 }
298 
299 
300 void read_LHC12c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
301 {
302  Int_t runs[] = {179569, 179571, 179584, 179585, 179591, 179618, 179621, 179639, 179796, 179803, 179806, 179858, 179859, 179916, 179917, 179918, 179919, 179920, 180000, 180042, 180044, 180129, 180130, 180131, 180132, 180133, 180199, 180200, 180500, 180501, 180515, 180517, 180561, 180564, 180567, 180569, 180716, 180717, 180719, 180720, 182017, 182018, 182022, 182023, 182106, 182110, 182111, 182207, 182289, 182295, 182297, 182299, 182300, 182302, 182322, 182323, 182324, 182325, 182624, 182635, 182684, 182686, 182687, 182691, 182692, 182724, 182725, 182728, 182729, 182730, 182741, 182744};
303  Int_t nruns = sizeof(runs)/sizeof(Int_t);
304  if (test)
305  nruns=3;
306 
307  if (loc) {
308  AliCDBManager* cdb = AliCDBManager::Instance();
309  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
310  }
311 
312  if (!readLEDOnly) readTemp(runs,nruns,"lhc12c");
313  readLed(runs,nruns,"lhc12c");
314 }
315 
316 void read_LHC12d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
317 {
318  Int_t runs[] = {183913, 183916, 183932, 183933, 183934, 183935, 183936, 183937, 183938, 183942, 183946, 184126, 184127, 184131, 184132, 184134, 184135, 184137, 184138, 184140, 184144, 184145, 184147, 184183, 184188, 184208, 184209, 184210, 184215, 184216, 184371, 184383, 184389, 184673, 184678, 184682, 184687, 184784, 184786, 185029, 185031, 185116, 185126, 185127, 185132, 185133, 185134, 185157, 185160, 185164, 185189, 185196, 185198, 185203, 185206, 185208, 185217, 185221, 185282, 185284, 185289, 185291, 185292, 185293, 185296, 185299, 185300, 185302, 185303, 185349, 185350, 185351, 185356, 185359, 185360, 185361, 185362, 185363, 185368, 185371, 185375, 185378, 185461, 185465, 185474, 185582, 185583, 185588, 185589, 185659, 185687, 185738, 185764, 185765, 185768, 185775, 185776, 185778, 185784, 186007, 186009, 186011, 186163, 186164, 186165, 186167, 186205, 186208, 186319, 186320};
319  Int_t nruns = sizeof(runs)/sizeof(Int_t);
320  if (test)
321  nruns=3;
322 
323  if (loc) {
324  AliCDBManager* cdb = AliCDBManager::Instance();
325  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
326  }
327 
328  if (!readLEDOnly) readTemp(runs,nruns,"lhc12d");
329  readLed(runs,nruns,"lhc12d");
330 }
331 
332 
333 void read_LHC12f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
334 {
335  Int_t runs[] = {186668, 186688, 186689, 186690, 186692, 186694, 186811, 186814, 186937, 186938, 186939, 186966, 186969, 186990, 186992, 186994, 187143, 187145, 187146, 187147, 187148, 187149, 187150, 187151, 187152, 187202, 187203, 187339, 187340, 187341, 187487, 187488, 187489, 187510, 187623, 187624, 187627, 187656, 187698, 187739, 187749, 187783, 187785, 187791, 187796, 188093, 1881010};
336  Int_t nruns = sizeof(runs)/sizeof(Int_t);
337  if (test)
338  nruns=3;
339 
340  if (loc) {
341  AliCDBManager* cdb = AliCDBManager::Instance();
342  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
343  }
344 
345  if (!readLEDOnly) readTemp(runs,nruns,"lhc12f");
346  readLed(runs,nruns,"lhc12f");
347 }
348 
349 
350 void read_LHC12h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
351 {
352  Int_t runs[] = {189306, 189310, 189315, 189316, 189350, 189351, 189352, 189353, 189400, 189407, 189409, 189410, 189411, 189577, 189578, 189602, 189603, 189605, 189610, 189611, 189612, 189616, 189621, 189623, 189647, 189648, 189650, 189654, 189656, 189658, 189659, 189696, 189697, 189698, 190150, 190209, 190210, 190212, 190213, 190214, 190215, 190216, 190240, 190303, 190305, 190307, 190335, 190337, 190338, 190340, 190341, 190342, 190344, 190386, 190388, 190389, 190390, 190392, 190393, 190416, 190417, 190418, 190419, 190421, 190422, 190424, 190425, 190895, 190898, 190903, 190904, 190968, 190970, 190974, 190975, 190979, 190981, 190983, 190984, 191129, 191227, 191229, 191230, 191231, 191245, 191247, 191248, 191450, 191451, 192072, 192073, 192075, 192128, 192136, 192140, 192141, 192172, 192174, 192177, 192194, 192197, 192199, 192200, 192201, 192202, 192205, 192246, 192344, 192347, 192348, 192349, 192415, 192417, 192453, 192461, 192468, 192471, 192492, 192499, 192505, 192510, 192535, 192542, 192548, 192551, 192729, 192731, 192732};
353  Int_t nruns = sizeof(runs)/sizeof(Int_t);
354  if (test)
355  nruns=3;
356 
357  if (loc) {
358  AliCDBManager* cdb = AliCDBManager::Instance();
359  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
360  }
361 
362  if (!readLEDOnly) readTemp(runs,nruns,"lhc12h");
363  readLed(runs,nruns,"lhc12h");
364 }
365 
366 
367 void read_LHC12i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
368 {
369  Int_t runs[] = {192772, 192775, 192778, 192779, 192820, 192822, 192824, 193004, 193005, 193007, 193008, 193010, 193011, 193014, 193047, 193049, 193051, 193092, 193093, 193094, 193097, 193148, 193155, 193156, 193187, 193188, 193189, 193194};
370  Int_t nruns = sizeof(runs)/sizeof(Int_t);
371  if (test)
372  nruns=3;
373 
374  if (loc) {
375  AliCDBManager* cdb = AliCDBManager::Instance();
376  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2012/");
377  }
378 
379  if (!readLEDOnly) readTemp(runs,nruns,"lhc12i");
380  readLed(runs,nruns,"lhc12i");
381 }
382 
383 void read_LHC13c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
384 {
385  Int_t runs[] = {195529, 195531, 195566, 195567, 195568, 195592, 195593, 195596, 195633, 195635, 195644, 195673, 195675, 195677};
386  Int_t nruns = sizeof(runs)/sizeof(Int_t);
387  if (test)
388  nruns=3;
389 
390  if (loc) {
391  AliCDBManager* cdb = AliCDBManager::Instance();
392  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2013/");
393  }
394 
395  if (!readLEDOnly) readTemp(runs,nruns,"lhc13c");
396  readLed(runs,nruns,"lhc13c");
397 }
398 
399 void read_LHC13d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
400 {
401  Int_t runs[] = {195681, 195682, 195720, 195721, 195722, 195723, 195724, 195725, 195726, 195727, 195760, 195761, 195765, 195767, 195783, 195787, 195826, 195827, 195829, 195830, 195831, 195867, 195869, 195871, 195872, 195873};
402  Int_t nruns = sizeof(runs)/sizeof(Int_t);
403  if (test)
404  nruns=3;
405 
406  if (loc) {
407  AliCDBManager* cdb = AliCDBManager::Instance();
408  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2013/");
409  }
410 
411  if (!readLEDOnly) readTemp(runs,nruns,"lhc13d");
412  readLed(runs,nruns,"lhc13d");
413 }
414 
415 
416 void read_LHC13e(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
417 {
418  Int_t runs[] = {195935, 195949, 195950, 195954, 195955, 195958, 195989, 195994, 196000, 196006, 196085, 196089, 196090, 196091, 196099, 196105, 196107, 196185, 196187, 196194, 196197, 196199, 196200, 196201, 196203, 196208, 196214, 196308, 196309, 196310};
419  Int_t nruns = sizeof(runs)/sizeof(Int_t);
420  if (test)
421  nruns=3;
422 
423  if (loc) {
424  AliCDBManager* cdb = AliCDBManager::Instance();
425  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2013/");
426  }
427 
428  if (!readLEDOnly) readTemp(runs,nruns,"lhc13e");
429  readLed(runs,nruns,"lhc13e");
430 }
431 
432 void read_LHC13f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
433 {
434  Int_t runs[] = {196433, 196474, 196475, 196477, 196528, 196533, 196535, 196563, 196564, 196566, 196568, 196601, 196605, 196608, 196646, 196648, 196701, 196702, 196703, 196706, 196714, 196720, 196721, 196722, 196772, 196773, 196774, 196869, 196870, 196874, 196876, 196965, 196967, 196972, 196973, 196974, 197003, 197011, 197012, 197015, 197027, 197031, 197084, 197089, 197090, 197091, 197092, 197094, 197098, 197099, 197138, 197139, 197142, 197143, 197144, 197145, 197147, 197148, 197149, 197150, 197152, 197153, 197184, 197189, 197247, 197248, 197254, 197255, 197256, 197258, 197260, 197296, 197297, 197298, 197299, 197300, 197302, 197341, 197342, 197348, 197349, 197351, 197386, 197387, 197388};
435  Int_t nruns = sizeof(runs)/sizeof(Int_t);
436  if (test)
437  nruns=3;
438 
439  if (loc) {
440  AliCDBManager* cdb = AliCDBManager::Instance();
441  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2013/");
442  }
443 
444  if (!readLEDOnly) readTemp(runs,nruns,"lhc13f");
445  readLed(runs,nruns,"lhc13f");
446 }
447 
448 
449 void read_LHC13g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
450 {
451  Int_t runs[] = {197471, 197496, 197497, 197499, 197500, 197501, 197529, 197531, 197553, 197555, 197583, 197584, 197608, 197609, 197610, 197611, 197618, 197643, 197669};
452  Int_t nruns = sizeof(runs)/sizeof(Int_t);
453  if (test)
454  nruns=3;
455 
456  if (loc) {
457  AliCDBManager* cdb = AliCDBManager::Instance();
458  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2013/");
459  }
460 
461  if (!readLEDOnly) readTemp(runs,nruns,"lhc13g");
462  readLed(runs,nruns,"lhc13g");
463 }
464 
465 void read_LHC15Calib(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
466 {
467  Int_t runs[] = {235709, 235713, 235716, 235812, 235840, 235887, 235894, 235899, 236141, 236149, 236156, 236162, 236225, 236232, 236241, 236245, 236282, 236332, 236350, 236355, 236358, 236394, 236442, 236447, 236454, 236466, 236555, 236559, 236819, 236820, 236823, 236826, 236849, 236855, 236858, 236861, 236967, 236970, 237003, 237050, 237057, 237062, 237106, 237109, 237119, 237178, 237246, 237257, 237287, 237334, 237336, 237339, 237340, 237346, 237351, 237355, 237358, 237362, 237365, 237366, 237370, 237388, 237392, 237393, 237403, 237503, 237506, 237513, 237516, 237646, 237673, 237686, 237700, 237701, 237703, 237704, 237709, 237712, 237766, 237773, 237778, 237781, 237788, 237792, 237794, 237805, 237843, 237846, 237946, 237947, 237971, 237972, 237974, 237979, 237981, 238074, 238094, 238095, 238096, 238130, 238143, 238146, 238155, 238161, 238163, 238165, 238175, 238178, 238180, 238186, 238188, 238397};
468  Int_t nruns = sizeof(runs)/sizeof(Int_t);
469  if (test)
470  nruns=3;
471 
472  if (loc) {
473  AliCDBManager* cdb = AliCDBManager::Instance();
474  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2015/");
475  }
476 
477  if (!readLEDOnly) readTemp(runs,nruns,"lhc15Calib");
478  readLed(runs,nruns,"lhc15Calib");
479 }
480 
481 
482 void read_LHC15l(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
483 {
484  Int_t runs[] = {239396, 239401, 239402, 239404, 239407, 239409, 239519, 239696, 239701, 239717, 240069, 240072, 240376, 240380, 240381, 240382, 240392, 240394, 240398, 240404, 240406, 240408, 240409, 240411, 240412, 240434, 240440, 240443, 240444, 240447, 240450, 240610, 240612, 240845, 240854, 240860, 240864, 240872, 240874, 240875, 240880, 241001, 241010, 241014, 241021, 241043, 241050, 241054, 241055, 241056, 241057, 241062, 241069, 241141, 241144, 241257, 241267, 241268, 241269, 241281, 241288, 241295, 241296, 241354, 241360, 241361, 241393, 241396, 241407, 241521, 241523, 241531, 241544};
485  Int_t nruns = sizeof(runs)/sizeof(Int_t);
486  if (test)
487  nruns=3;
488 
489  if (loc) {
490  AliCDBManager* cdb = AliCDBManager::Instance();
491  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2015/");
492  }
493 
494  if (!readLEDOnly) readTemp(runs,nruns,"lhc15l");
495  readLed(runs,nruns,"lhc15l");
496 }
497 
498 void read_LHC15n(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
499 {
500  Int_t runs[] = {244340, 244351, 244355, 244359, 244364, 244377, 244411, 244416, 244418, 244421, 244453, 244456, 244480, 244481, 244482, 244483, 244484, 244531, 244540, 244542, 244617, 244618, 244619, 244626, 244627, 244628};
501  Int_t nruns = sizeof(runs)/sizeof(Int_t);
502  if (test)
503  nruns=3;
504 
505  if (loc) {
506  AliCDBManager* cdb = AliCDBManager::Instance();
507  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2015/");
508  }
509 
510  if (!readLEDOnly) readTemp(runs,nruns,"lhc15n");
511  readLed(runs,nruns,"lhc15n");
512 }
513 
514 
515 void read_LHC15o(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
516 {
517  Int_t runs[] = {245145, 245146, 245148, 245151, 245152, 245231, 245232, 245233, 245259, 245343, 245345, 245346, 245347, 245349, 245353, 245396, 245397, 245401, 245407, 245409, 245410, 245411, 245439, 245441, 245446, 245454, 245496, 245497, 245501, 245504, 245505, 245507, 245535, 245540, 245542, 245543, 245544, 245545, 245554, 245683, 245700, 245702, 245705, 245729, 245731, 245738, 245752, 245759, 245793, 245829, 245831, 245833, 245949, 245952, 245954, 245963, 246001, 246003, 246037, 246042, 246052, 246053, 246087, 246089, 246113, 246115, 246148, 246151, 246152, 246153, 246178, 246180, 246181, 246182, 246217, 246222, 246225, 246271, 246272, 246275, 246276, 246424, 246433, 246434, 246487, 246488, 246493, 246495, 246540, 246543, 246567, 246568, 246575, 246583, 246648, 246671, 246675, 246676, 246750, 246751, 246757, 246758, 246759, 246760, 246765, 246766, 246804, 246805, 246807, 246808, 246809, 246810, 246844, 246845, 246846, 246865, 246867, 246870, 246871, 246928, 246930, 246945, 246948, 246980, 246982, 246984, 246989, 246991, 246994};
518  Int_t nruns = sizeof(runs)/sizeof(Int_t);
519  if (test)
520  nruns=3;
521 
522  if (loc) {
523  AliCDBManager* cdb = AliCDBManager::Instance();
524  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2015/");
525  }
526 
527  if (!readLEDOnly) readTemp(runs,nruns,"lhc15o");
528  readLed(runs,nruns,"lhc15o");
529 }
530 
531 void read_LHC16f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
532 {
533  Int_t runs[] = {253961, 253958, 253957, 253956, 253951, 253834, 253826, 253825, 253820, 253819, 253813, 253757, 253756, 253755, 253753, 253751, 253682, 253681, 253680, 253660, 253659, 253658, 253614};
534  Int_t nruns = sizeof(runs)/sizeof(Int_t);
535  if (test)
536  nruns=3;
537 
538  if (loc) {
539  AliCDBManager* cdb = AliCDBManager::Instance();
540  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
541  }
542 
543  if (!readLEDOnly) readTemp(runs,nruns,"lhc16f");
544  readLed(runs,nruns,"lhc16f");
545 }
546 
547 void read_LHC16g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
548 {
549  Int_t runs[] = {254124, 254126, 254128, 254147, 254148, 254149, 254174, 254196, 254199, 254204, 254205, 254293, 254302, 254303, 254304, 254330, 254331, 254332};
550 
551  Int_t nruns = sizeof(runs)/sizeof(Int_t);
552  if (test)
553  nruns=3;
554 
555  if (loc) {
556  AliCDBManager* cdb = AliCDBManager::Instance();
557  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
558  }
559 
560  if (!readLEDOnly) readTemp(runs,nruns,"lhc16g");
561  readLed(runs,nruns,"lhc16g");
562 }
563 
564 void read_LHC16h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
565 {
566  Int_t runs[] = {254381, 254394, 254395, 254396, 254422, 254476, 254479, 254529, 254564, 254568, 254576, 254577, 254578, 254581, 254586, 254589, 254604, 254606, 254607, 254608, 254621, 254629, 254630, 254632, 254640, 254644, 254646, 254648, 254649, 254651, 254652, 254653, 254654, 254670, 254691, 254701, 254704, 255009, 255010, 255011, 255245, 255246, 255248, 255249, 255251, 255252, 255253, 255255, 255256, 255275, 255276, 255350, 255351, 255352, 255415, 255418, 255419, 255420, 255421, 255440, 255456, 255463, 255465, 255466, 255467, 255469};
567 
568  Int_t nruns = sizeof(runs)/sizeof(Int_t);
569  if (test)
570  nruns=3;
571 
572  if (loc) {
573  AliCDBManager* cdb = AliCDBManager::Instance();
574  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
575  }
576 
577  if (!readLEDOnly) readTemp(runs,nruns,"lhc16h");
578  readLed(runs,nruns,"lhc16h");
579 }
580 
581 void read_LHC16i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
582 {
583  Int_t runs[] = {255515, 255533, 255534, 255535, 255537, 255538, 255539, 255540, 255541, 255542, 255543, 255577, 255582, 255583, 255591, 255592, 255614, 255615, 255616, 255617, 255618, 255642, 255648, 255649, 255650};
584 
585  Int_t nruns = sizeof(runs)/sizeof(Int_t);
586  if (test)
587  nruns=3;
588 
589  if (loc) {
590  AliCDBManager* cdb = AliCDBManager::Instance();
591  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
592  }
593 
594  if (!readLEDOnly) readTemp(runs,nruns,"lhc16i");
595  readLed(runs,nruns,"lhc16i");
596 }
597 
598 void read_LHC16j(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
599 {
600  Int_t runs[] = {256146, 256147, 256148, 256149, 256156, 256157, 256207, 256210, 256223, 256225, 256227, 256231, 256281, 256282, 256283, 256284, 256289, 256290, 256292, 256295, 256297, 256298, 256299, 256302, 256307, 256309, 256311, 256356, 256357, 256361, 256362, 256363, 256364, 256365, 256366, 256367, 256371, 256372, 256373, 256415, 256417, 256418, 256420};
601  Int_t nruns = sizeof(runs)/sizeof(Int_t);
602  if (test)
603  nruns=3;
604 
605  if (loc) {
606  AliCDBManager* cdb = AliCDBManager::Instance();
607  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
608  }
609 
610  if (!readLEDOnly) readTemp(runs,nruns,"lhc16j");
611  readLed(runs,nruns,"lhc16j");
612 }
613 
614 void read_LHC16k(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
615 {
616  Int_t runs[] = {256504, 256506, 256510, 256512, 256514, 256552, 256554, 256556, 256560, 256561, 256562, 256564, 256565, 256567, 256589, 256591, 256592, 256619, 256620, 256653, 256658, 256676, 256677, 256681, 256684, 256691, 256692, 256694, 256695, 256697, 256782, 256797, 256879, 256911, 256913, 256924, 256926, 256941, 256942, 256944, 257011, 257012, 257021, 257026, 257028, 257071, 257075, 257077, 257078, 257079, 257080, 257082, 257083, 257084, 257092, 257100, 257136, 257137, 257138, 257139, 257140, 257141, 257142, 257144, 257145, 257190, 257204, 257206, 257209, 257224, 257260, 257318, 257320, 257322, 257364, 257381, 257382, 257433, 257457, 257474, 257487, 257490, 257491, 257492, 257530, 257531, 257537, 257539, 257540, 257541, 257560, 257561, 257562, 257563, 257564, 257565, 257566, 257587, 257590, 257594, 257605, 257606, 257630, 257635, 257642, 257682, 257684, 257687, 257688, 257689, 257691, 257692, 257694, 257697, 257724, 257725, 257733, 257734, 257735, 257737, 257754, 257765, 257773, 257797, 257798, 257799, 257800, 257803, 257804, 257850, 257853, 257855, 257892, 257893, 257908, 257912, 257936, 257937, 257939, 257957, 257958, 257960, 257963, 257971, 257979, 258012, 258014, 258017, 258019, 258039, 258041, 258042, 258045, 258046, 258048, 258049, 258059, 258060, 258062, 258063, 258107, 258108, 258109, 258112, 258113, 258114, 258117, 258178, 258197, 258198, 258202, 258203, 258204, 258256, 258257, 258258, 258259, 258270, 258271, 258272, 258273, 258274, 258276, 258278, 258279, 258280, 258299, 258301, 258302, 258303, 258306, 258307, 258336, 258359, 258387, 258388, 258393, 258426, 258454, 258456, 258477, 258485, 258498, 258499, 258537, 258545, 258546, 258551, 258560, 258567, 258569, 258571, 258572, 258574};
617 
618  Int_t nruns = sizeof(runs)/sizeof(Int_t);
619  if (test)
620  nruns=3;
621 
622  if (loc) {
623  AliCDBManager* cdb = AliCDBManager::Instance();
624  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
625  }
626 
627  if (!readLEDOnly) readTemp(runs,nruns,"lhc16k");
628  readLed(runs,nruns,"lhc16k");
629 }
630 
631 void read_LHC16l(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
632 {
633  Int_t runs[] = {258883, 258884, 258885, 258886, 258889, 258890, 258919, 258920, 258921, 258923, 258926, 258931, 258962, 258964, 258998, 259000, 259086, 259088, 259090, 259091, 259095, 259096, 259099, 259117, 259118, 259140, 259141, 259164, 259204, 259257, 259263, 259269, 259270, 259271, 259272, 259273, 259274, 259302, 259305, 259307, 259334, 259336, 259339, 259340, 259341, 259342, 259378, 259379, 259381, 259382, 259388, 259389, 259394, 259395, 259396, 259469, 259470, 259471, 259473, 259477, 259546, 259559, 259560, 259561, 259563, 259606, 259608, 259609, 259649, 259650, 259668, 259697, 259703, 259704, 259711, 259747, 259748, 259750, 259751, 259752, 259756, 259781, 259788, 259792, 259822, 259841, 259842, 259860, 259866, 259867, 259868, 259888, 259954, 259961, 259979, 260010, 260011, 260014, 260187};
634 
635  Int_t nruns = sizeof(runs)/sizeof(Int_t);
636  if (test)
637  nruns=3;
638 
639  if (loc) {
640  AliCDBManager* cdb = AliCDBManager::Instance();
641  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
642  }
643 
644  if (!readLEDOnly) readTemp(runs,nruns,"lhc16l");
645  readLed(runs,nruns,"lhc16l");
646 }
647 
648 void read_LHC16o(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
649 {
650  Int_t runs[] = {262395, 262396, 262397, 262398, 262399, 262418, 262419, 262422, 262423, 262424, 262425, 262426, 262427, 262428, 262429, 262430, 262450, 262451, 262492, 262528, 262532, 262533, 262563, 262567, 262568, 262569, 262570, 262571, 262572, 262574, 262583, 262593, 262594, 262624, 262628, 262632, 262635, 262679, 262682, 262683, 262686, 262705, 262706, 262708, 262712, 262713, 262716, 262717, 262719, 262723, 262727, 262728, 262734, 262760, 262768, 262776, 262777, 262778, 262841, 262844, 262849, 262853, 262858, 263331, 263332, 263487, 263496, 263529, 263647, 263648, 263652, 263653, 263654, 263657, 263662, 263663, 263682, 263689, 263690, 263691, 263737, 263738, 263739, 263741, 263743, 263744, 263784, 263785, 263786, 263787, 263789, 263790, 263792, 263793, 263803, 263813, 263814, 263823, 263824, 263829, 263830, 263861, 263863, 263866, 263905, 263916, 263917, 263922, 263923, 263977, 263978, 263979, 263981, 263984, 263985, 264033, 264035};
651  Int_t nruns = sizeof(runs)/sizeof(Int_t);
652  if (test)
653  nruns=3;
654 
655  if (loc) {
656  AliCDBManager* cdb = AliCDBManager::Instance();
657  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
658  }
659 
660  if (!readLEDOnly) readTemp(runs,nruns,"lhc16o");
661  readLed(runs,nruns,"lhc16o");
662 }
663 
664 void read_LHC16p(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
665 {
666  Int_t runs[] = {264076, 264078, 264082, 264085, 264086, 264109, 264110, 264129, 264133, 264134, 264137, 264138, 264139, 264164, 264168, 264188, 264190, 264197, 264198, 264232, 264233, 264235, 264238, 264259, 264260, 264261, 264262, 264264, 264265, 264266, 264267, 264277, 264279, 264281, 264305, 264306, 264312, 264336, 264345, 264346, 264347};
667 
668  Int_t nruns = sizeof(runs)/sizeof(Int_t);
669  if (test)
670  nruns=3;
671 
672  if (loc) {
673  AliCDBManager* cdb = AliCDBManager::Instance();
674  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
675  }
676 
677  if (!readLEDOnly) readTemp(runs,nruns,"lhc16p");
678  readLed(runs,nruns,"lhc16p");
679 }
680 
681 void read_LHC16q(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
682 {
683  Int_t runs[] = {265305, 265308, 265309, 265331, 265332, 265334, 265335, 265336, 265338, 265339, 265342, 265343, 265344, 265378, 265383, 265384, 265387, 265388, 265419, 265420, 265421, 265424, 265425, 265426, 265427, 265499, 265500, 265501, 265521, 265525};
684 
685  Int_t nruns = sizeof(runs)/sizeof(Int_t);
686  if (test)
687  nruns=3;
688 
689  if (loc) {
690  AliCDBManager* cdb = AliCDBManager::Instance();
691  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
692  }
693 
694  if (!readLEDOnly) readTemp(runs,nruns,"lhc16q");
695  readLed(runs,nruns,"lhc16q");
696 }
697 
698 void read_LHC16r(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
699 {
700  Int_t runs[] = {265630, 265632, 265656, 265658, 265665, 265669, 265694, 265696, 265697, 265698, 265700, 265701, 265705, 265709, 265713, 265714, 265739, 265740, 265741, 265742, 265744, 265756, 265785, 265787, 265788, 265789, 265792, 265795, 265797, 265838, 265840, 265841, 266022, 266023, 266025, 266034, 266081, 266083, 266084, 266085, 266086, 266117, 266187, 266189, 266193, 266196, 266197, 266208, 266234, 266235, 266296, 266299, 266304, 266312, 266313, 266316, 266317, 266318};
701 
702  Int_t nruns = sizeof(runs)/sizeof(Int_t);
703  if (test)
704  nruns=3;
705 
706  if (loc) {
707  AliCDBManager* cdb = AliCDBManager::Instance();
708  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
709  }
710 
711  if (!readLEDOnly) readTemp(runs,nruns,"lhc16r");
712  readLed(runs,nruns,"lhc16r");
713 }
714 
715 void read_LHC16s(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
716 {
717  Int_t runs[] = {266405, 266437, 266438, 266439, 266441, 266470, 266472, 266477, 266479, 266480, 266514, 266516, 266518, 266520, 266522, 266523, 266525, 266526, 266534, 266539, 266543, 266549, 266584, 266585, 266587, 266588, 266590, 266591, 266592, 266595, 266596, 266614, 266615, 266617, 266618, 266619, 266621, 266625, 266628, 266630, 266657, 266658, 266659, 266665, 266668, 266669, 266700, 266702, 266703, 266706, 266708, 266775, 266776, 266800, 266805, 266807, 266808, 266857, 266878, 266880, 266881, 266882, 266883, 266885, 266886, 266912, 266915, 266940, 266942, 266943, 266944, 266988, 266993, 266994, 266997, 266998, 267020, 267060, 267061, 267062, 267067, 267070, 267072, 267077, 267081, 267109, 267110, 267130, 267131};
718 
719  Int_t nruns = sizeof(runs)/sizeof(Int_t);
720  if (test)
721  nruns=3;
722 
723  if (loc) {
724  AliCDBManager* cdb = AliCDBManager::Instance();
725  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
726  }
727 
728  if (!readLEDOnly) readTemp(runs,nruns,"lhc16s");
729  readLed(runs,nruns,"lhc16s");
730 }
731 
732 void read_LHC16t(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
733 {
734  Int_t runs[] = {267161, 267163, 267164, 267165, 267166};
735 
736  Int_t nruns = sizeof(runs)/sizeof(Int_t);
737  if (test)
738  nruns=3;
739 
740  if (loc) {
741  AliCDBManager* cdb = AliCDBManager::Instance();
742  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2016/");
743  }
744 
745  if (!readLEDOnly) readTemp(runs,nruns,"lhc16t");
746  readLed(runs,nruns,"lhc16t");
747 }
748 
749 
750 void read_LHC17c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
751 {
752  Int_t runs[] = {270531, 270578, 270581, 270598, 270601, 270661, 270663, 270665};
753 
754  Int_t nruns = sizeof(runs)/sizeof(Int_t);
755  if (test)
756  nruns=3;
757 
758  if (loc) {
759  AliCDBManager* cdb = AliCDBManager::Instance();
760  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
761  }
762 
763  if (!readLEDOnly) readTemp(runs,nruns,"lhc17c");
764  readLed(runs,nruns,"lhc17c");
765 }
766 
767 void read_LHC17d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
768 {
769  Int_t runs[] = {270762, 270766, 270767, 270768, 270770, 270771, 270772};
770 
771  Int_t nruns = sizeof(runs)/sizeof(Int_t);
772  if (test)
773  nruns=3;
774 
775  if (loc) {
776  AliCDBManager* cdb = AliCDBManager::Instance();
777  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
778  }
779 
780  if (!readLEDOnly) readTemp(runs,nruns,"lhc17d");
781  readLed(runs,nruns,"lhc17d");
782 }
783 
784 void read_LHC17f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
785 {
786  Int_t runs[] = {270854, 270855, 270856, 270861, 270865};
787 
788  Int_t nruns = sizeof(runs)/sizeof(Int_t);
789  if (test)
790  nruns=3;
791 
792  if (loc) {
793  AliCDBManager* cdb = AliCDBManager::Instance();
794  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
795  }
796 
797  if (!readLEDOnly) readTemp(runs,nruns,"lhc17f");
798  readLed(runs,nruns,"lhc17f");
799 }
800 
801 void read_LHC17g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
802 {
803  Int_t runs[] = {270882, 270883, 270931, 270934, 270935, 270937, 270938, 270940, 271005, 271006, 271008, 271009, 271013, 271015, 271026, 271028, 271288, 271289, 271369, 271378, 271379, 271381, 271382, 271383, 271384, 271419, 271448, 271449, 271451, 271743, 271774, 271777};
804 
805  Int_t nruns = sizeof(runs)/sizeof(Int_t);
806  if (test)
807  nruns=3;
808 
809  if (loc) {
810  AliCDBManager* cdb = AliCDBManager::Instance();
811  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
812  }
813 
814  if (!readLEDOnly) readTemp(runs,nruns,"lhc17g");
815  readLed(runs,nruns,"lhc17g");
816 }
817 
818 void read_LHC17h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
819 {
820  Int_t runs[] = {271871, 271873, 271878, 271879, 271880, 271881, 271886, 271908, 271911, 271912, 271915, 271916, 271925, 272075, 272076, 272100, 272101, 272123, 272151, 272152, 272153, 272154, 272155, 272156, 272335, 272340, 272359, 272400, 272619, 272746, 272753, 272755, 272762, 272763, 272764, 272782, 272783, 272784, 272828, 272870, 272871, 272873, 272880, 272903, 272905, 272932, 272934, 272947, 272949, 272983, 273009, 273077, 273099, 273100, 273101};
821 
822  Int_t nruns = sizeof(runs)/sizeof(Int_t);
823  if (test)
824  nruns=3;
825 
826  if (loc) {
827  AliCDBManager* cdb = AliCDBManager::Instance();
828  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
829  }
830 
831  if (!readLEDOnly) readTemp(runs,nruns,"lhc17h");
832  readLed(runs,nruns,"lhc17h");
833 }
834 
835 void read_LHC17i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
836 {
837  Int_t runs[] = {273591, 273592, 273593, 273653, 273654, 273711, 273719, 273824, 273825, 273885, 273886, 273918, 273942, 273943, 273946, 274063, 274064, 274092, 274125, 274147, 274148, 274174, 274212, 274232, 274258, 274259, 274263, 274264, 274269, 274270, 274271, 274278, 274279, 274280, 274281, 274283, 274329, 274351, 274352, 274355, 274363, 274364, 274385, 274386, 274387, 274388, 274389, 274390, 274442};
838 
839  Int_t nruns = sizeof(runs)/sizeof(Int_t);
840  if (test)
841  nruns=3;
842 
843  if (loc) {
844  AliCDBManager* cdb = AliCDBManager::Instance();
845  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
846  }
847 
848  if (!readLEDOnly) readTemp(runs,nruns,"lhc17i");
849  readLed(runs,nruns,"lhc17i");
850 }
851 
852 void read_LHC17j(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
853 {
854  Int_t runs[] = {274591, 274593, 274594, 274595, 274596, 274601, 274653, 274657, 274667, 274668, 274669, 274670, 274671};
855 
856  Int_t nruns = sizeof(runs)/sizeof(Int_t);
857  if (test)
858  nruns=3;
859 
860  if (loc) {
861  AliCDBManager* cdb = AliCDBManager::Instance();
862  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
863  }
864 
865  if (!readLEDOnly) readTemp(runs,nruns,"lhc17j");
866  readLed(runs,nruns,"lhc17j");
867 }
868 
869 void read_LHC17k(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
870 {
871  Int_t runs[] = {274889, 274979, 275067, 275068, 275073, 275075, 275076, 275149, 275150, 275621, 275622, 275623, 275624, 275648, 275657, 275664, 275847, 275924, 276012, 276013, 276017, 276019, 276020, 276040, 276041, 276045, 276097, 276098, 276102, 276104, 276105, 276108, 276135, 276140, 276141, 276145, 276166, 276169, 276170, 276178, 276205, 276230, 276257, 276259, 276290, 276291, 276292, 276294, 276302, 276307, 276312, 276348, 276351, 276429, 276435, 276437};
872 
873  Int_t nruns = sizeof(runs)/sizeof(Int_t);
874  if (test)
875  nruns=3;
876 
877  if (loc) {
878  AliCDBManager* cdb = AliCDBManager::Instance();
879  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
880  }
881 
882  if (!readLEDOnly) readTemp(runs,nruns,"lhc17k");
883  readLed(runs,nruns,"lhc17k");
884 }
885 
886 void read_LHC17l(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
887 {
888  Int_t runs[] = {276552, 276553, 276556, 276557, 276608, 276644, 276669, 276670, 276671, 276672, 276674, 276675, 276762, 276916, 276917, 276920, 276967, 276969, 276970, 276971, 276972, 277015, 277016, 277017, 277037, 277075, 277076, 277079, 277082, 277087, 277088, 277091, 277121, 277155, 277180, 277181, 277182, 277183, 277188, 277189, 277193, 277194, 277196, 277197, 277250, 277256, 277257, 277262, 277293, 277310, 277312, 277314, 277360, 277383, 277384, 277385, 277389, 277416, 277417, 277418, 277470, 277472, 277473, 277476, 277477, 277478, 277479, 277530, 277531, 277534, 277536, 277537, 277574, 277575, 277576, 277577, 277718, 277720, 277721, 277722, 277723, 277725, 277745, 277746, 277747, 277748, 277749, 277794, 277799, 277800, 277801, 277802, 277834, 277841, 277842, 277845, 277847, 277848, 277876, 277897, 277898, 277899, 277900, 277901, 277903, 277907, 277930, 277952, 277987, 277988, 277989, 277996, 278055, 278077, 278079, 278080, 278089, 278092, 278093, 278094, 278095, 278121, 278122, 278126, 278127, 278158, 278162, 278163, 278164, 278165, 278166, 278167, 278189, 278191, 278215, 278216};
889 
890  Int_t nruns = sizeof(runs)/sizeof(Int_t);
891  if (test)
892  nruns=3;
893 
894  if (loc) {
895  AliCDBManager* cdb = AliCDBManager::Instance();
896  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
897  }
898 
899  if (!readLEDOnly) readTemp(runs,nruns,"lhc17l");
900  readLed(runs,nruns,"lhc17l");
901 }
902 
903 void read_LHC17m(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
904 {
905  Int_t runs[] = {278915, 278936, 278939, 278941, 278959, 278960, 278963, 278964, 278999, 279000, 279005, 279007, 279008, 279035, 279036, 279041, 279043, 279044, 279068, 279069, 279073, 279074, 279075, 279106, 279107, 279117, 279118, 279122, 279123, 279130, 279155, 279157, 279199, 279201, 279207, 279208, 279232, 279234, 279235, 279242, 279264, 279265, 279267, 279268, 279270, 279273, 279274, 279309, 279310, 279312, 279342, 279344, 279348, 279354, 279355, 279391, 279410, 279439, 279441, 279483, 279487, 279491, 279550, 279559, 279560, 279561, 279583, 279597, 279598, 279600, 279602, 279632, 279641, 279642, 279676, 279677, 279682, 279683, 279687, 279688, 279689, 279718, 279719, 279747, 279749, 279773, 279826, 279853, 279854, 279855, 279879, 279880, 279884, 279886, 279889, 279890, 279893, 279952, 279954, 279955, 279956, 279957, 279958, 279963, 279965, 279979, 279980, 279981, 279982, 279984, 280046, 280047, 280049, 280051, 280052, 280066, 280107, 280108, 280111, 280114, 280126, 280131, 280134, 280140};
906 
907  Int_t nruns = sizeof(runs)/sizeof(Int_t);
908  if (test)
909  nruns=3;
910 
911  if (loc) {
912  AliCDBManager* cdb = AliCDBManager::Instance();
913  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
914  }
915 
916  if (!readLEDOnly) readTemp(runs,nruns,"lhc17m");
917  readLed(runs,nruns,"lhc17m");
918 }
919 
920 void read_LHC17n(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
921 {
922  Int_t runs[] = {280234, 280235};
923  Int_t nruns = sizeof(runs)/sizeof(Int_t);
924 
925  if (loc) {
926  AliCDBManager* cdb = AliCDBManager::Instance();
927  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
928  }
929 
930  if (!readLEDOnly) readTemp(runs,nruns,"lhc17n");
931  readLed(runs,nruns,"lhc17n");
932 }
933 
934 void read_LHC17o(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
935 {
936  Int_t runs[] = {280282, 280283, 280284, 280285, 280286, 280310, 280348, 280349, 280350, 280351, 280352, 280374, 280375, 280403, 280412, 280413, 280415, 280418, 280419, 280443, 280445, 280446, 280447, 280448, 280518, 280519, 280546, 280547, 280550, 280551, 280574, 280575, 280576, 280581, 280583, 280613, 280634, 280636, 280637, 280647, 280648, 280650, 280671, 280673, 280676, 280679, 280705, 280706, 280729, 280753, 280754, 280755, 280756, 280757, 280761, 280762, 280763, 280764, 280765, 280766, 280767, 280768, 280786, 280787, 280793, 280842, 280844, 280845, 280847, 280848, 280849, 280854, 280856, 280880, 280881, 280897, 280936, 280943, 280947, 280994, 280996, 280997, 280998, 280999, 281032, 281033, 281035, 281036, 281060, 281061, 281062, 281079, 281080, 281081, 281179, 281180, 281181, 281186, 281187, 281188, 281189, 281190, 281191, 281212, 281213, 281240, 281241, 281242, 281243, 281244, 281271, 281273, 281275, 281277, 281301, 281321, 281350, 281415, 281443, 281444, 281446, 281449, 281450, 281509, 281511, 281562, 281563, 281568, 281569, 281574, 281580, 281583, 281592, 281633, 281634, 281635, 281638, 281641, 281653, 281665, 281668, 281671, 281705, 281706, 281707, 281713, 281750, 281751, 281753, 281755, 281756, 281892, 281893, 281894, 281895, 281915, 281916, 281918, 281919, 281920, 281928, 281931, 281932, 281939, 281940, 281961};
937  Int_t nruns = sizeof(runs)/sizeof(Int_t);
938 
939  if (loc) {
940  AliCDBManager* cdb = AliCDBManager::Instance();
941  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
942  }
943 
944  if (!readLEDOnly) readTemp(runs,nruns,"lhc17o");
945  readLed(runs,nruns,"lhc17o");
946 }
947 
948 
949 void read_LHC17p(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
950 {
951  Int_t runs[] = {282008, 282016, 282021, 282025, 282026, 282027, 282030, 282031, 282050, 282051, 282078, 282098, 282099, 282118, 282119, 282120, 282122, 282123, 282125, 282126, 282127, 282146, 282147, 282189, 282206, 282224, 282227, 282229, 282230, 282247, 282302, 282303, 282304, 282305, 282306, 282307, 282309, 282312, 282313, 282314, 282340, 282341, 282342, 282343};
952 
953  Int_t nruns = sizeof(runs)/sizeof(Int_t);
954  if (test)
955  nruns=3;
956 
957  if (loc) {
958  AliCDBManager* cdb = AliCDBManager::Instance();
959  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
960  }
961 
962  if (!readLEDOnly) readTemp(runs,nruns,"lhc17p");
963  readLed(runs,nruns,"lhc17p");
964 }
965 
966 void read_LHC17q(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
967 {
968  Int_t runs[] = {282365, 282366, 282367, 282391, 282392, 282393, 282398, 282399, 282402, 282411, 282415, 282437, 282440};
969  Int_t nruns = sizeof(runs)/sizeof(Int_t);
970 
971  if (loc) {
972  AliCDBManager* cdb = AliCDBManager::Instance();
973  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
974  }
975 
976  if (!readLEDOnly) readTemp(runs,nruns,"lhc17q");
977  readLed(runs,nruns,"lhc17q");
978 }
979 
980 void read_LHC17r(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
981 {
982  Int_t runs[] = {282504, 282544, 282545, 282546, 282573, 282579, 282580, 282606, 282607, 282608, 282609, 282615, 282618, 282620, 282622, 282651, 282653, 282666, 282667, 282668, 282670, 282671, 282673, 282676, 282677, 282700, 282702, 282703, 282704};
983  Int_t nruns = sizeof(runs)/sizeof(Int_t);
984 
985  if (loc) {
986  AliCDBManager* cdb = AliCDBManager::Instance();
987  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2017/");
988  }
989 
990  if (!readLEDOnly) readTemp(runs,nruns,"lhc17r");
991  readLed(runs,nruns,"lhc17r");
992 }
993 
994 
995 
996 void read_LHC18b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
997 {
998  Int_t runs[] =
999  {284891, 284900, 284946, 285007, 285008, 285009, 285010, 285011, 285012, 285013, 285014, 285015, 285064, 285065, 285066, 285106, 285107, 285108, 285125, 285127, 285165, 285200, 285202, 285203, 285222, 285224, 285286, 285287, 285289, 285290, 285291, 285327, 285328, 285347, 285364, 285365, 285396, 285447};
1000 
1001  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1002  if (test)
1003  nruns=3;
1004 
1005  if (loc) {
1006  AliCDBManager* cdb = AliCDBManager::Instance();
1007  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1008  }
1009 
1010  if (!readLEDOnly) readTemp(runs,nruns,"lhc18b");
1011  readLed(runs,nruns,"lhc18b");
1012 }
1013 
1014 void read_LHC18c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1015 {
1016  Int_t runs[] =
1017  {285466, 285471, 285481, 285486, 285496, 285497, 285515, 285516, 285545, 285550, 285557, 285575, 285576, 285577, 285578, 285599, 285601, 285602, 285603, 285639, 285640, 285641, 285642, 285643, 285659, 285662, 285663, 285664, 285666, 285697, 285698, 285722, 285751, 285752, 285753, 285754, 285755, 285777, 285778, 285781, 285804, 285810, 285811, 285812, 285830, 285851, 285869, 285893, 285917, 285946, 285957, 285958};
1018 
1019  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1020  if (test)
1021  nruns=3;
1022 
1023  if (loc) {
1024  AliCDBManager* cdb = AliCDBManager::Instance();
1025  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1026  }
1027 
1028  if (!readLEDOnly) readTemp(runs,nruns,"lhc18c");
1029  readLed(runs,nruns,"lhc18c");
1030 }
1031 
1032 void read_LHC18d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1033 {
1034  // took out run: 285979 as many T sensors aren't working
1035  Int_t runs[] = {285978, 285980, 286014, 286018, 286025, 286026, 286027, 286030, 286064, 286124, 286127, 286129, 286130, 286154, 286157, 286159, 286198, 286201, 286202, 286203, 286229, 286230, 286231, 286254, 286255, 286256, 286257, 286258, 286261, 286263, 286282, 286284, 286287, 286288, 286289, 286308, 286309, 286310, 286311, 286312, 286313, 286314, 286336, 286337, 286340, 286341, 286345, 286348, 286349, 286350};
1036 
1037  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1038  if (test)
1039  nruns=3;
1040 
1041  if (loc) {
1042  AliCDBManager* cdb = AliCDBManager::Instance();
1043  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1044  }
1045 
1046  if (!readLEDOnly) readTemp(runs,nruns,"lhc18d");
1047  readLed(runs,nruns,"lhc18d");
1048 }
1049 
1050 void read_LHC18e(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1051 {
1052  Int_t runs[] = {286380, 286426, 286428, 286454, 286455, 286482, 286501, 286502, 286508, 286509, 286511, 286566, 286567, 286568, 286569, 286591, 286592, 286653, 286661, 286695, 286731, 286799, 286801, 286846, 286848, 286850, 286852, 286874, 286876, 286907, 286908, 286910, 286911, 286930, 286931, 286932, 286936, 286937};
1053 
1054  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1055  if (test)
1056  nruns=3;
1057 
1058  if (loc) {
1059  AliCDBManager* cdb = AliCDBManager::Instance();
1060  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1061  }
1062 
1063  if (!readLEDOnly) readTemp(runs,nruns,"lhc18e");
1064  readLed(runs,nruns,"lhc18e");
1065 }
1066 
1067 void read_LHC18fLEDOnly(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1068 {
1069  Int_t runs[] = {287995, 287997, 287998, 287999, 288000, 288004, 288006, 288007, 288008, 288009, 288010, 288012, 288015, 288016, 288017, 288018, 288019, 288020, 288022, 288023, 288030, 288042, 288043, 288044, 288045, 288046, 288048, 288049, 288054, 288055, 288056, 288057, 288058, 288059, 288060, 288063, 288064, 288067, 288068, 288069, 288070, 288073, 288074, 288076, 288078, 288079, 288082, 288083, 288084};
1070 
1071  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1072  if (test)
1073  nruns=3;
1074 
1075  if (loc) {
1076  AliCDBManager* cdb = AliCDBManager::Instance();
1077  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1078  }
1079 
1080  if (!readLEDOnly) readTemp(runs,nruns,"lhc18fLED");
1081  readLed(runs,nruns,"lhc18fLED");
1082 }
1083 
1084 void read_LHC18f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1085 {
1086  Int_t runs[] = {287000, 287021, 287063, 287064, 287071, 287077, 287137, 287155, 287185, 287202, 287209, 287248, 287249, 287250, 287254, 287283, 287323, 287324, 287343, 287346, 287347, 287353, 287355, 287356, 287360, 287380, 287381, 287385, 287387, 287388, 287389, 287413, 287480, 287481, 287484, 287486, 287513, 287516, 287517, 287520, 287521, 287573, 287575, 287576, 287654, 287656, 287657, 287876, 287877, 287883, 287884, 287885, 287911, 287912, 287913, 287915, 287923, 287941, 287975, 287977};
1087 
1088  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1089  if (test)
1090  nruns=3;
1091 
1092  if (loc) {
1093  AliCDBManager* cdb = AliCDBManager::Instance();
1094  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1095  }
1096 
1097  if (!readLEDOnly) readTemp(runs,nruns,"lhc18f");
1098  readLed(runs,nruns,"lhc18f");
1099 }
1100 
1101 void read_LHC18g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1102 {
1103  Int_t runs[] = {288619};
1104 
1105  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1106  if (test)
1107  nruns=3;
1108 
1109  if (loc) {
1110  AliCDBManager* cdb = AliCDBManager::Instance();
1111  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1112  }
1113 
1114  if (!readLEDOnly) readTemp(runs,nruns,"lhc18g");
1115  readLed(runs,nruns,"lhc18g");
1116 }
1117 
1118 void read_LHC18h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1119 {
1120  Int_t runs[] = {288804, 288806};
1121 
1122  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1123  if (test)
1124  nruns=3;
1125 
1126  if (loc) {
1127  AliCDBManager* cdb = AliCDBManager::Instance();
1128  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1129  }
1130 
1131  if (!readLEDOnly) readTemp(runs,nruns,"lhc18h");
1132  readLed(runs,nruns,"lhc18h");
1133 }
1134 
1135 void read_LHC18i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1136 {
1137  Int_t runs[] = {289165, 289166, 289169, 289172, 289175, 289176, 289177, 289198, 289199, 289200, 289201};
1138 
1139  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1140  if (test)
1141  nruns=3;
1142 
1143  if (loc) {
1144  AliCDBManager* cdb = AliCDBManager::Instance();
1145  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1146  }
1147 
1148  if (!readLEDOnly) readTemp(runs,nruns,"lhc18i");
1149  readLed(runs,nruns,"lhc18i");
1150 }
1151 
1152 void read_LHC18j(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1153 {
1154  Int_t runs[] = {288943};
1155 
1156  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1157  if (test)
1158  nruns=3;
1159 
1160  if (loc) {
1161  AliCDBManager* cdb = AliCDBManager::Instance();
1162  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1163  }
1164 
1165  if (!readLEDOnly) readTemp(runs,nruns,"lhc18j");
1166  readLed(runs,nruns,"lhc18j");
1167 }
1168 
1169 void read_LHC18k(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly = 0)
1170 {
1171  Int_t runs[] = {289165, 289166, 289169, 289172, 289175, 289176, 289177, 289198, 289199, 289200, 289201};
1172 
1173  Int_t nruns = sizeof(runs)/sizeof(Int_t);
1174  if (test)
1175  nruns=3;
1176 
1177  if (loc) {
1178  AliCDBManager* cdb = AliCDBManager::Instance();
1179  cdb->SetDefaultStorage("local:///opt/alice/OCDB/2018/");
1180  }
1181 
1182  if (!readLEDOnly) readTemp(runs,nruns,"lhc18k");
1183  readLed(runs,nruns,"lhc18k");
1184 }
1185 
1187 {
1188  read_LHC15Calib(loc,test);
1189  read_LHC15l(loc,test);
1190  read_LHC15n(loc,test);
1191  read_LHC15o(loc,test);
1192  read_LHC16f(loc,test);
1193  read_LHC16g(loc,test);
1194  read_LHC16h(loc,test);
1195  read_LHC16i(loc,test);
1196  read_LHC16j(loc,test);
1197  read_LHC16k(loc,test);
1198  read_LHC16l(loc,test);
1199  read_LHC16o(loc,test);
1200  read_LHC16p(loc,test);
1201  read_LHC16r(loc,test);
1202  read_LHC16s(loc,test);
1203  read_LHC16t(loc,test);
1204  read_LHC16q(loc,test);
1205  read_LHC17c(loc,test);
1206  read_LHC17d(loc,test);
1207  read_LHC17f(loc,test);
1208  read_LHC17g(loc,test);
1209  read_LHC17h(loc,test);
1210  read_LHC17i(loc,test);
1211  read_LHC17j(loc,test);
1212  read_LHC17k(loc,test);
1213  read_LHC17l(loc,test);
1214  read_LHC17m(loc,test);
1215  read_LHC17n(loc,test);
1216  read_LHC17o(loc,test);
1217  read_LHC17p(loc,test);
1218  read_LHC17q(loc,test);
1219  read_LHC17r(loc,test);
1220  read_LHC18b(loc,test);
1221  read_LHC18c(loc,test);
1222  read_LHC18d(loc,test);
1223  read_LHC18e(loc,test);
1224  read_LHC18fLEDOnly(loc,test);
1225  read_LHC18f(loc,test);
1226  read_LHC18g(loc,test);
1227  read_LHC18h(loc,test);
1228  read_LHC18i(loc,test);
1229  read_LHC18j(loc,test);
1230  read_LHC18k(loc,test);
1231 
1232 }
1233 
1235 {
1236  read_LHC13b(loc,test);
1237  read_LHC13c(loc,test);
1238  read_LHC13d(loc,test);
1239  read_LHC13e(loc,test);
1240  read_LHC13f(loc,test);
1241  read_LHC13g(loc,test);
1242 }
1243 
1245 {
1246  read_LHC15Calib(loc,test,1);
1247  read_LHC15l(loc,test,1);
1248  read_LHC15n(loc,test,1);
1249  read_LHC15o(loc,test,1);
1250  read_LHC16f(loc,test,1);
1251  read_LHC16g(loc,test,1);
1252  read_LHC16h(loc,test,1);
1253  read_LHC16i(loc,test,1);
1254  read_LHC16j(loc,test,1);
1255  read_LHC16k(loc,test,1);
1256  read_LHC16l(loc,test,1);
1257  read_LHC16o(loc,test,1);
1258  read_LHC16p(loc,test,1);
1259  read_LHC16r(loc,test,1);
1260  read_LHC16s(loc,test,1);
1261  read_LHC16t(loc,test,1);
1262  read_LHC16q(loc,test,1);
1263  read_LHC17c(loc,test,1);
1264  read_LHC17d(loc,test,1);
1265  read_LHC17f(loc,test,1);
1266  read_LHC17g(loc,test,1);
1267  read_LHC17h(loc,test,1);
1268  read_LHC17i(loc,test,1);
1269  read_LHC17j(loc,test,1);
1270  read_LHC17k(loc,test,1);
1271  read_LHC17l(loc,test,1);
1272  read_LHC17m(loc,test,1);
1273  read_LHC17n(loc,test,1);
1274  read_LHC17o(loc,test,1);
1275  read_LHC17p(loc,test,1);
1276  read_LHC17q(loc,test,1);
1277  read_LHC17r(loc,test,1);
1278  read_LHC18b(loc,test,1);
1279  read_LHC18c(loc,test,1);
1280  read_LHC18d(loc,test,1);
1281  read_LHC18e(loc,test,1);
1282  read_LHC18fLEDOnly(loc,test,1);
1283  read_LHC18f(loc,test,1);
1284  read_LHC18g(loc,test,1);
1285  read_LHC18h(loc,test,1);
1286  read_LHC18i(loc,test,1);
1287  read_LHC18j(loc,test,1);
1288  read_LHC18k(loc,test,1);
1289 }
1290 
1291 void readOCDB(Bool_t loc=0, Int_t runno=286154)
1292 {
1293  AliCDBManager* cdb = AliCDBManager::Instance();
1294  if (loc)
1295  cdb->SetDefaultStorage("local:///opt/alice/OCDB/test/");
1296 
1297  LInfo *li = readOCDB_LED(runno, 0);
1298  li->Compute();
1299  //li->Print();
1300  cout << "fraction good strips ";
1301  for (Int_t i=0;i<20;++i)
1302  cout << li->FracStrips(i) << " ";
1303  cout << endl;
1304  cout << "fraction good towers ";
1305  for (Int_t i=0;i<20;++i)
1306  cout << li->FracLeds(i) << " ";
1307  cout << endl;
1308 }
void read_LHC17p(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:949
void read_LHC18d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1032
void read_LHC18k(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1169
void read_LHC13d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:399
double Double_t
Definition: External.C:58
Double_t FracLeds(Int_t sm, Int_t gain=1) const
Definition: LInfo.cxx:224
void read_LHC16k(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:614
void read_LHC12c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:300
void read_LHC16g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:547
Definition: TInfo.h:10
void read_LHC17l(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:886
void read_LHC16i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:581
void readOCDB(Bool_t loc=0, Int_t runno=286154)
Definition: readOCDB.C:1291
void read_LHC16p(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:664
void read_LHC10b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:88
void read_LHC17i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:835
void read_LHC10e(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:136
void read_LHC17d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:767
void read_LHC12d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:316
void Print(Option_t *option="") const
Definition: LInfo.cxx:272
Int_t readTemp(Int_t *runs, Int_t nruns=1, const char *pername="unspec")
Definition: readOCDB.C:4
void read_LHC12i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:367
void read_LHC17o(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:934
void read_LHC11h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:250
void read_LHC13b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:72
void read_LHC18c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1014
void read_LHC12a(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:266
Int_t readLed(Int_t *runs, Int_t nruns=1, const char *pername="unspec")
Definition: readOCDB.C:38
void read_LHC13e(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:416
void read_LHC17h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:818
void read_LHC15n(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:498
Definition: LInfo.h:11
void read_LHC13f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:432
void read_LHC17r(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:980
void read_LHC16l(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:631
int Int_t
Definition: External.C:63
void read_LHC18f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1084
void read_LHC18e(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1050
void read_LHC17f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:784
void read_LHC12h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:350
void Compute()
Definition: LInfo.cxx:12
void read_LHC17q(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:966
Double_t FracStrips(Int_t sm, Int_t gain=1) const
Definition: LInfo.cxx:251
void read_LHC12f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:333
void read_LHC15o(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:515
void read_LHC16r(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:698
void read_LHC18g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1101
LInfo * readOCDB_LED(Int_t runNb=286350, Bool_t debug=1)
Definition: readOCDB_LED.C:33
TInfo * readOCDB_Temperature(Int_t runNb=286350, Bool_t debug=1)
void read_LHC16s(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:715
void read_LHC13g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:449
void read_LHC10d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:120
void read_LHC15Calib(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:465
void read_LHC17g(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:801
void read_LHC18h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1118
void read_LHC17m(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:903
void read_LHC18j(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1152
void read_LHC18i(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1135
void read_LHC16q(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:681
void read_LHC10f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:152
void read_LHC11a7(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:168
void read_LHC17k(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:869
void read_allRun1(Bool_t loc=0, Bool_t test=0)
Definition: readOCDB.C:1234
void read_LHC15l(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:482
void read_LHC11d(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:234
void Print(Option_t *option="") const
Definition: TInfo.cxx:71
void read_LHC10c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:104
void read_LHC16t(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:732
void read_LHC17n(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:920
void read_allLED(Bool_t loc=0, Bool_t test=0)
Definition: readOCDB.C:1244
void read_LHC17j(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:852
void read_LHC13c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:383
void read_LHC16f(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:531
void read_allRun2(Bool_t loc=0, Bool_t test=0)
Definition: readOCDB.C:1186
void read_LHC11a(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:185
void read_LHC11b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:201
void read_LHC16h(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:564
void test(int runnumber=195345)
bool Bool_t
Definition: External.C:53
void read_LHC18fLEDOnly(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:1067
void read_LHC16o(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:648
void read_LHC18b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:996
void read_LHC16j(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:598
void read_LHC11c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:217
void read_LHC12b(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:283
void read_LHC17c(Bool_t loc=0, Bool_t test=0, Bool_t readLEDOnly=0)
Definition: readOCDB.C:750