Analysis Software
Documentation for sPHENIX simulation 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 #include <Event/eventReceiverClient.h>
10 
11 int pstatus ();
12 
13 int ptestopen ();
14 
15 //int petopen (const char * etname);
16 //int poncsetopen (const char * etname);
17 
18 int poncsopen (const char * filename);
19 int rcdaqopen (const char * ip=0);
20 int pfileopen (const char * filename);
21 int plistopen (const char * filename);
22 int pstart (const int nevents);
23 void prun ();
24 void prun (const int nevents);
25 int pstart ();
26 int pstop ();
27 int pclose ();
28 //int pclear();
29 int pidentify (const int n);
30 int pidentify ();
31 int pclearidentify ();
32 int pcontrol ();
33 int pcontrol (const int seconds);
34 int pwait ();
35 int plock();
36 int prelease();
37 const char *pname();
38 int pexitstatus();
39 //int pgui ();
40 //int prmgui ();
41 
42 int pinit ();
43 int process_event (Event * e);
44 
45 int phsave (const char *filename ="histos.root");
46 void phelp();
47 
48 void pupdate(TVirtualPad * pad, const unsigned int refresh = 5);
49 void pendupdate(TVirtualPad * pad = 0);
50 void updatePad( TVirtualPad *myPad);
51 
52 #endif /* __PMONITOR__ */