GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-10-1 > ebf_print / linux-gcc
#include "EDS/EBF_match.h"
#include "EDS/EDS_fw.h"
#include "EDS/EDS_fwServices.h"
#include "EDS/EDSD_print.h"
#include "EDS/io/EBF_stream.h"
#include "EDS/io/LCBP.h"
#include "EDS/LCBV.h"
#include "EDS/ECR_cal.h"
#include "CDM/CDM_pubdefs.h"
#include <stdlib.h>
#include <stdio.h>
Classes | |
struct | _Ctl |
Collections all the control parameters together. These are essentially the interpretted command line options. More... | |
Typedefs | |
typedef struct _Ctl | Ctl |
Typedef for struct _Ctl. | |
Functions | |
static unsigned int | print (Ctl *ctl) |
Finishes the platform common setup and initalization, starts the packet flow. | |
static void | reportUsage (void) |
Brief explanation on readtest usage. | |
static int | fillCtl (Ctl *ctl, int argc, char *const argv[]) |
Examines the command line parameters and fills the print control structure. | |
static __inline unsigned int | dbLoad (int verbose, int ndbs, const char **cdbs) |
Loads 2 shareable, (hopefully) representing the CAL peds/gains. | |
int | main (int argc, char *const argv[]) |
Usual entry point for the readtest. |
$ ebf_print -n<# of events> -s<# to skip> -l<dbs> -RDACcGTtUu <file.ebf>
CVS $Id: ebf_print.c,v 1.13 2009/05/07 00:52:50 russell Exp $
static __inline unsigned int dbLoad | ( | int | verbose, | |
int | ndbs, | |||
const char ** | cdbs | |||
) | [static] |
Loads 2 shareable, (hopefully) representing the CAL peds/gains.
verbose | If non-zero, prints the names of the shareables as they are being loaded | |
ndbs | The number to load | |
cdbs | The configuration data bases to load |
static int fillCtl | ( | Ctl * | ctl, | |
int | argc, | |||
char *const | argv[] | |||
) | [static] |
Examines the command line parameters and fills the print control structure.
ctl | The parameter control block. | |
argc | The number of command line parameters. | |
argv | The array of pointers to the command line parameters. |
0,Everything | is okay. | |
-1,Incorrect | command usage. Usually this means that the input file name was absent. |
int main | ( | int | argc, | |
char *const | argv[] | |||
) |
Usual entry point for the readtest.
argc | The number of arguments | |
argv | The vector of arguments. |
static unsigned int print | ( | Ctl * | ctl | ) | [static] |
Finishes the platform common setup and initalization, starts the packet flow.
ctl | The control structure |