GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EMP / V1-4-1 > ascprint / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

ASC_dgmPrint.h File Reference

ACD Software Rate Counters, dump routines for the ASC DGM datagram. More...

#include <EMP/ASC_print.h>

Typedefs

typedef enum _ASC_DGMPRINT_M ASC_DGMPRINT_M
 Typedef for enum _ASC_PRINT_M.

Enumerations

enum  _ASC_DGMPRINT_M {
  ASC_DGMPRINT_M_SUMMARY = ASC_PRINT_M_SUMMARY,
  ASC_DGMPRINT_M_CNO = ASC_PRINT_M_CNO,
  ASC_DGMPRINT_M_COUNTERS = ASC_PRINT_M_COUNTERS,
  ASC_DGMPRINT_M_HEADER = 0x1000,
  ASC_DGMPRINT_M_STATS = 0x2000,
  ASC_DGMPRINT_M_ALL
}
 Print options for ASC_lsfPrint. More...

Functions

void ASC_dgmPrint (const LSF_datagram *dgm, unsigned int options)
 Print the LSF datagram containing EMP/ASC data.


Detailed Description

ACD Software Rate Counters, dump routines for the ASC DGM datagram.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: ASC_dgmPrint.h,v 1.2 2011/03/26 20:07:42 russell Exp $

SYNOPSIS
Defines the the interface for printing the ACD software rate counters, used for diagnostic and testing purposes.

Enumeration Type Documentation

Print options for ASC_lsfPrint.

Enumerator:
ASC_DGMPRINT_M_SUMMARY  Print summary record
ASC_DGMPRINT_M_CNO  Print CNO histogram
ASC_DGMPRINT_M_COUNTERS  Print ASC histograms
ASC_DGMPRINT_M_HEADER  Print the DGM header
ASC_DGMPRINT_M_STATS  Print the event statistics


Function Documentation

void ASC_dgmPrint ( const LSF_datagram *  dgm,
unsigned int  options 
)

Print the LSF datagram containing EMP/ASC data.

Parameters:
dgm Pointer to the LSF datagram
options Bit mask of optoins, see ASC_PRINT_M in ASC_dgmPrint.h Specifying as -1 prints everything

References ASC_DGMPRINT_M_HEADER, ASC_DGMPRINT_M_STATS, ASC_print(), _ASC_ascBdy_Gzip0::buf, _ASC_ascBdy_Raw0::counters, DoInflate(), _ASC_ascBdy_Gzip0::hdr, _ASC_ascBdy_Raw0::hdr, _ASC_ascBdy_Gzip0::len, _EMP_hdr::nsampled, printHdr(), printStats(), _ASC_ascBdy_Gzip0::stats, and _ASC_ascBdy_Raw0::stats.


Generated on Wed Nov 21 19:10:51 2012 by  doxygen 1.5.8