Changeset 4022 for trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
- Timestamp:
- 05/09/04 20:55:34 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
r3800 r4022 310 310 if (!DecodeTime(abstime)) 311 311 { 312 *fLog << warn << "WARNING - Event time in event header invalid... abort." << endl; 312 *fLog << warn << "WARNING - Event time in event header invalid..." << endl; 313 // Skip the rest of the header in case of merpps force-mode 314 fin.seekg(GetNumBytes()-12, ios::cur); 313 315 return kCONTINUE; 314 316 } … … 335 337 void MRawEvtHeader::SkipEvt(istream &fin, UShort_t ver) 336 338 { 337 fin.seekg( 36+fPixLoGainOn->GetSize(), ios::cur);339 fin.seekg(GetNumBytes(), ios::cur); 338 340 } 339 341 … … 361 363 UInt_t MRawEvtHeader::GetTriggerID() const 362 364 { 363 UInt_t trigID=0; 364 365 trigID = fTrigPattern[0]; 366 367 return trigID; 368 } 365 return fTrigPattern[0]; 366 }
Note:
See TracChangeset
for help on using the changeset viewer.