GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EDS / dev > edsprint / rad750


Interface   Data Structures   File List   Data Fields   Globals  

EDR_tkrPrint.h File Reference

Defines the interface to the EDR_tkrPrint routine. More...


Typedefs

typedef enum _EDR_TKRPRINT_OPTS_M EDR_TKRPRINT_OPTS_M
 Typedef for enum _EDR_TKRPRINT_OPTS_M.

Enumerations

enum  _EDR_TKRPRINT_OPTS_M {
  EDR_TKRPRINT_OPTS_M_CORR = 0x0001,
  EDR_TKRPRINT_OPTS_M_CLUSTERS = 0x0002,
  EDR_TKRPRINT_OPTS_M_RSVD = 0xFFFc,
  EDR_TKRPRINT_OPTS_M_TOWERS = 0xFFFF0000,
  EDR_TKRPRINT_OPTS_M_ALL_US = EDR_TKRPRINT_OPTS_M_TOWERS,
  EDR_TKRPRINT_OPTS_M_ALL_CS,
  EDR_TKRPRINT_OPTS_M_ALL_UC,
  EDR_TKRPRINT_OPTS_M_ALL_CC,
  EDR_TKRPRINT_OPTS_M_DEF = -1
}
 Defines the print option bits. More...

Functions

void EDR_tkrPrint (const EDR_tkr *tlr, unsigned int options)
 Prints an ASCII display of all the towers which have been unpacked.


Detailed Description

Defines the interface to the EDR_tkrPrint routine.

Author:
JJRussell - russell@slac.stanford.edu
    CVS $Id: EDR_tkrPrint.h,v 1.3 2005/10/13 22:00:54 russell Exp $

Typedef Documentation

Typedef for enum _EDR_TKRPRINT_OPTS_M.

Normally the print options word for EDR_tkrPrint would be specified as -1. This will print the dump for
  • all towers
  • as clusters
  • with ladder gap correction applied
By specifying the options word as something other than -1, one ca
  • print selected towers
  • print the values, not as clusters, but as individual strips
  • suppress the gap correction

A cluster is defined as the middle strip number followed by the width of the cluster - 1. The beginning strip number is cluster number
  • width/2.


Enumeration Type Documentation

Defines the print option bits.

Enumerator:
EDR_TKRPRINT_OPTS_M_CORR  Ladder correction applied
EDR_TKRPRINT_OPTS_M_CLUSTERS  Print as clusters:width-1
EDR_TKRPRINT_OPTS_M_RSVD  Reserved for future use
EDR_TKRPRINT_OPTS_M_TOWERS  The tower mask, MSB = Tower 0
EDR_TKRPRINT_OPTS_M_ALL_US  Convenience symbol for all towers, uncorrected strips
EDR_TKRPRINT_OPTS_M_ALL_CS  Convenience symbol for all towers, corrected strips
EDR_TKRPRINT_OPTS_M_ALL_UC  Convenience symbol for all towers, uncorrected clusters
EDR_TKRPRINT_OPTS_M_ALL_CC  Convenience symbol for all towers, corrected clusters
EDR_TKRPRINT_OPTS_M_DEF  Default print options


Function Documentation

void EDR_tkrPrint ( const EDR_tkr *  tlr,
unsigned int  options 
)

Prints an ASCII display of all the towers which have been unpacked.

Parameters:
tlr The tracker LAT record to be displayed.
options A word controlling the print options. The top 16 bits represent a left justified (MSB = Tower 0) of which towers to print. The low 2 bits specify whether you wish the style to be
  • as clusters (bit 0)
  • apply the ladder gap correction See the EDR_TKRPRINT_OPTS_M for details

References EDR_TKRPRINT_OPTS_M_TOWERS, printClusters(), printStrips(), printTower(), printUClusters(), and printUStrips().


Generated on Fri Nov 30 09:37:17 2012 by  doxygen 1.5.8