Ignore:
Timestamp:
11/06/01 14:27:40 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mraw
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawFileRead.cc

    r1031 r1037  
    237237Bool_t MRawFileRead::PostProcess()
    238238{
    239     if (fRawRunHeader->GetNumEvents() != GetNumExecutions()-1)
    240         *fLog << "WARNING - number of read events doesn't match number in run header." << endl;
     239    if (fRawRunHeader->GetNumEvents() == GetNumExecutions()-1)
     240        return kTRUE;
     241
     242    *fLog << "WARNING - number of read events (" << GetNumExecutions()-1;
     243    *fLog << ") doesn't match number in run header (";
     244    *fLog << fRawRunHeader->GetNumEvents() << ")." << endl;
    241245
    242246    return kTRUE;
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.h

    r1018 r1037  
    8888    UShort_t GetNumSamplesLoGain() const  { return fNumSamplesLoGain; }
    8989    UShort_t GetNumSamplesHiGain() const  { return fNumSamplesHiGain; }
    90     UShort_t GetNumEvents() const         { return fNumEvents; }
     90    UInt_t  GetNumEvents() const         { return fNumEvents; }
    9191    UShort_t GetPixAssignment(UShort_t i) const;
    9292
Note: See TracChangeset for help on using the changeset viewer.