source: trunk/Mars/mfileio/MReadRflFile.h@ 10113

Last change on this file since 10113 was 9032, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MReadRflFile
2#define MARS_MReadRflFile
3
4#ifndef MARS_MReadFiles
5#include "MReadFiles.h"
6#endif
7
8class MRflEvtData;
9class MRflEvtHeader;
10class MRflRunHeader;
11
12class MReadRflFile : public MReadFiles
13{
14private:
15 enum {
16 kError,
17 kEndOfFile,
18 kStartOfRun,
19 kEndOfRun,
20 kStartOfEvtData,
21 kEndOfEvtData,
22 kUndefined
23 };
24
25 MRflEvtData *fEvtData; //!
26 MRflEvtHeader *fEvtHeader; //!
27 MRflRunHeader *fRunHeader; //!
28
29 Float_t fCurrentVersion; //! Version of currently open rfl file
30
31 // MReadRflFile
32 float ReadVersion();
33 Bool_t ReadEvtHeader();
34 Bool_t ReadEvtData();
35 int ReadFlag();
36 Bool_t FlagIsA(const char *s1, const char *flag);
37 Int_t EvalFlag();
38
39 // MReadFiles
40 Int_t ReadEvent();
41 Bool_t ReadHeader();
42
43 // MTask
44 Int_t PreProcess(MParList *pList);
45
46public:
47 MReadRflFile(const char *filename=NULL, const char *name=NULL,
48 const char *title=NULL);
49
50 Bool_t SearchFor(Int_t runno, Int_t eventno);
51
52 ClassDef(MReadRflFile, 0) // Reads reflector files
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.