GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP_DB / V1-0-0 > grbp_dbprint / sun-gcc
#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>
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. |
CVS $Id: GRBP_DB_print.c,v 1.6 2007/10/26 14:27:40 russell Exp $
#define DEGREES | ( | _radians | ) | ((_radians) * (180./M_PI)) |
Simply macro to convert radians to degrees.
_radians | The radians to convert |
static void cache_print | ( | const GRBP_DB_cache * | cache | ) | [static] |
Prints the GRBP database schema that configures the input photon cache.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
windowList | The window list schema |