GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> TCC_DB / V0-0-1 > tccprint / rhel5-64


Interface   Data Structures   File List   Data Fields   Globals  

tccprint.c File Reference

Prints the Tracker Configuration Database. More...

#include <TCC_DB/TCC_DB_schema.h>
#include <CDM/CDM_pubdefs.h>
#include <stdlib.h>
#include <stdio.h>

Functions

int tccprint (void)
 Acts as both the business end for host platforms or the entry point for embedded systems.
static void tcc_db_print (const TCC_DB_schema *schema)
static int print_split (void *unused, int twr, int lyr, int lo, int hi)
static int print_strips (void *unused, int twr, int lyr, int strip, int cnt)
static void reportUsage (void)
 Prints a terse message on usage.
int main (int argc, char **argv)
 Main program to print the contents of a TCC_DB.


Detailed Description

Prints the Tracker Configuration Database.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: tccprint.c,v 1.2 2011/03/25 21:34:08 apw Exp $

This is a simple program to check the Tracker Database It mainly useful when creating a new tracker configuraion database as a confirmation tool that 'you got it right'
To run the program
    $ tccprint <tcc_database>

      where
      tcc_database The full name of the CDM geometry shareable

This works at for both hosts and VXWORKS embedded systems. It assumes the Tracker Database (DB) instance is 0.

Function Documentation

int main ( int  argc,
char **  argv 
)

Main program to print the contents of a TCC_DB.

Parameters:
argc The argument count
argv The vector of arguments
Usage
      $ tccprint $CMX_B_TCP/sun-gcc/tcp_db_data/libtcp_db_data.so

References reportUsage(), and tccprint().

int tccprint ( void   ) 

Acts as both the business end for host platforms or the entry point for embedded systems.

Warning:
Currently this program assumes that the Tracker Configuration database is instance 0.

References TCC_DB_K_SCHEMA.

Referenced by main().


Generated on Sat Apr 9 17:24:29 2011 by  doxygen 1.5.8