@@ -190,12 +190,12 @@ std::vector<o2::mid::ColumnData> makeFakeDeadChannels()
190190 // - expected refers to the expected fake dead channels obtained by Baptiste
191191 // by comparing the masked channels with the default masks.
192192 std ::vector < o2 ::mid ::ColumnData > fakeDeads ;
193- // fakeDeads.push_back({0, 3, 0x81, 0x0, 0x0, 0x0, 0x0 }); // 40; X1; expected: 0x0; data 10/2023
193+ fakeDeads .push_back ({0 , 3 , 0x81 , 0x0 , 0x0 , 0x0 , 0x1 }); // 40; X1; expected: 0x0; data 10/2023; data 06/2024; data 06/2024
194194 fakeDeads .push_back ({6 , 5 , 0x0 , 0x2a00 , 0x0 , 0x0 , 0x0 }); // 6c; X1; expected: 0x0; data 12/2023: 0x2e00
195195 fakeDeads .push_back ({7 , 5 , 0x0 , 0x6bff , 0x0 , 0x0 , 0x0 }); // 6e; X1; expected: 0x0; data 10/2023: 0x28ff
196196 fakeDeads .push_back ({9 , 5 , 0x0 , 0x0 , 0x0 , 0x0 , 0x2 }); // 60; Y2; expected: 0x0
197197 fakeDeads .push_back ({10 , 2 , 0x0 , 0x0 , 0x0 , 0x0 , 0xe0 }); // 31; Y2;
198- fakeDeads .push_back ({10 , 4 , 0x805f , 0x0 , 0x0 , 0x0 , 0x0 }); // 51; X2; expected: 0x905e; data 12/2023: 0x5f
198+ fakeDeads .push_back ({10 , 4 , 0x905f , 0x0 , 0x0 , 0x0 , 0x0 }); // 51; X2; expected: 0x905e; data 12/2023: 0x5f; data 06/2024
199199 fakeDeads .push_back ({14 , 5 , 0x0 , 0x0 , 0x0 , 0x0 , 0x80 }); // 69; Y2;
200200 fakeDeads .push_back ({16 , 2 , 0x0 , 0x0 , 0x0 , 0x0 , 0xe0 }); // 2c; Y2; expected: 0x80; data 10/2023: 0xa0
201201 fakeDeads .push_back ({16 , 3 , 0x0 , 0xf00 , 0x0 , 0x0 , 0x0 }); // 4e; X2; expected: 0x0; data 10/2023: 0x300
@@ -208,14 +208,14 @@ std::vector<o2::mid::ColumnData> makeFakeDeadChannels()
208208 fakeDeads .push_back ({44 , 5 , 0x2000 , 0x0 , 0x0 , 0x0 , 0x0 }); // ef; X1; expected: 0x0
209209 fakeDeads .push_back ({44 , 6 , 0x0 , 0x0 , 0x0 , 0x0 , 0xf }); // f8; Y1; expected: 0x0; data 10/2023: 0x7
210210 fakeDeads .push_back ({46 , 1 , 0x0 , 0x0 , 0x0 , 0x0 , 0xc0 }); // 91; Y2; expected: 0xc0; data 12/2023: 0x40
211- fakeDeads .push_back ({46 , 2 , 0x0 , 0x0 , 0x0 , 0x0 , 0xc0 }); // b1; Y2; expected: 0xe0; data 10/2023: 0xe0
211+ fakeDeads .push_back ({46 , 2 , 0x0 , 0x0 , 0x0 , 0x0 , 0xe0 }); // b1; Y2; expected: 0xe0; data 10/2023: 0xe0; data 06/2024
212212 fakeDeads .push_back ({46 , 3 , 0x0 , 0x0 , 0x0 , 0x0 , 0xc0 }); // c1; Y2;
213- fakeDeads .push_back ({46 , 4 , 0x0 , 0x0 , 0x0 , 0x0 , 0x58 }); // d1; Y2; expected: 0xe8; data 10/2023: 0x60
213+ fakeDeads .push_back ({46 , 4 , 0x0 , 0x0 , 0x0 , 0x0 , 0xf8 }); // d1; Y2; expected: 0xe8; data 10/2023: 0x60; data 06/2024
214214 fakeDeads .push_back ({46 , 5 , 0x0 , 0x0 , 0x0 , 0x0 , 0x60 }); // e1; Y2;
215- fakeDeads .push_back ({47 , 3 , 0x1 , 0x0 , 0x0 , 0x0 , 0x0 }); // c3; X2; expected: 0x9d; data 10/2023: 0x15
216- // fakeDeads.push_back({47, 5, 0x1, 0x0, 0x0, 0x0, 0x0}); // e3; X2; 0 (expected only)
217- fakeDeads .push_back ({52 , 2 , 0x0 , 0x0 , 0x0 , 0x0 , 0xf8 }); // ac; Y2; expected: 0xb0; data 10/2023: 0xf0
218- fakeDeads .push_back ({52 , 3 , 0x0 , 0x0 , 0x0 , 0x0 , 0x80 }); // cd; Y2; expected: 0x0
215+ fakeDeads .push_back ({47 , 3 , 0x5d , 0x0 , 0x0 , 0x0 , 0x0 }); // c3; X2; expected: 0x9d; data 10/2023: 0x15; data 06/2024
216+ fakeDeads .push_back ({47 , 5 , 0x1 , 0x0 , 0x0 , 0x0 , 0x0 }); // e3; data 06/2023; data 06/2024
217+ fakeDeads .push_back ({52 , 2 , 0x0 , 0x0 , 0x0 , 0x0 , 0xf8 }); // ac; Y2; expected: 0xb0; data 10/2023: 0xf0
218+ fakeDeads .push_back ({52 , 3 , 0x0 , 0x0 , 0x0 , 0x0 , 0x80 }); // cd; Y2; expected: 0x0
219219 // fakeDeads.push_back({64, 4, 0x0, 0x0, 0x0, 0x0, 0x40}); // d1; Y4; expected: 0x0; data 12/2023
220220 fakeDeads .push_back ({68 , 5 , 0x0 , 0x0 , 0x0 , 0x0 , 0xe2 }); // e9; Y4; expected: 0x0; data 10/2023: 0xe0
221221
@@ -269,7 +269,7 @@ void ccdbUtils(const char* what, long timestamp = 0, const char* inFilename = "m
269269
270270 whats .emplace_back ("uploadfake" );
271271 if (what == whats .back ()) {
272- uploadBadChannels (ccdbUrl , timestamp , fakeDeadChannelCCDBPath );
272+ uploadBadChannels (ccdbUrl , timestamp , fakeDeadChannelCCDBPath , makeFakeDeadChannels () );
273273 return ;
274274 }
275275
0 commit comments