GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V1-6-4
Constituent: qse     Tag: linux-gcc
#include "QSE/QDF_cal.h"
#include "QSE/QDF_gem.h"
#include "QSE/QDF_exc.h"
#include "QSE/QFR_file.h"
#include "QDF_cal_def.h"
#include "QDF_cal_prd.h"
#include "QDF_cal_prd_def.h"
#include "QDF_exc_def.h"
#include "dprintf.h"
#include "LSE/CDF_caldef.h"
#include "EDS/FFS.h"
#include "EDS/ECR_cal.h"
#include "LDT/BFU.h"
#include "LDT/BIT.h"
#include "LDT/HDD.h"
Include dependency graph for QDF_cal_std.c:
Defines | |
#define | NULL ((void *)0) |
#define | print_cal_hdr(style_map, style, map) |
#define | print_cal_adrs_hdr(void) |
#define | print_cal_adrs_twr(twr) |
#define | print_cal_adrs_twr_scheme(scheme) |
#define | print_cal_adrs_maps(atwr) |
#define | V(_i, _j) (((_i) - (_j)) & 0x3) |
Typedefs | |
typedef BFU(* | CalStdUnpackPhas )(QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu, int style) |
Function prototype for unpacking the pha values. | |
Functions | |
static __inline BFU | cal_std_unpack_adrs (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the CAL address list. | |
static __inline BFU | cal_std_unpack_phas (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the CAL values. | |
static void | cal_std_restore_phas (const QDF_calCtx *ctx, QDF_calEvt *evt) |
Restores the 'other' 3 ranges when data is in the four range readout mode. | |
BFU | QDF_calStd1Decode (QDF_calCtx *ctx, QDF_calEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the CAL. | |
BFU | QDF_calStd4Decode (QDF_calCtx *ctx, QDF_calEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the CAL. | |
static __inline BFU | cal_unpack_adrs_twr (QDF_calCtx *ctx, QDF_calEvtAdrsTwr *atwr, const unsigned int *src, unsigned int max, BFU bfu) |
Decodes the address map for a single tower. Once this routine determines the encoding scheme, it is merely dispatches to the correct decoder. | |
static __inline BFU | cal_unpack_adrs_twr_list (QDF_calEvtAdrsTwr *atwr, const unsigned int *src, int max, BFU bfu) |
Unpacks the hit log addresses for one tower when they are stored as a list. | |
static __inline BFU | cal_unpack_adrs_twr_qmap (QDF_calEvtAdrsTwr *atwr, const unsigned int *src, int max, BFU bfu) |
Unpacks the quad tree address map for one tower. | |
static __inline unsigned int | restore (unsigned int pattern) |
Restores 2 interleaved rows to the non-interleaved form. | |
static BFU | cal_std_unpack_phas_unknown (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu, int style) |
Catches the unimplemented decoding styles. | |
static BFU | cal_std_unpack_phas_max_dif (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu, int style) |
Decodes the CAL values. | |
static BFU | cal_std_unpack_phas_exp_man (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu, int style) |
Decodes the CAL values. | |
static BFU | cal_std_unpack_phas_exp_man_s (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu, int style) |
Decodes the CAL values. | |
static BFU | cal_unpack_phas_max_dif_twr (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, unsigned int max, BFU bfu, int twr, int exp_dif, int exp_max) |
Decodes the adc values when packed as the maximum and difference. | |
static BFU | cal_unpack_phas_exp_man_twr (QDF_calCtx *ctx, QDF_calStdEvt *evt, const unsigned int *src, unsigned int max, BFU bfu, int twr, int nexp, const unsigned char map[256]) |
Decodes the adc values. | |
static __inline int | cal_pha_mappings_get (unsigned int present, unsigned char map[256]) |
Create the mappings from an exponent to state for both the max and min exponent values. | |
static __inline unsigned int | cal_pha_compose (const ECR_calTower *ctwr, short int pha_max, unsigned short int pha_dif, int n_is_max, int lyr, int col) |
Composes the EBF_calDataLog word. | |
static void | pha_restore3 (unsigned short int *vals, const QDF_cal_prd_log_end *tbls, int rng, unsigned short int seed, const signed short int *difs) |
Restores the value for the 'other 3' ranges PHAs. |
CVS $Id: QDF_cal_std.c,v 1.4 2007/07/17 01:48:58 russell Exp $
|
Function prototype for unpacking the pha values.
|
|
Composes the EBF_calDataLog word.
|
|
Create the mappings from an exponent to state for both the max and min exponent values.
|
|
Restores the 'other' 3 ranges when data is in the four range readout mode.
|
|
Decodes the CAL address list.
|
|
Decodes the CAL values.
|
|
Decodes the CAL values.
|
|
Decodes the CAL values.
|
|
Decodes the CAL values.
|
|
Catches the unimplemented decoding styles.
|
|
Decodes the address map for a single tower. Once this routine determines the encoding scheme, it is merely dispatches to the correct decoder.
|
|
Unpacks the hit log addresses for one tower when they are stored as a list.
|
|
Unpacks the quad tree address map for one tower.
|
|
Decodes the adc values.
|
|
Decodes the adc values when packed as the maximum and difference.
|
|
Restores the value for the 'other 3' ranges PHAs.
|
|
Decodes the CAL.
|
|
Decodes the CAL.
|
|
Restores 2 interleaved rows to the non-interleaved form.
|