GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-2-2 > ghfc / rhel5-32
#include <EFC/EFC_fate.h>
#include <EDS/EBF_siv.h>
Functions | |
| int | HFC_sizeof (int cnt) |
| Sizes the heavy ion filtering control structure. | |
| int | HFC_cfgSizeof (void) |
| Sizes the heavy ion filtering configuration as it is used in the actual filtering progam. | |
| int | HFC_cfgCompile (HFC_cfg *cfg, const HFC_DB_prms *prms) |
| Implements the transformation of the configuration parameters as specified by the user, cfg, into the internal form, ctlCfg. | |
| int | HFC_resultSizeof (const HFC *hfc) |
| Returns the size, in bytes, of one result vector. | |
| HFC_cfg * | HFC_cfgSet (HFC *hfc, HFC_cfg *cfg) |
| Makes the specified internal representation of the configuration parameters the current active one. | |
| int | HFC_filter (HFC *hfc, unsigned int pktByte, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, unsigned int vetoes, HFC_result *result) |
| Determines the fate of 1 event. | |
| unsigned int | HFC_fwObjects (void) |
| Returns a bit mask of the EDS_fw objects used by the heavy ion filter. | |
| unsigned int | HFC_fwNeeds (void) |
| Returns a bit mask of the EDS_fw needs. | |
| const EFC_services * | HFC_servicesGet (void) |
CVS $Id: HFC.h,v 1.2 2011/03/28 20:50:53 russell Exp $
| int HFC_cfgCompile | ( | HFC_cfg * | cfg, | |
| const HFC_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(), and _HFC_cfg::prms.
Makes the specified internal representation of the configuration parameters the current active one.
| hfc | The heavy ion filter control structure | |
| cfg | The internal representation of the configuration constants |
References _HFC::cfg.
| int HFC_cfgSizeof | ( | void | ) |
Sizes the heavy ion filtering configuration as it is used in the actual filtering progam.
ctlCfg = malloc (HFC_cfgSizeof ()); status = HFC_cfgCompile (cfg, usrPrms); HFC_cfgSet (hfc, cfg);
| int HFC_filter | ( | HFC * | hfc, | |
| unsigned int | pktBytes, | |||
| EBF_pkt * | pkt, | |||
| EBF_siv | siv, | |||
| EDS_fwIxb * | ixb, | |||
| unsigned int | vetoes, | |||
| HFC_result * | result | |||
| ) |
Determines the fate of 1 event.
| < | 0, rejected | |
| ==0,undecided | ||
| > | 0, accepted |
| hfc | The heavy ion 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 hfcFilter().
| unsigned int HFC_fwNeeds | ( | void | ) |
Returns a bit mask of the EDS_fw needs.
Referenced by hfc_construct().
| unsigned int HFC_fwObjects | ( | void | ) |
Returns a bit mask of the EDS_fw objects used by the heavy ion filter.
Referenced by hfc_construct().
| int HFC_resultSizeof | ( | const HFC * | hfc | ) |
Returns the size, in bytes, of one result vector.
| The | size, in bytes, of one result vector |
| hfc | The configuration control structure |
| int HFC_sizeof | ( | int | cnt | ) |
Sizes the heavy ion filtering control structure.
| cnt | Number of configurations to accommodate |
1.5.8