[g13] Monitoring

Ken Livingston Kenneth.Livingston at gla.ac.uk
Fri May 6 07:06:49 EDT 2011


Hi All,
Based on some notes Nick made I've added a page to the wiki  on 
producing the monitoring and anamon web pages. This is with a view to 
passing it on to others pretty soon.

Nick, can you see if you think this makes sense?

http://clasweb.jlab.org/rungroups/g13/wiki/index.php/Monitoring_HOWTO


Cheers,
Ken


On 04/28/2011 03:28 PM, Nicholas Zachariou wrote:
> Hi Ken,
>
> See below for a very brief overview of the scripts for producing the 
> monitoring and anamon html.
>
> I can't seem to find where the makemon.sh is for producing the html 
> for monitoring. The one under 
>  /u/group/clas/www/clasweb/html/rungroups/g13/anamon/
> is for producing the anamon html, but there isnt one under
> /u/group/clas/www/clasweb/html/rungroups/g13/monitor/
>
> Thanks,
> Nick
>
> *
> *
> *Producing Monitoring histograms and placing them on the web:*
>
> The relevant scripts for producing a) the monitoring histograms and b) 
> retrieving the plots from the anamonhist are in:
>
> /u/home/clasg13/cooking/monitor
>
> *Monitoring*
> The monitoring histograms are produced by running newmonitor.sh. The 
> script it self should be self explanatory. This script, takes 
> information from the database, and runs several root macros to produce 
> all the relevant histograms, saving them in the following directory:
>
> /u/group/clas/www/clasweb/html/rungroups/${RUN}/monitor/img/${table},
>
> where $RUN is g13 (for g13 data) and table is the pass and version 
> number. These variables are defined in the login .cshrc file. The 
> macros run by this script are located in the directory:
>
> /u/home/clasg13/cooking/monitor/newrootfiles
>
> To produce the html shown in:
>
> http://clasweb.jlab.org/rungroups/g13/monitor/monitorwrapper.html
>
> one needs to run makemon.sh. (where is this again?)
>
> *Anamon*
> For producing the series of anemone histograms as shown in the web:
>
> http://clasweb.jlab.org/rungroups/g13/anamon/monitorwrapper.html
>
> one need to run the script ana2html.sh located in:
>
> /u/home/clasg13/cooking/monitor/anamonitor/
>
> The input file to this script should be a list of the location and the 
> name of all hook anahist that you need to extract the information 
> from. This script first converts these hook files to root files and 
> then runs the macro anacomp.C which contains all the relevant hist one 
> needs to extract (a reference run is specified in ana2html.sh, shoos 
> appropriate for g13a or g13b). One can edit the anacomp.C to add or 
> remove histograms to be saved. An output directory for all relevant 
> plots need to be also defined as an input to the script.
>
> The script makemon.sh located under
>
> /u/group/clas/www/clasweb/html/rungroups/g13/anamon/
>
> produced the html mentioned above. One needs to specify the run ranges 
> (from -to ) as an input to this script.
>


-- 
=======================================================
Ken Livingston

Dept. of Physics&  Astronomy,        Tel: +44 141 330 6428
University of Glasgow,               Fax: +44 141 330 5889
Glasgow G12 8QQ.
Scotland. UK.
=======================================================



More information about the g13 mailing list