GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > GRBP / V1-0-0

Constituent: grbpsiu     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_probability.h File Reference

Spatial and temporal probability calculation. More...

#include "EDS/TMR.h"
#include <math.h>
#include <stdio.h>

Include dependency graph for GRBP_probability.h:

This graph shows which files directly or indirectly include this file:


Data Structures

struct  _GRBP_probabilityPrms
 Probability parameters. More...
struct  _GRBP_probabilityLogs
 The logs of the spatial and temporal probabiities. More...

Typedefs

typedef _GRBP_DB_probability GRBP_DB_probability
typedef _GRBP_probSpatialCtl GRBP_probSpatialCtl
typedef _GRBP_probTemporalCtl GRBP_probTemporalCtl
typedef _GRBP_probabilityPrms GRBP_probabilityPrms
typedef _GRBP_probabilityLogs GRBP_probabilityLogs

Functions

void GRBP_probabilityPrmsEstablish (const GRBP_DB_probability *cfg)
 Establishes the database parameters to the local version, computing any derived values. These are used to calculate the spatial and temporal probabilities.
void GRBP_probabilityPrmsSet (GRBP_probabilityPrms *prms, double distance)
 Fills the prms with the initial set of derived constants used to calculate the spatial and temporal probabilities.

Detailed Description

Spatial and temporal probability calculation.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: GRBP_probability.h,v 1.3 2007/08/02 17:25:00 russell Exp $

Function Documentation

void GRBP_probabilityPrmsEstablish const GRBP_DB_probability *  cfg  ) 
 

Establishes the database parameters to the local version, computing any derived values. These are used to calculate the spatial and temporal probabilities.

Parameters:
cfg The configuration structure to use as the source information.

void GRBP_probabilityPrmsSet GRBP_probabilityPrms prms,
double  theta
 

Fills the prms with the initial set of derived constants used to calculate the spatial and temporal probabilities.

Parameters:
prms The parameter block to prepare
theta The angle of the cone. This together with the acceptance of the LAT define the percentage of the solid angle.


Generated on Fri Dec 14 08:52:39 2007 by  doxygen 1.4.4