GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-2-2 > qse / sun-gcc
#include "QSE/QDF_temRepack.h"
#include "QSE/QDF_calRepack.h"
#include "QSE/QDF_tkrRepack.h"
#include "QSE/QDF_errRepack.h"
#include "QSE/QDF_dgnRepack.h"
#include "QSE/QDF_esbRepack.h"
#include "QSE/QDF_esb.h"
#include "QSE/QDF_temdef.h"
#include "QDF_err_def.h"
#include "EDS/EBF_cid.h"
#include "EDS/FFS.h"
Typedefs | |
typedef struct _QDF_calEvt | QDF_calEvt |
Typedef for struct _QDF_calEvt. | |
typedef struct _QDF_tkrEvt | QDF_tkrEvt |
Typedef for _QDF_tkrEvt. | |
typedef unsigned int *(* | QdfCalRepacker )(const QDF_calEvt *cal, int tem_id, unsigned int *nxt, const EBF_ctb *ctb) |
Function signature for repacking the CAL data. | |
Functions | |
static EBF_ctb * | temRepack (const QDF_temEvt *tem, EBF_ctb *ctb, const EBF_ctb *end, QdfCalRepacker cal_repack) |
Generic TEM repacker. | |
EBF_ctb * | QDF_temStd1Repack (const QDF_temEvt *tem, EBF_ctb *ctb, const EBF_ctb *end) |
Fills in the TEM contributions for single-range, zero-suppressed events. | |
EBF_ctb * | QDF_temStd4Repack (const QDF_temEvt *tem, EBF_ctb *ctb, const EBF_ctb *end) |
Fills in the TEM contributions for single-range, zero-suppressed events. | |
EBF_ctb * | QDF_temPed1Repack (const QDF_temEvt *tem, EBF_ctb *ctb, const EBF_ctb *end) |
Fills in the TEM contributions for pedestal (non-zero suppressed) events in single range readout mode. | |
EBF_ctb * | QDF_temPed4Repack (const QDF_temEvt *tem, EBF_ctb *ctb, const EBF_ctb *end) |
Fills in the TEM contributions for pedestal (non-zero suppressed) events in four range readout mode. |
CVS $Id: QDF_temRepack.c,v 1.2 2009/05/01 01:09:42 russell Exp $
This acts as a driver to fill in each TEM from its various subpieces.
unsigned int *(* QdfCalRepacker)(const QDF_calEvt *cal, int tem_id, unsigned int *nxt, const EBF_ctb *ctb) |
Function signature for repacking the CAL data.
cal | The CAL data to repack | |
tem_id | Which CAL TEM to repack | |
nxt | The repack address | |
ctb | The address after the last available address. Meant to be used as maximum address, i.e. don't fill data at this point or beyond |
EBF_ctb * QDF_temPed1Repack | ( | const QDF_temEvt * | tem, | |
EBF_ctb * | ctb, | |||
const EBF_ctb * | end | |||
) |
Fills in the TEM contributions for pedestal (non-zero suppressed) events in single range readout mode.
tem | The TEM data to repack | |
ctb | The EBF contributor to fill in | |
end | The address after the last available address |
EBF_ctb * QDF_temPed4Repack | ( | const QDF_temEvt * | tem, | |
EBF_ctb * | ctb, | |||
const EBF_ctb * | end | |||
) |
Fills in the TEM contributions for pedestal (non-zero suppressed) events in four range readout mode.
tem | The TEM data to repack | |
ctb | The EBF contributor to fill in | |
end | The address after the last available address |
EBF_ctb * QDF_temStd1Repack | ( | const QDF_temEvt * | tem, | |
EBF_ctb * | ctb, | |||
const EBF_ctb * | end | |||
) |
Fills in the TEM contributions for single-range, zero-suppressed events.
tem | The TEM data to repack | |
ctb | The EBF contributor to fill in | |
end | The address after the last available address |
EBF_ctb * QDF_temStd4Repack | ( | const QDF_temEvt * | tem, | |
EBF_ctb * | ctb, | |||
const EBF_ctb * | end | |||
) |
Fills in the TEM contributions for single-range, zero-suppressed events.
tem | The TEM data to repack | |
ctb | The EBF contributor to fill in | |
end | The address after the last available address |
static EBF_ctb * temRepack | ( | const QDF_temEvt * | tem, | |
EBF_ctb * | ctb, | |||
const EBF_ctb * | end, | |||
QdfCalRepacker | cal_repack | |||
) | [static] |
Generic TEM repacker.
tem | The TEM data to repack | |
ctb | The EBF contributor to fill in | |
end | The address after the last available address | |
cal_repack | The CAL repacker to use |