GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-1-0 > lsew / rhel6-32


Interface   Data Structures   File List   Data Fields   Globals  

CDF_tkr_ped.c File Reference

Implementation to produce Compressed Data Format for the TKR contributors for pedestal events. More...

#include <LSE/CDF_tkr_ped.h>
#include <LSE/CDF_tkr_std.h>
#include <CDF_tkr_def.h>
#include <LDT/BFP.h>
#include <EDS/EDR_tkr.h>
#include <dprintf.h>

Functions

unsigned int CDF_tkr_ped_compress (CDF_tkr *cdf, unsigned int *buf, unsigned int pos, const EDR_tkr *tkr)
 Adds the TKR record when the event is a non-physics (pedestal) event.


Detailed Description

Implementation to produce Compressed Data Format for the TKR contributors for pedestal events.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: CDF_tkr_ped.c,v 1.2 2011/03/26 17:35:24 russell Exp $

This formats non-physics events. It is expected that there will be very occupancy in this case, essentially the noise level of the LAT. At 1 x 10e-5 this will be around 10 strips. It is also possible that no strips are hit. The format currently is very simple, a single bit indicating whether any strips are hit. If true, this is followed by the standard encoding.


Function Documentation

unsigned int CDF_tkr_ped_compress ( CDF_tkr cdf,
unsigned int *  buf,
unsigned int  pos,
const EDR_tkr *  tkr 
)

Adds the TKR record when the event is a non-physics (pedestal) event.

Returns:
The next available bit position in the output buffer
Parameters:
cdf The TKR compression data formatting handle
buf The output buffer
pos The current bit offset
tkr The unpacked TKR event

References CDF_tkr_std_compress().


Generated on Thu Aug 4 13:00:09 2011 by  doxygen 1.5.8