GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TRawEventOnlineFileSource.h
Go to the documentation of this file.
1 #ifndef _TRAWEVENTONLINEFILESOURCE_H_
2 #define _TRAWEVENTONLINEFILESOURCE_H_
3 
4 #include "TRawEventSource.h"
5 
7 public:
8  TRawEventOnlineFileSource(const std::string& filename, kFileType file_type);
10 
11  virtual int ReadBytes(char* buf, size_t size);
12 
13  virtual std::string SourceDescription() const;
14 private:
15  int single_read(char* buf, size_t size);
16 
17  std::string fFilename;
18  FILE* fFile;
19 
21 };
22 
23 #endif /* _TRAWEVENTONLINEFILESOURCE_H_ */