GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EFC / V4-2-2

Constituent: efc     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

ATF_shadowedTowers.ih File Reference

Defines the inline interface needed to translate a list of tiles into a list of shadowed towers. More...

#include "ATF_shadowedTowersDef.h"
#include "EDS/FFS.h"

Include dependency graph for ATF_shadowedTowers.ih:

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


Defines

#define ATF_K_FACE_SIDE_CNT   15
 MSB number of an ACD side face -- internal use only.
#define ATF_K_FACE_TOP_CNT   25
 MSB number of an ACD top face -- internal use only.

Functions

static __inline int ATF__shadowedTowersGet (const unsigned short *twrsByTile, int tiles, int validCnt)
 Constructs a bit list of towers to which are shadowed by the specified list of tiles.
static __inline int ATF__shadowedTowersByTop (const ATF_shadowedTowers *cfg, int tiles)
 Constructs a bit list of towers to which are shadowed by the specified list of top ACD tiles.
static __inline int ATF__shadowedTowersByXM (const ATF_shadowedTowers *cfg, int tiles)
 Constructs a bit list of towers to which are shadowed by the specified list of side X- ACD tiles.
static __inline int ATF__shadowedTowersByXP (const ATF_shadowedTowers *cfg, int tiles)
 Constructs a bit list of towers to which are shadowed by the specified list of side X+ ACD tiles.
static __inline int ATF__shadowedTowersByYM (const ATF_shadowedTowers *cfg, int tiles)
 Constructs a bit list of towers to which are shadowed by the specified list of side Y- ACD tiles.
static __inline int ATF__shadowedTowersByYP (const ATF_shadowedTowers *cfg, int tiles)
 Constructs a bit list of towers to which are shadowed by the specified list of side Y+ ACD tiles.

Detailed Description

Defines the inline interface needed to translate a list of tiles into a list of shadowed towers.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: ATF_shadowedTowers.ih,v 1.1 2006/04/06 18:12:24 russell Exp $

Function Documentation

static __inline int ATF__shadowedTowersByTop const ATF_shadowedTowers cfg,
int  tiles
[static]
 

Constructs a bit list of towers to which are shadowed by the specified list of top ACD tiles.

Returns:
The bit list of towers shadowed by the struck tiles.
Parameters:
cfg Control structure containing the array which will translate top ACD tile numbers into a into a bit list of shadowing towers.
tiles A bit mask of the struck TOP tiles.

static __inline int ATF__shadowedTowersByXM const ATF_shadowedTowers cfg,
int  tiles
[static]
 

Constructs a bit list of towers to which are shadowed by the specified list of side X- ACD tiles.

Returns:
The bit list of towers shadowed by the struck tiles.
Parameters:
cfg Control structure containing the array which will translate X- ACD tile numbers into a into a bit list of shadowing towers.
tiles A bit mask of the X- struck tiles.

static __inline int ATF__shadowedTowersByXP const ATF_shadowedTowers cfg,
int  tiles
[static]
 

Constructs a bit list of towers to which are shadowed by the specified list of side X+ ACD tiles.

Returns:
The bit list of towers shadowed by the struck tiles.
Parameters:
cfg Control structure containing the array which will translate X+ ACD tile numbers into a into a bit list of shadowing towers.
tiles A bit mask of the X+ struck tiles.

static __inline int ATF__shadowedTowersByYM const ATF_shadowedTowers cfg,
int  tiles
[static]
 

Constructs a bit list of towers to which are shadowed by the specified list of side Y- ACD tiles.

Returns:
The bit list of towers shadowed by the struck tiles.
Parameters:
cfg Control structure containing the array which will translate Y- ACD tile numbers into a into a bit list of shadowing towers.
tiles A bit mask of the Y- struck tiles.

static __inline int ATF__shadowedTowersByYP const ATF_shadowedTowers cfg,
int  tiles
[static]
 

Constructs a bit list of towers to which are shadowed by the specified list of side Y+ ACD tiles.

Returns:
The bit list of towers shadowed by the struck tiles.
Parameters:
cfg Control structure containing the array which will translate Y+ ACD tile numbers into a into a bit list of shadowing towers.
tiles A bit mask of the Y+ struck tiles.

static __inline int ATF__shadowedTowersGet const unsigned short *  twrsByTile,
int  tiles,
int  validCnt
[static]
 

Constructs a bit list of towers to which are shadowed by the specified list of tiles.

Returns:
The bit list of towers shadowed by the struck tiles.
Parameters:
twrsByTile Table containing arrays which will translate ATF tile numbers into a into a bit list of shadowing towers.
tiles A bit mask of the struck tiles in the face being considered.
validCnt Number of valid bits in the tiles bit array.
This routine is not part of the public interface. The user should call either ATF__shawdowedTowersSideGet or ATF__shadowedTowersTopGet.


Generated on Fri Sep 5 01:20:55 2008 by  doxygen 1.4.4