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


Interface   Data Structures   File List   Data Fields   Globals  

QSE_acdRemap.h File Reference

Defines the remapping structures to take one from electronics space to geographical space. More...

#include "QSE/QSE_acd.h"

Classes

struct  _QSE_acdRemapBrd
 Structure defining the remapping the ACD data on a single board from electronics space into the standard 4 geographically oriented lists. More...
struct  _QSE_acdRemap
 Defines the information necessary to remap all ACD information laid out in electronics space to a geographical space. More...

Typedefs

typedef struct
_QSE_acdRemapBrd 
QSE_acdRemapBrd
 Typedef for struct _QSE_acdRemapBrd.
typedef struct
_QSE_acdRemap 
QSE_acdRemap
 Typedef for struct _QSE_acdRemap.


Detailed Description

Defines the remapping structures to take one from electronics space to geographical space.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: QSE_acdRemap.h,v 1.2 2005/11/18 01:32:33 russell Exp $

Typedef Documentation

QSE_acdRemap

Typedef for struct _QSE_acdRemap.

This is basically just an array of the remap structures QSE_acdRemapBrd for each of the 12 FREE boards.

QSE_acdRemapBrd

Typedef for struct _QSE_acdRemapBrd.

This is a fairly complicated structure whose layout is driven by the code. These arrays define the mapping from electronics space, i.e. channels on a particular FREE boards, to geometric space, i.e. tiles on the 5 faces, top (XY) and the 4 side planes (XZ-,XZ+,YZ-,YZ+). There are 3 remapping arrays.

The first array is a series of masks, one for each of the geometrically oriented lists. For a given list of 18 channels on a FREE board, each mask projects out only those channels of the corresponding geometrical list.

The next array is indexed by electronics channel and yields the corresponding channel within the context of its geographical list. This array may contain the same geometrical channel more than once, but, by virtue of using the first array to project out only those channels belonging to a particular geometrical list, the duplicate channels will never direct more than one electronics channel to a single geometrical channel. In fact, the first mask is just a bit list of the channels in this array belonging to a single geometrical list.

The final array remaps a PHA value in electronics space into an array indexed by geometrical index. This array is differs from the previous array only by having the geometrical list index as part of the output index. That is, the output index is in a flat space from 0 to the number of actual tiles/ribbons. The other two arrays are merely rearrangements of the information in this array.


Generated on Thu Sep 2 14:54:56 2010 by  doxygen 1.5.3