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

Last change on this file since 2425 was 2386, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MRawSocketRead
2#define MARS_MRawSocketRead
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;
18class MReadSocket;
19class TMutex;
20
21class MRawSocketRead : public MTask
22{
23private:
24 MRawRunHeader *fRawRunHeader; // run header information container to fill from file
25 MRawEvtHeader *fRawEvtHeader; // event header information container to fill from file
26 MRawEvtData *fRawEvtData; // raw evt header infomation container to fill from file
27 MRawCrateArray *fRawCrateArray; // crate information array container to fill from file
28 MTime *fRawEvtTime; // raw evt time information container to fill from file
29
30 TMutex *fMutex;
31
32 MReadSocket *fIn; //! buffered input stream (file to read from)
33 MParList *fParList; //!
34
35 UInt_t fRunNumber; //!
36 UInt_t fEvtNumber; //!
37
38 Int_t Do();
39
40 Int_t PreProcess(MParList *pList);
41 Int_t Process();
42
43public:
44 MRawSocketRead(const char *name=NULL, const char *title=NULL);
45 ~MRawSocketRead();
46
47 Int_t Lock();
48 Int_t UnLock();
49
50 ClassDef(MRawSocketRead, 0) //Task to read DAQ binary data from tcp/ip socket
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.