GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EDS / V2-10-0

Constituent: eds     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

ECR_acd.c File Reference

Initializes the ACD calibration constants to a nominal set of values. More...

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

Include dependency graph for ECR_acd.c:


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.

Detailed Description

Initializes the ACD calibration constants to a nominal set of values.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: ECR_acd.c,v 1.1 2006/07/13 15:24:01 russell Exp $

Function Documentation

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.

Returns:
Status, currently always 0
Parameters:
acd The ECR_acd data structure to fill
peds The CAL pedestals database
gains The CAL gains database

int ECR_acdInit ( ECR_acd acd  ) 

Initializes the calibration constants for the ACD.

Return values:
0,If successful
!= 0, if failure
Parameters:
acd The gains and pedestals to be initialized.

int ECR_acdSizeof ( void   ) 

Returns the size, in bytes, of an ECR_acd structure.

Returns:
The size, in bytes, of an ECR_acd structure
This function should be called to determine the size of an ECR_acd structure. This allows the calling program to avoid including the structure definition an ECR_cal.

After allocating an ECR_acd structure, the structure should be initialized using ECR_acdInit().


Generated on Sat Jun 20 01:25:38 2009 by  doxygen 1.5.3