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