GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSEC / dev > lsec_test / rhel5-32


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

Referenced by LSEC_evtSizeof().

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

Referenced by LSEC_evtSizeof().

LSEC_evt* LSEC_evtNew ( void   ) 

Allocate memory for an event.

Returns:
Pointer to allocated memory

References LSEC_evtSizeof().

Referenced by test_compact().

size_t LSEC_evtSizeof ( void   ) 

Calculate the maximum size of the event.

Returns:
Return the size of an event

References LSEC_evtAemSizeof(), LSEC_evtGemSizeof(), LSEC_evtTemSizeof(), and LSEC_N_TWR.

Referenced by LSEC_evtNew().

size_t LSEC_evtTemSizeof ( void   ) 

Calculate the maximum size of a TEM contribution.

Returns:
Size required to hold any TEM contribution

References LSEC_N_CAL_COL, LSEC_N_CAL_LAY, LSEC_N_TKR_CC, and LSEC_N_TKR_RC.

Referenced by LSEC_evtSizeof().


Generated on Mon Mar 28 10:56:43 2011 by  doxygen 1.5.8