GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V0-2-0
Constituent: grbp_epu     Tag: linux-gcc
#include "GRBP/GRBP_server.h"
#include "GRBP/io/GRB_stream.h"
#include "GRBP_msgdef.h"
#include "GRBP_DB/GRBP_DB_serverSchema.h"
#include "GRBP_DB/GRBP_DB_print.h"
#include "GRB/GRB_epu.h"
#include "GRB/GRB_pktdef.h"
#include "EFC/EDM.h"
#include "EFC/TFC_prjFind.h"
#include "EFC/TFC_prjDef.h"
#include "EFC/TFC_geometry.h"
#include "EFC/TFC_tolerances.h"
#include "EFC/TFC_prjPrint.h"
#include "EDS/EBF_dir.h"
#include "EDS/EDR_calUnpack.h"
#include "EDS/EDR_tkrUnpack.h"
#include "EDS/EDS_fw.h"
#include "EDS/EBF_siv.h"
#include "EDS/EBF_mc.h"
#include "EDS/io/EBF_stream.h"
#include "EDS/io/LCBP.h"
#include "EDS/LCBV.h"
#include "GEO_DB/GEO_DB_schema.h"
#include "GEO_DB/GEO_DB_print.h"
#include "CDM/CDM_pubdefs.h"
#include "CMX/CMX_lookupPub.h"
#include "PBS/BSWP.ih"
#include <stdlib.h>
#include <stdio.h>
#include "GRBP_math.h"
Include dependency graph for grbp_epu.c:
Data Structures | |
struct | _Pkt |
A message packet. More... | |
struct | _Ctl |
Collections all the control parameters together. These are essentially the interpretted command line options. More... | |
struct | _MsgCtx |
Controls the allocation, management and writing of messages. More... | |
struct | _TkrCtx |
Static values needed to perform the projection finding. More... | |
struct | _Ctx |
The runtime context. More... | |
Defines | |
#define | EDM_USE 1 |
Typedefs | |
typedef _EBF_dir | EBF_dir |
typedef _EDR_tkr | EDR_tkr |
typedef _Pkt | Pkt |
Typedef for struct _Pkt. | |
typedef _Ctl | Ctl |
Typedef for struct _Ctl. | |
typedef _MsgCtx | MsgCtx |
Typedef for struct _MsgCtx. | |
typedef _TkrCtx | TkrCtx |
Typedef for struct _TkrCtx. | |
typedef _Ctx | Ctx |
Typedef for struct _Ctx. | |
Functions | |
static int | fillCtl (Ctl *ctl, int argc, char *const argv[]) |
Examines the command line parameters and fills the control structure. | |
static int | loadLib (const char *library_name, int verbose) |
Dynamically loads the specified configuration library. | |
static GRBP_DB_serverSchemaAll * | getSchema (int verbose) |
Returns the GRBP DB schema. | |
static void | constructTkr (TkrCtx *tkr, int print) |
Constructs the static, configuration portion of the track-finding context. | |
static const TFC_DB_geometry * | locateGeo (int print) |
Loads the TKR Filter Code Geometry. | |
static void | reportUsage (void) |
Brief explanation on readtest usage. | |
static unsigned int | find (Ctl *ctl) |
Finishes the platform common setup and initalization, starts the packet flow. | |
static unsigned int | process (Ctx *ctx, unsigned int pktBytes, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb) |
Process one event. | |
static void | check_mc (const EBF_mc *mc, const GRB_msgHdr *msg_hdr) |
static __inline void | compute_energy (EDS_fwIxb *ixb) |
Unpack the CAL, all we are really looking for is the total energy. | |
static void | find_projections (TkrCtx *tkr_ctx, EDS_fwIxb *ixb, int message_level) |
int | main (int argc, char *const argv[]) |
Usual entry point for the readtest. | |
Variables | |
EDM_level | TFC_PrjTowerFind_edm |
$ tkr_find -n<# of events> -s<# to skip> -L geometry <file.ebf>
CVS $Id: grbp_epu.c,v 1.2 2007/06/21 14:13:27 russell Exp $
|
Unpack the CAL, all we are really looking for is the total energy.
|
|
Constructs the static, configuration portion of the track-finding context.
|
|
Examines the command line parameters and fills the control structure.
|
|
Finishes the platform common setup and initalization, starts the packet flow.
|
|
Returns the GRBP DB schema.
|
|
Dynamically loads the specified configuration library.
|
|
Loads the TKR Filter Code Geometry.
|
|
Usual entry point for the readtest.
|
|
Process one event.
|