GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > defc / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

TFC_tolerances.c File Reference

Provides services to construct and maintain the projection finding tolerances. More...

#include <EFC/TFC_tolerances.h>
#include <TFC_tolerancesDef.h>
#include <PBI/FFS.ih>

Classes

struct  _TFC_DB_tolerancesSchema

Typedefs

typedef struct
_TFC_DB_tolerancesSchema 
TFC_DB_tolerancesSchema

Functions

unsigned int TFC_tolerancesAllSizeof (void)
 Returns the size, in bytes, of the tolerances structure.
void TFC_tolerancesAllConstruct (TFC_tolerancesAll *all, const TFC_DB_tolerancesSchema *schema)
 Constructs the tolerances for all X and Y layers based on the specified model.
const TFC_tolerancesTFC_tolerancesLocate (const TFC_tolerancesAll *all, unsigned int energy_leu)
 Locates the set of tolerances to use for the specified energy.
const TFC_DB_tolerancesSchema * TFC_tolerancesSchemaLocate (void)


Detailed Description

Provides services to construct and maintain the projection finding tolerances.

Author:
JJRussell - russell@slac.stanford.edu

   CVS $Id: TFC_tolerances.c,v 1.2 2011/03/27 04:55:31 russell Exp $

Function Documentation

void TFC_tolerancesAllConstruct ( TFC_tolerancesAll all,
const TFC_DB_tolerancesSchema *  schema 
)

Constructs the tolerances for all X and Y layers based on the specified model.

Parameters:
all The tolerances to initialize
schema The database schema containing the tolerance data.

unsigned int TFC_tolerancesAllSizeof ( void   ) 

Returns the size, in bytes, of the tolerances structure.

Returns:
The size, in bytes, of the tolerances structure

const TFC_tolerances TFC_tolerancesLocate ( const TFC_tolerancesAll all,
unsigned int  energy_leu 
)

Locates the set of tolerances to use for the specified energy.

Returns:
A read-only pointer to the energies
Parameters:
all The set of all tolerances
energy_leu The energy in LEUs

References _TFC_tolerancesAll::energy, and _TFC_tolerancesAll::min.


Generated on Wed Jan 4 14:12:58 2012 by  doxygen 1.5.8