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

Last change on this file since 2425 was 2207, 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
35
36public:
37 MRawFileRead(const char *filename, const char *name=NULL, const char *title=NULL);
38 ~MRawFileRead();
39
40 ClassDef(MRawFileRead, 0) // Task to read the raw data binary file
41};
42
43#endif
Note: See TracBrowser for help on using the repository browser.