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


Interface   Data Structures   File List   Data Fields   Globals  

TFC_prjPrint.c File Reference

Defines the implementation for the projection printing routines. These routines are for diagnostic and debugging purposes only. More...

#include <stdio.h>
#include <EFC/TFC_prjPrint.h>
#include <EFC/TFC_prjDef.h>
#include <PBI/FFS.ih>

Functions

static void printPrjs (const TFC_prj *prj, int xCnt, int yCnt, int towerId)
 Prints an ASCII dump of the X and Y projections from the specified list.
void TFC_prjsPrint (const TFC_prjs *prjs, unsigned int twrMsk)
 Prints an ASCII dump of the projections for the specified towers.


Detailed Description

Defines the implementation for the projection printing routines. These routines are for diagnostic and debugging purposes only.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: TFC_prjPrint.c,v 1.2 2011/03/27 04:55:31 russell Exp $

Function Documentation

static void printPrjs ( const TFC_prj prj,
int  xCnt,
int  yCnt,
int  towerId 
) [static]

Prints an ASCII dump of the X and Y projections from the specified list.

Parameters:
prj The list of projections. It is assumed that the projections are ordered X projections first, followed by the Y projections.
xCnt The number of X projections
yCnt The number of Y projections
towerId The tower id associated with this list of projections

References _TFC_prj::acdTopMask, _TFC_prjPrms::dxy, _TFC_prjPrms::dz, _TFC_prj::hits, _TFC_prj::layers, _TFC_prj::max, _TFC_prj::min, _TFC_prj::nhits, _TFC_hit::strip, _TFC_prj::top, _TFC_hit::tower, and _TFC_prjPrms::xy0.

Referenced by TFC_prjsPrint().

void TFC_prjsPrint ( const TFC_prjs prjs,
unsigned int  twrMsk 
)

Prints an ASCII dump of the projections for the specified towers.

Parameters:
prjs The list of projections for the specified tower
twrMsk The list of towers to print, left justified, MSB = Tower 0.

References _TFC_prjs::dir, _TFC_prjDir::idx, printPrjs(), _TFC_prjs::prjs, _TFC_prjs::twrMsk, _TFC_prjDir::xCnt, and _TFC_prjDir::yCnt.


Generated on Wed Jan 4 14:13:46 2012 by  doxygen 1.5.8