source: trunk/MagicSoft/Mars/mreport/MReportFileRead.h@ 2522

Last change on this file since 2522 was 2520, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 895 bytes
Line 
1#ifndef MARS_MReportFileRead
2#define MARS_MReportFileRead
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8// gcc 3.2
9//class ifstream;
10#include <iosfwd>
11
12class THashTable;
13
14class MTime;
15class MReport;
16
17class MReportFileRead : public MTask
18{
19private:
20 static const TString gsReportHeader;
21 static const TString gsVersionPrefix;
22
23 TString fFileName;
24 ifstream *fIn; //! buffered input stream (file to read from)
25
26 THashTable *fList;
27
28 Int_t PreProcess(MParList *pList);
29 Int_t Process();
30 Int_t PostProcess();
31
32 Bool_t CheckFileHeader() const;
33 MReport *GetReport(const TString &str) const;
34
35public:
36 MReportFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
37 ~MReportFileRead();
38
39 Bool_t AddToList(MReport *rep) const;
40
41 ClassDef(MReportFileRead, 0) // Task to read the raw data binary file
42};
43
44#endif
Note: See TracBrowser for help on using the repository browser.