Some useful Fast Monitoring information for L1 trigger DQ:
Nb: Histograms produced from .xtc files are subject to the L3 trigger and will not necessarily match Fast Monitoring plots. It is better to take an official FastMon .hbook file (these can generally be found in /nfs/bbr-srv02/u4/Monitoring/OutputArchive/2005/06/LiveFastMon/, with "2005/06" replaced by the appropriate date) and extract the L1T plots with L1TFMon/L1TMakeReference.pl.
These files are found in L1TMonTools/FastMonHTML.
adding new L1TFMon modules
New L1TFMon modules should be appended to L1TOepSequences/L1TOepFastMonSequence.*. Once here, L1TFMonXtcApp will pick them up.
updating .ps archive maker
At the end of each run, the production release calls L1TFastMonPostProc (in L1TFMon). This script calls the version of cronmon_live in the release directory /nfs/bbr-nfs03/det/trgmon/trgmon/fastmon/14.4.3/; to modify the .ps archive maker, it is sufficient to:
The easiest way to test changes is by running a copy of cronmon_live where the variables PSFILESDIR and KUMACPATH are set to appropriate directories in your test release.
For more information, see this HN post.
testing JAS
If you have made changes only to L1TMonTools, it suffices to run RemoteBabarJas and open your copy of L1TMonTools/FastMonHTML/index.html. This will take live data from IR2.
If you have added new histograms and have new .hbook you would like to see, open up four terminal windows, go into a test release, do srtpath, &c. Do the following (one per window):
Nb: There is an idiosyncracy where directory names in .hbook files are limited to 16 (case-insensitive) characters. The live data in IR2 is not subject to this limitation (although the reference data is). The easiest way to work around this is to eschew module names longer than 16 characters.
For more information, see this HN post.
--ks chaisang
23 june 2005