ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pmonitor.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file pmonitor.h
1 #ifndef __PMONITOR__
2 #define __PMONITOR__
3 
4 #include <TVirtualPad.h>
5 #include <TThread.h>
6 
7 #include <Event/Event.h>
8 #include <Event/EventTypes.h>
9 
10 int pstatus ();
11 
12 int ptestopen ();
13 
14 //int petopen (const char * etname);
15 //int poncsetopen (const char * etname);
16 
17 int poncsopen (const char * filename);
18 int rcdaqopen (const char * ip=0);
19 int pfileopen (const char * filename);
20 int plistopen (const char * filename);
21 int pstart (const int nevents);
22 void prun ();
23 void prun (const int nevents);
24 int pstart ();
25 int pstop ();
26 int pclose ();
27 //int pclear();
28 int pidentify (const int n);
29 int pidentify ();
30 int pclearidentify ();
31 int pcontrol ();
32 int pcontrol (const int seconds);
33 int pwait ();
34 int plock();
35 int prelease();
36 const char *pname();
37 int pexitstatus();
38 //int pgui ();
39 //int prmgui ();
40 
41 int pinit ();
42 int process_event (Event * e);
43 
44 int phsave (const char *filename ="histos.root");
45 void phelp();
46 
47 void pupdate(TVirtualPad * pad, const unsigned int refresh = 5);
48 void pendupdate(TVirtualPad * pad = 0);
49 void updatePad( TVirtualPad *myPad);
50 
51 #endif /* __PMONITOR__ */