Line | |
---|
1 | #ifndef MARS_MRawSocketRead
|
---|
2 | #define MARS_MRawSocketRead
|
---|
3 |
|
---|
4 | #ifndef MARS_MRawRead
|
---|
5 | #include "MRawRead.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MReadSocket;
|
---|
9 |
|
---|
10 | class MRawSocketRead : public MRawRead
|
---|
11 | {
|
---|
12 | private:
|
---|
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 |
|
---|
27 | public:
|
---|
28 | MRawSocketRead(const char *name=NULL, const char *title=NULL);
|
---|
29 | ~MRawSocketRead();
|
---|
30 |
|
---|
31 | void SetPort(int port) { fPort = port; }
|
---|
32 |
|
---|
33 | TString GetFileName() const { return "<socket>"; }
|
---|
34 |
|
---|
35 | ClassDef(MRawSocketRead, 0) //Task to read DAQ binary data from tcp/ip socket
|
---|
36 | };
|
---|
37 |
|
---|
38 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.