Run 13 HLT online QA and monitoring

HLT online QA code has already been built as a part of OnlTools's builder since Run13, which can work smoothly with Jeff's event pool(Jevp). This document shows how to run and build HLT online QA code in a nutshell.

1. Account for stargw1.starp.bnl.gov is needed(ask Wayne or someone who has the authority if you don't have).
2. Login stargw by ssh from rcf and create a directory for working, or you can simply copy mine,

    cp -r /ldaphome/qyshou/hltOnlineQA/Display_2013 ./

3. In working directory, firstly make sure two small tools mkQAPdf and myhadd in directory tools have been compiled correctly.
4. Check the config file hltMonitor.config, probably you need to modify this according to the current run. logFile, runRootFile and commentFileName are directories on the stargw machine which store log files, root files and comments. Make sure the plotsPath, plotsPathURL and htmlFileName are correct. Usually at the begining of the run, Jerome may ask if the directories for HLT on online machine are needed. These directories are necessary for expert check from HLT monitoring webpage.
5. Then simply run script hltRunMonitor.pl followd by parameter hltMonitor.config.

    ./hltRunMonitor.pl hltMonitor.config &

The hltRunMonitor.pl will call two other scripts hltMakeDayHists.pl and hltMakeWebpage.pl automatically.
6. After some time (depends on run situation and sleepHours you set in the config file) HLT monitoring webpage http://online.star.bnl.gov/HLT/ will be updated. Remenber here the /HLT/ in the path is always a link for the latest run, that is to say, suppose /HLT/ means run13 this year, you need to type the full name /HLT2012/ if you wanna go back to run12.

For guys who want to test HLT QA code on rcf local machine or want to modify l4Builder, you need,
1. Check out Jevp
    cvs co OnlTools/Jevp
2. Read
OnlTools/Jevp/readme.txt carefully, everything you need is here:) Just remember you must source OnlTools/Jevp/level.source before cons, which sets the environment to SL11d.

Previous note from Maxim:
https://drupal.star.bnl.gov/STAR/blog/mnaglis/2012/jan/21/run12-hlt-monitoring