GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCI / V6-0-0 > lci / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

catechise.c File Reference

Examine the collected events to form the tables against which the data will be encoded. More...

#include "LCI/LCI_msgs.h"
#include "collect.h"
#include "macros_p.h"
#include "LSEC/compact.h"
#include "LSEC/LSEC_ctx.h"
#include "EDS/EBF_dir.h"
#include "EDS/EBF_cid.h"
#include "MSG/MSG_pubdefs.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

Functions

unsigned LCI_catechise (LSEC_compaction *cpc, LCI_collection *src, unsigned mode)
 Analyse the event collection and generate the histograms to encode against.


Detailed Description

Examine the collected events to form the tables against which the data will be encoded.

Author:
James Swain & Owen Saxton
Id

Function Documentation

unsigned LCI_catechise ( LSEC_compaction *  cpc,
LCI_collection src,
unsigned  mode 
)

Analyse the event collection and generate the histograms to encode against.

Parameters:
cpc Pointer to an LSEC_compaction structure
src Pointer to the source of data to compact (a collection)
mode Calibration mode (ACD, CAL or TKR)
Return values:
LCI_SUCCESS If all goes well
LCI_NOTABLE If the compression is invoked with empty tables.
LCI_MODE Returned (but not reported) if the calibration mode is bad.


Generated on Thu Aug 20 14:53:29 2009 by  doxygen 1.5.3