GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-2 > qse / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QDF_tkr_def.h File Reference

Maps out the data structure used to decode and receive the decoded TKR data. More...

#include <QSE/QDF_tkrCache.h>
#include <QSE/QSE_tkr.h>
#include <EDS/EDR_tkr.h>
#include <EDS/EBF_tkr.h>
#include <LDT/BFP.h>
#include <PBI/FFS.ih>
#include <dprintf.h>

Classes

struct  _QDF_tkrSplitsLimit
 Defines the low and high strip numbers for each layer end. More...
union  _QDF_tkrSplitsLayer
 The lo and hi split points for one layer expressed as a union of field definition and an array definition. More...
union  _QDF_tkrSplitsTower
 The lo and hi split points for one tower expressed as a union of field definition and an array definition. More...
union  _QDF_tkrSplits
 The lo and hi split points for entire TKR expressed as a union of field definition and an array definition. More...
struct  _QDF_tkrCtx
 The data used in decoding the compressed data. More...
struct  _QDF_tkrCluster
struct  _QDF_tkrClusterDsc
struct  _QDF_tkrLyr
struct  _QDF_tkrTwrErrZcopy
 Data reneeded to reconstitute a tower in error when the TKR data is zcopied. More...
struct  _QDF_tkrTwrErrTimeoutLzs
 Data needed to reconstitute the leading zeroes for the CCs with timeout errors is a timeout tower. More...
struct  _QDF_tkrTwrErrData
 Holds all the data associated with an erroring tower. More...
struct  _QDF_tkrTwrErrTots
 Holds decoded TOTs stored in a dense fashion. More...
struct  _QDF_tkrTwrErrTimeout
 Data needed to reconstitute a tower in error when the TKR is a timeout tower. More...
union  _QDF_tkrTwrErr
 Data needed to reconstitute a tower in error. More...
struct  _QDF_tkrTwr
struct  _QDF_tkrBsa
 The tracks bulk storage area. More...
struct  _QDF_tkrEvt
 Temporary structure to hold the TKR event as it is being decoded. More...

Defines

#define QDF_TKRSPLITSSLAYER_TD
#define QDF_TKRSPLITSSTOWER_TD
#define CLUSTERS_MAX   (16 * 8 * 128)

Typedefs

typedef struct _QDF_esbEvt QDF_esbEvt
typedef struct _QDF_errEvt QDF_errEvt
typedef struct _QDF_exc QDF_exc
typedef struct _EBF_gem EBF_gem
typedef struct _QDF_tkrSplitsLimit QDF_tkrSplitsLimit
 Typedef for _QDF_tkrSplitsLimit.
typedef union _QDF_tkrSplitsLayer QDF_tkrSplitsLayer
 Typedef for union _QDF_tkrSplitsLayer.
typedef union _QDF_tkrSplitsTower QDF_tkrSplitsTower
 Typedef for union _QDF_tkrSplitsTower.
typedef union _QDF_tkrSplits QDF_tkrSplits
 Typedef for union _QDF_tkrSplits.
typedef struct _QDF_tkrCtx QDF_tkrCtx
 Typedef for struct _QDF_tkrCtx.
typedef struct _QDF_tkrCluster QDF_tkrCluster
typedef struct _QDF_tkrClusterDsc QDF_tkrClusterDsc
typedef struct _QDF_tkrLyr QDF_tkrLyr
typedef struct _QDF_tkrTwrErrZcopy QDF_tkrTwrErrZcopy
 Typedef for struct _QDF_tkrTwrErrZcopy.
typedef struct
_QDF_tkrTwrErrTimeoutLzs 
QDF_tkrTwrErrTimeoutLzs
 Typedef for struct _QDF_tkrTwrErrTimeoutLzs.
typedef struct _QDF_tkrTwrErrData QDF_tkrTwrErrData
 Typedef QDF_tkrTwrErrData for struct _QDF_tkrTwrErrData.
typedef struct _QDF_tkrTwrErrTots QDF_tkrTwrErrTots
 Typedef QDF_tkrTwrErrTots for struct _QDF_tkrTwrErrTots.
typedef struct
_QDF_tkrTwrErrTimeout 
QDF_tkrTwrErrTimeout
 Typedef for struct _QDF_tkrTwrErrTimeout.
typedef union _QDF_tkrTwrErr QDF_tkrTwrErr
 Typedef for struct _QDF_tkrTwrErr.
typedef struct _QDF_tkrTwr QDF_tkrTwr
typedef struct _QDF_tkrBsa QDF_tkrBsa
 Typedef for struct _QDF_tkrBsa.
typedef struct _QDF_tkrEvt QDF_tkrEvt

Functions

static __inline QDF_tkrCluster * add_cluster (QDF_tkrCluster *cluster, int strip, int width)
 Initializes the specified cluster with the strip address and width.
static __inline unsigned int remapTkrMap (unsigned int map)
 Remaps one 18-bit map into two 9-bit even and odd maps.
static __inline unsigned int repackTkrMaps (unsigned int *dst, const unsigned int *maps)
 Repacks the 4 18-bit sorted tracker maps, xLo, xHi, yLo, yHi, into the 8 9-bit tracker cable maps.


Detailed Description

Maps out the data structure used to decode and receive the decoded TKR data.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: QDF_tkr_def.h,v 1.6 2011/03/27 01:45:44 russell Exp $

Typedef Documentation

Typedef for struct _QDF_tkrBsa.

This is the bulk storage area for the actual tracker data. All the other structures are merely pointers into this area


Function Documentation

static __inline QDF_tkrCluster * add_cluster ( QDF_tkrCluster *  cluster,
int  strip,
int  width 
) [static]

Initializes the specified cluster with the strip address and width.

Returns:
The next cluster to construct
Parameters:
cluster The target cluster
strip The strip address
width The width of the cluster

Referenced by tkr_std_unpack_hits().

static __inline unsigned int remapTkrMap ( unsigned int  map  )  [static]

Remaps one 18-bit map into two 9-bit even and odd maps.

Returns:
The remap map
Parameters:
map The right justified bit map to repack. The LSB is layer 0
The repacking is into 2 9-bit quantities

  • 0, odd layers
  • 1, even layers

Referenced by repackTkrMaps().

static __inline unsigned int repackTkrMaps ( unsigned int *  dst,
const unsigned int *  maps 
) [static]

Repacks the 4 18-bit sorted tracker maps, xLo, xHi, yLo, yHi, into the 8 9-bit tracker cable maps.

Returns:
The next bit write position (always 72)
Parameters:
dst The destination array
maps The array of 4 tracker maps

References _QDF_tkrEvt::map, and remapTkrMap().

Referenced by QDF_dgn_gen_tkr_accept_decode(), and QDF_tkrRepack().


Generated on Wed Nov 30 00:12:59 2011 by  doxygen 1.5.8