This document describes a simple tool/procedure for examining run-to-run variations in tower ADC spectra.
First, one needs to generate root files containing adc spectra for
each tower in each run. This is described
One really only needs to run the
With root files in hand, change to the directory in which they are
stored (you're probably already there) and grab a copy of
$ root -q -b checkRuns.C
will result in lots of output for each ".hist.root" file in the directory, except for the first file which is used (by default) as the reference to compare with all of the other runs.
First, a comma-separated list of towers is printed out, followed by an entry for each run/root file. This entry will be a comma-separated list of four characters, with the following meaning:
One may change the "cuts" used to trigger the different error messages
by passing in arguements to checkRuns.C:
$ root -q -b 'checkRuns.C("reference.hist.root",3.0,0.75,0.5,200)'
"reference.hist.root" to be the file containing the
reference histograms, sets a chi2/
checkRuns.Cfor more details.