GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / V7-1-0 > lsec / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

encode.c File Reference

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

#include "compact.h"
#include "compress.ic"
#include "LSEC_p.h"
#include "LSEC/LSEC_msgs.h"
#include "LDT/HDE.h"
#include "EDS/EBF_cal.h"
#include "EDS/EBF_cid.h"
#include "EDS/EBF_tem.h"
#include "EDS/EBF_tkr.h"
#include "LCBD/LATP.h"
#include "PBS/WCT.h"
#include <string.h>

Functions

unsigned int * LSEC_encodeCal (LSEC_compaction *cpc, const LSEC_calEvent *event, unsigned int *buf)
 Encode the CAL portion of the event.
unsigned int * LSEC_encodeTkr (LSEC_compaction *cpc, const EBF_dir *dir, unsigned int *buf)
 Encode the TKR portion of the event.


Detailed Description

Encode the event against the previously populated histograms.

Author:
James Swain & Owen Saxton
$Id: encode.c,v 1.15 2010/08/12 21:15:39 saxton Exp $

Function Documentation

unsigned int* LSEC_encodeCal ( LSEC_compaction cpc,
const LSEC_calEvent event,
unsigned int *  buf 
)

Encode the CAL portion of the event.

Parameters:
cpc Compaction structure
event Pointer to the saved event
buf Pointer to the buffer receiving the encoded data
Returns:
Address of the word after the encoded data

unsigned int* LSEC_encodeTkr ( LSEC_compaction cpc,
const EBF_dir *  dir,
unsigned int *  buf 
)

Encode the TKR portion of the event.

Parameters:
cpc Compaction structure
dir Pointer to the event directory
buf Pointer to the buffer receiving the encoded data
Returns:
Address of the word after the encoded data


Generated on Mon Aug 23 10:03:14 2010 by  doxygen 1.5.3