GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > QSE / V2-1-0
Constituent: qseprint     Tag: linux-gcc
#include <stdio.h>
#include "QSE/QSE_ecalPrint.h"
#include "QSE/QSE_ecal.h"
#include "QSE/QSE_cal.h"
#include "EDS/ECR_cal.h"
#include "EDS/EDA_cal.h"
Include dependency graph for QSE_ecalPrint.c:
Defines | |
#define | MEV(_energy) (_energy/ECR_CAL_K_LEU_PER_MEV) |
Picks off the whole number of MEVS. | |
#define | FRACTION(_energy) ((_energy & (ECR_CAL_K_LEU_PER_MEV - 1)) * (100/ECR_CAL_K_LEU_PER_MEV)) |
Picks off the fraction of MEVS (100rths). | |
Functions | |
void | tower_print (const QSE_ecalTwr *etwr, const QSE_ecalGbl *egbl) |
static void | energyPrint (int energy) |
Prints the energy in units of Mev. | |
static void | newline (void) |
void | QSE_ecalTwrPrintFull (const QSE_ecalTwr *etwr) |
Prints an ASCII formatted dump of a CAL tower record. | |
void | QSE_ecalTwrPrintBrief (const QSE_ecalTwr *etwr) |
Prints an ASCII formatted dump of a CAL tower record. | |
void | QSE_ecalPrintSummary (const QSE_ecal *ecal) |
Prints the energy summary(totals) for each layer and the LAT. | |
void | QSE_ecalPrintTowers (const QSE_ecal *ecal, QSE_map map, unsigned int style) |
Prints the energies for the requested map of towers. | |
void | QSE_ecalPrint (const QSE_ecal *ecal, unsigned int options) |
Produces an ASCII display of the CAL data. |
CVS $Id: QSE_ecalPrint.c,v 1.1 2008/09/19 22:02:55 russell Exp $
|
Picks off the fraction of MEVS (100rths). The macros MEV and FRACTION are used to print a pseudo floating point representation of a CAL energy, i.e. something like EEE.ee |
|
Prints the energy in units of Mev.
|
|
Produces an ASCII display of the CAL data.
|
|
Prints the energy summary(totals) for each layer and the LAT.
|
|
Prints the energies for the requested map of towers.
|
|
Prints an ASCII formatted dump of a CAL tower record.
|
|
Prints an ASCII formatted dump of a CAL tower record.
|