GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V1-6-4
Constituent: qse     Tag: linux-gcc
#include "QSE/QDF_tkr.h"
#include "QSE/QDF_exc.h"
#include "QSE/QSE_tkr.h"
#include "QDF_tkr_def.h"
#include "QDF_exc_def.h"
#include "EDS/FFS.h"
#include "LDT/BFU.h"
#include "LDT/BWU.h"
#include "LDT/BIT.h"
#include "dprintf.h"
#include "qdf_tkr_std_dbg.h"
Include dependency graph for QDF_tkr_std.c:
Defines | |
#define | _get_strip(_bfu, _src, _pos, _strip, _nbits) |
Gets the next strip from the input stream. | |
Functions | |
static __inline BFU | tkr_std_unpack_twr_maps (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR tower map and the tower class map. | |
static __inline BFU | tkr_std_unpack_lyr_maps (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR layer maps. | |
static __inline BFU | tkr_std_unpack_cnts (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR layer hit count. | |
static __inline BFU | tkr_std_unpack_hits (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR hit strips. | |
static __inline BFU | tkr_std_unpack_cwidths (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR cluster widths. | |
static __inline BFU | tkr_std_unpack_tots (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR TOT values. | |
BFU | QDF_tkrStdDecode (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR. | |
static __inline BFU | layer_map_unpack (unsigned int *map, const unsigned int *src, unsigned int max, BFU bfu) |
Unpacks the 18-bit X and Y layer maps. | |
static __inline QSE_tkrLyr * | tower_and_layer_init (QDF_tkrTwr *twr, int twrNum, QSE_tkrLyr *lyr) |
Initializes portions of the tower and layer structures mainly concerned with the hit layers. | |
static __inline BFU | layer_unpack_cmaps (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the TKR layer hit count. | |
static __inline BFU | layer_unpack_cnts_serial (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the number of counts in the layers where the count is not derivable from either the tower class or the strip ordering. The counts are represented as a number of consecutive 1s. | |
static __inline BFU | layer_unpack_cnts_field (QDF_tkrCtx *ctx, QDF_tkrEvt *evt, const unsigned int *src, const unsigned int max, BFU bfu) |
Decodes the number of counts in the layers where the count is not derivable from either the tower class or the strip ordering. The counts are represented as a bit field. The first 3 bits gives the width of the bit field as a power of 2. | |
static __inline int | establish_split_points (const QDF_tkrSplits *splits, QDF_tkrEvt *tkr) |
Uses the split point array to establish the lo and hi layer maps and count of layer ends, and hence, the number of TOTs. | |
static __inline int | find_split_point (const QDF_tkrCluster *clusters, int nclusters, int hiLo, QDF_tkrSplitsLimit limit, int twr, int lyr, QDF_exc *exc) |
Finds the split point for the given set of clusters. |
CVS $Id: QDF_tkr_std.c,v 1.5 2007/02/15 00:59:45 russell Exp $
|
Value: ( _strip = _bfu_extractBR (_bfu, _src, _pos), \
\
/* If the MSB is set, the next bit most be a 0 */ \
_nbits = 10 - _strip, \
(_strip <<10) | _bfu_extractR (_bfu, _src, _pos, _nbits))
|
|
Uses the split point array to establish the lo and hi layer maps and count of layer ends, and hence, the number of TOTs.
|
|
Finds the split point for the given set of clusters.
|
|
Unpacks the 18-bit X and Y layer maps.
After reconstituting these three values, the value of the X and Y layer maps can be recovered by first
|
|
Decodes the TKR layer hit count.
|
|
Decodes the number of counts in the layers where the count is not derivable from either the tower class or the strip ordering. The counts are represented as a bit field. The first 3 bits gives the width of the bit field as a power of 2.
|
|
Decodes the number of counts in the layers where the count is not derivable from either the tower class or the strip ordering. The counts are represented as a number of consecutive 1s.
|
|
Decodes the TKR.
|
|
Decodes the TKR layer hit count.
|
|
Decodes the TKR cluster widths.
|
|
Decodes the TKR hit strips.
|
|
Decodes the TKR layer maps.
|
|
Decodes the TKR TOT values.
|
|
Decodes the TKR tower map and the tower class map.
|
|
Initializes portions of the tower and layer structures mainly concerned with the hit layers.
|