| Line | |
|---|
| 1 | #ifndef MARS_MRawFileRead
|
|---|
| 2 | #define MARS_MRawFileRead
|
|---|
| 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 MTime;
|
|---|
| 13 | class MParList;
|
|---|
| 14 | class MRawRunHeader;
|
|---|
| 15 | class MRawEvtHeader;
|
|---|
| 16 | class MRawEvtData;
|
|---|
| 17 | class MRawCrateArray;
|
|---|
| 18 |
|
|---|
| 19 | class MRawFileRead : public MTask
|
|---|
| 20 | {
|
|---|
| 21 | private:
|
|---|
| 22 | MRawRunHeader *fRawRunHeader; // run header information container to fill from file
|
|---|
| 23 | MRawEvtHeader *fRawEvtHeader; // event header information container to fill from file
|
|---|
| 24 | MRawEvtData *fRawEvtData; // raw evt header infomation container to fill from file
|
|---|
| 25 | MRawCrateArray *fRawCrateArray; // crate information array container to fill from file
|
|---|
| 26 | MTime *fRawEvtTime; // raw evt time information container to fill from file
|
|---|
| 27 |
|
|---|
| 28 | TString fFileName;
|
|---|
| 29 | ifstream *fIn; //! buffered input stream (file to read from)
|
|---|
| 30 |
|
|---|
| 31 | Int_t PreProcess(MParList *pList);
|
|---|
| 32 | Int_t Process();
|
|---|
| 33 | Int_t PostProcess();
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | public:
|
|---|
| 37 | MRawFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
|
|---|
| 38 | ~MRawFileRead();
|
|---|
| 39 |
|
|---|
| 40 | ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
|
|---|
| 41 | };
|
|---|
| 42 |
|
|---|
| 43 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.