GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > edsprint / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

ECR_acdPrint.c File Reference

Prints the specified set of ACD calibration constants. This is purely a diagnostic routine. More...

#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.


Detailed Description

Prints the specified set of ACD calibration constants. This is purely a diagnostic routine.

Author:
JJRussell - russell@slac.stanford.edu
These routines exist only for debugging purposes.

    CVS $Id: ECR_acdPrint.c,v 1.2 2011/03/25 22:16:56 russell Exp $

Function Documentation

static int check_range ( const ECR_acdPedestalsRange peds  )  [static]

Checks the range for and non-zero pedestals.

Return values:
0,if all are 0
!= 0, if any are non-zero
Parameters:
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.

Parameters:
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.

Parameters:
peds The pedestals for the range to print

References _ECR_acdPedestalsRange::brds, and _ECR_acdPedestalsBoard::chns.

Referenced by ECR_acdPrint().


Generated on Wed Nov 21 18:40:25 2012 by  doxygen 1.5.8