GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > ggfc / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

GFC_cfg.h File Reference

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

#include <EDS/EDS_tag.h>
#include <EFC_DB/EFC_DB_sampler.h>
#include <GFC_DB/GFC_DB_V3_schema.h>
#include <PBI/Endianness.h>

Classes

struct  _GFC_cfgSampler
 Marries sampler with a tag identifer. More...

Defines

#define GFC_CFGPRMS_K_VERSION   3
 The current version number of the user parameter configuration structure.
#define GFC_CFGSAMPLER_K_VERSION   0
 The current version number of the user sampler configuration structure.

Typedefs

typedef struct _GFC_cfgSampler GFC_cfgSampler
 Typedef for struct _GFC_cfgSampler.


Detailed Description

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

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: GFC_cfg.h,v 1.4 2011/03/27 04:55:29 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
The most prevalent example of the first type are energy values that determine if a veto criteria can be used. For example, to avoid self-vetoing, certain ACD veto conditions are disabled when the observed energy is too high.
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 Wed Jan 16 13:34:53 2013 by  doxygen 1.5.8