Line | |
---|
1 | #ifndef MRAWFILEREAD_H
|
---|
2 | #define MRAWFILEREAD_H
|
---|
3 |
|
---|
4 | #ifndef MTASK_H
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class ifstream;
|
---|
9 |
|
---|
10 | class MTime;
|
---|
11 | class MParList;
|
---|
12 | class MRawRunHeader;
|
---|
13 | class MRawEvtHeader;
|
---|
14 | class MRawEvtData;
|
---|
15 | class MRawCrateArray;
|
---|
16 |
|
---|
17 | class MRawFileRead : public MTask
|
---|
18 | {
|
---|
19 | private:
|
---|
20 | MRawRunHeader *fRawRunHeader; // run header information container to fill from file
|
---|
21 | MRawEvtHeader *fRawEvtHeader; // event header information container to fill from file
|
---|
22 | MRawEvtData *fRawEvtData; // raw evt header infomation container to fill from file
|
---|
23 | MRawCrateArray *fRawCrateArray; // crate information array container to fill from file
|
---|
24 | MTime *fRawEvtTime; // raw evt time information container to fill from file
|
---|
25 |
|
---|
26 | ifstream *fIn; //! buffered input stream (file to read from)
|
---|
27 |
|
---|
28 | public:
|
---|
29 | MRawFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
|
---|
30 | ~MRawFileRead();
|
---|
31 |
|
---|
32 | Bool_t PreProcess(MParList *pList);
|
---|
33 | Bool_t Process();
|
---|
34 |
|
---|
35 | ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.