Last Updated on Wednesday, January 19, 2005 at 22:28:36. by Author: Burt Holzman

Online, General Information/Help

(Expert)

Contents

Starting the Event Distributor

The event distributor should be running in a window on phonl1.  The output looks something like:

polling fServer ... pollresult: 1 fServer[0].revents:0
done.
Writing Run 6390, Event 111639
TrgProcMod(TPhSuperModule): ::Process() 
....

However, it is now reasonably user-proof and will run even if you crash the X server.  In the extremely unlikely event that the distributor has crashed, you will know because:

1. The EvtDistrib on the master alarmer will turn orange and alarm.
2. Some of the online clients will turn orange and the date/time in the lower left of their status bar will not be updating

To restart the distributor in case all hell has broken loose (this will kill any online clients running on phonl1 as well -- so you'll need to restart them afterwards.)

1. Open an xterm on phonl1.
2. Type: killall -USR1 phat
3. Type: ~/dist

Checking the silicon pedestals on shift

Checklist Instructions

Process the data taken, to see how to do this see Proceedure for getting standard Trigger Plots

Procedure for getting standard Trigger & Silicon Plots

Now and forever, this will be done on phucsia.phobos.bnl.gov in the shift account. 
Furthermore, we have combined this with the silicon analysis.

All that is needed is to go to the $PHATHOME/macros/trg
directory and type 

.x trgsi_analyze.C(run, seq)

where
run = the run number of the recently finished data
seq = the sequence number
This will place two files TrgTree_RUNsSEQ.root and TrgAnalyze_RUNsSEQ.root into a directory specified by the environmental variable TRGTREE. This should be set up in the shift account already.
After this, you should run two other macros:

.x trg_rhicplots_calibrated.C(run, seq)
.x si_analyze_plot.C(run, seq)

The first will analyze all of the events and place a page or two (under development) of standard plots back in $TRGTREE as .ps files. The second will analyze the TrgSiAnalyze_RUNsSEQ.root file and make two pages of silicon plots.
If there are problems over the weekend, ask peter.

How to create reference histograms

How to print histogram summary

Type 'phat "OnlineSummary.C(runnr)" from the command line, where runnr is the latest run taken
things to know:
online writes the monitoring histograms out to file every 100 events. This means that you can print the summary even if the job crashed.

Known problems with histograms

What to do: continue to click down the selection tree (fec, string) until you  reach the histogram buttons. this will then refresh the window and  draw the histogram buttons at the correct place.

What to do: This is a problem related to root problems to detect a closed window.instead of closing it, just shrink the window using the underscore button instead of the "x" button of the window.

How to Print a Luminosity Monitoring Plot

Please send all comments and suggestions regarding this page to Peter.