GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSEC / V6-0-0

Constituent: lsec_wb     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

encode.c File Reference

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

#include "LSEC/LSEC_msgs.h"
#include "encode.h"
#include "compact_p.h"
#include "compress.ic"
#include "raw.h"
#include "acdraw.h"
#include "gemraw.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"

Include dependency graph for encode.c:


Functions

void encodeGem (LSEC_compaction *cpc, EBF_dir *dir)
 Perform the desired action upon the GEM.
static void encodeAcd (LSEC_compaction *cpc, EBF_dir *dir)
 Perform the desired action upon the ACD.
static void encodeCal (LSEC_compaction *cpc, EBF_dir *dir)
 Encode the CAL portion of the event.
static void encodeTkr (LSEC_compaction *cpc, EBF_dir *dir)
 Perform the desired action on the tracker event contribution.
unsigned LSEC_encodeAcd (LSEC_compaction *cpc, EBF_dir *dir, unsigned char *buf)
 Perform the desired action on the ACD.
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 -- jswain@slac.stanford.edu

Function Documentation

void encodeAcd LSEC_compaction cpc,
EBF_dir *  dir
[inline, static]
 

Perform the desired action upon the ACD.

Parameters:
cpc Compaction structure
dir Pointer to the directory of the current event

void encodeCal LSEC_compaction cpc,
EBF_dir *  dir
[inline, static]
 

Encode the CAL portion of the event.

Parameters:
cpc Compaction structure
dir Pointer to a directory of the event

void encodeGem LSEC_compaction cpc,
EBF_dir *  dir
 

Perform the desired action upon the GEM.

Parameters:
cpc Compaction structure
dir Pointer to the directory of the current event

void encodeTkr LSEC_compaction cpc,
EBF_dir *  dir
[inline, static]
 

Perform the desired action on the tracker event contribution.

Parameters:
cpc Compaction structure
dir Pointer to a directory of the event

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

Perform the desired action on the ACD.

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 Wed Dec 5 02:50:05 2007 by  doxygen 1.4.4