ASCtile Class Reference

Class for accessing counters in the ASC associated with a single tile or ribbon. More...

#include <ASCtile.h>

List of all members.

Public Types

 SignalA = 0
 SignalB = 1
 VetoA = 2
 VetoB = 3
 GemVeto = 4
enum  StatusBit {
  SignalA = 0, SignalB = 1, VetoA = 2, VetoB = 3,
  GemVeto = 4
}

Public Member Functions

 ASCtile (unsigned ptr[32])
 Constructor for initializing the ASCtile class with a ptr to the data.
unsigned counts (StatusMask mask) const
 method for returning the number of counts with particular status flags
unsigned counts (StatusBit bit) const
 method for returning the number of counts with particular status flags
unsigned * ptr () const
char * rawData () const

Static Public Member Functions

static unsigned counts (unsigned *ptr, StatusMask mask)
 Static method for returning the number of counts with particular status flags.
static unsigned counts (unsigned *ptr, StatusBit bit)
 Static method for returning the number of counts with particular status flag.

Classes

class  StatusMask


Detailed Description

Class for accessing counters in the ASC associated with a single tile or ribbon.

Author:
Eric Charles -- GLAST LAT I&T/SVAC - (echarles@slac.stanford.edu)
Revision
1.2
Date:
September 21, 2005 -- Created
Id
ASCtile.h,v 1.2 2005/10/22 12:52:41 claus Exp

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


Constructor & Destructor Documentation

ASCtile::ASCtile ( unsigned  ptr[32]  )  [inline]

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

Parameters:
ptr - pointer to the first bin


Member Function Documentation

unsigned ASCtile::counts ( StatusBit  bit  )  const [inline]

method for returning the number of counts with particular status flags

Parameters:
StatusBit - a particular bit of the status mask
Returns:
Number of counts with StatusBit true

unsigned ASCtile::counts ( unsigned *  ptr,
StatusBit  bit 
) [inline, static]

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

Parameters:
ptr - pointer to the first bin of the histogram
StatusBit - a particular bit of the status mask
Returns:
Number of counts with StatusBit true

unsigned ASCtile::counts ( StatusMask  mask  )  const [inline]

method for returning the number of counts with particular status flags

Parameters:
StatusMask - status flags
Returns:
Number of counts with AemStatus and GemStatus

unsigned ASCtile::counts ( unsigned *  ptr,
StatusMask  mask 
) [inline, static]

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

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


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