GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-1 > lsew / sun-gcc


Interface   Data Structures   File List   Data Fields   Globals  

CDF_cal_ped.h File Reference

Public interface to produce Compressed Data Format for the CAL contributors when zero suppression is disabled. This may be either single or 4 range readout. More...


Functions

unsigned int CDF_cal_ped_compress (CDF_cal *cdf, unsigned int *buf, unsigned int pos, const EBF_dir *dir, const ECR_cal *calib, const CDF_err *err)
 Makes a compressed copy of the CAL data if the data is in a form that this routine understands. If not, a straight copy of the data is made.


Detailed Description

Public interface to produce Compressed Data Format for the CAL contributors when zero suppression is disabled. This may be either single or 4 range readout.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_cal_ped.h,v 1.2 2009/04/30 18:38:19 russell Exp $


Function Documentation

unsigned int CDF_cal_ped_compress ( CDF_cal cdf,
unsigned int *  buf,
unsigned int  pos,
const EBF_dir *  dir,
const ECR_cal *  clb,
const CDF_err err 
)

Makes a compressed copy of the CAL data if the data is in a form that this routine understands. If not, a straight copy of the data is made.

Returns:
The updated write bit position
Parameters:
cdf The CAL compression data formatting handle
buf The output buffer
pos The position of the next bit to fill
dir The directory describing the event to be formatted
clb The CAL pedestals and gains
err The error context block
This routine is merely a dispatch routine, vectoring control to either single range or four range compression.


Generated on Mon Jul 26 13:00:48 2010 by  doxygen 1.5.3