GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GFC_DB / V3-1-0 > gamma_master / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GAMMA_DB_master_macros.h File Reference

Defines the macros used to fill the non-physics parameters need to build the Gamma Event Filter master configuration database. More...

#include "EFC_DB/EFC_DB_schema.h"
#include "EFC_DB/EFC_DB_schema_macros.h"

Defines

#define Name   GAMMA_DB
#define Constructor   "GFC_constructServicesGet"
#define SchemaId   GAMMA_DB_SCHEMA
#define SchemaName   MasterName


Detailed Description

Defines the macros used to fill the non-physics parameters need to build the Gamma Event Filter master configuration database.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: GAMMA_DB_master_macros.h,v 1.1 2008/06/07 21:35:53 russell Exp $

This file is one of two files needed to build a EFC_DB_Schema. This file isolates information needed solely to satisfy the mechanics of building GFC database. Once defined, the information in this file will likely never change. On the other hand, the second of these two files, GAMMA_DB_master.h, contains the physics information and is very likely to evolve.

To define the EFC_DB_Schema for GAMMA_DB, in GAMMA_DB_master.h, the user first defines all the symbols needed by EFC_DB_master_macros, then, as the last line in the file drops an include of this file. That will generate the necessary code to make the CDM database.

Note:
If the C preprocessor were slightly more powerful, EFC_DB_master_macros could have provided the necessary templates and there would be no need for this file. But, alas, I could not trick the C preprocessor into automatically building this information. So the best solution was to isolate this computer geek information from the physics information which is in GAMMA_DB_master.h.

Generated on Fri Apr 30 10:08:01 2010 by  doxygen 1.5.3