GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > iefc / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

ATF_shadowedTowers2x2.c File Reference

Initializes the data structure which translates a list of struct ACD tiles into a list of shadowed towers. The overlap is a 2x2 grid of ACD tiles for each tower. More...

#include <ATF_shadowedTowersDef.h>

Defines

#define AFT_SHADOWEDTOWERS_2x2_VERSION   0
 A unique identifier for this shadowed tower map.
#define TWR(_n)   (0x8000 >> 0x ## _n)
 Macro to set the bit in a tower mask. This macro is UNDEF'd, but DOXYGEN gives one no alternative except to document.
#define DECLARE_EXTERNAL
 External symbols exported out of shareables need to be have a special declaration.

Variables

DECLARE_EXTERNAL const
ATF_shadowedTowers 
ATF_ShadowedTowers2x2
 Controls which tiles shadow which towers.


Detailed Description

Initializes the data structure which translates a list of struct ACD tiles into a list of shadowed towers. The overlap is a 2x2 grid of ACD tiles for each tower.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: ATF_shadowedTowers2x2.c,v 1.4 2011/11/14 17:56:36 russell Exp $

Variable Documentation

DECLARE_EXTERNAL const ATF_shadowedTowers ATF_ShadowedTowers2x2

Controls which tiles shadow which towers.

This is a readonly data structure. It consists of 3 arrays indexed by tile number. The first array controls the top tiles and the other two array controls the X & Y side tiles. Symmetry allows one to use the X/Y maps for both the ends. The maps are packed in MSB order, ie tower 0 is the MSB bit. This is consistent with the FFSL routine.


Generated on Wed Jan 4 14:32:30 2012 by  doxygen 1.5.8