GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > CAL_DB / V0-2-3

Constituent: cal_db_gains_create     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

calib_db_create.c File Reference

Common utilities used to creatation the calibration databases. More...

#include "calib_db_create.h"
#include <stdio.h>

Include dependency graph for calib_db_create.c:


Functions

void calib_db_preamble_write (FILE *hfile, const char *file_header, const char *hname, const char *package, const char *constituent, const char *version, const char *schema_name, const char *upper_name)
 Write the preamble to the H file, this includes the file header and the #defines.
void calib_db_info_write (FILE *hfile, const char *subsystem, const char *type, const char *origin, const char *style, unsigned int key, unsigned int tag, const char *access)
 Writes the common CAL database header information.

Detailed Description

Common utilities used to creatation the calibration databases.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: calib_db_create.c,v 1.2 2006/09/14 17:21:24 russell Exp $

Function Documentation

void calib_db_info_write FILE *  hfile,
const char *  subsystem,
const char *  type,
const char *  origin,
const char *  style,
unsigned int  key,
unsigned int  tag,
const char *  access
 

Writes the common CAL database header information.

Parameters:
hfile The file handle
subsystem The subsystem name, i.e. ACD, CAL, TKR
type The type of database, i.e. PEDESTALS, GAINS or COMBINED
origin The originating source of the constants, i.e. GLEAM, LAT, etc
style The style of the constants, IDEALIZED, FULL
key The identifying key (intent is that this number uniquely identifies the originating file)
tag The CMX tag
access The access routines

void calib_db_preamble_write FILE *  hfile,
const char *  file_header,
const char *  hname,
const char *  package,
const char *  constituent,
const char *  version,
const char *  schema_name,
const char *  upper_name
 

Write the preamble to the H file, this includes the file header and the #defines.

Parameters:
hfile The include file handle
file_header The file header (the DOXYGEN stuff)
hname The name of the input file
package The package name
constituent The constituent name
version The schema version number
schema_name The suffix of the schema name (cal_gains, etc...)
upper_name The upper case version of the name (gains/pedestals)


Generated on Wed Dec 5 03:17:35 2007 by  doxygen 1.4.4