GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V1-6-3

Constituent: qseprint     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

QSE_acdMap.h File Reference

Defines the interface to the mapping arrays that translate between ACD electronics channel numbering and ACD geometric channel numbering. More...

This graph shows which files directly or indirectly include this file:


Functions

static __inline unsigned char QSE__acdMapEdx (int board, int channel)
 Returns the electronics index of an ACD channel by its FREE board (or cable) number and its FREE board channel number.
static __inline unsigned char QSE__acdMapEtoG (int board, int channel)
 Remaps an ACD electronics channel, defined by its FREE board (or cable) number and its FREE board channel number to its corresponding geometic (or GEM) channel number.
static __inline unsigned char QSE__acdMapGdx (int list, int channel)
 Returns the geometric or GEM index for the tile specified by its GEM list identifier and channel number within the list.
static __inline unsigned char QSE__acdMapGtoE (int list, int channel)
 Remaps an ACD geometric (or GEM) tile, specified by its list id (XZ , YZ, XY, RGN) and channel number, into its equivalent electronics channel index/number defined by its FREE board (or cable) number and its FREE board channel number. See QSE__acdMapEdx for the definition of electronics index.

Variables

const unsigned char QSE_AcdMapEtoG [256]
const unsigned char QSE_AcdMapGtoE [256]

Detailed Description

Defines the interface to the mapping arrays that translate between ACD electronics channel numbering and ACD geometric channel numbering.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: QSE_acdMap.h,v 1.1 2006/02/21 22:19:21 russell Exp $

Function Documentation

static __inline unsigned char QSE__acdMapEdx int  board,
int  channel
[static]
 

Returns the electronics index of an ACD channel by its FREE board (or cable) number and its FREE board channel number.

Parameters:
board The FREE board/cable number
channel The FREE board channel number
This defines the electronics index for the 18 channels or each of the 12 FREE boards. The electronics index actually covers the range 0-255 in order to match the space covered by the geometric index. The electronics index can be broken into three distinct pieces

  1. Assigned, electronics channels that service a tile
  2. Not Assigned, electronics channels that do not service a tile
  3. Non Existent, these are values >= 192 that do map to an electronics channel They exist merely for convenience so that one can conveniently map all geometric channels into electronics space and back again.

The value returned by this function can be used to index the ACD array used to map a electronics index to a geometric index, QSE_AcdMapEtoG.

static __inline unsigned char QSE__acdMapEtoG int  board,
int  channel
[static]
 

Remaps an ACD electronics channel, defined by its FREE board (or cable) number and its FREE board channel number to its corresponding geometic (or GEM) channel number.

Returns:
The equivalanet geometric (or GEM) channel number.
Parameters:
board The FREE board/cable number
channel The FREE board channel number

static __inline unsigned char QSE__acdMapGdx int  list,
int  channel
[static]
 

Returns the geometric or GEM index for the tile specified by its GEM list identifier and channel number within the list.

Parameters:
list The list identifier, (0-3)
  • XZ plane = list 0,
  • YZ plane = list 1,
  • XY plane = list 2
  • RBN ribbons and not assigned channels = list 3
channel The channel within the list (0-31). This is in a little endian sense, where the least significant bit is channel 0.
The value returned by this function can be used to index the ACD array used to map a geometric index to a electronics index, QSE_AcdMapGtoE.

static __inline unsigned char QSE__acdMapGtoE int  list,
int  channel
[static]
 

Remaps an ACD geometric (or GEM) tile, specified by its list id (XZ , YZ, XY, RGN) and channel number, into its equivalent electronics channel index/number defined by its FREE board (or cable) number and its FREE board channel number. See QSE__acdMapEdx for the definition of electronics index.

Returns:
The equivalent electronics channel number
Parameters:
list The list identifier, (0-3)
  • XZ plane = list 0,
  • YZ plane = list 1,
  • XY plane = list 2
  • RBN ribbons and not assigned channels = list 3
channel The channel within the list (0-31). This is in a little endian sense, where the least significant bit is channel 0.


Generated on Thu Jul 12 01:44:47 2007 by  doxygen 1.4.4