GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> XFC_DB / dev > dgn_gem_1000 / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

DFC_DB_macros.h File Reference

Defines the macros used to fill the parameters for the Diagnostic Filter. More...


Defines

#define P(_n)   ((_n) << 8)
 Defines a mapping trigger condition byte directly into the status word.
#define P0x07(_n)
 Defines a mapping trigger condition byte of 7 consecutive values directly into the status word.
#define P0x08(_n)
 Defines a mapping trigger condition byte of 8 consecutive values directly into the status word.
#define P0x10(_n)   P0x08(_n),P0x08(_n+8)
 Defines a mapping trigger condition byte of 16 consecutive values directly into the status word.
#define P0x20(_n)   P0x10(_n),P0x10(_n+16)
 Defines a mapping trigger condition byte of 32 consecutive values directly into the status word.
#define P0x40(_n)   P0x20(_n),P0x20(_n+32)
 Defines a mapping trigger condition byte of 64 consecutive values directly into the status word.
#define P0x80(_n)   P0x40(_n),P0x40(_n+64)
 Defines a mapping trigger condition byte of 128 consecutive values directly into the status word.
#define DirectMap
 Defines a direct mapping of the trigger condition byte to the status word.
#define External   (1 << (23+7))
 The status word bit mask for the external trigger.
#define Solicited   (1 << (23+6))
 The status word bit mask for the solicited trigger.
#define Periodic   (1 << (23+5))
 The status word bit mask for the periodic trigger.
#define Cno   (1 << (23+4))
 The status word bit mask for the CNO trigger.
#define CalHi   (1 << (23+3))
 The status word bit mask for the Calorimeter Hi trigger.
#define CalLo   (1 << (23+2))
 The status word bit mask for the Calorimeter Lo trigger.
#define Tkr   (1 << (23+1))
 The status word bit mask for the Tracker 3-in-a-row trigger.
#define Roi   (1 << (23+0))
 The status word bit mask for the Roi/Tracker Throttle trigger.
#define DFC_DB_DATA_STATS_TITLES
 Template for the Diagnostic Filter Statistics Titles.
#define DFC_DB_DATA_PRMS
 Template for the Heavy Ion Filter Parameters.
#define DEFAULT__Active_Passes_Vetoes   0x7fff0000
 The list of vetoes to use.
#define DFC_DB_DATA_SAMPLER
 Template for the Diagnostic Filter Sampling Parameters.
#define DFC_DB_DATA(_name)
 Template for the Diagnostic Filter Schema.


Detailed Description

Defines the macros used to fill the parameters for the Diagnostic Filter.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: DFC_DB_macros.h,v 1.3 2007/10/17 03:57:47 jgt Exp $

Define Documentation

#define DFC_DB_DATA ( _name   ) 

Value:

static const DFC_DB_schema _name =                                         \
{                                                                          \
    DFC_DB_DATA_SAMPLER,                                                   \
    DFC_DB_DATA_PRMS                                                       \
};
Template for the Diagnostic Filter Schema.

Parameters:
_name The name you wish to assign. This is quite arbitrary, but should be descriptive of the intent of the configuration

#define DFC_DB_DATA_PRMS

Value:

{                              \
  {                            \
    { Map }                    \
  },                           \
                               \
  {                            \
      DFC_DB_DATA_STATS_TITLES \
  }                            \
}
Template for the Heavy Ion Filter Parameters.

#define DirectMap

Value:

0x1,P0x07(0x01),P0x08(0x08),P0x10(0x10), \
                        P0x20(0x20),P0x40(0x40),P0x80(0x80)
Defines a direct mapping of the trigger condition byte to the status word.

#define P ( _n   )     ((_n) << 8)

Defines a mapping trigger condition byte directly into the status word.

Returns:
The mapped value
Parameters:
_n The value to map

#define P0x07 ( _n   ) 

Value:

P(_n+0),P(_n+1),P(_n+2),P(_n+3),\
                   P(_n+4),P(_n+5),P(_n+6)
Defines a mapping trigger condition byte of 7 consecutive values directly into the status word.

Returns:
A comma separated list of the 7 mapped values
Parameters:
_n The beginning value to map

#define P0x08 ( _n   ) 

Value:

P(_n+0),P(_n+1),P(_n+2),P(_n+3),\
                   P(_n+4),P(_n+5),P(_n+6),P(_n+7)
Defines a mapping trigger condition byte of 8 consecutive values directly into the status word.

Returns:
A comma separated list of the 8 mapped values
Parameters:
_n The beginning value to map

#define P0x10 ( _n   )     P0x08(_n),P0x08(_n+8)

Defines a mapping trigger condition byte of 16 consecutive values directly into the status word.

Returns:
A comma separated list of the 16 mapped values
Parameters:
_n The beginning value to map

#define P0x20 ( _n   )     P0x10(_n),P0x10(_n+16)

Defines a mapping trigger condition byte of 32 consecutive values directly into the status word.

Returns:
A comma separated list of the 32 mapped values
Parameters:
_n The beginning value to map

#define P0x40 ( _n   )     P0x20(_n),P0x20(_n+32)

Defines a mapping trigger condition byte of 64 consecutive values directly into the status word.

Returns:
A comma separated list of the 64 mapped values
Parameters:
_n The beginning value to map

#define P0x80 ( _n   )     P0x40(_n),P0x40(_n+64)

Defines a mapping trigger condition byte of 128 consecutive values directly into the status word.

Returns:
A comma separated list of the 128 mapped values
Parameters:
_n The beginning value to map


Generated on Fri Mar 25 16:32:02 2011 by  doxygen 1.5.8