GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-12-1 > edsprint / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

ACD_names.c File Reference

The routines and data to give the standard names of the ACD cables and offline addresses. More...

#include <EDS/ACD_map.h>

Functions

int ACD_tileNameG (int tile)
 Returns (of all things) a decimally encoded version of the offline tile name.
int ACD_tileNameE (int cable, int chn)
 Returns (of all things) a decimally encoded version of the offline tile name.

Variables

const char ACD_CableNames [12][4]
 The names of the 12 ACD cables as a NULL terminated 3 character string.


Detailed Description

The routines and data to give the standard names of the ACD cables and offline addresses.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: ACD_names.c,v 1.2 2011/03/25 22:16:55 russell Exp $

Function Documentation

int ACD_tileNameE ( int  cable,
int  chn 
)

Returns (of all things) a decimally encoded version of the offline tile name.

Returns:
A decimally encoded version of the offline tile name.
Parameters:
cable The electronics cable/free broad number (0-11)
chn The electronics (free board) channel number (0-17)
The normal use of this is as a pseudo-string, dropping this value in a formatted print with a 4u encoding format.

References ACD__mapEtoG(), and ACD_tileNameG().

Referenced by row_print().

int ACD_tileNameG ( int  tile  ) 

Returns (of all things) a decimally encoded version of the offline tile name.

Returns:
A decimally encoded version of the offline tile name.
Parameters:
tile The geometric tile number (0-255).
The normal use of this is as a pseudo-string, dropping this value in a formatted print with a 4u encoding format.

Referenced by ACD_tileNameE(), and printPhas().


Variable Documentation

const char ACD_CableNames[12][4]

Initial value:

{
    "1LA", "1RB", "2LA", "2LB", "2RA", "2RB",
    "3LA", "3RB", "4LA", "4LB", "4RA", "4RB"
}
The names of the 12 ACD cables as a NULL terminated 3 character string.

Referenced by ACD__cableName(), and title_print().


Generated on Wed Nov 21 18:40:23 2012 by  doxygen 1.5.8