source: trunk/MagicSoft/Mars/mraw/MRawRead.h@ 4308

Last change on this file since 4308 was 4114, checked in by reyes, 21 years ago
*** empty log message ***
File size: 1.2 KB
Line 
1#ifndef MARS_MRawRead
2#define MARS_MRawRead
3
4#ifndef MARS_MRead
5#include "MRead.h"
6#endif
7
8class MTime;
9class MParList;
10class MRawRunHeader;
11class MRawEvtHeader;
12class MRawEvtData;
13class MRawCrateArray;
14
15class MRawRead : public MRead
16{
17protected:
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 Bool_t fForceMode; // Force mode skipping defect events
25
26 void CreateFakeTime() const;
27
28 Bool_t ReadEvent(istream &fin);
29 void SkipEvent(istream &fin);
30 Int_t PreProcess(MParList *pList);
31
32private:
33 virtual Bool_t OpenStream() { return kTRUE; }
34
35public:
36 MRawRead(const char *name=NULL, const char *title=NULL);
37
38 UInt_t GetEntries() { return 0; }
39 Bool_t Rewind() {return kTRUE; }
40
41 void SetForceMode(Bool_t b=kTRUE) { fForceMode = b; }
42
43 ClassDef(MRawRead, 0) // Task to read the raw data binary file
44};
45
46#endif
Note: See TracBrowser for help on using the repository browser.