GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSSP / V0-0-1

Constituent: qssp_print     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSSP_sample.h File Reference

Defines a standard Science Statistics Physics sample. More...

#include "QSD/QSD_timetone.h"

Include dependency graph for QSSP_sample.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  _QSSP_timetones
 Captures the information needed to convert a GEM event clock register value into an absolute time. More...
struct  _QSSP_point
 Captures the information needed to uniquely identify a point in the event stream (like the beginning and ending by sequence and time. More...
struct  _QSSP_span
 Defines the beginning and ending of when the sample was taken. More...
struct  _QSSP_statistics
 One set of the statistics. More...
struct  _QSSP_sample
 One statistics sample. More...

Typedefs

typedef _QSSP_timetones QSSP_timetones
 Typedef for struct _QSSP_timetones.
typedef _QSSP_point QSSP_point
 Typedef for _QSSP_point.
typedef _QSSP_span QSSP_span
 Typedef for struct _QSSP_span.
typedef enum _QSSP_type QSSP_type
 Typedef for enum _QSSP_type.
typedef _QSSP_statistics QSSP_statistics
 Typedef for struct _QSSP_statistics.
typedef _QSSP_sample QSSP_sample
 Typedef for struct _QSSP_sample.

Enumerations

enum  _QSSP_type {
  QSSP_TYPE_K_GLOBAL_BEG = 0,
  QSSP_TYPE_K_NORMAL = 1,
  QSSP_TYPE_K_GLOBAL_END = 2
}
 The statistics sample type. More...

Detailed Description

Defines a standard Science Statistics Physics sample.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: QSSP_sample.h,v 1.1.1.1 2008/04/02 01:19:26 russell Exp $

Typedef Documentation

QSSP_point
 

Typedef for _QSSP_point.

This structure is used to uniquely identify an event in both time and sequence. As such, it contains enough information to calculate the absolute time of the event. To do this one needs the GEM clock frequency which can be got in an assumption free fashion by capturing the GEM clock value on two successive timetone/1PPS hacks. The difference in the GPS timetone messages gives one the elapsed seconds and the difference in the GEM clock register values gives how many clock ticks have passed during this period.
The event sequence number is merely the GEM sequence number extended by watching how many times this sequence counter overflows. (Overflow is defined as going from a given value to a lower value.) While this is an easy enough value to compute, the writer is encouraged to use the value from EDS_fwIxb. This will ensure agreement when readers examine data from different statistics blocks.
Note:
This structure exists so that it may passed to a convenience routine (likley within THS) for easy filling.


Enumeration Type Documentation

enum _QSSP_type
 

The statistics sample type.

Enumerator:
QSSP_TYPE_K_GLOBAL_BEG  Beginning global record
QSSP_TYPE_K_NORMAL  Normal update record
QSSP_TYPE_K_GLOBAL_END  Ending global record


Generated on Tue Apr 15 01:27:07 2008 by  doxygen 1.4.4