GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRB / V0-1-0

Constituent: grb     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

GRB_sim.c File Reference

Gamma Ray Burst Analysis Code GRB detection simulation. More...

#include <stdio.h>
#include <string.h>
#include "PBS/WCT.h"
#include "PBS/WUT.h"
#include "PBS/TOV.h"
#include "MSG/MSG_pubdefs.h"
#include "GRB/GRB.h"
#include "GRB_p.h"
#include "GRB_write_p.h"

Include dependency graph for GRB_sim.c:


Functions

static WUT_cb_status GRB_simCb (void *prm, WUT_tmr *wut)
 WUT callback routine.
int GRB_simConfig (GRB_algCtl *ctl, unsigned int mode, unsigned int repoint, unsigned int interval)
 Configure for a simulated GRB detection.
int GRB_simDetect (GRB_algCtl *ctl)
 Simulate a GRB detection.

Detailed Description

Gamma Ray Burst Analysis Code GRB detection simulation.

Author:
Sergio Maldonado - smaldona@slac.stanford.edu
   CVS $Id: GRB_sim.c,v 1.1 2007/03/15 17:06:56 smaldona Exp $

Function Documentation

static WUT_cb_status GRB_simCb void *  prm,
WUT_tmr *  wut
[static]
 

WUT callback routine.

Returns:
WUT constant WUT_K_STATE_CHANGE_YES
Parameters:
prm User context parameter
wut Wake up timer

int GRB_simConfig GRB_algCtl ctl,
unsigned int  mode,
unsigned int  repoint,
unsigned int  interval
 

Configure for a simulated GRB detection.

Return values:
0,Success 
-1,Failure 
Parameters:
ctl The GRB algorithm control block
mode The GRB simulation mode
repoint The GRB repoint time
interval The interval in seconds between state transitions

int GRB_simDetect GRB_algCtl ctl  ) 
 

Simulate a GRB detection.

Return values:
0,Success 
-1,Failure 
Parameters:
ctl The GRB algorithm control block


Generated on Sat Mar 17 06:43:44 2007 by  doxygen 1.4.4