GLAST/LAT >
DAQ and FSW >
FSW >
Doxygen Index >
QSEC / V2-0-0
Constituent: qsec     Tag: linux-gcc
Interface Data Structures File List Data Fields Globals
decode.h File Reference
Top-level decoding routines. More...
#include "expand.h"
#include "EDS/EBF_gem.h"
Include dependency graph for decode.h:
This graph shows which files directly or indirectly include this file:
|
Functions |
unsigned int | QSEC_decode (QSEC_expansion *exp, void *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.
|
Detailed Description
Top-level decoding routines.
- Author:
- James Swain & Owen Saxton
- Id
- decode.h,v 1.3 2007/04/05 22:59:01 saxton Exp
Function Documentation
unsigned int QSEC_decode |
( |
QSEC_expansion * |
exp, |
|
|
void * |
oevt, |
|
|
const unsigned int * |
ievt |
|
) |
|
|
|
Decode the event held in the expansion structure into the QSE_evt structure.
- Parameters:
-
| 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 |
- Returns:
- Length, in bytes, of the event data
|
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.
- Parameters:
-
| 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 |
|
Generated on Fri Apr 6 01:49:01 2007 by
1.4.4