GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSEC / V3-1-0

Constituent: qsec_test     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

test_expand.c File Reference

Test of the compression functionality. More...

#include "QSEC/QSEC.h"
#include "QSEC/QSEC_ctx.h"
#include "QSEC_p.h"
#include "expand.h"
#include "decode.h"
#include "evt.h"
#include "test_expand_p.h"
#include "LSEC/LSEC_ctx.h"
#include "QSE/QSE_ebf.h"
#include "PBS/PARITY.ih"
#include "PBS/BSWP.ih"
#include "EDS/EBF_pkt.h"
#include "EDS/EBF_dir.h"
#include "EDS/EBF_siv.h"
#include "EDS/EBF_gem.h"
#include "EDS/EBF_tem.h"
#include "EDS/EBF_acd.h"
#include "EDS/EBF_cal.h"
#include "EDS/EBF_tkr.h"
#include "EDS/ACD_rec.h"
#include "EDS/ACD_unpack.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Include dependency graph for test_expand.c:


Functions

unsigned checkGem (const QSEC_evt *evt)
unsigned checkAcd (const char *buf)
 Check that the ACD data was recovered correctly.
unsigned checkCal (const char *buf)
 Verify that the TEM contributions were correctly unpacked.
unsigned checkTkr (const char *buf)
 Verify that the TEM contributions were correctly decoded.
int test_expand (void *param)
 Test the compression functionality.

Detailed Description

Test of the compression functionality.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

unsigned checkAcd const char *  buf  ) 
 

Check that the ACD data was recovered correctly.

Parameters:
buf Pointer to the acd contribution to check
Returns:
Line of the first error

unsigned checkCal const char *  buf  ) 
 

Verify that the TEM contributions were correctly unpacked.

Parameters:
buf Pointer to the first tem contribution
Returns:
line number of first error

unsigned checkGem const QSEC_evt evt  ) 
 

Parameters:
evt Pointer to the populated event.
Returns:
Check that the GEM was recovered correctly

unsigned checkTkr const char *  buf  ) 
 

Verify that the TEM contributions were correctly decoded.

Parameters:
buf Pointer to the first tem contribution
Returns:
Line number of the first error

int test_expand void *  param  ) 
 

Test the compression functionality.

Parameters:
param Control structure (ignored)
Returns:
Line number of the first failure, or 0 on success


Generated on Sun Jun 14 02:23:18 2009 by  doxygen 1.4.4