@@ -54,7 +54,7 @@ void TestDataReader::init(InitContext& ic)
5454 std::ifstream RunFileType (sRunTypeFileName );
5555 RunFileType >> mRunType ;
5656
57- LOG (DEBUG ) << " OLD CONFIG: RunFileType = " << mRunType ;
57+ LOG (debug ) << " OLD CONFIG: RunFileType = " << mRunType ;
5858
5959 if (mRunType == " FakeHitRate" ) {
6060 std::ifstream EventPush (sFakeRateDefConfig );
@@ -66,8 +66,8 @@ void TestDataReader::init(InitContext& ic)
6666 EventPush >> mEventPerPush >> mTrackError >> mWorkDir ;
6767 }
6868
69- LOG (DEBUG ) << " OLD CONFIG: EventPerPush = " << mEventPerPush << " TrackError = " << mTrackError << " WorkDir = " << mWorkDir ;
70- LOG (DEBUG ) << " DONE Reset Histogram Decision" ;
69+ LOG (debug ) << " OLD CONFIG: EventPerPush = " << mEventPerPush << " TrackError = " << mTrackError << " WorkDir = " << mWorkDir ;
70+ LOG (debug ) << " DONE Reset Histogram Decision" ;
7171
7272 o2::base::GeometryManager::loadGeometry ();
7373
@@ -100,7 +100,7 @@ void TestDataReader::init(InitContext& ic)
100100 //
101101
102102 const Int_t numOfChips = o2::itsmft::ChipMappingITS::getNChips ();
103- LOG (DEBUG ) << " numOfChips = " << numOfChips;
103+ LOG (debug ) << " numOfChips = " << numOfChips;
104104 setNChips (numOfChips);
105105 // j = 0;
106106 mFileDone = 1 ;
@@ -160,7 +160,7 @@ void TestDataReader::run(ProcessingContext& pc)
160160 std::ifstream RunFileType (sRunTypeFileName );
161161 RunFileType >> mRunType ;
162162
163- LOG (DEBUG ) << " NEW CONFIG: RunFileType = " << mRunType ;
163+ LOG (debug ) << " NEW CONFIG: RunFileType = " << mRunType ;
164164
165165 if (mRunType == " FakeHitRate" ) {
166166 std::ifstream EventPush (sFakeRateDefConfig );
@@ -172,13 +172,13 @@ void TestDataReader::run(ProcessingContext& pc)
172172 EventPush >> mEventPerPush >> mTrackError >> mWorkDir ;
173173 }
174174
175- LOG (DEBUG ) << " NEW CONFIG: EventPerPush = " << mEventPerPush << " TrackError = " << mTrackError << " mWorkDir = " << mWorkDir ;
176- LOG (DEBUG ) << " DONE Reset Histogram Decision" ;
175+ LOG (debug ) << " NEW CONFIG: EventPerPush = " << mEventPerPush << " TrackError = " << mTrackError << " mWorkDir = " << mWorkDir ;
176+ LOG (debug ) << " DONE Reset Histogram Decision" ;
177177 }
178178
179- LOG (DEBUG ) << " Start Creating New Now Vector" ;
179+ LOG (debug ) << " Start Creating New Now Vector" ;
180180
181- LOG (DEBUG ) << " Get IN LOOP" ;
181+ LOG (debug ) << " Get IN LOOP" ;
182182 // Checking for new files, extract them into new vector
183183 for (int i = 0 ; i < mFolderNames .size (); i++) {
184184 std::set_difference (mNowFileNames [i].begin (), mNowFileNames [i].end (), mFileNames [i].begin (), mFileNames [i].end (), std::inserter (mDiffFileNamePush , mDiffFileNamePush .begin ()));
@@ -188,27 +188,27 @@ void TestDataReader::run(ProcessingContext& pc)
188188 mDiffFileNamePush .clear ();
189189 }
190190
191- LOG (DEBUG ) << " DONE GRABING Existing" ;
191+ LOG (debug ) << " DONE GRABING Existing" ;
192192
193193 // Getting the new files from new folders that does not exist in the previous cycle
194194 for (int i = mFolderNames .size (); i < mNowFolderNames .size (); i++) {
195195 mDiffFileNames .push_back (mNowFileNames [i]);
196196 cout << " New File Size Between New and Initial Runs " << mDiffFileNames [i].size () << endl;
197197 }
198198
199- LOG (DEBUG ) << " Total New Files = " << mDiffFileNames .size ();
199+ LOG (debug ) << " Total New Files = " << mDiffFileNames .size ();
200200
201- LOG (DEBUG ) << " DONE Creating Difference" ;
201+ LOG (debug ) << " DONE Creating Difference" ;
202202
203- LOG (DEBUG ) << " mDiffFileNames Size = " << mDiffFileNames .size ();
203+ LOG (debug ) << " mDiffFileNames Size = " << mDiffFileNames .size ();
204204
205- LOG (DEBUG ) << " Start Loop" ;
205+ LOG (debug ) << " Start Loop" ;
206206
207207 // Start Decoding New Files by loop through the new file vector
208208
209209 for (int i = 0 ; i < mNowFolderNames .size (); i++) {
210210
211- LOG (DEBUG ) << " i = " << i << " mDiffFileNames[i].size() = " << mDiffFileNames [i].size ();
211+ LOG (debug ) << " i = " << i << " mDiffFileNames[i].size() = " << mDiffFileNames [i].size ();
212212
213213 // Getting the folder name ID
214214
@@ -218,7 +218,7 @@ void TestDataReader::run(ProcessingContext& pc)
218218 mRunID = mNowFolderNames [i].substr (pos + 1 );
219219 }
220220
221- LOG (DEBUG ) << " FileDone = " << mFileDone << endl;
221+ LOG (debug ) << " FileDone = " << mFileDone << endl;
222222
223223 // Reading files one by one
224224
@@ -256,7 +256,7 @@ void TestDataReader::run(ProcessingContext& pc)
256256 mInputName = mDiffFileNames [i][0 ];
257257
258258 mEventRegistered = 0 ;
259- LOG (DEBUG ) << " mInputName = " << mInputName ;
259+ LOG (debug ) << " mInputName = " << mInputName ;
260260
261261 // Inject fake thing digits for the QC to update immediately
262262 // mDigitsTest is the fake digit for updating the QC immediately on the QC GUI
@@ -398,7 +398,7 @@ void TestDataReader::run(ProcessingContext& pc)
398398 cout << " Final TotalPixelSize = " << mTotalPixelSize << endl;
399399 mNDigits .push_back (mTotalPixelSize );
400400 mErrorsVec .push_back (mErrors );
401- LOG (DEBUG ) << " Run " << mNowFolderNames [i] << " File " << mInputName << " Integrated Raw Pixel Pushed " << mDigits .size ();
401+ LOG (debug ) << " Run " << mNowFolderNames [i] << " File " << mInputName << " Integrated Raw Pixel Pushed " << mDigits .size ();
402402 if (mFolderNames .size () < mNowFolderNames .size ()) {
403403 mFileNames .push_back (NewNextFold);
404404 }
@@ -407,9 +407,9 @@ void TestDataReader::run(ProcessingContext& pc)
407407 }
408408 }
409409
410- LOG (DEBUG ) << " DONE Pushing" ;
410+ LOG (debug ) << " DONE Pushing" ;
411411
412- LOG (DEBUG ) << " mIndexPush Before = " << mIndexPush << " mDigits.size() = " << mDigits .size ();
412+ LOG (debug ) << " mIndexPush Before = " << mIndexPush << " mDigits.size() = " << mDigits .size ();
413413
414414 if (mDigits .size () > 0 ) {
415415 PercentDone = double (mIndexPush ) / double (mDigits .size ());
@@ -420,8 +420,8 @@ void TestDataReader::run(ProcessingContext& pc)
420420 for (int i = 0 ; i < mNDigits [j]; i++) {
421421 mMultiDigits .push_back (mDigits [mIndexPush + i]);
422422 }
423- LOG (DEBUG ) << " j = " << j << " NDgits = " << mNDigits [j] << " mMultiDigits Pushed = " << mMultiDigits .size ();
424- LOG (DEBUG ) << " i = " << 10 << " ErrorShould = " << mErrors [10 ] << " ErrorInjected = " << mErrorsVec [j][10 ];
423+ LOG (debug ) << " j = " << j << " NDgits = " << mNDigits [j] << " mMultiDigits Pushed = " << mMultiDigits .size ();
424+ LOG (debug ) << " i = " << 10 << " ErrorShould = " << mErrors [10 ] << " ErrorInjected = " << mErrorsVec [j][10 ];
425425 ;
426426
427427 cout << " RunIDS = " << mRunNumber << " FileIDS = " << mFileID << endl;
@@ -431,18 +431,18 @@ void TestDataReader::run(ProcessingContext& pc)
431431
432432 pc.outputs ().snapshot (Output{" ITS" , " Error" , 0 , Lifetime::Timeframe}, mErrorsVec [j]);
433433 mIndexPushEx = mIndexPush + mNDigits [j];
434- LOG (DEBUG ) << " IndexPushEx = " << mIndexPushEx << " mDigits.size() " << mDigits .size ();
434+ LOG (debug ) << " IndexPushEx = " << mIndexPushEx << " mDigits.size() " << mDigits .size ();
435435 if (mIndexPushEx > mDigits .size () - 5 ) {
436436 mFileDone = 1 ;
437437 }
438- LOG (DEBUG ) << " FileDone = " << mFileDone ;
439- LOG (DEBUG ) << " FileRemain = " << mFileRemain ;
438+ LOG (debug ) << " FileDone = " << mFileDone ;
439+ LOG (debug ) << " FileRemain = " << mFileRemain ;
440440
441441 mFileInfo = mFileDone + mFileRemain * 10 ;
442442
443443 pc.outputs ().snapshot (Output{" ITS" , " Finish" , 0 , Lifetime::Timeframe}, mFileInfo );
444444
445- LOG (DEBUG ) << " mIndexPush = " << mIndexPush << " Chip ID Pushing " << mDigits [mIndexPush ].getChipIndex ();
445+ LOG (debug ) << " mIndexPush = " << mIndexPush << " Chip ID Pushing " << mDigits [mIndexPush ].getChipIndex ();
446446
447447 pc.outputs ().snapshot (Output{" ITS" , " DIGITS" , 0 , Lifetime::Timeframe}, mMultiDigits );
448448
@@ -451,17 +451,17 @@ void TestDataReader::run(ProcessingContext& pc)
451451 j = j + 1 ;
452452 }
453453
454- LOG (DEBUG ) << " mIndexPush After = " << mIndexPush ;
454+ LOG (debug ) << " mIndexPush After = " << mIndexPush ;
455455
456456 /*
457- LOG(DEBUG ) << "Before: " << "mIndexPush = " << mIndexPush << " mDigits.size() = " << mDigits.size();
457+ LOG(debug ) << "Before: " << "mIndexPush = " << mIndexPush << " mDigits.size() = " << mDigits.size();
458458 while(mIndexPush < mDigits.size()){
459- // LOG(DEBUG ) << "mDigits.size() = " << mDigits.size();
459+ // LOG(debug ) << "mDigits.size() = " << mDigits.size();
460460 pc.outputs().snapshot(Output{ "ITS", "DIGITS", 0, Lifetime::Timeframe }, mDigits[mIndexPush++]);
461- if(mIndexPush%100000==0) LOG(DEBUG ) << "mIndexPush = " << mIndexPush << " Chip ID Pushing " << mDigits[mIndexPush].getChipIndex();
461+ if(mIndexPush%100000==0) LOG(debug ) << "mIndexPush = " << mIndexPush << " Chip ID Pushing " << mDigits[mIndexPush].getChipIndex();
462462 }
463463 //pc.services().get<ControlService>().readyToQuit(QuitRequest::All);
464- LOG(DEBUG ) << "After: " << "mIndexPush = " << mIndexPush << " mDigits.size() = " << mDigits.size();
464+ LOG(debug ) << "After: " << "mIndexPush = " << mIndexPush << " mDigits.size() = " << mDigits.size();
465465 */
466466
467467 mFolderNames .clear ();
@@ -475,7 +475,7 @@ void TestDataReader::run(ProcessingContext& pc)
475475 mDiffFileNames .clear ();
476476 mDiffFolderName .clear ();
477477
478- LOG (DEBUG ) << " Pushing Reset Histogram Decision" ;
478+ LOG (debug ) << " Pushing Reset Histogram Decision" ;
479479
480480 cout << " Resetting Pushing Things" << endl;
481481
0 commit comments