GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> QSE / V2-3-0 > qseprint / linux-gcc
#include "QSE/QSE_calPrint.h"
#include "QSE/QSE_cal.h"
#include "QSE/QSE_map.h"
#include <stdio.h>
Functions | |
static __inline int | getOffset (int fourRange, unsigned int lyrCnts, int lyrNum) |
Calculates the offset to the specified layer number. | |
static char | getDisplayChar (const QSE_calLog phas) |
Encodes the PHA values of both ends of the log into a single character based on their logarithms. | |
static void | printNoData (QSE_map map, unsigned int request) |
Prints a banner indicating there is no data in the request towers. | |
static void | printCalMapLayer (int four_range, int lyNum, unsigned int lyrCnts, const QSE_calColMap *colMapP, const QSE_calLog *logs) |
Prints one row of one tower for the CAL Raw map print function. | |
void | QSE_calPrint (const QSE_cal *cal, unsigned int options) |
Produces an ASCII display of the CAL data. | |
void | QSE_calMapPrint (const QSE_cal *cal) |
Produces an ASCII display of the CAL data in the form of a map, giving one an geometrical idea of where the action is. | |
void | QSE_calTwrPrint (const QSE_calTwr *twr) |
Prints an ASCII formatted dump of a CAL tower. |
CVS $Id: QSE_calPrint.c,v 1.6 2008/07/17 04:26:58 russell Exp $
static char getDisplayChar | ( | const QSE_calLog | log | ) | [static] |
Encodes the PHA values of both ends of the log into a single character based on their logarithms.
log | The CAL log data to display |
static __inline int getOffset | ( | int | fourRange, | |
unsigned int | lyrCnts, | |||
int | lyrNum | |||
) | [static] |
Calculates the offset to the specified layer number.
fourRange | Flag indicating 4-range readout (0=NO, 1=YES) | |
lyrCnts | The layer counts word | |
lyrNum | The layer number to integrate to |
static void printCalMapLayer | ( | int | fourRange, | |
int | layer, | |||
unsigned int | layerCnts, | |||
const QSE_calColMap * | colMapP, | |||
const QSE_calLog * | logs | |||
) | [static] |
Prints one row of one tower for the CAL Raw map print function.
fourRange | Flag indicating 4-range readout (0=NO, 1=YES) | |
layer | The layer to print | |
colMapP | The column map array for this row | |
layerCnts | The layer counts for this tower | |
logs | Pointer to the log data for this tower |
static void printNoData | ( | QSE_map | map, | |
unsigned int | request | |||
) | [static] |
Prints a banner indicating there is no data in the request towers.
map | The map of towers with data | |
request | The map of towers to print |
void QSE_calMapPrint | ( | const QSE_cal * | cal | ) |
Produces an ASCII display of the CAL data in the form of a map, giving one an geometrical idea of where the action is.
cal | A previously unpacked CAL LAT Record. |
void QSE_calPrint | ( | const QSE_cal * | cal, | |
unsigned int | options | |||
) |
Produces an ASCII display of the CAL data.
cal | A previously unpacked QSE_cal data structure | |
options | An options mask word. The lower 16 bits (i.e. a right justified value) is mask of which towers to print (LSB = TOWER 0) |
void QSE_calTwrPrint | ( | const QSE_calTwr * | twr | ) |
Prints an ASCII formatted dump of a CAL tower.
twr | The CAL tower to display |