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

Constituent: lsepw     Tag: linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CDF_cal.h File Reference

Public interface to produce Compressed Data Format for the CAL. More...

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


Data Structures

struct  _CDF_calStatsAdr
 Statistics for the CAL addressing. More...
struct  _CDF_calStatsPha
 Statistics for the CAL PHA values. More...
struct  _CDF_calStats
 Statistics for the CAL. More...
struct  _CDF_calTablesAdr
 Compression tables for the CAL addressing. More...
struct  _CDF_calTablesPha
 Compression tables for the CAL PHA values. More...
struct  _CDF_calTables
 Compress tables for the CAL. More...
struct  _CDF_calSizesAdr
 The encoding sizes for the CAL addressing. More...
struct  _CDF_calSizesPha
 The encoding sizes for the CAL PHA values. More...
struct  _CDF_calSizes
 Sizes for the CAL. More...
struct  _CDF_calCtl
 All the stuff about statistics used for doing CAL compresssion. More...

Typedefs

typedef _CDF_calStatsAdr CDF_calStatsAdr
 Typedef for struct _CDF_calStatsAdr.
typedef _CDF_calStatsPha CDF_calStatsPha
 Typedef for struct _CDF_calStatsPha.
typedef _CDF_calStats CDF_calStats
 Typedef for struct _CDF_calStats.
typedef _CDF_calTablesAdr CDF_calTablesAdr
 Typedef for struct _CDF_calTablesAdr.
typedef _CDF_calTablesPha CDF_calTablesPha
 Typedef for struct _CDF_calTablesPha.
typedef _CDF_calTables CDF_calTables
 Typedef for struct _CDF_calTables.
typedef _CDF_calSizesAdr CDF_calSizesAdr
 Typedef for struct _CDF_calSizeAdr.
typedef _CDF_calSizesPha CDF_calSizesPha
 Typedef for struct _CDF_calSizePha.
typedef _CDF_calSizes CDF_calSizes
 Typedef for struct _CDF_calSizes.
typedef enum _CDF_calScheme CDF_calScheme
 Typedef for enum _CDF_calScheme.
typedef enum _CDF_calSchemeSize CDF_calSchemeSize
 Typedef for enum _CDF_calSchemeSize.
typedef _CDF_calCtl CDF_calCtl
 Typedef for struct _CDF_calCtl.

Enumerations

enum  _CDF_calScheme {
  CDF_CAL_SCHEME_K_ADDRESS_LIST = 0,
  CDF_CAL_SCHEME_K_QUAD_TREE_POSITIVE = 2,
  CDF_CAL_SCHEME_K_QUAD_TREE_NEGATIVE = 3
}
 Enumerates the different tower level address packing schemes. More...
enum  _CDF_calSchemeSize {
  CDF_CAL_SCHEME_S_ADDRESS_LIST = 1,
  CDF_CAL_SCHEME_S_QUAD_TREE = 2,
  CDF_CAL_SCHEME_S_QUAD_TREE_POSITIVE = 2,
  CDF_CAL_SCHEME_S_QUAD_TREE_NEGATIVE = 2
}
 Enumerates the different tower level address packing schemes sizes, in bits. More...

Functions

unsigned int CDF_cal0Compress (CDF_vector *bpv, const EDR_cal *cal, const ECR_cal *calCal)
 Gathers the statistics on the CAL data.

Detailed Description

Public interface to produce Compressed Data Format for the CAL.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_cal.h,v 1.3 2005/11/18 01:04:36 russell Exp $


Typedef Documentation

CDF_calScheme
 

Typedef for enum _CDF_calScheme.

The hit addresses for each tower can be compressed according to one of three packing schemes. The selection of which scheme is determine by the compress routine based on minimal size. The decompressor only needs to know which scheme was employed, having no need to know why it was chosen.
These three schems are
  1. List of addresses
  2. Quad tree representation of the postive image
  3. Quad tree representation of the negative image
Roughly speaking
  1. Address list works best on sparsely populated towers (< 8 hits)
  2. Positive quad tree works best on higher populated towers (roughly 8 - 38 hits)
  3. Negative quad tree works bess on very highly populated towers ( > 38 hits)

CDF_calSchemeSize
 

Typedef for enum _CDF_calSchemeSize.

See also:
CDF_calScheme
This enumerates the number of bits it takes to specify a particular packing scheme.


Enumeration Type Documentation

enum _CDF_calScheme
 

Enumerates the different tower level address packing schemes.

Enumerator:
CDF_CAL_SCHEME_K_ADDRESS_LIST  By address list
CDF_CAL_SCHEME_K_QUAD_TREE_POSITIVE  By positive quad tree
CDF_CAL_SCHEME_K_QUAD_TREE_NEGATIVE  By negative quad tree

enum _CDF_calSchemeSize
 

Enumerates the different tower level address packing schemes sizes, in bits.

Enumerator:
CDF_CAL_SCHEME_S_ADDRESS_LIST  Takes 1 bit, binary 0
CDF_CAL_SCHEME_S_QUAD_TREE  Quad tree takes 2 bits either 10 or 11
CDF_CAL_SCHEME_S_QUAD_TREE_POSITIVE  Takes 2 bits, binary 10
CDF_CAL_SCHEME_S_QUAD_TREE_NEGATIVE  Takes 2 bits, binary 11


Function Documentation

unsigned int CDF_cal0Compress CDF_vector bpv,
const EDR_cal *  cal,
const ECR_cal *  calCal
 

Gathers the statistics on the CAL data.

Parameters:
bpv The output bit vector
cal The unpacked CAL data
calCal The CAL calibration.


Generated on Tue Dec 6 20:25:38 2005 by  doxygen 1.4.4