GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > gfc / rhel6-64
Defines | |
#define | ATF_FILTER_PRINTF(_args) |
Debugging macro -- activated by defining ATF_TKRVETO_PRINT. | |
Functions | |
static __inline int | ATF__filterSideMasksGet (int start, int length) |
Returns the list of ACD tiles associated with a side exiting track. | |
static __inline int | ATF__filterTop (int tower, int start, int acd_top) |
Vetos an event based on whether the track, as determined by the layer bit masks, is associated with an ACD tile. | |
static __inline int | ATF__filterSides (int tower, int tower_mask, int start, int length, int xm_candidates, int xm, int xp_candidates, int xp, int ym_candidates, int ym, int yp_candidates, int yp) |
Looks for a ACD coincidence with a side exiting track. |
CVS $Id: ATF_filter.h,v 1.2 2005/11/22 02:32:07 russell Exp $
static __inline int ATF__filterSideMasksGet | ( | int | start, | |
int | length | |||
) | [static] |
Returns the list of ACD tiles associated with a side exiting track.
start | The starting layer of the track (0 is closest to the ACD top tiles). | |
length | The length of the track, in layers |
Referenced by ATF__filterSides().
static int ATF__filterSides | ( | int | tower, | |
int | tower_mask, | |||
int | start, | |||
int | length, | |||
int | xm_candidates, | |||
int | xm, | |||
int | xp_candidates, | |||
int | xp, | |||
int | ym_candidates, | |||
int | ym, | |||
int | yp_candidates, | |||
int | yp | |||
) | [static] |
Looks for a ACD coincidence with a side exiting track.
tower | The tower to be examined. | |
tower_mask | The towers to consider, expressed as a bit mask. | |
start | The starting layer (0 is closest to the ACD top tiles) | |
length | The length of the coincidence. This must be a minimum of 3 layers, in keeping with the 3-in-a-row philosophy. | |
xm_candidates | The towers to consider along the XM face. | |
xm | The struck ACD XM face tiles. | |
xp_candidates | The towers to consider along the XP face. | |
xp | The struck ACD XP face tiles. | |
ym_candidates | The towers to consider along the YM face. | |
ym | The struck ACD YM face tiles. | |
yp_candidates | The towers to consider along the YP face | |
yp | The struck ACD YP face tiles. |
== | 0, if no coincidence | |
!= | 0, if have a coincidence |
References ATF__filterSideMasksGet().
Referenced by evaluateAtf().
static __inline int ATF__filterTop | ( | int | tower, | |
int | start, | |||
int | acd_top | |||
) | [static] |
Vetos an event based on whether the track, as determined by the layer bit masks, is associated with an ACD tile.
tower | The tower number being examined | |
start | Starting layer of the track | |
acd_top | Bit mask of which ACD tiles are hit in the top plane |
TOP COINCIDENCE PATTERN Tower ACD Tiles Tower ACD Tiles ----------------------- ----- ---------- ----- ----------- ACD 20 21 22 23 24 0 0, 1, 5, 6 8 10,11,15,16 twr 12 13 14 15 1 1, 2, 6, 7 9 11,12,16,17 ACD 15 16 17 18 19 2 2, 3, 7, 8 10 12,13,17,18 twr 8 9 10 11 3 3, 4, 8, 9 11 13,14,18,19 ACD 10 11 12 13 14 4 5, 6,10,11 12 15,16,20,21 twr 4 <5> 6 7 -> 5 6, 7,11,12 <- 13 16,17,21,22 ACD 05 06 07 08 09 6 7, 8,12,13 14 17,18,22,23 twr 0 1 2 3 7 8, 9,13,14 15 18,19,23,24 ACD 00 01 02 03 04
6543210 P = 0b1100011
References ATF_FILTER_PRINTF.
Referenced by evaluateAtf().