GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > geoprint / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

geoprint.c File Reference

Prints the geometry used by the filter program. More...

#include <stdlib.h>
#include <stdio.h>
#include <EFC/TFC_geometryPrint.h>
#include <EFC/TFC_geometry.h>
#include <GEO_DB/GEO_DB_schema.h>
#include <CDM/CDM_pubdefs.h>

Functions

int geoprint (void)
 Acts as both the business end for host platforms or the entry point for embedded systems.
static void reportUsage (void)
 Prints a terse message on usage.
int main (int argc, char **argv)
 Main program to print the contents of a GEO_DB.


Detailed Description

Prints the geometry used by the filter program.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: geoprint.c,v 1.4 2011/03/27 04:55:31 russell Exp $

This is a simply program to check the geometry. It mainly useful when developing new geometries and during debugging of those sections of the filter program that depend on the geometry.
To run the program
    $ geoprint <geometry>

      where
      geometry  The full name of the CDM geometry shareable

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

Function Documentation

int geoprint ( void   ) 

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

Warning:
Currently this program assumes that the geometry is instance 0.

Referenced by main().

int main ( int  argc,
char **  argv 
)

Main program to print the contents of a GEO_DB.

Parameters:
argc The argument count
argv The vector of arguments
Usage
      $ geoprint $CMX_B_GGF/sun-gcc/geo_db_data/libgeo_db_data.so

References geoprint(), and reportUsage().


Generated on Wed Jan 4 14:17:56 2012 by  doxygen 1.5.8