GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EDS / V2-10-0

Constituent: eds     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

_EDR_tkrTower Struct Reference

Structure containing the unpacked TKR data for this tower. More...

#include <EDR_tkr.h>

Collaboration diagram for _EDR_tkrTower:

Collaboration graph
[legend]

List of all members.

Public Attributes

unsigned char id
unsigned char lecnt
unsigned char lexycnts [2]
unsigned short int totOffset
unsigned short int len
unsigned int xyLoHiCnts
int layerMaps [2]
int playerMaps [2]
const unsigned int rsvd [2]
EDR_tkrLayer layers [EDA_TKR_K_LAYERS_PER_TOWER]


Detailed Description

Structure containing the unpacked TKR data for this tower.

Member Data Documentation

unsigned char _EDR_tkrTower::id

Tower number

unsigned char _EDR_tkrTower::lecnt

Total number of layer ends with active strips. By implication, this is also the number of TOTs. This number is just lecnts[0] + lecnt[1]

unsigned char _EDR_tkrTower::lexycnts[2]

Count of number X (0) and Y (1) layer ends with active strips

unsigned short int _EDR_tkrTower::totOffset

Byte offset to the first TOT in the raw TKR record This number can be used to derive the total number of active strips on this layer, see the inline EDR__tkrTowerNstrips

unsigned short int _EDR_tkrTower::len

Length in bytes of raw record. This does not include any end of record padding,

unsigned int _EDR_tkrTower::xyLoHiCnts

Count of Xlo, Xhi, Ylo, Yhi layer ends struck. This is packed from MSB to LSB as Xlo | Xhi | Ylo | Yhi

int _EDR_tkrTower::layerMaps[2]

Bit map of the struck x,y layers, LSB = layer 0, Note that if one uses the FFS function to scan this list, either

  1. The returned value should be transformed as n ^= 31 or
  2. The following construct should be used

               EDR_tkrLayer *layers = tkr->twrs[ntwr].layers[31];
               int                n = FFS (tkr->twrs[ntwr].layerMap[xy]
               EDR_tkrLayer *layer  = layers - n;

int _EDR_tkrTower::playerMaps[2]

Scratch pad copy of the layer maps used by pattern recognition

const unsigned int _EDR_tkrTower::rsvd[2]

This is needed to keep the structure the same length as it was when loHiLayerMaps was an active member

EDR_tkrLayer _EDR_tkrTower::layers[EDA_TKR_K_LAYERS_PER_TOWER]

< Bit map of struck layers; 0 = Xlo, 1 = Xhi, 2 = Ylo, 3 = Yhi Layer descriptions


The documentation for this struct was generated from the following file:
Generated on Sat Jun 20 01:26:09 2009 by  doxygen 1.5.3