GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > edsprint / mv2304
#include <stdio.h>
#include <EDS/ECR_acdPrint.h>
#include <EDS/ECR_acd.h>
#include <EDS/EDA_acd.h>
Functions | |
static void | print_range (const ECR_acdPedestalsRange *peds) |
Prints the pedestals for the specified range. | |
static int | check_range (const ECR_acdPedestalsRange *peds) |
Checks the range for and non-zero pedestals. | |
void | ECR_acdPrint (const ECR_acd *acd) |
Prints the calibration constants for the ACD. |
These routines exist only for debugging purposes.
CVS $Id: ECR_acdPrint.c,v 1.2 2011/03/25 22:16:56 russell Exp $
static int check_range | ( | const ECR_acdPedestalsRange * | peds | ) | [static] |
Checks the range for and non-zero pedestals.
0,if | all are 0 | |
!= | 0, if any are non-zero |
peds | The pedestals for the range to check |
References _ECR_acdPedestalsRange::chns.
Referenced by ECR_acdPrint().
void ECR_acdPrint | ( | const ECR_acd * | acd | ) |
Prints the calibration constants for the ACD.
acd | The ACD calibration constants |
References check_range(), _ECR_acd::peds, print_range(), and _ECR_acdPedestals::rngs.
static void print_range | ( | const ECR_acdPedestalsRange * | peds | ) | [static] |
Prints the pedestals for the specified range.
peds | The pedestals for the range to print |
References _ECR_acdPedestalsRange::brds, and _ECR_acdPedestalsBoard::chns.
Referenced by ECR_acdPrint().