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

Constituent: ascprint     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

ASC_print.c File Reference

Development/debug routine to print the ACD counter statistics. More...

#include "EMP/ASC_print.h"
#include "EMP/ASC_pubdefs.h"
#include <stdio.h>

Include dependency graph for ASC_print.c:


Functions

static void printSummary (const unsigned int summary[16])
 Prints the summary statistics block.
static void printCno (const ASC_cno *cno)
 Prints the CNO statistics block.
static void printCnts (const ASC_cnts *gec)
 Prints the full statistics array fro the GEM/AEM counts.
static void printHdr (const char *name, int c, int cnt)
 Prints a header line for each ACD list, ie one of XZ, YZ, XY, RU.
static void printRow (const ASC_patterns *chns, int p, int cnt)
 Prints one row (pattern fixed) of statistics.
void ASC_print (const ASC_counters *counters, unsigned int options)
 Prints the statistics counters.

Detailed Description

Development/debug routine to print the ACD counter statistics.

Author:
JJRussell - russell@slac.stanford.edu
     CVS $Id: ASC_print.c,v 1.1 2006/03/01 01:44:42 russell Exp $   
 * 

Function Documentation

void ASC_print const ASC_counters counters,
unsigned int  options
 

Prints the statistics counters.

Parameters:
counters The statistics counters to print
options Show options

static void printCno const ASC_cno cno  )  [static]
 

Prints the CNO statistics block.

Parameters:
cno The CNO statistics block to print
The CNO statistics blocks consists of 4 entries per board pair. A board pair is matching A/B pair. The statistics count the number of times only the A end is active, only the B end is active and the nubmer of times there is a coincidence between the two. Accumulation of the number of times neither is struck is deemed to be a waste of time since this number is just the difference of the total number of events seen (available in the summary statistics block) and the some of the just mentioned three numbers.

static void printCnts const ASC_cnts gec  )  [static]
 

Prints the full statistics array fro the GEM/AEM counts.

Parameters:
gec The GEM and AEM counts

static void printHdr const char *  name,
int  c,
int  cnt
[static]
 

Prints a header line for each ACD list, ie one of XZ, YZ, XY, RU.

Parameters:
name The name of the list (XZ, YZ, XY, RU)
c Beginning channel index
cnt The number of channels to print

static void printRow const ASC_patterns chns,
int  p,
int  cnt
[static]
 

Prints one row (pattern fixed) of statistics.

Parameters:
chns The pattern statistics for the channels to be printed
p The pattern to be printed
cnt The number of channels to print

static void printSummary const unsigned int  summary[16]  )  [static]
 

Prints the summary statistics block.

Parameters:
summary The summary statistics block to print


Generated on Wed Nov 15 04:52:15 2006 by  doxygen 1.4.4