GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC / V0-3-1 > dfilter_hip / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

HFC_cfg.h File Reference

Defines the interface to and data structure containing the parameters used in filtering heavy ions. This is just a front for the most current version. More...

#include <EDS/EDS_tag.h>
#include <EFC_DB/EFC_DB_sampler.h>
#include <XFC_DB/HFC_DB_schema.h>
#include <PBI/Endianness.h>

Classes

struct  _HFC_cfgSampler
 Marries sampler with a tag identifer. More...
union  _HFC_cfgPrms
 Union of all the versions of the configuration parameter structure. More...

Defines

#define HFC_CFGPRMS_K_VERSION   0
 The current version number of the user parameter configuration structure.
#define HFC_CFGSAMPLER_K_VERSION   0
 The current version number of the user sampler configuration structure.

Typedefs

typedef struct _HFC_cfgSampler HFC_cfgSampler
 Typedef for struct _HFC_cfgSampler.
typedef union _HFC_cfgPrms HFC_cfgPrms
 Typedef for union _HFC_cfgPrms.


Detailed Description

Defines the interface to and data structure containing the parameters used in filtering heavy ions. This is just a front for the most current version.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: HFC_cfg.h,v 1.2 2011/03/28 20:50:54 russell Exp $

Overview
The filter configuration consists of 2 major configuration blocks. The first controls the various criteria the filter uses when making its decision. The second block controls the sampling of the filter's output for monitoring purposes
Parameter Block
Contains all the filter cuts
Sampling Block
In order to monitor the filter, a certain percentage of the events can be leaked from the filter. There are two distinct methods of doing this.
  1. Globally
  2. Individually

Global Sampling
Every n events the veto mask is set to 0. This effectively allows the filter to perform all its evaluations but prevents it from kicking out on any veto condition. This is a very simple way to get an unbiased sample.
Individual
This allows the filter to run normally, but each time an individual veto criteria is meet, a prescaler is decremented. When the prescaler reaches 0, the event is passed to the output stage, thus ignoring the reject decision of the filter.
Arbitration
The global sampling is always evaluated first.

Generated on Thu Sep 27 12:55:49 2012 by  doxygen 1.5.8