Changeset 665 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 03/02/01 12:09:07 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/mraw
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r654 r665 24 24 ClassImp(MRawFileRead) 25 25 26 /* 27 ----------- please don't delete ------------26 27 // ----------- please don't delete ------------ 28 28 #define kBUFSZ 1024 29 29 … … 41 41 int underflow() 42 42 { 43 int sz=fread(fBuffer, 1, kBUFSZ, fd);43 int sz=fread(fBuffer, kBUFSZ, 1, fd); 44 44 setg(fBuffer, fBuffer, fBuffer+kBUFSZ); 45 45 … … 53 53 } 54 54 }; 55 */ 55 56 56 57 57 MRawFileRead::MRawFileRead(const char *fname, const char *name, const char *title) … … 63 63 // open the input stream 64 64 // 65 fIn = new ifstream(fname);65 fIn = new bifstream(fname); 66 66 67 67 if (!(*fIn)) -
trunk/MagicSoft/Mars/mraw/MRawFileRead.h
r654 r665 6 6 #endif 7 7 8 class ifstream;8 class bifstream; 9 9 10 10 class MTime; … … 24 24 MTime *fRawEvtTime; // raw evt time information container to fill from file 25 25 26 ifstream *fIn; //! buffered input stream (file to read from)26 bifstream *fIn; //! buffered input stream (file to read from) 27 27 28 28 public:
Note:
See TracChangeset
for help on using the changeset viewer.