GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LSE / V2-0-2 > lsew / rad750
#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. |
CVS $Id: CDF_tkr_ped.c,v 1.1 2006/11/01 21:57:30 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.
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.
cdf | The TKR compression data formatting handle | |
buf | The output buffer | |
pos | The current bit offset | |
tkr | The unpacked TKR event |