Changeset 7579 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 03/08/06 10:17:07 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r7438 r7579 102 102 // 103 103 MRawFileRead::MRawFileRead(const char *fname, const char *name, const char *title) 104 : fFileNames(NULL), fNumFile(0), fIn(NULL), fParList(NULL), fInterleave(1) 104 : fFileNames(NULL), fNumFile(0), fIn(NULL), fParList(NULL), fInterleave(1), fForce(kFALSE) 105 105 { 106 106 fName = name ? name : "MRead"; … … 220 220 // 221 221 if (!fRawRunHeader->ReadEvt(*fIn)) 222 return kERROR; 222 if (!fForce) 223 return kERROR; 223 224 224 225 if (!(*fIn)) -
trunk/MagicSoft/Mars/mraw/MRawFileRead.h
r7438 r7579 24 24 UInt_t fInterleave; 25 25 26 Bool_t fForce; 27 26 28 Int_t OpenNextFile(Bool_t print=kTRUE); 27 29 Bool_t CalcNumTotalEvents(); … … 38 40 39 41 void SetInterleave(UInt_t i) { fInterleave = i; } 42 void SetForce(Bool_t b=kTRUE) { fForce=b; } 40 43 41 44 TString GetFullFileName() const; -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r7489 r7579 362 362 return; 363 363 364 *fLog << inf << hex;364 *fLog << inf << "Assignment:" << hex << endl; 365 365 for (int i=0; i<GetNumPixel(); i++) 366 366 *fLog << setfill('0') << setw(3) << (*fPixAssignment)[i] << " ";
Note:
See TracChangeset
for help on using the changeset viewer.