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

Last change on this file since 3827 was 2675, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 784 bytes
Line 
1#ifndef MARS_MRawSocketRead
2#define MARS_MRawSocketRead
3
4#ifndef MARS_MRawRead
5#include "MRawRead.h"
6#endif
7
8class MReadSocket;
9
10class MRawSocketRead : public MRawRead
11{
12private:
13 MReadSocket *fIn; //! buffered input stream (file to read from)
14 MParList *fParList; //!
15
16 UInt_t fRunNumber; //!
17 UInt_t fEvtNumber; //!
18
19 Int_t fPort; // Port on which we wait for the connection
20
21 Bool_t OpenSocket();
22
23 Int_t PreProcess(MParList *pList);
24 Int_t Process();
25 Int_t PostProcess();
26
27public:
28 MRawSocketRead(const char *name=NULL, const char *title=NULL);
29 ~MRawSocketRead();
30
31 void SetPort(int port) { fPort = port; }
32
33 ClassDef(MRawSocketRead, 0) //Task to read DAQ binary data from tcp/ip socket
34};
35
36#endif
Note: See TracBrowser for help on using the repository browser.