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 | TString fFileName;
|
---|
27 | ifstream *fIn; //! buffered input stream (file to read from)
|
---|
28 |
|
---|
29 | public:
|
---|
30 | MRawFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
|
---|
31 | ~MRawFileRead();
|
---|
32 |
|
---|
33 | Bool_t PreProcess(MParList *pList);
|
---|
34 | Bool_t Process();
|
---|
35 |
|
---|
36 | ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
|
---|
37 | };
|
---|
38 |
|
---|
39 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.