GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP_DB / V0-4-2

Constituent: grbp_dbprint     Tag: sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_DB_print.c File Reference

GRBP database print utility. More...

#include "GRBP_DB/GRBP_DB_print.h"
#include "GRBP_DB/GRBP_DB_clientSchema.h"
#include "GRBP_DB/GRBP_DB_serverSchema.h"
#include "GRB_DB/GRB_DB_schema.h"
#include <stdio.h>
#include <math.h>

Include dependency graph for GRBP_DB_print.c:


Defines

#define M_PI   3.14159265358979323846
#define DEGREES(_radians)   ((_radians) * (180./M_PI))
 Simply macro to convert radians to degrees.

Functions

static void hdr_print (const GRB_DB_Schema *hdr, const char *side)
 Prints the standard GRB database schema header.
static void gbmRepoint_print (const GRBP_DB_gbmRepoint *gbm)
static void probability_print (const GRBP_DB_probability *probability)
 Prints the GRB database probabability configuraion constants.
static void cache_print (const GRBP_DB_cache *cache)
 Prints the GRBP database schema that configures the input photon cache.
static void windowList_print (const GRBP_DB_windowList *windowList)
 Prints the GRBP database schema that configures the windows.
static void grb_print (const GRBP_DB_grb *grb)
 Prints the GRBP database schema that sets the parameters controlling which photons get entered into the gamma localization list after the trigger has been declared and the size of that list.
static void messageSchedule_print (const GRBP_DB_window *ws, int nws)
 Prints the message schedule.
static void locationSchedule_print (const GRBP_DB_window *ws, int nws)
 Prints the location schedule.
static void print_placeholder (void)
 Prints a placeholder for unused parameters.
void GRBP_DB_serverAllPrint (const GRBP_DB_serverSchemaAll *schema, unsigned int opts)
 Prints the contents of the GRBP server-side database.
void GRBP_DB_serverPrint (const GRBP_DB_serverSchema *schema, unsigned int opts)
 Prints the contents to the GRBP server-side database.
void GRBP_DB_clientAllPrint (const GRBP_DB_clientSchemaAll *schema, unsigned int opts)
 Prints the contents of the GRBP client-side database.
void GRBP_DB_clientPrint (const GRBP_DB_clientSchema *schema, unsigned int opts)
 Prints the contents to the GRBP client-side database.

Detailed Description

GRBP database print utility.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: GRBP_DB_print.c,v 1.6 2007/10/26 14:27:40 russell Exp $

Define Documentation

#define DEGREES _radians   )     ((_radians) * (180./M_PI))
 

Simply macro to convert radians to degrees.

Returns:
The equivalent number of degrees
Parameters:
_radians The radians to convert


Function Documentation

static void cache_print const GRBP_DB_cache cache  )  [static]
 

Prints the GRBP database schema that configures the input photon cache.

Parameters:
cache The photon cache configuration schema to print

static void grb_print const GRBP_DB_grb grb  )  [static]
 

Prints the GRBP database schema that sets the parameters controlling which photons get entered into the gamma localization list after the trigger has been declared and the size of that list.

Parameters:
grb The GRB configuration schema

void GRBP_DB_clientAllPrint const GRBP_DB_clientSchemaAll schema,
unsigned int  opts
 

Prints the contents of the GRBP client-side database.

Parameters:
schema The schema of the client-side database
opts Bit mask of print options

void GRBP_DB_clientPrint const GRBP_DB_clientSchema schema,
unsigned int  opts
 

Prints the contents to the GRBP client-side database.

Parameters:
schema The schema of the client-side physics database
opts Bit mask of print options

void GRBP_DB_serverAllPrint const GRBP_DB_serverSchemaAll schema,
unsigned int  opts
 

Prints the contents of the GRBP server-side database.

Parameters:
schema The schema of the client-side database
opts Bit mask of print options

void GRBP_DB_serverPrint const GRBP_DB_serverSchema schema,
unsigned int  opts
 

Prints the contents to the GRBP server-side database.

Parameters:
schema The schema of the client-side physics database
opts Bit mask of print options

static void hdr_print const GRB_DB_Schema *  hdr,
const char *  side
[static]
 

Prints the standard GRB database schema header.

Parameters:
hdr The schema header to print
side Either "CLIENT" or "SERVER"

static void locationSchedule_print const GRBP_DB_window ws,
int  nws
[static]
 

Prints the location schedule.

Parameters:
ws The set of windows to print the location schedule for
nws The number of windows to print the location schedule for.

static void messageSchedule_print const GRBP_DB_window ws,
int  nws
[static]
 

Prints the message schedule.

Parameters:
ws The set of windows to print the message schedule for
nws The number of windows to print the message schedule for.

static void probability_print const GRBP_DB_probability probability  )  [static]
 

Prints the GRB database probabability configuraion constants.

Parameters:
probability The probability schema to print

static void windowList_print const GRBP_DB_windowList windowList  )  [static]
 

Prints the GRBP database schema that configures the windows.

Parameters:
windowList The window list schema


Generated on Sat Aug 30 02:11:06 2008 by  doxygen 1.4.4