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


Interface   Data Structures   File List   Data Fields   Globals  

evt.h File Reference

Definition of the structure holding a decompressed calibration event. More...

#include <unistd.h>

Typedefs

typedef void LSEC_evt
 Placeholder.

Enumerations

enum  { LSEC_MAX_TKR_RC_HIT = 64 }

Functions

LSEC_evtLSEC_evtNew (void)
 Allocate memory for an event.
void LSEC_evtDelete (LSEC_evt *evt)
 Free the memory associated with an event.
size_t LSEC_evtSizeof (void)
 Calculate the maximum size of the event.
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_evtTemSizeof (void)
 Calculate the maximum size of a TEM contribution.


Detailed Description

Definition of the structure holding 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