GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > eds / mv2304
#include <EDS/EDA_acd.h>
#include <EDS/ECR_acd.h>
#include <CAL_DB/ACD_DB_schema_pedestals.h>
#include <CAL_DB/ACD_DB_schema_gains.h>
#include <CDM/CDM_pubdefs.h>
Functions | |
static int | acdFill (ECR_acd *acd, const ACD_DB_schema_pedestals *peds, const ACD_DB_schema_gains *gains) |
Transforms the contents of the input data into an ECR_acd structure. | |
int | ECR_acdInit (ECR_acd *acd) |
Initializes the calibration constants for the ACD. | |
int | ECR_acdSizeof (void) |
Returns the size, in bytes, of an ECR_acd structure. |
CVS $Id: ECR_acd.c,v 1.2 2011/03/25 22:16:56 russell Exp $
static int acdFill | ( | ECR_acd * | acd, | |
const ACD_DB_schema_pedestals * | peds, | |||
const ACD_DB_schema_gains * | gains | |||
) | [static] |
Transforms the contents of the input data into an ECR_acd structure.
acd | The ECR_acd data structure to fill | |
peds | The CAL pedestals database | |
gains | The CAL gains database |
References _ECR_acdPedestals::chns, EDA_ACD_K_NCBLS, EDA_ACD_K_NCHNS_PER_CBL, and _ECR_acd::peds.
Referenced by ECR_acdInit().
int ECR_acdInit | ( | ECR_acd * | acd | ) |
Initializes the calibration constants for the ACD.
0,If | successful | |
!= | 0, if failure |
acd | The gains and pedestals to be initialized. |
References acdFill().
Referenced by initIxbObjTbl().
int ECR_acdSizeof | ( | void | ) |
Returns the size, in bytes, of an ECR_acd structure.
After allocating an ECR_acd structure, the structure should be initialized using ECR_acdInit().