Changeset 9041 for trunk/MagicSoft/Mars/mfileio/MReadTree.cc
- Timestamp:
- 07/25/08 15:17:20 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r9036 r9041 295 295 Bool_t MReadTree::Notify() 296 296 { 297 cout << "--notify1--" << endl; 298 297 299 // 298 300 // Do a consistency check for all branches … … 300 302 if (!CheckBranchSize()) 301 303 return kFALSE; 304 305 cout << "--notify2--" << endl; 302 306 303 307 *fLog << inf << GetDescriptor() << ": Next file #" << GetFileIndex(); … … 342 346 } 343 347 348 cout << "--done--" << endl; 349 344 350 return kTRUE; 345 351 } … … 390 396 } 391 397 else 392 *fLog << warn << "WARNING: '" << newname << "' not added to " << GetDescriptor()<< endl;398 *fLog << warn << GetDescriptor() << ": WARNING - No files found at " << newname << endl; 393 399 394 400 return numfiles; … … 994 1000 995 1001 if (fChain) 1002 { 1003 // cout << "LE: " << (int)fChain->GetLastError() << endl; 1004 996 1005 switch (fChain->GetLastError()) 997 1006 { 998 1007 case MChain::kFatalError: 999 1008 *fLog << err << GetDescriptor() << " - ERROR: Notify() failed." << endl; 1000 return k ERROR;1009 return kTRUE; 1001 1010 case MChain::kCannotAccessFile: 1002 1011 *fLog << err << GetDescriptor() << " - ERROR: TChain::LoadTree is unable to access requested file." << endl; … … 1010 1019 return kTRUE; 1011 1020 } 1021 } 1012 1022 1013 1023 return rc; … … 1180 1190 // -------------------------------------------------------------------------- 1181 1191 // 1182 // This schedules a TObject which Notify( 9function is called in case1192 // This schedules a TObject which Notify() function is called in case 1183 1193 // of MReadTree (TChain) switches from one file in the chain to another 1184 1194 // one.
Note:
See TracChangeset
for help on using the changeset viewer.