GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-5 > acd_maptest / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

acd_maptest.c File Reference

Tests the mappings to and from electronics and geometric spaces. More...

#include <EDS/ACD_map.h>
#include <EDS/ACD_print.h>
#include <EDS/ACD_names.h>
#include <stdio.h>

Functions

static int check_EtoG (void)
static void print_names_EtoG (void)
static void print_names_GtoE (void)
int main (int argc, const char **arg)


Detailed Description

Tests the mappings to and from electronics and geometric spaces.

Author:
JJRussell - russell@slac.stanford.edu

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

There are two parts. The first, by necessity is a manual test. The mapping of the electronics channel, specified by cable and channel number, its geometric space is a hand operation. One should compare this numbering with that in the GEM document.

The second part can be automated. It checks for consistency in the electronics to geometric and geometric to electronics maps.


Generated on Tue Nov 29 17:58:34 2011 by  doxygen 1.5.8