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 |
|
---|
12 | class THashTable;
|
---|
13 |
|
---|
14 | class MTime;
|
---|
15 | class MReport;
|
---|
16 |
|
---|
17 | class MReportFileRead : public MTask
|
---|
18 | {
|
---|
19 | private:
|
---|
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 |
|
---|
35 | public:
|
---|
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.