Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pmonitor.h File Reference
#include <TVirtualPad.h>
#include <TThread.h>
#include <Event/Event.h>
#include <Event/EventTypes.h>
#include <Event/eventReceiverClient.h>
+ Include dependency graph for pmonitor.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int pstatus ()
 
int ptestopen ()
 
int poncsopen (const char *filename)
 
int rcdaqopen (const char *ip=0)
 
int pfileopen (const char *filename)
 
int plistopen (const char *filename)
 
int pstart (const int nevents)
 
void prun ()
 
void prun (const int nevents)
 
int pstart ()
 
int pstop ()
 
int pclose ()
 
int pidentify (const int n)
 
int pidentify ()
 
int pclearidentify ()
 
int pcontrol ()
 
int pcontrol (const int seconds)
 
int pwait ()
 
int plock ()
 
int prelease ()
 
const char * pname ()
 
int pexitstatus ()
 
int pinit ()
 
int process_event (Event *e)
 
int phsave (const char *filename="histos.root")
 
void phelp ()
 
void pupdate (TVirtualPad *pad, const unsigned int refresh=5)
 
void pendupdate (TVirtualPad *pad=0)
 
void updatePad (TVirtualPad *myPad)
 

Function Documentation

int pclearidentify ( )

Definition at line 227 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 227 of file pmonitor.cc

References pmonstate::setIdentifyFlag().

+ Here is the call graph for this function:

int pclose ( )

Definition at line 382 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 382 of file pmonitor.cc

References pmonstate::clearOpened(), pmonstate::isRunning(), pmonstate::streamOpened(), and theIterator.

Referenced by CleanUpServer(), do_ssi_exec(), getRunNumberFromApp(), pprocess(), and prun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pcontrol ( )
int pcontrol ( const int  seconds)
void pendupdate ( TVirtualPad *  pad = 0)

Definition at line 663 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 663 of file pmonitor.cc

References pad_to_stop, and stop_update.

int pexitstatus ( )

Definition at line 57 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 57 of file pmonitor.cc

References pmonstate::getloopStatus().

+ Here is the call graph for this function:

int pfileopen ( const char *  filename)

Definition at line 83 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 83 of file pmonitor.cc

References f, FROG::location(), pmonstate::setFileOpened(), utils::status, pmonstate::streamOpened(), and theIterator.

Referenced by make_plot(), mvtxBeamTestRunScan(), open_file(), and start_server().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void phelp ( )

Definition at line 550 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 550 of file pmonitor.cc

int phsave ( const char *  filename = "histos.root")
int pidentify ( const int  n)

Definition at line 201 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 201 of file pmonitor.cc

References pmonstate::setIdentifyFlag().

Referenced by start_server().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pidentify ( )

Definition at line 221 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 221 of file pmonitor.cc

References pmonstate::setIdentifyFlag().

+ Here is the call graph for this function:

int pinit ( )

Definition at line 81 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 81 of file MyFavoriteMartin.C

References chipColor, chipMarker, fg, flip_yaxis, FrameWorkVars, gmpos_chip, h1a, h1a_D, h1b, h1b_D, h1c, h1c_D, h1d, h1d_D, h2a, h2a_D, h2b, h2b_D, h2c, h2c_D, h2d, h2d_chip, h2d_D, h3a, h3a_D, h3b, h3b_D, h3c, h3c_D, h3d, h3d_D, h4a, h4a_D, h4b, h4b_D, h4c, h4c_D, h4d, h4d_D, haxis_2d, haxis_chip, haxis_diff, haxis_nhit, hchip, hdiffcol_chip, hdiffrow_chip, herr, hhittime_chip, hnevnt, hnhit_chip, hwarn, i, init_done, OnlMonServer::instance(), groot::instance(), mvtx_evnts, perf_headwind::name, NFRAMEWORKBINS, NSTAVE, OnlMonServer::registerCommonHisto(), scope0, scope1, scope2, scope3, server(), ServerThread, OnlMonServer::SetThreadId(), and ThreadId.

Referenced by pmonstate::pmonstate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int plistopen ( const char *  filename)

Definition at line 179 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 179 of file pmonitor.cc

References pmonstate::setFileOpened(), utils::status, pmonstate::streamOpened(), and theIterator.

+ Here is the call graph for this function:

int plock ( )

Definition at line 406 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 406 of file pmonitor.cc

References mylock, and pmonmutex.

const char* pname ( )

Referenced by main(), and PHParameterContainerInterface::PHParameterContainerInterface().

+ Here is the caller graph for this function:

int poncsopen ( const char *  filename)

Definition at line 113 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 113 of file pmonitor.cc

References pmonstate::setFileOpened(), utils::status, pmonstate::streamOpened(), and theIterator.

Referenced by groot100().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int prelease ( )

Definition at line 422 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 422 of file pmonitor.cc

References mylock, and pmonmutex.

int process_event ( Event e)

Definition at line 141 of file MyFavoriteMartin.C.

View newest version in sPHENIX GitHub at line 141 of file MyFavoriteMartin.C

void prun ( )

Definition at line 319 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 319 of file pmonitor.cc

References prun().

Referenced by groot100(), make_plot(), mvtxBeamTestRunScan(), open_file(), prun(), run_example_server0(), run_example_server1(), and start_server().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void prun ( const int  nevents)

Definition at line 324 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 324 of file pmonitor.cc

References pmonstate::clearNoevt(), pmonstate::clearRunning(), Eventiterator::getNextEvent(), Event::identify(), pmonstate::incrementNoevt(), pmonstate::isIdentifyFlag(), pclose(), process_event(), pmonstate::setloopStatus(), pmonstate::setRunning(), stopcondition, and pmonstate::streamOpened().

+ Here is the call graph for this function:

int pstart ( const int  nevents)

Definition at line 292 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 292 of file pmonitor.cc

References pmonstate::isRunning(), main_thread, nevents(), pprocess(), pmonstate::streamOpened(), and totalevents.

Referenced by pstart(), run_om(), and ActsFatras::Channelizer::segments().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pstart ( )

Definition at line 314 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 314 of file pmonitor.cc

References pstart().

+ Here is the call graph for this function:

int pstatus ( )

Definition at line 44 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 44 of file pmonitor.cc

References Eventiterator::identify(), and theState.

+ Here is the call graph for this function:

int pstop ( )

Definition at line 366 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 366 of file pmonitor.cc

References pmonstate::isRunning(), and stopcondition.

+ Here is the call graph for this function:

int ptestopen ( )

Definition at line 65 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 65 of file pmonitor.cc

References pmonstate::setTestOpened(), and pmonstate::streamOpened().

+ Here is the call graph for this function:

void pupdate ( TVirtualPad *  pad,
const unsigned int  refresh = 5 
)

Definition at line 641 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 641 of file pmonitor.cc

References mon_thread, pad_to_stop, threadargument::refreshinterval, stop_update, threadargument::thePad, and update_process().

+ Here is the call graph for this function:

int pwait ( )

Definition at line 437 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 437 of file pmonitor.cc

References pMutex::Lock(), and pMutex::Release().

+ Here is the call graph for this function:

int rcdaqopen ( const char *  ip = 0)

Definition at line 137 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 137 of file pmonitor.cc

References pmonstate::setRCDAQOpened(), utils::status, pmonstate::streamOpened(), and theIterator.

Referenced by run_om(), and start_server().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updatePad ( TVirtualPad *  myPad)

Definition at line 674 of file pmonitor.cc.

View newest version in sPHENIX GitHub at line 674 of file pmonitor.cc

References i, and physmon_simulation::s.

Referenced by update_process().

+ Here is the caller graph for this function: