GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSEC / V3-3-1 > qsec_wb / linux-gcc
#include "expand.h"
#include "EDS/EBF_gem.h"
#include "QSE/QSE_ebf.h"
Functions | |
unsigned int | QSEC_decode (QSEC_expansion *exp, QSE_ebfEvt *oevt, const unsigned int *ievt) |
Decode the event held in the expansion structure into the QSE_evt structure. | |
void | QSEC_update (QSEC_expansion *exp, EBF_gem *gem, unsigned int *seq, const unsigned int *ievt) |
Decode the GEM contribution and extract the 17 bit event sequence. |
unsigned int QSEC_decode | ( | QSEC_expansion * | exp, | |
QSE_ebfEvt * | oevt, | |||
const unsigned int * | ievt | |||
) |
Decode the event held in the expansion structure into the QSE_evt structure.
exp | Pointer to the expansion structure holding the histograms and encoder context | |
oevt | Pointer to the location to output the decoded event | |
ievt | Pointer to the location to input the encoded event |
References QSEC_summary::aem, QSEC_expansion_::dtx, QSEC_summary::gem, QSEC_expansion_::gem, QSEC_expansion_::mode, QSEC_CURRENT_VERSION, QSEC_unpackRaw(), QSEC_VERS_FIXED_CAL, QSEC_VERS_NEW_SCHEME, QSEC_VERS_NEWER, QSEC_gemDecompress::raw, QSEC_summary::tem, and QSEC_expansion_::ver.
Referenced by QSEC_expand().
void QSEC_update | ( | QSEC_expansion * | exp, | |
EBF_gem * | gem, | |||
unsigned int * | seq, | |||
const unsigned int * | ievt | |||
) |
Decode the GEM contribution and extract the 17 bit event sequence.
exp | Pointer to the expansion structure holding the histograms and encoder context | |
gem | Pointer to the location to place the decoded GEM contribution | |
seq | Pointer to the location to place the 17-bit event sequence number | |
ievt | Pointer to the location to input the encoded event number for use in QSE_ctxUpdateAtEvent |
References QSEC_expansion_::dtx, QSEC_expansion_::gem, QSEC_expansion_::mode, QSEC_unpackRaw(), QSEC_VERS_FIXED_CAL, QSEC_VERS_ORIGINAL, QSEC_gemDecompress::raw, and QSEC_expansion_::ver.
Referenced by QSEC_updateAtRecord().