GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-3-2 > dmfc / mv2304
#include <XFC/MFC_cfg.h>
#include <MFC_def.h>
#include <EFC/EFC_samplerPrint.h>
#include <XFC/MFC_cfgPrint.h>
#include <EDS/ECR_cal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Functions | |
static void | printHdr (const char *title) |
Prints a header. | |
static void | printCfg (const MfcCfgPrms *cfg) |
Prints the contents of a configuration. | |
unsigned int | MFC_cfgPrint (void *ctx, const MFC_cfg *cfg, const EFC_sampler *sampler, unsigned int list) |
Callback routine to print the parameters. |
CVS $Id
unsigned int MFC_cfgPrint | ( | void * | ctx, | |
const MFC_cfg * | cfg, | |||
const EFC_sampler * | sampler, | |||
unsigned int | list | |||
) |
Callback routine to print the parameters.
ctx | User context parameter (ignored in this routine) | |
cfg | The configuration block to print | |
sampler | The sampler block | |
list | The list of blocks left to print, by implication, done when this is 0. |
References printCfg(), printHdr(), and _MFC_cfg::prms.
static void printCfg | ( | const MfcCfgPrms * | cfg | ) | [static] |
Prints the contents of a configuration.
0,Print | successfully completed | |
-1,Unrecognized | or unsupported configuration version |
cfg | The MIP configuration to print |
References _MfcCfgPrms::cal, _MfcCfgCal::ehi, _MfcCfgCal::elo, and _MfcCfgCal::nlayers.
Referenced by MFC_cfgPrint().
static void printHdr | ( | const char * | title | ) | [static] |
Prints a header.
title | A string giving a description of what is to follow |
Referenced by MFC_cfgPrint().