GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> CAL_DB / V0-2-4 > cal_db_gains_create / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

calib_db_create.h File Reference

Interface to the common calibration DB creation routines. More...

#include <stdio.h>
#include <libgen.h>

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 *subsytem, 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

Interface to the common calibration DB creation routines.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: calib_db_create.h,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

Referenced by writeFile().

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)

Referenced by writeFile().


Generated on Fri Sep 30 18:07:51 2011 by  doxygen 1.5.8