GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > XFC_DB / V2-0-0

Constituent: hfc_db_master     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

HFC_DB_master_macros.h File Reference

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

#include "EFC_DB/EFC_DB_schema.h"
#include "EFC_DB/EFC_DB_schema_macros.h"
#include "XFC_DB/HFC_DB_schema.h"
#include "XFC_DB/HFC_DB_instance.h"

Include dependency graph for HFC_DB_master_macros.h:

This graph shows which files directly or indirectly include this file:


Defines

#define Name   HFC_DB
#define Constructor   "HFC_constructServicesGet"
#define SchemaId   HFC_DB_SCHEMA
#define SchemaName   HFC_DB_master
#define CDM_XFC_DB_HFC_DB_MASTER_SCHEMA   SchemaId
 CDB database schema ID.
#define CDM_XFC_DB_HFC_DB_MASTER_INSTANCE   HFC_DB_INSTANCE_K_MASTER
 CDB database instance ID.
#define CDM_XFC_DB_HFC_DB_MASTER_VERSION   HFC_DB_VERSION
 CDB database version.
#define CDM_XFC_DB_HFC_DB_MASTER_HANDLE   SchemaName
 CDB database data handle.

Detailed Description

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

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: HFC_DB_master_macros.h,v 1.1 2007/06/26 18:52:59 jgt 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 HFC database. Once defined, the information in this file will likely never change. On the other hand, the second of these two files, HFC_DB_master.h, contains the physics information and is very likely to evolve.

To define the EFC_DB_Schema for HFC_DB, in HFC_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 HFC_DB_master.h.

Generated on Thu Aug 16 03:54:14 2007 by  doxygen 1.4.4