GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EDS / V2-10-0
Constituent: eds     Tag: mv2304
#include "EDS/FFS.h"
#include "EDS/EBF_cal.h"
#include "EDS/EDA_cal.h"
#include "EDS/ECR_cal.h"
#include "CAL_DB/CAL_DB_schema_pedestals.h"
#include "CAL_DB/CAL_DB_schema_gains.h"
#include "CDM/CDM_pubdefs.h"
Functions | |
static int | calFill (ECR_cal *cal, const CAL_DB_schema_pedestals *peds, const CAL_DB_schema_gains *gains) |
Transforms the contents of the input data into an ECR_cal structure. | |
int | ECR_calInit (ECR_cal *cal) |
Initializes the calibration constants for all towers to a nominal set. | |
int | ECR_calSizeof (void) |
Returns the size, in bytes, of an ECR_cal structure. |
CVS $Id: ECR_cal.c,v 1.5 2006/07/13 19:57:16 russell Exp $
static int calFill | ( | ECR_cal * | cal, | |
const CAL_DB_schema_pedestals * | peds, | |||
const CAL_DB_schema_gains * | gains | |||
) | [static] |
Transforms the contents of the input data into an ECR_cal structure.
cal | The ECR_cal data structure to fill | |
peds | The CAL pedestals database | |
gains | The CAL gains database |
int ECR_calInit | ( | ECR_cal * | cal | ) |
Initializes the calibration constants for all towers to a nominal set.
0,If | successful | |
!= | 0, if failure |
cal | The gains and pedestals to be initialized. |
int ECR_calSizeof | ( | void | ) |
Returns the size, in bytes, of an ECR_cal structure.
After allocating an ECR_acd structure, the structure should be initialized using ECR_calInit().