GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > gdgfc / rhel4-32
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <EFC/GFC_cfg.h>
#include <EFC/GFC_def.h>
#include <EFC/EFC_samplerPrint.h>
#include <EFC/GFC_cfgPrint.h>
#include <EDS/ECR_cal.h>
#include <AFC_splashMapDef.h>
#include <ATF_shadowedTowersDef.h>
Functions | |
static void | printHdr (const char *title) |
Prints a header. | |
static void | printCfg (const GammaCfgPrms *cfg) |
Prints the contents of a configuration. | |
unsigned int | GFC_cfgPrint (void *ctx, const GFC_cfg *cfg, const EFC_sampler *sampler, unsigned int list) |
Callback routine to print the parameters. |
CVS $Id
unsigned int GFC_cfgPrint | ( | void * | ctx, | |
const GFC_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 _GFC_cfg::prms.
static void printCfg | ( | const GammaCfgPrms * | cfg | ) | [static] |
Prints the contents of a configuration.
0,Print | successfully completed | |
-1,Unrecognized | or unsupported configuration version |
cfg | The gamma configuration to print |
References _GammaCfgPrms::acd, _GammaCfgPrms::atf, _GammaCfgPrms::cal, _GammaCfgCal::emax, _GammaCfgAtf::emax, _GammaCfgCal::emin, _GammaCfgZbottom::emin, _GammaCfgCal::epass, _GammaCfgCal::eveto, _GammaCfgTkr::grbPrjMax, _ATF_shadowedTowers::id, _AFC_splashMap::id, _GammaCfgCal::layer0RatioHi, _GammaCfgCal::layer0RatioLo, _GammaCfgTkr::prjMax, _GammaCfgTkr::row01Emax, _GammaCfgTkr::row2Emax, _GammaCfgAtf::shadowed, _GammaCfgTkr::skirtEmax, _GammaCfgAcd::splashCount, _GammaCfgAcd::splashEmax, _GammaCfgAcd::splashMap, _GammaCfgPrms::tkr, _GammaCfgTkr::topEmax, _GammaCfgAcd::topSideEmax, _GammaCfgAcd::topSideFilterEmax, _GammaCfgTkr::twoTkrEmax, _GammaCfgPrms::zbottom, and _GammaCfgTkr::zeroTkrEmin.
Referenced by GFC_cfgPrint().
static void printHdr | ( | const char * | title | ) | [static] |
Prints a header.
title | A string giving a description of what is to follow |
Referenced by GFC_cfgPrint().