Changeset 9576 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 04/22/10 11:43:42 (15 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r9103 r9576 1001 1001 case MChain::kFatalError: 1002 1002 *fLog << err << GetDescriptor() << " - ERROR: Notify() failed." << endl; 1003 return k TRUE;1003 return kERROR; 1004 1004 case MChain::kCannotAccessFile: 1005 1005 *fLog << err << GetDescriptor() << " - ERROR: TChain::LoadTree is unable to access requested file." << endl; -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r9472 r9576 716 716 if (!b->GetBranch()->Fill()) 717 717 { 718 *fLog << err << "ERROR - Zero bytes written to branch '" << b->GetBranch()->GetName() << "'... abort." << endl;718 *fLog << err << "ERROR - MWriteRootFile: Zero bytes written to branch '" << b->GetBranch()->GetName() << "'... abort." << endl; 719 719 return kFALSE; 720 720 } … … 730 730 { 731 731 TTree *t = (TTree*)fTrees[idx]; 732 if (!t) 733 { 734 *fLog << err << "ERROR - MWriteRootFile: The Tree with index " << idx << endl; 735 *fLog << " in fTrees is NULL. This should never happen. Please send" << endl; 736 *fLog << " a bug report." << endl; 737 return kFALSE; 738 } 732 739 733 740 // … … 746 753 if (!t->Fill()) 747 754 { 748 *fLog << err << "ERROR - Zero bytes written to tree '" << t->GetName() << "'... abort." << endl;755 *fLog << err << "ERROR - MWriteRootFiole: Zero bytes written to tree '" << t->GetName() << "'... abort." << endl; 749 756 return kFALSE; 750 757 }
Note:
See TracChangeset
for help on using the changeset viewer.