GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qse / sun-gcc
#include "QSE/QSE_ecal.h"
#include "QSE/QSE_ecalFill.h"
#include "QSE/QSE_cal.h"
#include "EDS/ECR_cal.h"
#include "EDS/EDA_cal.h"
#include <string.h>
Functions | |
static __inline int | convert (int val, const ECR_calLogEnd *cal) |
Converts ADC value into standard units (Log Energy Units). LEUs are the standard unit internally used by the filter code. | |
static __inline int * | fill_tower (QSE_ecalTwr *etwr, QSE_ecalGbl *egbl, int *elogs, const QSE_calTwr *twr, const ECR_calTower *ctwr) |
Prints an ASCII formatted dump of a CAL tower record. | |
int | QSE_ecalSizeof (void) |
Returns the size, in bytes, of a QSE_ecal structure. | |
void | QSE_ecalConstruct (QSE_ecal *ecal) |
Does the intial construction of an QSE_ecal structure. | |
void | QSE_ecalFill (QSE_ecal *ecal, const QSE_cal *cal, const ECR_cal *clb, unsigned int options) |
Produces an ASCII display of the CAL data. |
CVS $Id: QSE_ecalFill.c,v 1.1 2008/09/19 22:02:55 russell Exp $
static __inline int convert | ( | int | val, | |
const ECR_calLogEnd * | cal | |||
) | [static] |
Converts ADC value into standard units (Log Energy Units). LEUs are the standard unit internally used by the filter code.
val | The ADC value to convert | |
cal | The calibration values for one log end |
static __inline int * fill_tower | ( | QSE_ecalTwr * | etwr, | |
QSE_ecalGbl * | egbl, | |||
int * | elogs, | |||
const QSE_calTwr * | twr, | |||
const ECR_calTower * | ctwr | |||
) | [static] |
Prints an ASCII formatted dump of a CAL tower record.
etwr | The QSE_ecalTwr structure to fill | |
egbl | The QSE_ecal structure to update with total energies | |
*elogs | The pointer to arrary of log energies to fill | |
twr | The unpacked CAL data for the tower | |
ctwr | The calibration constants for this tower |
void QSE_ecalConstruct | ( | QSE_ecal * | ecal | ) |
Does the intial construction of an QSE_ecal structure.
ecal | The QSE_ecal structure to construct |
void QSE_ecalFill | ( | QSE_ecal * | ecal, | |
const QSE_cal * | cal, | |||
const ECR_cal * | clb, | |||
unsigned int | options | |||
) |
Produces an ASCII display of the CAL data.
ecal | The QSE_ecal structure to fill | |
cal | A previously unpacked CAL LAT Record. | |
clb | The CAL calibration constants | |
options | An options mask. The top 16 bits are a mask of which towers to print (MSB = TOWER 0), the low bit indicates to print the summary |
int QSE_ecalSizeof | ( | void | ) |
Returns the size, in bytes, of a QSE_ecal structure.