GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-2 > qse / linux-gcc
#include <PBI/Endianness.h>
Classes | |
struct | _QSE_tkrLyr |
Information about the hit strips in one layer. More... | |
struct | _QSE_tkrTwr |
Structure containing the unpacked TKR data for this tower. More... | |
struct | _QSE_tkr |
Structure containing the unpacked TKR data for all towers. More... | |
Defines | |
#define | QSE_TKR_K_LAYERS_PER_TOWER 36 |
The number of layers (both x and y) in a tower. | |
#define | QSE_TKR_K_STRIPS_PER_LAYER_MAX (2 * 64) |
The maximum number of strips a given layer (both ends) can have. | |
#define | QSE_TKR_K_STRIPS_MAX |
The maximum number of strips a given event can have. | |
#define | QSE_TKR_TWRMAP_INIT 0x1 |
Value of the tower map for tower 0. | |
#define | QSE_TKR_TWRMAP(_twrNum) (QSE_TKR_TWRMAP_INIT << (_twrNum)) |
Constructs the appropriate bit mask for the twrMap field in the QSE_tkr structure. | |
Typedefs | |
typedef unsigned short int | QSE_tkrTwrMap |
Abstract typedef for a TKR tower map. | |
typedef unsigned short int | QSE_tkrStrip |
The internal representation of a strip address. | |
typedef struct _QSE_tkrLyr | QSE_tkrLyr |
Typedef for struct _QSE_tkrLyr. | |
typedef enum _QSE_TKRLYR_TOTS_K | QSE_TKRLYR_TOTS_K |
Typedef for QSE_TKRLYR_TOTS_K. | |
typedef enum _QSE_TKRLYR_HILO_M | QSE_TKRLYR_HILO_M |
Typedef for QSE_TKRLYR_HILO_M. | |
typedef struct _QSE_tkrTwr | QSE_tkrTwr |
Typedef for struct _QSE_tkrTwr. | |
typedef struct _QSE_tkr | QSE_tkr |
Typedef for struct _QSE_tkr. | |
Enumerations | |
enum | _QSE_TKRLYR_TOTS_K { QSE_TKRLYR_TOTS_K_LO = 0x0, QSE_TKRLYR_TOTS_K_HI = 0x1 } |
Enumeration of the value used to index the tots field of QSE_tkrLyr structure. | |
enum | _QSE_TKRLYR_HILO_M { QSE_TKRLYR_HILO_M_LO = 0x1, QSE_TKRLYR_HILO_M_HI = 0x2, QSE_TKRLYR_HILO_M_BOTH = 0x3 } |
Enumeration of the masks used to test the hiLo field member of the QSE_tkrLyr structure for the present of the lo, hi or both layer ends. |
CVS $Id: QSE_tkr.h,v 1.3 2011/03/27 01:45:43 russell Exp $
#define QSE_TKR_K_STRIPS_MAX |
Value:
(16 * \ QSE_TKR_K_LAYERS_PER_TOWER * \ QSE_TKR_K_STRIPS_PER_LAYER_MAX)
#define QSE_TKR_TWRMAP | ( | _twrNum | ) | (QSE_TKR_TWRMAP_INIT << (_twrNum)) |
Constructs the appropriate bit mask for the twrMap field in the QSE_tkr structure.
_twrNum | The tower number |
#define QSE_TKR_TWRMAP_INIT 0x1 |
Value of the tower map for tower 0.
Typedef for struct _QSE_tkr.
int twrMap = tkr->map; while (map) { twrNum = QSE_mapScanf (twrMap); twrMap = QSE_mapRemove (twrMap, twrNum); do_something (tkr->twrs + twrNum,....); }
Typedef for struct _QSE_tkrLyr.
This structure captures information about the hit strips in a layer. In a concession to efficiency, the map (actually a bit list) represents the list of unused hits. Technically, one should not mix up the information about the hits in a layer, which really should be read-only after it is initially filled, with the dynamics of pattern recognition.
Note also that this structure is laid out to occupy 4 32 words. This allows one to randomly access the layers in a tower using a shift instead of a multiple.
Typedef for struct _QSE_tkrTwr.
int xMap = twr->lyrMaps[0] while (xMap) { int xNum; cosnt QSE_tkrLyr *lyr; xNum = QSE_mapScanF (xMap); xMap = QSE_mapRemove(xMap, xNum); lyr = twr->lyrs + xNum; do_something (lyr,...) }