I- Overall commands
The DAQ program fills histograms which are stored in a shared memory file called HstGeneric.map which exists in the online directory. The hstDisplay program accesses this file and so can display the histograms while the run is progressing. The histograms are all identified using their ROOT labels. The classes used by hstDisplay are all daquser/inc/hst/*.C.calice00> hstDisplay [options] [displayname]Here, [displayname] is the name of a particular set of plots which you want to look at.
calice00> hstDisplay -hwhich should give some output like this.
calice00> hstDisplay -h [displayname]All displaynames (except HstList) have an option -m
calice00> hstDisplay -m 1000 [other options] [displayname]which specifies the time to wait between histogram updates in msec.
II- HstList
HstList is used to print a list of the ROOT labels of all existing histograms in the shared memory file to the screen.calice00> hstDisplay HstListwill give output something like this. The first field in each row is the ROOT label, the second the histogram type and the third the amount of memory taken by the histogram.
III- HstTH1F and HstTH2F
These are basic routines to simply display a single histogram using its ROOT label.calice00> hstDisplay -n HstRecordRunRSize HstTH1Fwill display the HstRecordRunRSize histogram (which shows the size of the records in kBytes for this run) in a canvas looking like this (ps, pdf).
calice00> hstDisplay -n HstCrcSignalCrate0Slot09 -o lego HstTH2FThe ROOT interface to shared memory does not distinguish between one or two dimensional histograms so be sure to check which displayname to use.
IV- HstRecord
This display shows records sizes, record rates and data rates.calice00> hstDisplay -b 5 HstRecordwould display the job and configuration canvases. The default is all four canvases.
V- HstCrcNoise
This displays mean and rms values for each CRC channel.calice00> hstDisplay -w 1 [other options] HstCrcNoiseFor the no-input display, the multiple samples taken by each ADC on the CRC are averaged; with no inputs, these should all be the same level. Hence, the number of channels per CRC considered is 8FE x 12ADC = 96. For the input display, each ADC sample corresponds to a different physical channel, to the ADC samples are averaged separately. The number of channels per CRC is then 8FE x 12ADC x 18channels = 1728.
calice00> hstDisplay -c 0xac -s 9 HstCrcNoiseThe default is all CRCs will be displayed.
VI- HstCheck
This displays results of comparisons of configuration data written to the hardware and read back from the hardware.VII- HstLc1176
This displays plots of the LeCroy 1176 TDC data.calice00> hstDisplay -b 0x1a3 HstLc1176selects channels 0, 1, 4, 8 and 9. The default is channels 0 to 7.
VIII- Offline viewing of online histograms
It is possible to run the online monitoring code on a previous run. This is useful if you want to compare the current run histograms with an earlier run.calice00> cd calice00> cd daquser
calice00> ls data/run/If it is not, then check where the data directory link is pointing to
calice00> ls -l dataand change the link if necessary.
calice00> hstGeneric [runnumber]where [runnumber] is the six digit run number. This will fill the memory mapped file in HstGeneric.map in the daquser area. The histograms can now be displayed from a second terminal window using exactly the same commands as above.
calice00> build hstGeneric