source: trunk/MagicSoft/Mars/mraw/MRawFileRead.h@ 1846

Last change on this file since 1846 was 1031, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MRawFileRead
2#define MARS_MRawFileRead
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class ifstream;
9
10class MTime;
11class MParList;
12class MRawRunHeader;
13class MRawEvtHeader;
14class MRawEvtData;
15class MRawCrateArray;
16
17class MRawFileRead : public MTask
18{
19private:
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
29public:
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 Bool_t PostProcess();
36
37 ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.