GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / dev > gdmfc / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

MFC_stats.c File Reference

Provides routines to clear and accumulate and the summary statistics of the Minimum Ionizing Particle filtering process. More...

#include <XFC/MFC_stats.h>
#include <MFC_statsDef.h>
#include <MFC_resultDef.h>
#include <PBI/FFS.ih>
#include <string.h>

Functions

static __inline void accumulate (unsigned int cnts[32], unsigned int status)
void MFC_statsAccumulate (MFC_stats *stats, const MFC_result *beg, const MFC_result *end)
 Accumulates the statistics from a vector of event-by-event filtering results.
void MFC_statsClear (MFC_stats *stats)
 Clears the statistics block.
int MFC_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 Minimum Ionizing Particle filtering process.

Author:
JJRussell - russell@slac.stanford.edu

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

Function Documentation

void MFC_statsAccumulate ( MFC_stats stats,
const MFC_result beg,
const MFC_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 _MFC_stats::cnts, and _MFC_result::status.

void MFC_statsClear ( MFC_stats stats  ) 

Clears the statistics block.

Parameters:
stats The statistics block to clear.

int MFC_statsSizeof ( void   ) 

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

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


Generated on Mon Aug 8 10:33:26 2011 by  doxygen 1.5.8