FGT QA -- Raw ADC Spectra

This blog outlines some additional FGT QA software that can be run on a daq file as soon as it is recovered from HPSS.  These plots show the raw ADC, very similar to what is shown in the online plots.  Additionally, one has the option of subtracing pedestals and additionally whether to cut events within threshold of the pedestal value.

These additional options are controlled through StFgtA2CMaker.

The main files to note are:

$CVSROOT/offline/StFgtDevel/StFgtQaMakers/StFgtQaRawOctAdc.(cxx|h)
$CVSROOT/offline/StFgtDevel/StFgtQaMakers/macros/fgtRawSpectraQA.C

Assuming you have set up your offline/StFgtDevel area, the above macro can be used, e.g., as

starver eval
root4star -b -q fgtRawSpectraQA.C'("st_physics_13015002_raw_0010001.daq","st_physics_13015002_raw_0010001.rawQA-new",2000)' 

which will generate the attached pdf file.  Plots are label by the electronic coordinates as read directly from the DAQ file by RTS.  No database or other conversion of the coordinates are used, unless one requests the pedestals to be subtrated or the data near pedestal to be cut.  Also note, no binning has taken place in the x-direction--one column is available for every strip.  The plots are arranged one octant per line.