GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-2-2 > gddfc / sun-gcc
#include <EFC/EFC_fate.h>
#include <EDS/EBF_siv.h>
Functions | |
| int | DFC_sizeof (int cnt) |
| Sizes the diagnostic filtering control structure. | |
| int | DFC_cfgSizeof (void) |
| Sizes the diagnostic filtering configuration as it is used in the actual filtering progam. | |
| int | DFC_cfgCompile (DFC_cfg *cfg, const DFC_DB_prms *prms) |
| Implements the transformation of the configuration parameters as specified by the user, cfg, into the internal form, ctlCfg. | |
| int | DFC_resultSizeof (const DFC *dfc) |
| Returns the size, in bytes, of one result vector. | |
| const DFC_cfg * | DFC_cfgSet (DFC *dfc, DFC_cfg *cfg) |
| Makes the specified internal representation of the configuration parameters the current active one. | |
| int | DFC_filter (DFC *dfc, unsigned int pktByte, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, unsigned int vetoes, DFC_result *result) |
| Determines the fate of 1 event. | |
| unsigned int | DFC_fwObjects (void) |
| Returns a bit mask of the EDS_fw objects used by the heavy ion filter. | |
| unsigned int | DFC_fwNeeds (void) |
| Returns a bit mask of the EDS_fw needs. | |
| const EFC_services * | DFC_servicesGet (void) |
CVS $Id: DFC.h,v 1.2 2011/03/28 20:50:53 russell Exp $
| int DFC_cfgCompile | ( | DFC_cfg * | cfg, | |
| const DFC_DB_prms * | prms | |||
| ) |
Implements the transformation of the configuration parameters as specified by the user, cfg, into the internal form, ctlCfg.
| 0 | Successful | |
| -1 | Unrecognized or non-backwardly compatiable user configuration version number. |
| cfg | Filled in with the internal form of the configuration parameters | |
| prms | The user form of the configuration parameters |
References compileCfgPrms(), _DFC_cfg::prms, and _DFC_cfg::titles.
Makes the specified internal representation of the configuration parameters the current active one.
| dfc | The diagnostic filter control structure | |
| cfg | The internal representation of the configuration constants |
References _DFC::cfg.
| int DFC_cfgSizeof | ( | void | ) |
Sizes the diagnostic filtering configuration as it is used in the actual filtering progam.
ctlCfg = malloc (DFC_cfgSizeof ()); status = DFC_cfgCompile (cfg, usrPrms); DFC_cfgSet (dfc, cfg);
| int DFC_filter | ( | DFC * | dfc, | |
| unsigned int | pktBytes, | |||
| EBF_pkt * | pkt, | |||
| EBF_siv | siv, | |||
| EDS_fwIxb * | ixb, | |||
| unsigned int | vetoes, | |||
| DFC_result * | result | |||
| ) |
Determines the fate of 1 event.
| < | 0, rejected | |
| ==0,undecided | ||
| > | 0, accepted |
| dfc | The diagnostic filter control structure | |
| pktBytes | The number of bytes in pkt, includes the packet header | |
| pkt | The event data packet | |
| siv | The packet's state information vector | |
| ixb | The information exchange block | |
| vetoes | The active vetoes | |
| result | The filter result vector |
References dfcFilter().
| unsigned int DFC_fwNeeds | ( | void | ) |
Returns a bit mask of the EDS_fw needs.
Referenced by dfc_construct().
| unsigned int DFC_fwObjects | ( | void | ) |
Returns a bit mask of the EDS_fw objects used by the heavy ion filter.
Referenced by dfc_construct().
| int DFC_resultSizeof | ( | const DFC * | dfc | ) |
Returns the size, in bytes, of one result vector.
| The | size, in bytes, of one result vector |
| dfc | The configuration control structure |
| int DFC_sizeof | ( | int | cnt | ) |
Sizes the diagnostic filtering control structure.
| cnt | Number of configurations to accommodate |
1.5.8