GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V7-0-0 > lsec_test / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

test_compact.c File Reference

Test of the compression functionality. More...

#include "LSEC/LSEC_ctx.h"
#include "LSEC/LSEC_msgs.h"
#include "LSEC/LSEC.h"
#include "PBS/PARITY.h"
#include "evt.h"
#include "test_compact_p.h"
#include "compact.h"
#include "compress.h"
#include "MSG/MSG_pubdefs.h"
#include "PBS/BSWP.h"
#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_unpack.h"
#include "QSE/QSE_aemRepack.h"
#include "QSE/QSE_aem.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>

Functions

unsigned int * fillGem (unsigned int *evt)
 Generate the GEM data for an event.
unsigned int * fillAem (unsigned int *evt)
 Generate the AEM data for an event.
unsigned int * fillTem (unsigned int *evt)
 Generate the TEM data for an event.
int test_compact (void *param)
 Test the compression functionality.


Detailed Description

Test of the compression functionality.

Author:
James Swain -- jswain@slac.stanford.edu
$Id: test_compact.c,v 1.7 2010/05/25 16:47:35 saxton Exp $

Function Documentation

unsigned int * fillAem ( unsigned int *  evt  ) 

Generate the AEM data for an event.

Parameters:
evt Pointer to the event to fill
Returns:
Pointer to the end of the space occupied by this contribution

unsigned int * fillGem ( unsigned int *  evt  ) 

Generate the GEM data for an event.

Parameters:
evt Pointer to the event to fill.
Returns:
Pointer to the end of the space occupied by this contribution

unsigned int * fillTem ( unsigned int *  evt  ) 

Generate the TEM data for an event.

Parameters:
evt Pointer to the event to fill

int test_compact ( void *  param  ) 

Test the compression functionality.

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


Generated on Wed May 26 10:22:16 2010 by  doxygen 1.5.3