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


Interface   Data Structures   File List   Data Fields   Globals  

QSE_acdUnpack.h File Reference

Defines the interface to the ACD LAT unpacking routine. More...


Functions

int QSE_acdUnpack (QSE_acd *acd, const EBF_dir *dir)
 Unpacks an ACD record from the AEM into a standard structure.
int QSE_acdUnpackInit (QSE_acd *acd)
 One-time initialization an QSE_acd structure.
void QSE_acdUnpackReset (QSE_acd *acd)
 Resets the QSE_acd structure, preparing it for a new event.


Detailed Description

Defines the interface to the ACD LAT unpacking routine.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: QSE_acdUnpack.h,v 1.2 2005/11/18 01:32:31 russell Exp $

Function Documentation

int QSE_acdUnpack ( QSE_acd acd,
const EBF_dir *  dir 
)

Unpacks an ACD record from the AEM into a standard structure.

Return values:
0 Success
Returns:
Bit mask of the values in the enumeration QSE_ACD_STATUS_M. In general, negative values are failures and positive values are successes, but with possible qualifications.
Parameters:
acd Pointer to the data structure to receive the unpacked data
dir The EBF directory for this event

References _QSE_acdRemap::brds, _QSE_acd::cables, _QSE_acd::hits, HW_ACCESS, _QSE_acdRemapBrd::msks, _QSE_acd::naccepts, _QSE_acd::nphas, _QSE_acd::nuphas, _QSE_acd::paccepts, _QSE_acd::phas, QSE_ACD_K_NCHNS_PER_BRD, QSE_ACD_LIST_K_RU, QSE_ACD_LIST_K_XY, QSE_ACD_LIST_K_XZ, QSE_ACD_LIST_K_YZ, QSE_ACD_SIDE_K_A, QSE_ACD_SIDE_K_B, QSE_ACD_STATUS_M_ABSENT, QSE_ACD_STATUS_M_DUP_CABLE, QSE_ACD_STATUS_M_FATAL, QSE_ACD_STATUS_M_ILL_CABLE, QSE_ACD_STATUS_M_PHA_OVRRUN, QSE_ACD_STATUS_M_PHA_UNDRUN, QSE_mapRemove(), QSE_mapScanr(), remap(), _QSE_acdRemapBrd::rma, _QSE_acdRemapBrd::rmc, _QSE_acd::start_parity, _QSE_acd::status, _QSE_acd::ucables, _QSE_acd::unmatched_parity, _QSE_acd::unpacked, and _QSE_acd::uphas.

int QSE_acdUnpackInit ( QSE_acd acd  ) 

One-time initialization an QSE_acd structure.

Returns:
0, always
Parameters:
acd The QSE_acd structure to initialize

References _QSE_acd::unpacked.

void QSE_acdUnpackReset ( QSE_acd acd  ) 

Resets the QSE_acd structure, preparing it for a new event.

Parameters:
acd The QSE_acd structure to reset

References _QSE_acd::unpacked.


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