GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP / dev > test_prob / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

GRBP_probability.c File Reference

Utilities to calculate the spatial and temporal probabilities. More...

#include <GRBP_probability.h>
#include <GRBP_probCalculate.h>
#include <GRBP_DB/GRBP_DB_probability.h>

Defines

#define report_prms(_costhetamax,_logcosthetamax,_background_rate,_norm_background_rate)

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 theta)
 Fills the prms with the initial set of derived constants used to calculate the spatial and temporal probabilities.

Variables

static GRBP_probabilityPrms GrbpProbabilityPrms
 Holds the global parameters used to calculate the spatial and temporal probabilities.


Detailed Description

Utilities to calculate the spatial and temporal probabilities.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: GRBP_probability.c,v 1.4 2011/03/30 22:11:51 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.

References GRBP_probSpatialConstruct(), GRBP_probTemporalConstruct(), and GrbpProbabilityPrms.

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.

References GrbpProbabilityPrms.


Generated on Wed Sep 28 10:10:39 2011 by  doxygen 1.5.8