GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > gfilter / rhel6-64
#include <EFC/EDM.h>
#include <EDS/io/EBF_stream.h>
Classes | |
struct | _FilterRto |
Collections all the runtime options together. These are essentially the interpretted command line options. More... | |
Defines | |
#define | FLT_M_PRJS (1<<31) |
Print mask to request projection dump. | |
#define | FLT_M_GEO (1<<30) |
Print mask to request geometry dump;. | |
Typedefs | |
typedef enum _FLT_RESULT_ENERGY_K | FLT_RESULT_ENERGY_K |
Typedef for struct _FLT_RESULT_ENERGY_K. | |
typedef enum _FLT_STATS_EBIN_V | FLT_STATS_EBIN_V |
Typedef for enum _FLT_STATS_EBIN_V. | |
typedef enum _FLT_STATS_EBIN_M | FLT_STATS_EBIN_M |
Typedef for enum _FLT_STATS_EBIN_M. | |
typedef struct _FilterRto | FilterRto |
Typedef for struct _FilterRto. | |
Enumerations | |
enum | _FLT_RESULT_ENERGY_K { FLT_RESULT_ENERGY_K_CALCULATED = 0, FLT_RESULT_ENERGY_K_GENERATED = 1, FLT_RESULT_ENERGY_K_OBSERVED = 2 } |
Indicates which energy is used to classified the event. More... | |
enum | _FLT_STATS_EBIN_V { FLT_STATS_EBIN_V_DEF = 0, FLT_STATS_EBIN_V_ALT = 1 } |
Determines how the energy binning of the statistics display, as bit offsets. More... | |
enum | _FLT_STATS_EBIN_M { FLT_STATS_EBIN_M_DEF = (1 << FLT_STATS_EBIN_V_DEF), FLT_STATS_EBIN_M_ALT = (1 << FLT_STATS_EBIN_V_ALT) } |
Determines how the energy binning of the statistics display as in-place bit masks. More... | |
Functions | |
int | filter_rtoFill (FilterRto *rto, int argc, char *argv[]) |
Examines the command line parameters and fills the print control structure. | |
void | filter_rtoUsageReport (void) |
Describes the command line parameters for daqeb_print. | |
void | filter_rtoPrint (const FilterRto *rto) |
Prints the contents of the print control context. |
CVS $Id
Typedef for struct _FLT_RESULT_ENERGY_K.
enum _FLT_RESULT_ENERGY_K |
enum _FLT_STATS_EBIN_M |
enum _FLT_STATS_EBIN_V |
int filter_rtoFill | ( | FilterRto * | rto, | |
int | argc, | |||
char * | argv[] | |||
) |
Examines the command line parameters and fills the print control structure.
0 | Everything is okay. | |
-1 | Incorrect command usage. Usually this means that the input file name was absent. |
rto | The runtime options structure to fill. | |
argc | The number of command line parameters. | |
argv | The array of pointers to the command line parameters. |
$> filter -n10 -s -PACG my_file
The -s parameter is without a value, well kind of. Its, value, whether intentional or not, is my_file. This behaviour makes providing different defaults whether the option is specified or not specified, impossible. (Here a reasonable interpretation is to set the skip count to 1, rather than 0 if it wasn't specified.)
The current set of lists are
The list of targets is
Example
-MDpsIfv
This indicates the TFC projection tower finding and the TFC skirt matching routines should issue messages at the DEBUG level or higher and that the filter and TFC ACD matching routines should issue messages at the INFO level or higher. Hey, it ain't pretty, but what you gonna do with such a brain-dead facility?
Example
-PACPg
This displays information about the ACD, CAL and found Projections along with a dump of the geometry.
-Se
This requests a short event summary
References _FilterRto::allRead, _FilterRto::config, _FilterRto::dgmfile, _FilterRto::energy, _FilterRto::esummary, FLT_M_GEO, FLT_RESULT_ENERGY_K_CALCULATED, FLT_STATS_EBIN_M_DEF, _FilterRto::geometry, getEnergyOpt(), getPrintOpts(), getSummaryOpts(), _FilterRto::grbfile, _FilterRto::list, loadLib(), _FilterRto::name, _FilterRto::ofile, _FilterRto::quiet, _FilterRto::resultCnt, _FilterRto::segSize, _FilterRto::ss_to_print, _FilterRto::to_print, _FilterRto::to_process, _FilterRto::to_skip, _FilterRto::type, and _FilterRto::vetoes.
Referenced by main().
void filter_rtoPrint | ( | const FilterRto * | rto | ) |
Prints the contents of the print control context.
rto | Pointer to the print control context block. |
References _FilterRto::allRead, _FilterRto::energy, _FilterRto::name, _FilterRto::segSize, _FilterRto::to_print, _FilterRto::to_process, and _FilterRto::to_skip.
Referenced by doFilter().