GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / dev > gmfc / rhel5-32
#include <EFC/EFC_fate.h>
#include <EDS/EBF_siv.h>
Functions | |
int | MFC_sizeof (int cnt) |
Sizes the minimum ionizing particle filtering control structure. | |
int | MFC_cfgSizeof (void) |
Sizes the minimum filtering configuration as it is used in the actual filtering progam. | |
int | MFC_cfgCompile (MFC_cfg *cfg, const MFC_DB_prms *prms) |
Implements the transformation of the configuration parameters as specified by the user, cfg, into the internal form, ctlCfg. | |
int | MFC_cfgSchemaCompile (MFC_cfg *cfg, const MFC_DB_schema *schema) |
Implements the transformation of the configuration parameters as specified by the user, cfg, into the internal form, ctlCfg. | |
int | MFC_resultSizeof (const MFC *hfc) |
Returns the size, in bytes, of one result vector. | |
MFC_cfg * | MFC_cfgSet (MFC *hfc, MFC_cfg *cfg) |
Makes the specified internal representation of the configuration parameters the current active one. | |
int | MFC_filter (MFC *hfc, unsigned int pktByte, EBF_pkt *pkt, EBF_siv siv, EDS_fwIxb *ixb, unsigned int vetoes, MFC_result *result) |
Determines the fate of 1 event. | |
unsigned int | MFC_fwObjects (void) |
Returns a bit mask of the EDS_fw objects used by the heavy ion filter. | |
unsigned int | MFC_fwNeeds (void) |
Returns a bit mask of the EDS_fw needs. | |
const EFC_services * | MFC_servicesGet (void) |
CVS $Id: MFC.h,v 1.3 2012/01/04 20:36:40 russell Exp $
int MFC_cfgCompile | ( | MFC_cfg * | cfg, | |
const MFC_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 _MFC_cfg::prms.
Referenced by MFC_cfgSchemaCompile().
int MFC_cfgSchemaCompile | ( | MFC_cfg * | cfg, | |
const MFC_DB_schema * | schema | |||
) |
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 | |
schema | The user form of the configuration schema |
References MFC_cfgCompile(), and _MFC_cfg::prms.
Makes the specified internal representation of the configuration parameters the current active one.
mfc | The minimum ionizing particle filter control structure | |
cfg | The internal representation of the configuration constants |
References _MFC::cfg.
int MFC_cfgSizeof | ( | void | ) |
Sizes the minimum filtering configuration as it is used in the actual filtering progam.
ctlCfg = malloc (MFC_cfgSizeof ()); status = MFC_cfgCompile (cfg, usrPrms); MFC_cfgSet (mfc, cfg);
int MFC_filter | ( | MFC * | mfc, | |
unsigned int | pktBytes, | |||
EBF_pkt * | pkt, | |||
EBF_siv | siv, | |||
EDS_fwIxb * | ixb, | |||
unsigned int | vetoes, | |||
MFC_result * | result | |||
) |
Determines the fate of 1 event.
< | 0, rejected | |
==0,undecided | ||
> | 0, accepted |
mfc | The minimum ionizing particle 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 mfcFilter().
unsigned int MFC_fwNeeds | ( | void | ) |
Returns a bit mask of the EDS_fw needs.
Referenced by mfc_construct().
unsigned int MFC_fwObjects | ( | void | ) |
Returns a bit mask of the EDS_fw objects used by the heavy ion filter.
Referenced by mfc_construct().
int MFC_resultSizeof | ( | const MFC * | mfc | ) |
Returns the size, in bytes, of one result vector.
The | size, in bytes, of one result vector |
mfc | The configuration control structure |
int MFC_sizeof | ( | int | cnt | ) |
Sizes the minimum ionizing particle filtering control structure.
cnt | Number of configurations to accommodate |