Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

GLTcontribution Class Reference

Class for decoding a GLT's contribution to an EBFevent. More...

#include <GLTcontribution.h>

Inheritance diagram for GLTcontribution:

Inheritance graph
[legend]
Collaboration diagram for GLTcontribution:

Collaboration graph
[legend]
List of all members.

Public Member Functions

char * data ()
 Return a pointer to the contribution's payload.
const struct timespec * timeStamp () const
 Return the timespec structure found in the data.
const OSWtimeBasetimebase () const
 Return the 64 bit timebase value found in the data as two unsigneds.

Detailed Description

Class for decoding a GLT's contribution to an EBFevent.

This class provides access to software generated time stamps.

This class exists to support data taken before the GASU came into existance. Data that falls into this catagory is labeled with the EBFevent::ID_1 typeId. Data taken after this point contains this time stamp information as well, but in the form of an OSWtimeContribution.

Author:
R. Claus -- GLAST LAT I&T/Online - (claus@slac.stanford.edu)
Revision
1.1
Date:
January 26, 2003 -- Created
Id
GLTcontribution.h,v 1.1 2004/04/02 01:56:50 claus Exp

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


Member Function Documentation

char * GLTcontribution::data  )  [inline]
 

Return a pointer to the contribution's payload.

Returns:
A pointer to the contribution's payload

const OSWtimeBase * GLTcontribution::timebase  )  const [inline]
 

Return the 64 bit timebase value found in the data as two unsigneds.

The timebase value comes from a PPC register that increments at a rate given by the board's implementation. Ric hasn't been able to find any supporting documentation giving the rate, but one measurement gives 16.6667 MHz.

Returns:
A pointer to the timebase structure

const struct timespec * GLTcontribution::timeStamp  )  const [inline]
 

Return the timespec structure found in the data.

The timestamp value comes from the VxWorks real-time clock. The clock is periodically updated. The period is settable through software, but defaults to 60 Hz.

Returns:
A pointer to the timespec structure


The documentation for this class was generated from the following file:
Generated on Thu Sep 29 12:13:40 2005 for LDF v05-07-00 by doxygen 1.3.9.1