GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-3-1 > hfc / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

HFC_stats.c File Reference

Provides routines to clear and accumulate and the summary statistics of the heavy ion filtering process. More...

#include <XFC/HFC_stats.h>
#include <HFC_statsDef.h>
#include <HFC_resultDef.h>
#include <PBI/FFS.ih>
#include <string.h>

Functions

static __inline void accumulate (unsigned int cnts[32], unsigned int status)
void HFC_statsAccumulate (HFC_stats *stats, const HFC_result *beg, const HFC_result *end)
 Accumulates the statistics from a vector of event-by-event filtering results.
void HFC_statsClear (HFC_stats *stats)
 Clears the statistics block.
int HFC_statsSizeof (void)
 Returns the size, in bytes, of the statistics table.


Detailed Description

Provides routines to clear and accumulate and the summary statistics of the heavy ion filtering process.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: HFC_stats.c,v 1.2 2011/03/28 20:50:57 russell Exp $

Function Documentation

void HFC_statsAccumulate ( HFC_stats stats,
const HFC_result beg,
const HFC_result end 
)

Accumulates the statistics from a vector of event-by-event filtering results.

Parameters:
stats The statistics block to accumulate into
beg The first result vector in the array to accumulate
end The last (actually one past the last) result vector in the array to accumulate

References _HFC_stats::cnts, and _HFC_result::status.

void HFC_statsClear ( HFC_stats stats  ) 

Clears the statistics block.

Parameters:
stats The statistics block to clear.

int HFC_statsSizeof ( void   ) 

Returns the size, in bytes, of the statistics table.

Returns:
The size, in bytes, of the statistics table


Generated on Wed Nov 21 20:22:28 2012 by  doxygen 1.5.8