Ignore:
Timestamp:
04/22/10 11:43:42 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mfileio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mfileio/MReadTree.cc

    r9103 r9576  
    10011001        case MChain::kFatalError:
    10021002            *fLog << err << GetDescriptor() << " - ERROR: Notify() failed." << endl;
    1003             return kTRUE;
     1003            return kERROR;
    10041004        case MChain::kCannotAccessFile:
    10051005            *fLog << err << GetDescriptor() << " - ERROR: TChain::LoadTree is unable to access requested file." << endl;
  • trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc

    r9472 r9576  
    716716            if (!b->GetBranch()->Fill())
    717717            {
    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;
    719719                return kFALSE;
    720720            }
     
    730730    {
    731731        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        }
    732739
    733740        //
     
    746753        if (!t->Fill())
    747754        {
    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;
    749756            return kFALSE;
    750757        }
Note: See TracChangeset for help on using the changeset viewer.