ToF Data Monitoring and Validation
Validation
The procedure to validate TOF data involves looking at YMon
histograms at the following link:
TOF YMON Plots
Monitoring
There are two procedures which can be used to monitor the quality of data
being recorded in the lookup area.
- Average DECAF and CAFE read out for hit channels +
Fraction of events with a hit
- login to fcdfsgi2
- cd to /cdf/data03/s1/tof/cdf_tof
- more .base_release to find the current software version
- setup cdfsoft2 version (version should be what .base_release says)
- look in the lookup area for stream J for a current or recent run:
ls -l /cdf/data08/look/jphysr/
Large files are usually data files, but if you want to make sure, you
can consult the
Run
Summary page
- Copy one of the tcl files, rename it, and change the input file name to
the file you want to look at. It will look like this:
input file /cdf/data08/_JPHYSR.0000/jr020b6c.0001phys
- Change the output file name in the tcl file (histfile set filename) to
reflect the input file you are using. It will look like this:
histfile set /cdf/data03/s1/tof/cdf_tof/data/hist_20b6c.root
- type: bin/IRIX6-KCC_4_0/hist_tofd < tcl_file
(here tcl_file is the name of your tcl file)
This will run an executable and will create the root output file
name you specified in tcl_file
- Start a ROOT session
- root[0]: .L Summary_C.so
- root[1]: Summary("output_file.root")
In the case of the output file in the example above, you would type
Summary("data/hist_20b6c.root") to get the plots.
- The plots produced look like this:
- Clicking with the mouse on any particular channel will pop up the
CAFE and DECAF distributions for that channel. In this plot two channels
had HV problems and show zero CAFE and DECAF counts.
- ADC/TDC distributions
- The script for ToF data monitoring can be found on fcdfsgi2 in:
~mskim/RunTofTiming_modified.csh
- The output is a set of 24 postscript files, showing TDC and ADC
distributions for 18 channels each.
- A set of instructions can be found here:
Data Monitoring