GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-2 > qse / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDF_calRepack.h File Reference

Interface to the CAL repacking to EBF routines. Because EBF format combines the CAL + TKR into one contribution for each tower (TEM), this facility formats the CAL contribution for the specified tower. More...


Typedefs

typedef struct _QDF_calEvt QDF_calEvt
typedef struct _EBF_ctb EBF_ctb

Functions

unsigned int * QDF_calStd1Repack (const QDF_calEvt *cal, int tem, unsigned int *dst, const EBF_ctb *end)
 Repacks a single-range, zero-suppressed CAL event for the specified TEM into its EBF format.
unsigned int * QDF_calStd4Repack (const QDF_calEvt *cal, int tem, unsigned int *dst, const EBF_ctb *end)
 Repacks a 4-range, zero-suppressed CAL event for the specified TEM into its EBF format The input data must be for range, non-zero suppressed.
unsigned int * QDF_calPed1Repack (const QDF_calEvt *cal, int tem, unsigned int *dst, const EBF_ctb *end)
 Repacks the CAL event for the specified TEM into its EBF format The input data must be single range, non-zero suppressed.
unsigned int * QDF_calPed4Repack (const QDF_calEvt *cal, int tem, unsigned int *dst, const EBF_ctb *end)
 Repacks the CAL event for the specified TEM into its EBF format The input data must be for range, non-zero suppressed.


Detailed Description

Interface to the CAL repacking to EBF routines. Because EBF format combines the CAL + TKR into one contribution for each tower (TEM), this facility formats the CAL contribution for the specified tower.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QDF_calRepack.h,v 1.1 2006/11/10 22:35:48 russell Exp $

Function Documentation

unsigned int* QDF_calPed1Repack ( const QDF_calEvt cal,
int  tem,
unsigned int *  dst,
const EBF_ctb *  end 
)

Repacks the CAL event for the specified TEM into its EBF format The input data must be single range, non-zero suppressed.

Returns:
The next location to fill in
Parameters:
cal The unpacked CAL event data
tem Which TEM
dst The EBF destination address
end The address just past the last legitimate address

References cal_copy_repack(), _QDF_calPedEvt::clb, _QDF_calPedEvt::dir, _QDF_calPedEvt::map, _QDF_calPedEvt::min, _QDF_calEvt::ped, repack_cal_log(), _QDF_calPedEvt::style, and _QDF_calPedEvt::syms.

Referenced by QDF_temPed1Repack().

unsigned int* QDF_calPed4Repack ( const QDF_calEvt cal,
int  tem,
unsigned int *  dst,
const EBF_ctb *  end 
)

Repacks the CAL event for the specified TEM into its EBF format The input data must be for range, non-zero suppressed.

Returns:
The next location to fill in
Parameters:
cal The unpacked CAL event data
tem Which TEM
dst The EBF destination address
end The address just past the last legitimate address

References cal_copy_repack(), _QDF_calPedEvt::clb, _QDF_calPedEvt::dir, _QDF_calPedEvt::map, _QDF_calEvt::ped, repack_cal_log(), _QDF_calPedEvt::rng, _QDF_calPedEvt::style, and _QDF_calPedEvt::syms.

Referenced by QDF_temPed4Repack().

unsigned int* QDF_calStd1Repack ( const QDF_calEvt cal,
int  tem,
unsigned int *  dst,
const EBF_ctb *  end 
)

Repacks a single-range, zero-suppressed CAL event for the specified TEM into its EBF format.

Returns:
The next location to fill in
Parameters:
cal The unpacked CAL event data
tem Which TEM
dst The EBF destination address
end The address just past the last legitimate address

References _QDF_calStdEvt::atwrs, _QDF_calEvtPhas::buf, _QDF_calStdEvt::map, _QDF_calEvtAdrsTwr::nlogs, _QDF_calEvtAdrsTwr::offset, _QDF_calStdEvt::phas, and _QDF_calEvt::std.

Referenced by QDF_temStd1Repack().

unsigned int* QDF_calStd4Repack ( const QDF_calEvt cal,
int  tem,
unsigned int *  dst,
const EBF_ctb *  end 
)

Repacks a 4-range, zero-suppressed CAL event for the specified TEM into its EBF format The input data must be for range, non-zero suppressed.

Returns:
The next location to fill in
Parameters:
cal The unpacked CAL event data
tem Which TEM
dst The EBF destination address
end The address just past the last legitimate address

References _QDF_calStdEvt::atwrs, _QDF_calEvtPhas::buf, _QDF_calStdEvt::map, _QDF_calStdEvt::nlogs, _QDF_calEvtAdrsTwr::offset, _QDF_calStdEvt::phas, _QDF_calEvtAdrsTwr::rng_buf, and _QDF_calEvt::std.

Referenced by QDF_temStd4Repack().


Generated on Fri Sep 30 18:30:23 2011 by  doxygen 1.5.8