GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > gdefc / linux-gcc


Interface   Data Structures   File List   Data Fields   Globals  

TFC_prjFind.h File Reference

Defines the interface for finding projections in a single tower/. More...

#include <PBI/Endianness.h>

Classes

struct  _TFC_prjFindStatus_bf
 The layout of the return status code from TFC_prjTowerFind. More...
union  _TFC_prjFindStatus
 Union of the bit field and uninterpretted 32-bit representations. More...

Typedefs

typedef struct
_TFC_prjFindStatus_bf 
TFC_prjFindStatus_bf
 Typedef for struct _TFC_prjFindStatus_bf.
typedef union _TFC_prjFindStatus TFC_prjFindStatus
 Typedef for union _TFC_prjFindStatus.

Functions

int TFC_prjsSizeof (void)
 Returns the size of a projections results record.
void TFC_prjsReset (TFC_prjs *projections)
 Resets the prjs structure, effectively cleaning it out for the next event.
unsigned int TFC_prjsConstruct (TFC_prjs *projections)
 The TFC_prjs constructor.
unsigned int TFC_prjsDestruct (TFC_prjs *projections)
 The TFC_prjs destructor.
unsigned int TFC_prjFind (TFC_prjs *projections, const TFC_geometryTkr *geo, const TFC_tolerances *tolerances, EDR_tkr *tkr, unsigned int tmsk)
unsigned int TFC_prjFindx (TFC_prjs *projections, const TFC_geometryTkr *geo, const TFC_tolerances *tolerances, EDR_tkr *tkr, unsigned int tmsk, unsigned int maxPrjs)
int TFC_prjTowerFind (TFC_prj *prjs, const TFC_prj *prjmax, const TFC_geometryTkr *geo, const TFC_tolerances *tolerances, EDR_tkr *tkr, int tower)
 Driver routine which looks for X and Y projections in the specified tower.


Detailed Description

Defines the interface for finding projections in a single tower/.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id: TFC_prjFind.h,v 1.5 2011/03/27 04:55:29 russell Exp $

Function Documentation

unsigned int TFC_prjsConstruct ( TFC_prjs projections  ) 

The TFC_prjs constructor.

Returns:
0, always. This just satisties the EDS_fw object constructor protocol.
Parameters:
projections The TFC_prjs structure to construct.

References _TFC_prjs::maxCnt, _TFC_prjs::prjs, and TFC_prjsReset().

Referenced by EFC_edsFwObjectsAdd().

unsigned int TFC_prjsDestruct ( TFC_prjs projections  ) 

The TFC_prjs destructor.

Returns:
0, always. This just satisties the EDS_fw object destructor protocol.
Parameters:
projections The TFC_prjs structure to destruct.

Referenced by EFC_edsFwObjectsAdd().

void TFC_prjsReset ( TFC_prjs projections  ) 

Resets the prjs structure, effectively cleaning it out for the next event.

Parameters:
projections The TFC_prjs structure to reset

References _TFC_prjs::curCnt, and _TFC_prjs::twrMsk.

Referenced by EFC_edsFwObjectsAdd(), and TFC_prjsConstruct().

int TFC_prjsSizeof ( void   ) 

Returns the size of a projections results record.

Returns:
The size, in bytes, of a projections results record
This routine is provided to hide the implemenation of a TFC_projections record allowing a caller to determine the size so it can be allocated.

int TFC_prjTowerFind ( TFC_prj prjs,
const TFC_prj prjmax,
const TFC_geometryTkr geo,
const TFC_tolerances tolerances,
EDR_tkr *  tkr,
int  towerId 
)

Driver routine which looks for X and Y projections in the specified tower.

Returns:
A packed number with the upper 16 bits representing the count of Y projections found and the lower 16 bits representing the count of X projections found.
Parameters:
prjs Structure to store any found projections
prjmax Pointer to the maximum projection structure (actually, in true C fashion, one after it) that can be filled in)
geo The geometry to be used when finding projections
tolerances The strip matching tolerances to use
tkr The unpacked tracker data for this event
towerId The tower number to start the search in

References _PRINT_TKRFIND_BEG, findPrj(), _TFC_tolerances::xy, and _TFC_geometryTkr::xy.


Generated on Mon Nov 14 09:58:12 2011 by  doxygen 1.5.8