GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-4-1 > qse / rhel6-32
Functions | |
static unsigned int __inline | QSE__tkrUnpackTowerBitStrips (int tower) |
Constructs the bit mask indicating to unpack the strip data for the specified tower number. | |
static unsigned int __inline | QSE__tkrUnpackTowerBitTots (int tower) |
Constructs the bit mask indicating to unpack the TOT data for the specified tower number. | |
int | QSE_tkrUnpack (QSE_tkr *tlr, const EBF_dir *dir) |
Driver routine to unpack the specified TKR towers. | |
int | QSE_tkrUnpackInit (QSE_tkr *tlr) |
Performs one time initialization of a Track LAT record. | |
int | QSE_tkrUnpackSizeof (void) |
Returns the size, in bytes, of a QSE_tkr. |
CVS $Id: QSE_tkrUnpack.h,v 1.2 2005/11/18 01:32:32 russell Exp $
int nbytes = QSE_tkrUnpackSizeof (); QSE_tkr *tkr = (QSE_tkr *)malloc (nbytes); // Initialize the data structure QSE_tkrUnpackInit (tkr); for_each_event { EBF_dirCompose (dir, evt); QSE_tkrUnpack (tkr, dir); }
static unsigned int __inline QSE__tkrUnpackTowerBitStrips | ( | int | tower | ) | [static] |
Constructs the bit mask indicating to unpack the strip data for the specified tower number.
tower | The tower number to construct the bit mask for |
static unsigned int __inline QSE__tkrUnpackTowerBitTots | ( | int | tower | ) | [static] |
Constructs the bit mask indicating to unpack the TOT data for the specified tower number.
tower | The tower number to construct the bit mask for |
int QSE_tkrUnpack | ( | QSE_tkr * | tkr, | |
const EBF_dir * | dir | |||
) |
Driver routine to unpack the specified TKR towers.
tkr | The QSE_tkr record structure to receive the unpacked data | |
dir | The standard directory structure allowing the routine to traverse the LAT event record. |
References _QSE_tkr::map, _QSE_tkr::nstrips, QSE_mapRemove(), QSE_mapScanR(), _QSE_tkr::twrs, and unpackTwr().
int QSE_tkrUnpackInit | ( | QSE_tkr * | tkr | ) |
Performs one time initialization of a Track LAT record.
tkr | Pointer to the structure to initialize |
References _QSE_tkrLyr::beg, _QSE_tkrTwr::lyrs, _QSE_tkr::map, _QSE_tkr::nstrips, _QSE_tkrLyr::num, _QSE_tkrTwr::num, QSE_TKR_K_STRIPS_PER_LAYER_MAX, _QSE_tkr::strips, _QSE_tkrLyr::twr, and _QSE_tkr::twrs.
int QSE_tkrUnpackSizeof | ( | void | ) |
Returns the size, in bytes, of a QSE_tkr.
After allocating an QSE_tkr structure, the structure should be initialized using QSE_tkrUnpackInit().