GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > gdgfc / linux-gcc
Functions | |
unsigned int | TFC_acdProject (TFC_prj *prj, int xCnt, int yCnt, const TFC_geometry *geo, int towerId, unsigned int dispatch, unsigned int acdxy[2][16], unsigned int acd_x, unsigned int acd_y, unsigned int acd_z) |
Projects the track projections to the ACD faces and looks for an match with a stuck ACD tile. | |
unsigned int | TFC_acdProjectTemplate (unsigned int acd_x, unsigned int acd_y, unsigned int acd_z) |
Builds a template dispatch mask for this event. |
CVS $Id: TFC_acd.h,v 1.3 2007/06/17 22:36:20 russell Exp $
unsigned int TFC_acdProject | ( | TFC_prj * | prj, | |
int | xCnt, | |||
int | yCnt, | |||
const TFC_geometry * | geo, | |||
int | towerId, | |||
unsigned int | dispatch, | |||
unsigned int | acdxy[2][16], | |||
unsigned int | acd_x, | |||
unsigned int | acd_y, | |||
unsigned int | acd_z | |||
) |
Projects the track projections to the ACD faces and looks for an match with a stuck ACD tile.
prj | The list of projections | |
xCnt | The number of x projections. The first xCnt projections are X projections. | |
yCnt | The number of y projections. The next yCnt projections are Y projections. | |
geo | The geometry of the LAT. This is used to do the projections, defining where various boundaries are from the perspective of the TKR. | |
towerId | The tower id of these projections | |
dispatch | A bit mask of the possible projections to try based on the struck ACD tile. This must be consistent with acd_z, acd_x and acd_y. | |
acdxy | Accumulates the or of all X/Y top tiles. | |
acd_x | A bit mask of the struck ACD X face tiles. | |
acd_y | A bit mask of the struck ACD Y face tiles. | |
acd_z | A bit mask of the struck ACD Z (TOP) face tiles. |
References ACD_M_PRJ_TOP, ACD_M_PRJ_XM, ACD_M_PRJ_XMS, ACD_M_PRJ_XP, ACD_M_PRJ_XPS, ACD_M_PRJ_YM, ACD_M_PRJ_YMS, ACD_M_PRJ_YP, ACD_M_PRJ_YPS, ACD_V_PRJ_TOP, ACD_V_PRJ_XM, ACD_V_PRJ_XP, ACD_V_PRJ_YM, ACD_V_PRJ_YP, prjAcd_Top(), prjAcd_XM(), prjAcd_XMS(), prjAcd_XP(), prjAcd_XPS(), prjAcd_YM(), prjAcd_YMS(), prjAcd_YP(), and prjAcd_YPS().
Referenced by tkrFilter().
unsigned int TFC_acdProjectTemplate | ( | unsigned int | acd_x, | |
unsigned int | acd_y, | |||
unsigned int | acd_z | |||
) |
Builds a template dispatch mask for this event.
acd_x | The bit mask of struck X+/- ACD tiles. | |
acd_y | The bit mask of struck Y+/- ACD tiles. | |
acd_z | The bit mask of struck Z (top) ACD tiles. |
References ACD_M_PRJ_TOP, ACD_M_PRJ_XM, ACD_M_PRJ_XMS, ACD_M_PRJ_XP, ACD_M_PRJ_XPS, ACD_M_PRJ_YM, ACD_M_PRJ_YMS, ACD_M_PRJ_YP, and ACD_M_PRJ_YPS.
Referenced by tkrFilter().