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

Last change on this file since 961 was 860, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MRAWFILEREAD_H
2#define MRAWFILEREAD_H
3
4#ifndef MTASK_H
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
36 ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
37};
38
39#endif
Note: See TracBrowser for help on using the repository browser.