AlcapDAQ  1
getHist.h
Go to the documentation of this file.
1 #ifndef getHist_h
2 #define getHist_h
3 class TFile;
4 class TSocket;
5 extern TFile *openRootFile(const char *filename);
6 extern TSocket *openSocket(const char *hostname, const int port_nr=9090);
7 extern void closeSource();
8 extern TObject *getObject(const char *name);
9 //extern void *getPointer(const char *Name);
10 extern void clear_recv_buffer();
11 extern int get_status_code();
12 extern ULong_t get_run_number();
13 extern void reset_error_code();
14 
15 // error codes
17 #define RDISP_ERR_NO_CON 1
18 
20 #define RDISP_ERR_BAD_RESPONSE 2
21 
23 #define RDISP_ERR_NO_RESPONSE 3
24 
26 #define RDISP_ERR_NO_SOURCE 4
27 
29 #define RDISP_ERR_BROKEN_PIPE 5
30 
32 #define RDISP_ERR_NO_FILE 6
33 
35 #define RDISP_ERR_NO_FOLDER 7
36 
37 
38 #endif