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


Interface   Data Structures   File List   Data Fields   Globals  

evt.c File Reference

Routines used to construct a decompressed calibration event. More...

#include "LSEC/enums.h"
#include "LSEC/LSEC_msgs.h"
#include "evt.h"
#include "EDS/EBF_ctb.h"
#include "EDS/EBF_gem.h"
#include "EDS/EBF_acd.h"
#include "EDS/EBF_tem.h"
#include "EDS/EBF_cal.h"
#include "EDS/EBF_tkr.h"
#include "EDS/EBF_siv.h"
#include "EDS/EBF_dir.h"
#include "EDS/EBF_dirPrint.h"
#include "PBS/MBA.h"
#include <string.h>
#include <stdio.h>

Functions

void reportCtbHdr (const EBF_ctbHdr *hdr, FILE *fp)
size_t LSEC_evtTemSizeof (void)
 Calculate the maximum size of a TEM contribution.
size_t LSEC_evtGemSizeof (void)
 Calculate the size of the GEM contribution.
size_t LSEC_evtAemSizeof (void)
 Calculate the size of the AEM contribution.
size_t LSEC_evtSizeof (void)
 Calculate the maximum size of the event.
LSEC_evtLSEC_evtNew (void)
 Allocate memory for an event.
void LSEC_evtDelete (LSEC_evt *evt)
 Free the memory associated with an event.


Detailed Description

Routines used to construct a decompressed calibration event.

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

Function Documentation

size_t LSEC_evtAemSizeof ( void   ) 

Calculate the size of the AEM contribution.

Returns:
Return the size of the AEM contribution

void LSEC_evtDelete ( LSEC_evt evt  ) 

Free the memory associated with an event.

Parameters:
evt Pointer to an initialised event.

size_t LSEC_evtGemSizeof ( void   ) 

Calculate the size of the GEM contribution.

Returns:
Return the size of the GEM contribution

LSEC_evt* LSEC_evtNew ( void   ) 

Allocate memory for an event.

Returns:
Pointer to allocated memory

size_t LSEC_evtSizeof ( void   ) 

Calculate the maximum size of the event.

Returns:
Return the size of an event

size_t LSEC_evtTemSizeof ( void   ) 

Calculate the maximum size of a TEM contribution.

Returns:
Size required to hold any TEM contribution


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