GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / V2-11-6 > eds / mv2304


Interface   Data Structures   File List   Data Fields   Globals  

EBF_cid.h File Reference

Maps out the contributor IDs as defined by the Event Builder. More...


Defines

#define _EBF_CID_IS_TEM(_cid)   ((unsigned int)(_cid) < (EBF_CID_K_TEM+16))
 Returns non-zero if the specified contributor id is one TEMs.
#define _EBF_CID_MASK(_cid)   ((unsigned int)(0x80000000 >> (_cid)))
 Returns the contributor mask for the specified contributor id.

Typedefs

typedef enum _EBF_CID_K EBF_CID_K
 Typedef for enum_EBF_CID_K.
typedef enum _EBF_CID_V EBF_CID_V
 Typedef for enum_EBF_CID_V.
typedef enum _EBF_CID_M EBF_CID_M
 Typedef for enum _EBF_CID_M.

Enumerations

enum  _EBF_CID_K {
  EBF_CID_K_TEM = 0,
  EBF_CID_K_GEM = 16,
  EBF_CID_K_AEM = 17,
  EBF_CID_K_MAX = 31,
  EBF_CID_K_TEM_CNT = 16,
  EBF_CID_K_ALL_CNT = 18,
  EBF_CID_K_CNT = EBF_CID_K_MAX+1
}
 The IDs of each contributor. More...
enum  _EBF_CID_V {
  EBF_CID_V_TEM = 31 - EBF_CID_K_TEM,
  EBF_CID_V_GEM = 31 - EBF_CID_K_GEM,
  EBF_CID_V_AEM = 31 - EBF_CID_K_AEM
}
 The IDs of each contributor as right justified offsets. More...
enum  _EBF_CID_M {
  EBF_CID_M_TEM = (unsigned)1 << EBF_CID_V_TEM,
  EBF_CID_M_GEM = (unsigned)1 << EBF_CID_V_GEM,
  EBF_CID_M_AEM = (unsigned)1 << EBF_CID_V_AEM,
  EBF_CID_M_TEMS,
  EBF_CID_M_ALL = ((unsigned)((signed)0x80000000 >> (EBF_CID_K_ALL_CNT-1)))
}
 The IDs of each contributor as a mask. More...


Detailed Description

Maps out the contributor IDs as defined by the Event Builder.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: EBF_cid.h,v 1.5 2006/07/13 14:49:49 russell Exp $

Define Documentation

#define _EBF_CID_IS_TEM ( _cid   )     ((unsigned int)(_cid) < (EBF_CID_K_TEM+16))

Returns non-zero if the specified contributor id is one TEMs.

Returns:
Non-zero if the specified contributor id is one of the towers.
Parameters:
_cid The contributor id to test.

Referenced by EBF_calEnergyEvtSum(), and EBF_dirCompose().

#define _EBF_CID_MASK ( _cid   )     ((unsigned int)(0x80000000 >> (_cid)))

Returns the contributor mask for the specified contributor id.

Returns:
The contributor mask for the specified contributor id.
Parameters:
_cid The contributor id to convert to a mask

Referenced by EBF_dirCompose().


Enumeration Type Documentation

enum _EBF_CID_K

The IDs of each contributor.

Enumerator:
EBF_CID_K_TEM  Base TEM id
EBF_CID_K_GEM  GEM id
EBF_CID_K_AEM  AEM id
EBF_CID_K_MAX  Maximum id
EBF_CID_K_TEM_CNT  Count of the TEMs
EBF_CID_K_ALL_CNT  Count of all Electronic Modules
EBF_CID_K_CNT  Count of all ids

enum _EBF_CID_M

The IDs of each contributor as a mask.

Enumerator:
EBF_CID_M_TEM  TEM base, inplace mask
EBF_CID_M_GEM  GEM, inplace mask
EBF_CID_M_AEM  AEM, inplace mask
EBF_CID_M_TEMS  All TEM mask
EBF_CID_M_ALL  All contributors mask

enum _EBF_CID_V

The IDs of each contributor as right justified offsets.

Enumerator:
EBF_CID_V_TEM  Base TEM, right offset
EBF_CID_V_GEM  GEM, right offset
EBF_CID_V_AEM  AEM, right offset


Generated on Fri Dec 9 16:49:42 2011 by  doxygen 1.5.8