ASCsummary Class Reference

Class for accessing counters in the ASC error summary contribution. More...

#include <ASCsummary.h>

List of all members.

Public Types

 AEM_Ok = 0
 AEM_InError = 1
 AEM_Missing = 2
 N_AEM_Status = 3
 GEM_Ok = 0
 GEM_InError = 1
 GEM_Missing = 2
 N_GEM_Status = 3
enum  AemStatus { AEM_Ok = 0, AEM_InError = 1, AEM_Missing = 2, N_AEM_Status = 3 }
enum  GemStatus { GEM_Ok = 0, GEM_InError = 1, GEM_Missing = 2, N_GEM_Status = 3 }

Public Member Functions

 ASCsummary (unsigned ptr[9])
 Constructor for initializing the ASCsummary class with a ptr to the data.
unsigned counts (AemStatus aemStatus, GemStatus gemStatus) const
 method for returning the number of counts with particular status flags
unsigned counts (AemStatus aemStatus) const
 method for returning the number of counts with particular status flags
unsigned counts (GemStatus gemStatus) const
 method for returning the number of counts with particular status flags
unsigned * ptr () const
 method for returning the ptr to the data

Static Public Member Functions

static unsigned counts (unsigned *ptr, AemStatus aemStatus, GemStatus gemStatus)
 Static method for returning the number of counts with particular status flags.
static unsigned counts (unsigned *ptr, AemStatus aemStatus)
 Static method for returning the number of counts with particular status flags.
static unsigned counts (unsigned *ptr, GemStatus gemStatus)
 Static method for returning the number of counts with particular status flags.


Detailed Description

Class for accessing counters in the ASC error summary contribution.

Author:
Eric Charles -- GLAST LAT I&T/SVAC - (echarles@slac.stanford.edu)
Revision
1.1
Date:
September 21, 2005 -- Created
Id
ASCsummary.h,v 1.1 2005/09/28 22:04:13 echarles Exp

Copyright: Copyright 2005 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.


Constructor & Destructor Documentation

ASCsummary::ASCsummary ( unsigned  ptr[9]  )  [inline]

Constructor for initializing the ASCsummary class with a ptr to the data.

Parameters:
ptr - pointer to the first bin


Member Function Documentation

unsigned ASCsummary::counts ( GemStatus  gemStatus  )  const [inline]

method for returning the number of counts with particular status flags

Parameters:
GemStatus - status of the Gem
Returns:
Number of counts with GemStatus

unsigned ASCsummary::counts ( unsigned *  ptr,
GemStatus  gemStatus 
) [inline, static]

Static method for returning the number of counts with particular status flags.

Parameters:
ptr - pointer to the first bin of the histogram
GemStatus - status of the Gem
Returns:
Number of counts with GemStatus

unsigned ASCsummary::counts ( AemStatus  aemStatus  )  const [inline]

method for returning the number of counts with particular status flags

Parameters:
AemStatus - status of the Aem
Returns:
Number of counts with AemStatus

unsigned ASCsummary::counts ( unsigned *  ptr,
AemStatus  aemStatus 
) [inline, static]

Static method for returning the number of counts with particular status flags.

Parameters:
ptr - pointer to the first bin of the histogram
AemStatus - status of the Aem
Returns:
Number of counts with AemStatus

unsigned ASCsummary::counts ( AemStatus  aemStatus,
GemStatus  gemStatus 
) const [inline]

method for returning the number of counts with particular status flags

Parameters:
AemStatus - status of the Aem
GemStatus - status of the Gem
Returns:
Number of counts with AemStatus and GemStatus

unsigned ASCsummary::counts ( unsigned *  ptr,
AemStatus  aemStatus,
GemStatus  gemStatus 
) [inline, static]

Static method for returning the number of counts with particular status flags.

Parameters:
ptr - pointer to the first bin of the histogram
AemStatus - status of the Aem
GemStatus - status of the Gem
Returns:
Number of counts with AemStatus and GemStatus

unsigned * ASCsummary::ptr (  )  const [inline]

method for returning the ptr to the data

Returns:
the address of the first datum


The documentation for this class was generated from the following file:
Generated on Mon Jul 31 17:48:13 2006 for LDF v06-02-00 by doxygen 1.4.7