GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > ASC / V0-0-5

Constituent: asc_dbg     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

ASC_dbg.h File Reference

ACD Software Rate Counters, debug interface file. More...

This graph shows which files directly or indirectly include this file:


Functions

int ASC_acd_sizeof (void)
 Returns the size, in bytes, of the data structure needed to hold an unpacked ACD event.
const struct _EBF_gemASC_gem_locate (const unsigned int *edata, int esize)
 Locates GEM contribution in an event.
const struct _EBF_aemASC_aem_locate (const unsigned int *edata, int esize)
 Locates ACD contribution in an event.
int ASC_acd_unpack (struct _ASC_acd *acd, const struct _EBF_aem *aem)
 Unpacks an ACD record from the AEM into a standard structure.
void ASC_accumulateU (ASC_counters *counters, const struct _EBF_gem *gem, const struct _ASC_acd *alr)
 Accumulates the proper pattern words for each ACD hit.
void ASC_show (const ASC_counters *counters, unsigned int options)
 Prints the statistics counters.

Detailed Description

ACD Software Rate Counters, debug interface file.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: ASC_dbg.h,v 1.1.1.1 2005/12/01 21:55:31 ebacho Exp $

SYNOPSIS
Defines the the interface for controlling the ACD software rate counters, used for testing purposes

Function Documentation

void ASC_accumulateU ASC_counters counters,
const struct _EBF_gem gem,
const struct _ASC_acd acd
 

Accumulates the proper pattern words for each ACD hit.

Parameters:
counters The statistics counters
gem Pointer to the GEM record
acd Pointer to an unpacked ACD record
This function is called on the assumption that the GEM record has been located and the ACD data has been both located and successfully unpacked.

int ASC_acd_sizeof void   ) 
 

Returns the size, in bytes, of the data structure needed to hold an unpacked ACD event.

Returns:
The size, in bytes, of the data structure needed to hold an unpacked ACD event

int ASC_acd_unpack struct _ASC_acd acd,
const struct _EBF_aem aem
 

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

Returns:
Status. The only failure is if more than 18 PHAs are found to be present on an given FREE board.
Parameters:
acd Pointer to the data structure to receive the unpacked ACD data
aem Pointer to the AEM ACD data

const struct _EBF_aem * ASC_aem_locate const unsigned int *  edata,
int  esize
 

Locates ACD contribution in an event.

Return values:
A pointer to the GEM contribution.
NULL is return if the GEM contribution cannnot be found
Parameters:
edata Pointer to the event data structure
esize Size, in bytes, of the event

const struct _EBF_gem * ASC_gem_locate const unsigned int *  edata,
int  esize
 

Locates GEM contribution in an event.

Return values:
A pointer to the GEM contribution.
NULL is return if the GEM contribution cannnot be found
Parameters:
edata Pointer to the event data structure
esize Size, in bytes, of the event

void ASC_show const ASC_counters counters,
unsigned int  options
 

Prints the statistics counters.

Parameters:
counters The statistics counters to print
options Show options


Generated on Tue Dec 6 21:25:46 2005 by  doxygen 1.4.4