GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > eds / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

EDR_acdRemap.h File Reference

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

#include <EDS/EDA_acd.h>

Classes

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

Typedefs

typedef struct _EDR_acdRemapBrd EDR_acdRemapBrd
 Typedef for struct _EDR_acdRemapBrd.
typedef struct _EDR_acdRemap EDR_acdRemap
 Typedef for struct _EDR_acdRemap.


Detailed Description

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

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: EDR_acdRemap.h,v 1.4 2011/03/25 22:16:56 russell Exp $

Typedef Documentation

Typedef for struct _EDR_acdRemap.

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

Typedef for struct _EDR_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 27 13:52:20 2012 by  doxygen 1.5.8