at_ped - Teststandees/hcal_teststand_scripts GitHub Wiki

Overview

The at_ped.py acceptance test verifies that the QIE card of interest has a reasonable pedestal distribution for each [CID]] of each [QIE chip.

Procedure

To run this acceptance test, run

python at_ped.py -t [teststand_name]

where [teststand_name] represents the name of the teststand as recorded in teststands.txt (the default is 904at).

Results

Each time you run the test, the following items are written to the data/at_results/[unique_id]/at_ped/yymmdd_hhmmss directory:

  • yymmdd_hhmmss_ped.png - An image containing the following:
    • A histogram of each QIE's CID's mean pedestal ADC code (96 entries)
    • A histogram of the associated standard deviations (96 entries)
    • A graph displaying the same values together (96 entries) - The x-axis is CID number, the y-axis is mean ADC code, and the y error bars indicate the standard deviation.
  • yymmdd_hhmmss_ped.root - A ROOT file containing the above histograms along with the following:
    • hn - The original histograms from the uHTR tool.
    • mean, rms, and PedestalvsChannel - The pedestal distributions for each QIE's CID, from which the results in the image above are derived.