Line | |
---|
1 | #ifndef MARS_MRawRead
|
---|
2 | #define MARS_MRawRead
|
---|
3 |
|
---|
4 | #ifndef MARS_MRead
|
---|
5 | #include "MRead.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 MRead
|
---|
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 *fRawEvtData1; // raw evt data infomation container to fill from file
|
---|
21 | MRawEvtData *fRawEvtData2; // raw evt data for pixels with negative indices
|
---|
22 | MRawCrateArray *fRawCrateArray; // crate information array container to fill from file
|
---|
23 | MTime *fRawEvtTime; // raw evt time information container to fill from file
|
---|
24 |
|
---|
25 | Bool_t fForceMode; // Force mode skipping defect events
|
---|
26 |
|
---|
27 | void CreateFakeTime() const;
|
---|
28 |
|
---|
29 | Bool_t ReadEvent(istream &fin);
|
---|
30 | void SkipEvent(istream &fin);
|
---|
31 | Int_t PreProcess(MParList *pList);
|
---|
32 |
|
---|
33 | private:
|
---|
34 | virtual Bool_t OpenStream() { return kTRUE; }
|
---|
35 |
|
---|
36 | public:
|
---|
37 | MRawRead(const char *name=NULL, const char *title=NULL);
|
---|
38 |
|
---|
39 | UInt_t GetEntries() { return 0; }
|
---|
40 | Bool_t Rewind() {return kTRUE; }
|
---|
41 |
|
---|
42 | void SetForceMode(Bool_t b=kTRUE) { fForceMode = b; }
|
---|
43 |
|
---|
44 | ClassDef(MRawRead, 0) // Task to read the raw data binary file
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.