GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSEP / V2-0-0

Constituent: qsep     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDFP_evtRepack.c File Reference

Reformats the QDFP_evt to EBF format. More...

#include "QDFP_evtRepack.h"
#include "QDFP_evtdef.h"
#include "QSE/QDF_acdRepack.h"
#include "QSE/QDF_temRepack.h"
#include "QSE/QDF_gemRepack.h"
#include "QSE/QSE_evt.h"
#include "EDS/EBF_ctb.h"

Include dependency graph for QDFP_evtRepack.c:


Defines

#define NULL   ((void *)0)

Functions

static EBF_ctb * hdrRepack (QSE_ebfEvt *ebf, const EBF_ctb *end)
 Fills in the header.
int QDFP_evtStd1Repack (QDFP_evt *evt, QSE_ebfEvt *ebf, int ebf_size)
 Builds the EBF representation from the QSEP representation for single-range, zero suppressed events.
int QDFP_evtStd4Repack (QDFP_evt *evt, QSE_ebfEvt *ebf, int ebf_size)
 Builds the EBF representation from the QSEP representation for four-range, zero suppressed events.
int QDFP_evtPed1Repack (QDFP_evt *evt, QSE_ebfEvt *ebf, int ebf_size)
 Builds the EBF representation from the QSEP representation.
int QDFP_evtPed4Repack (QDFP_evt *evt, QSE_ebfEvt *ebf, int ebf_size)
 Builds the EBF representation from the QSEP representation.

Detailed Description

Reformats the QDFP_evt to EBF format.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: QDFP_evtRepack.c,v 1.1 2006/11/11 00:17:43 russell Exp $

Function Documentation

static EBF_ctb * hdrRepack QSE_ebfEvt *  ebf,
const EBF_ctb *  end
[static]
 

Fills in the header.

Returns:
The next location to fill in
Parameters:
ebf The EBF structure to fill in the header
end The address after the last available address

int QDFP_evtPed1Repack QDFP_evt evt,
QSE_ebfEvt *  ebf,
int  ebf_size
 

Builds the EBF representation from the QSEP representation.

Returns:
The size, in bytes, of the built EBF event
Parameters:
evt The event to reformat
ebf The memory to receive the EBF event
ebf_size The size, in bytes, of the available memory in the EBF event buffer

int QDFP_evtPed4Repack QDFP_evt evt,
QSE_ebfEvt *  ebf,
int  ebf_size
 

Builds the EBF representation from the QSEP representation.

Returns:
The size, in bytes, of the built EBF event
Parameters:
evt The event to reformat
ebf The memory to receive the EBF event
ebf_size The size, in bytes, of the available memory in the EBF event buffer

int QDFP_evtStd1Repack QDFP_evt evt,
QSE_ebfEvt *  ebf,
int  ebf_size
 

Builds the EBF representation from the QSEP representation for single-range, zero suppressed events.

Returns:
The size, in bytes, of the built EBF event
Parameters:
evt The event to reformat
ebf The memory to receive the EBF event
ebf_size The size, in bytes, of the available memory in the EBF event buffer

int QDFP_evtStd4Repack QDFP_evt evt,
QSE_ebfEvt *  ebf,
int  ebf_size
 

Builds the EBF representation from the QSEP representation for four-range, zero suppressed events.

Returns:
The size, in bytes, of the built EBF event
Parameters:
evt The event to reformat
ebf The memory to receive the EBF event
ebf_size The size, in bytes, of the available memory in the EBF event buffer


Generated on Tue Apr 15 01:25:44 2008 by  doxygen 1.4.4