GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EMP / V1-3-0

Constituent: asc     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

ASC.h File Reference

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

#include "EMP/LSD_sdi.h"

Include dependency graph for ASC.h:

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


Data Structures

struct  _ASC_handlerConstructCfg
 Defines the configuration parameters for the Construct routine. More...

Typedefs

typedef _EBF_gem EBF_gem
typedef _EDR_acd EDR_acd
typedef _ASC ASC
typedef _ASC_counters ASC_counters
 Typedef for struct ASC_counters.
typedef _ASC_stats ASC_stats
 Typedef for struct _ASC_stats.
typedef _EDS_DB_HandlerConstructServices EDS_DB_HandlerConstructServices
typedef _ASC_handlerConstructCfg ASC_handlerConstructCfg
 Typedef for struct _ASC_handlerConstructCfg.

Functions

void ASC_clear (ASC_counters *counters)
 Clears the specified statistics counters.
int ASC_accumulate (ASC_counters *counters, const unsigned int *edata, int esize)
const EDS_DB_HandlerConstructServices * ASC_constructServicesGet (ASC_handlerConstructCfg *cfg)
 Routine called by LPA (via EMP_DB) to get constructionr info for ASC.
ASC_countersASC_locateCounters (ASC *asc)
ASC_statsASC_locateStats (ASC *asc)
void ASC_getStats (ASC *asc, ASC_stats *stats)
void ASC_clearStats (ASC *asc)
void ASC_showStats (ASC *asc)
unsigned int ASC_statsSizeof (void)
void ASC_statsSub (ASC_stats *result, const ASC_stats *stats, const ASC_stats *base)
void ASC_accumulateU (ASC_counters *counters, const EBF_gem *gem, const EDR_acd *acd)
const unsigned int * ASC_aem_locate (const unsigned int *edata, int esize)
 Locates AEM contribution in an event.

Detailed Description

ACD Software Rate Counters, interface file.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: ASC.h,v 1.6 2006/03/01 01:44:36 russell Exp $

SYNOPSIS
Defines the the interface for controlling the ACD software rate counters

Typedef Documentation

ASC_counters
 

Typedef for struct ASC_counters.

Note:
See the documentation of the enum _ASC_SUMMARY for an explanation of the summary statistics block.


Function Documentation

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

Locates AEM contribution in an event.

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

ASC_clear ASC_counters counters  ) 
 

Clears the specified statistics counters.

Parameters:
counters The statistics counters to be cleared
Warning:
Currently this is a NON-interlocked operation.

const EDS_DB_HandlerConstructServices* ASC_constructServicesGet ASC_handlerConstructCfg cfg  ) 
 

Routine called by LPA (via EMP_DB) to get constructionr info for ASC.

Returns:
Pointer to EDS_DB_HandlerConstructServices structure
Parameters:
cfg The handler construction configuration


Generated on Wed Nov 15 04:49:37 2006 by  doxygen 1.4.4