Changeset 9866 for trunk/Mars/mfileio


Ignore:
Timestamp:
08/16/10 09:07:06 (14 years ago)
Author:
tbretz
Message:
Evaluate return code of call to fRun->Process in MReadMarsFile::Notify()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mfileio/MReadMarsFile.cc

    r9219 r9866  
    183183    const Int_t idx = GetFileIndex();
    184184    fRun->SetEventNum(idx<0?0:idx); // Assumption: One Entry per File!
    185     if (!fRun->Process())
     185
     186    const Int_t rc = fRun->Process();
     187    if (rc!=kTRUE)
    186188    {
    187189        *fLog << err << "ERROR - Cannot read new runheaders #" << idx;
    188         *fLog << " after reading event #" << GetNumEntry() << endl;
     190        *fLog << " after reading event #" << GetNumEntry();
     191        *fLog << " (MReadTree::Process() returned rc=" << rc << ")" << endl;
    189192        return kFALSE;
    190193    }
Note: See TracChangeset for help on using the changeset viewer.