GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-3-2 > hfcprint / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

HFC_resultsPrint.c File Reference

Provides routines to output the event-by-event heavy ion results vector to a terminal (ASCII). More...

#include <XFC/HFC_resultsPrint.h>
#include <XFC/HFC_status.h>
#include <HFC_resultDef.h>
#include <EDS/ECR_cal.h>
#include <EDS/TMR.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Functions

int HFC_resultsSizeof (void)
 Returns the size, in bytes, of a HFC result record.
int HFC_resultsPrint (int options, const HFC_result *beg, const HFC_result *end)
 Prints the event-by-event result vector to the terminal.


Detailed Description

Provides routines to output the event-by-event heavy ion results vector to a terminal (ASCII).

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id

Function Documentation

int HFC_resultsPrint ( int  options,
const HFC_result beg,
const HFC_result end 
)

Prints the event-by-event result vector to the terminal.

Returns:
The number printed
Parameters:
options An options vector, expressed as a bit mask, controlling how verbose the display is.
beg The first results vector to print.
end The ending results vector
Currently only two options are supported HFC_RESULTS_PRINT_OPT_M_EVENT and HFC_RESULTS_PRINT_OPT_M_SUMMARY. These are documented in the interface file.

References _HFC_result::beg, _HFC_result::cal, _HFC_result::chk, _HFC_result::dir, _HFC_result::energies, _HFC_result::evtNum, _HFC_result::gem, HFC_RESULTS_PRINT_OPT_M_EVENT, HFC_RESULTS_PRINT_OPT_M_SUMMARY, HFC_STATUS_M_MULTI_PKT, HFC_STATUS_M_STAGE_CAL, HFC_STATUS_M_STAGE_CAL_ECHK, HFC_STATUS_M_STAGE_CAL_LCHK, HFC_STATUS_M_STAGE_DIR, HFC_STATUS_M_STAGE_GEM, _HFC_result::logcnt, _HFC_result::nl, and _HFC_result::status.

int HFC_resultsSizeof ( void   ) 

Returns the size, in bytes, of a HFC result record.

Returns:
The size, in bytes, of a HFC result record.


Generated on Fri Nov 30 11:19:28 2012 by  doxygen 1.5.8