GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / V4-5-0 > efcprint / rhel6-64


Interface   Data Structures   File List   Data Fields   Globals  

EFC_display.h File Reference

Display, interface. More...


Typedefs

typedef enum _EFC_DISPLAY_SS_K EFC_DISPLAY_SS_K
 Typedef for enum _EFC_DISPLAY_SS_K.
typedef enum _EFC_DISPLAY_SS_V EFC_DISPLAY_SS_V
 Typedef for enum _EFC_V_SS.
typedef enum _EFC_DISPLAY_SS_M EFC_DISPLAY_SS_M
 Typedef for enum _EFC_V_SS.
typedef enum _EFC_DISPLAY_OPTS_M EFC_DISPLAY_OPTS_M
 Typedef for enum _EFC_DISPLAY_OPTS_M.

Enumerations

enum  _EFC_DISPLAY_SS_K {
  EFC_DISPLAY_SS_K_ACD = 0,
  EFC_DISPLAY_SS_K_TKR = 1,
  EFC_DISPLAY_SS_K_CAL = 2,
  EFC_DISPLAY_SS_K_GEM = 3,
  EFC_DISPLAY_SS_K_TWR = 4
}
 Enumerates the 4 subsystems which comprise the GLAST instrument. This should be used when accessing arrays indexed by the subsystem number.
enum  _EFC_DISPLAY_SS_V {
  EFC_DISPLAY_SS_V_GEM = 0,
  EFC_DISPLAY_SS_V_TKR = 1,
  EFC_DISPLAY_SS_V_CAL = 2,
  EFC_DISPLAY_SS_V_TWR = 3,
  EFC_DISPLAY_SS_V_ACD = 4
}
 Enumerates the bit positions of 4 subsystems which comprise the GLAST instrument. This should be used when extracting bits from bit arrays of subsystems.
enum  _EFC_DISPLAY_SS_M {
  EFC_DISPLAY_SS_M_GEM = (1 << EFC_DISPLAY_SS_V_GEM),
  EFC_DISPLAY_SS_M_TKR = (1 << EFC_DISPLAY_SS_V_TKR),
  EFC_DISPLAY_SS_M_CAL = (1 << EFC_DISPLAY_SS_V_CAL),
  EFC_DISPLAY_SS_M_TWR = (1 << EFC_DISPLAY_SS_V_TWR),
  EFC_DISPLAY_SS_M_ACD = (1 << EFC_DISPLAY_SS_V_ACD)
}
 Enumerates the bit masks of 4 subsystems which comprise the GLAST instrument. This should be used when accessing bits from bit arrays of subsystems.
enum  _EFC_DISPLAY_OPTS_M {
  EFC_DISPLAY_OPTS_M_PLAIN = 0x00,
  EFC_DISPLAY_OPTS_M_FILL0 = 0x01,
  EFC_DISPLAY_OPTS_M_TEMPLATE0 = 0x02,
  EFC_DISPLAY_OPTS_M_DISPLAY0 = 0x03
}
 Defines the available display options.

Functions

void EFC_display (EDS_fwEvt *evt, unsigned int opts)
 Displays the specified event.
void EFC_acdTkrDisplay (unsigned int style, const unsigned int tkr[16], unsigned int acd_top, unsigned int acd_x, unsigned int acd_y)
 Draws a display of the TKR layer hit mask and the struck ACD tiles using only ASCII characters.
void EFC_acdTkrDirDisplay (unsigned int style, const EBF_dir *dir)
 Draws a display of the TKR layer hit mask and the struck ACD tiles using only ASCII characters.


Detailed Description

Display, interface.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: EFC_display.h,v 1.2 2005/11/22 02:32:06 russell Exp $

Typedef Documentation

Typedef for enum _EFC_DISPLAY_OPTS_M.

This enumerates all the display options available. Be advised that any options other than the EFC_DISPLAY_OPTS_M_PLAIN may not be rendered correctly on all displays. Printing with anything other than the PLAIN is almost guaranteed to fail.


Function Documentation

void EFC_acdTkrDirDisplay ( unsigned int  style,
const EBF_dir *  dir 
)

Draws a display of the TKR layer hit mask and the struck ACD tiles using only ASCII characters.

Parameters:
style Display style, 0 = plain, 1 = fancy
dir The directory of event contributors.
This routine displays the tracker and ACD data using the event data as the source. The tower data for each TKR is taken as the coincidence of the X and Y of the layer end OR of the accept list. The ACD data is from the veto list in the GEM block.

References EFC_acdTkrDisplay().

Referenced by EFC_display().

void EFC_acdTkrDisplay ( unsigned int  style,
const unsigned int  tkr[16],
unsigned int  acd_top,
unsigned int  acd_x,
unsigned int  acd_y 
)

Draws a display of the TKR layer hit mask and the struck ACD tiles using only ASCII characters.

Parameters:
style Display style, 0 = plain, 1 = fancy
tkr An array of the 16 towers layer hit pattern (18 bits)
acd_top A bit mask of the struck 25 top ACD tiles
acd_x A bit mask of the struck X side tiles, upper 16 bits are X+ mask, the lower 16 are the X- mask
acd_y A bit mask of the struck Y side tiles, upper 16 bits are Y+ mask, the lower 16 are the Y- mask

References displayAcd(), displayTkr(), printAcd(), printAcdTkr(), and translate().

Referenced by EFC_acdTkrDirDisplay().

void EFC_display ( EDS_fwEvt *  evt,
unsigned int  opts 
)

Displays the specified event.

Parameters:
evt Pointer to the unpacked event components to be displayed.
opts Bit mask of what to display. This is chosen from EFC_M_SS_xxx.

References EFC_acdTkrDirDisplay().


Generated on Wed Jan 4 14:15:00 2012 by  doxygen 1.5.8