GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EDS / V2-10-0
Constituent: esu     Tag: linux-gcc

Typedefs | |
| typedef struct _ESS_ctl | ESS_ctl |
| typedef struct _EBF_dir | EBF_dir |
| typedef struct _EDS_fwIxb | EDS_fwIxb |
| typedef enum _ESS_logic | ESS_logic |
| Typedef for enum _ESS_logic. | |
Enumerations | |
| enum | _ESS_logic { ESS_LOGIC_K_OR = 0, ESS_LOGIC_K_AND = 1 } |
| Identifies the logic used when using multiple selectors as either OR (the default) or AND. More... | |
Functions | |
| int | ESS_sizeof (void) |
| Returns the size, in bytes, of the ESS control structure. | |
| void | ESS_construct (ESS_ctl *ess) |
| Constructs (initializes) the ESS control structure. | |
| int | ESS_parse_cond (ESS_ctl *ess, const char *s) |
| Parses the string for the trigger condition specification. | |
| int | ESS_parse_dgn (ESS_ctl *ess, const char *s) |
| Parses the specified input string s, for a diagnostic selection. | |
| int | ESS_parse_err (ESS_ctl *ess, const char *s) |
| Parses the specified input string s, for an error selection. | |
| int | ESS_parse_pkt (ESS_ctl *ess, const char *s) |
| Parses the specified input string s, for a packet range. | |
| int | ESS_parse_readout (ESS_ctl *ess, const char *s) |
| Parses the input string, extracting a readout mask. | |
| int | ESS_parse_size (ESS_ctl *ess, const char *s) |
| Parses the specified input string s, for a packet range. | |
| int | ESS_set_logic (ESS_ctl *ess, ESS_logic logic) |
| Currently just sets the evaluation condition to the 'AND'. | |
| int | ESS_select (ESS_ctl *ess, const EBF_dir *dir, unsigned int npkts, unsigned int nbytes) |
| Evaluates to the filter status. | |
Variables | |
| const char | ESS_usage_cond [] |
| String for defining a GEM Pattern Condition specifier. This is meant to be used when reporting the usage of this specifier. | |
| const char | ESS_usage_range [] |
| String for defining a range specifier. This is meant to be used when reporting the usage of this specifier. | |
CVS $Id: ESS.h,v 1.1 2007/02/14 01:06:38 russell Exp $
This provides a utility to setup and use a simple event selector. The selection criteria are base on very simple quantities that available once an event directory has been formed. These include things like selection on
| enum _ESS_logic |
| void ESS_construct | ( | ESS_ctl * | ess | ) |
Constructs (initializes) the ESS control structure.
| ess | The control structure to initialize |
| int ESS_parse_cond | ( | ESS_ctl * | ess, | |
| const char * | s | |||
| ) |
Parses the string for the trigger condition specification.
| ess | The control structure to fill | |
| s | The string to parse. |
| int ESS_parse_dgn | ( | ESS_ctl * | ess, | |
| const char * | s | |||
| ) |
Parses the specified input string s, for a diagnostic selection.
| ess | The control structure to fill | |
| s | The string to parse. If NULL, the diagnostic selection defaults to any contributor |
| int ESS_parse_err | ( | ESS_ctl * | ess, | |
| const char * | s | |||
| ) |
Parses the specified input string s, for an error selection.
| ess | The control structure to fill | |
| s | The string to parse. If NULL, the error selection defaults to any contributor |
| int ESS_parse_pkt | ( | ESS_ctl * | ess, | |
| const char * | s | |||
| ) |
Parses the specified input string s, for a packet range.
| ess | The control structure to fill, see the documentation for get_range on the allowed syntax of s. | |
| s | The string to parse |
| int ESS_parse_readout | ( | ESS_ctl * | ess, | |
| const char * | s | |||
| ) |
Parses the input string, extracting a readout mask.
| ess | The control structure to fill, see the documentation for get_range on the allowed syntax of s. | |
| s | The input string, consisting of up to 4 characters
|
| int ESS_parse_size | ( | ESS_ctl * | ess, | |
| const char * | s | |||
| ) |
Parses the specified input string s, for a packet range.
| ess | The control structure to fill, see the documentation for get_range on the allowed syntax of s. | |
| s | The string to parse |
| int ESS_select | ( | ESS_ctl * | ess, | |
| const EBF_dir * | dir, | |||
| unsigned int | npkts, | |||
| unsigned int | nbytes | |||
| ) |
Evaluates to the filter status.
| 0,does | not pass | |
| 1,passes |
| ess | The selection parameters | |
| dir | The EBF directory structure | |
| npkts | The number of packets in this event. This is relevant if and only if the OPT_M_PKT selection option is active. | |
| nbytes | The number of bytes in this event. This is relevant if and only if the OPT_M_SIZE selection option is active. |
| int ESS_set_logic | ( | ESS_ctl * | ess, | |
| ESS_logic | logic | |||
| ) |
Currently just sets the evaluation condition to the 'AND'.
| ess | The control structure to fill | |
| logic | The string to parse. Currently unused, should be specified as NULL |
| int ESS_sizeof | ( | void | ) |
Returns the size, in bytes, of the ESS control structure.
1.5.3