Changeset 1037 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/06/01 14:27:40 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r1031 r1037 237 237 Bool_t MRawFileRead::PostProcess() 238 238 { 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; 241 245 242 246 return kTRUE; -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.h
r1018 r1037 88 88 UShort_t GetNumSamplesLoGain() const { return fNumSamplesLoGain; } 89 89 UShort_t GetNumSamplesHiGain() const { return fNumSamplesHiGain; } 90 U Short_tGetNumEvents() const { return fNumEvents; }90 UInt_t GetNumEvents() const { return fNumEvents; } 91 91 UShort_t GetPixAssignment(UShort_t i) const; 92 92
Note:
See TracChangeset
for help on using the changeset viewer.