GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V6-1-0 > lsec / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

encode.c File Reference

Encode the event against the previously populated histograms. More...

#include "encode.h"
#include "compact_p.h"
#include "compress.ic"
#include "raw.h"
#include "acdraw.h"
#include "gemraw.h"
#include "LSEC/LSEC_msgs.h"
#include "EDS/EBF_gem.h"
#include "EDS/EBF_cal.h"
#include "EDS/EBF_tkr.h"
#include "EDS/EBF_tem.h"
#include "EDS/FFS.h"
#include "EDS/EBF_gemLocate.h"
#include "EDS/ACD_unpack.h"
#include "EDS/ACD_rec.h"

Functions

unsigned LSEC_encodeAcd (LSEC_compaction *cpc, EBF_dir *dir, unsigned char *buf)
 Encode the ACD event data.
unsigned LSEC_encodeCal (LSEC_compaction *cpc, EBF_dir *dir, unsigned char *buf)
 Encode the CAL portion of the event.
unsigned LSEC_encodeTkr (LSEC_compaction *cpc, EBF_dir *dir, unsigned char *buf)
 Encode the TKR portion of the event.


Detailed Description

Encode the event against the previously populated histograms.

Author:
James Swain & Owen Saxton
Id

Function Documentation

unsigned LSEC_encodeAcd ( LSEC_compaction cpc,
EBF_dir *  dir,
unsigned char *  buf 
)

Encode the ACD event data.

Parameters:
cpc Compaction structure
buf Start of the buffer to place compressed data
dir Pointer to a directory of the event
Returns:
Size of the compressed event, in 32 bit words, or 0 if there is an error

unsigned LSEC_encodeCal ( LSEC_compaction cpc,
EBF_dir *  dir,
unsigned char *  buf 
)

Encode the CAL portion of the event.

Parameters:
cpc Compaction structure
buf Start of the buffer to place compressed data
dir Pointer to a directory of the event
Returns:
Size of the compressed event, in 32 bit words, or 0 if there is an error

unsigned LSEC_encodeTkr ( LSEC_compaction cpc,
EBF_dir *  dir,
unsigned char *  buf 
)

Encode the TKR portion of the event.

Parameters:
cpc Compaction structure
buf Start of the buffer to place compressed data
dir Pointer to a directory of the event
Returns:
Size of the compressed event, in 32 bit words, or 0 if there is an error


Generated on Thu Aug 20 14:34:11 2009 by  doxygen 1.5.3