Changeset 8225 for trunk/MagicSoft


Ignore:
Timestamp:
12/12/06 13:29:11 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7995 r8225  
    255255    }
    256256
     257    if (fRun->GetEntries() < fRun->GetNumFiles())
     258    {
     259        *fLog << err << "Error - Number of files exceeds number of RunHeaders... aborting." << endl;
     260        return kFALSE;
     261    }
     262
     263    if (fRun->GetEntries() > fRun->GetNumFiles())
     264    {
     265        *fLog << err << "Error - Number of RunHeaders exceeds number of files... aborting." << endl;
     266        return kFALSE;
     267    }
     268
    257269    /*
    258270    const Int_t idx = GetFileIndex();
Note: See TracChangeset for help on using the changeset viewer.