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

Last change on this file since 2640 was 2636, checked in by tbretz, 21 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
8// gcc 3.2
9//class ifstream;
10#include <iosfwd>
11
12class MTime;
13class MParList;
14class MRawRunHeader;
15class MRawEvtHeader;
16class MRawEvtData;
17class MRawCrateArray;
18
19class MRawFileRead : public MTask
20{
21private:
22 MRawRunHeader *fRawRunHeader; // run header information container to fill from file
23 MRawEvtHeader *fRawEvtHeader; // event header information container to fill from file
24 MRawEvtData *fRawEvtData; // raw evt header infomation container to fill from file
25 MRawCrateArray *fRawCrateArray; // crate information array container to fill from file
26 MTime *fRawEvtTime; // raw evt time information container to fill from file
27
28 TString fFileName;
29 ifstream *fIn; //! buffered input stream (file to read from)
30
31 Int_t PreProcess(MParList *pList);
32 Int_t Process();
33 Int_t PostProcess();
34
35public:
36 MRawFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
37 ~MRawFileRead();
38
39 ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.