GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > defc / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

ATF_shadowedTowers.h File Reference

Determines which TEM towers are shadowed by which ACD tiles. More...


Functions

unsigned short int ATF_shadowedTowersFind (const ATF_shadowedTowers *shadowed, unsigned int acd_x, unsigned int acd_y, unsigned int acd_z)
 Calculates which towers are shadowed.

Variables

const ATF_shadowedTowers ATF_ShadowedTowers2x2
 Controls which tiles shadow which towers.


Detailed Description

Determines which TEM towers are shadowed by which ACD tiles.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: ATF_shadowedTowers.h,v 1.3 2011/11/14 17:56:35 russell Exp $

Function Documentation

unsigned short int ATF_shadowedTowersFind ( const ATF_shadowedTowers shadowed,
unsigned int  acd_x,
unsigned int  acd_y,
unsigned int  acd_z 
)

Calculates which towers are shadowed.

Returns:
Right justify 16-bit mask (MSB = Tower 0) of the shadowed towers
Parameters:
shadowed The tower shadowing structure
acd_x The bit mask of struck tiles in the X+/X- side face.
acd_y The bit mask of struck tiles in the Y+/Y- side face.
acd_z The bit mask of struck tiles in the Z top face.

References ATF__shadowedTowersByTop(), ATF__shadowedTowersByXM(), ATF__shadowedTowersByXP(), ATF__shadowedTowersByYM(), and ATF__shadowedTowersByYP().


Variable Documentation

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 Fri Jan 11 11:15:09 2013 by  doxygen 1.5.8