ACDpha Class Reference

Class for accessing fields in the ACD PHA data word. More...

#include <ACDpha.h>

List of all members.

Public Member Functions

 ACDpha (unsigned value)
 Constructor for initializing the ACDpha class with a PHA value.
unsigned more () const
 Method for returning the more bit from a PHA value.
unsigned ADCrange () const
 Method for returning the ADCrange value from a PHA value.
unsigned ADCvalue () const
 Method for returning the raw ADCvalue from a PHA value.
unsigned parityError () const
 Method for returning the parityError value from a PHA value.
unsigned datum () const
 Method for returning the PHA value the class was constructed with.

Static Public Member Functions

static unsigned more (unsigned value)
 Static method for returning the more bit from a PHA value.
static unsigned ADCrange (unsigned value)
 Static method for returning the ADCrange value from a PHA value.
static unsigned ADCvalue (unsigned value)
 Static method for returning the raw ADCvalue from a PHA value.
static unsigned parityError (unsigned value)
 Static method for returning the parityError value from a PHA value.


Detailed Description

Class for accessing fields in the ACD PHA data word.

Author:
Ric Claus -- GLAST LAT I&T/Online - (claus@slac.stanford.edu)
Revision
1.2
Date:
February 11, 2003 -- Created
Id
ACDpha.h,v 1.2 2004/04/01 23:36:09 claus Exp

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


Constructor & Destructor Documentation

ACDpha::ACDpha ( unsigned  value  )  [inline]

Constructor for initializing the ACDpha class with a PHA value.

Parameters:
value - A PHA value


Member Function Documentation

unsigned ACDpha::ADCrange (  )  const [inline]

Method for returning the ADCrange value from a PHA value.

Returns:
The more ADCrange value

unsigned ACDpha::ADCrange ( unsigned  value  )  [inline, static]

Static method for returning the ADCrange value from a PHA value.

Parameters:
value - A PHA value
Returns:
The more ADCrange value

unsigned ACDpha::ADCvalue (  )  const [inline]

Method for returning the raw ADCvalue from a PHA value.

Returns:
The raw ADCvalue value

unsigned ACDpha::ADCvalue ( unsigned  value  )  [inline, static]

Static method for returning the raw ADCvalue from a PHA value.

Parameters:
value - A PHA value
Returns:
The raw ADCvalue value

unsigned ACDpha::datum (  )  const [inline]

Method for returning the PHA value the class was constructed with.

Returns:
The PHA value

unsigned ACDpha::more (  )  const [inline]

Method for returning the more bit from a PHA value.

Returns:
The more bit's value

unsigned ACDpha::more ( unsigned  value  )  [inline, static]

Static method for returning the more bit from a PHA value.

Parameters:
value - A PHA value
Returns:
The more bit's value

unsigned ACDpha::parityError (  )  const [inline]

Method for returning the parityError value from a PHA value.

Returns:
The parityError value

unsigned ACDpha::parityError ( unsigned  value  )  [inline, static]

Static method for returning the parityError value from a PHA value.

Parameters:
value - A PHA value
Returns:
The parityError value


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