GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> EFC / dev > ggfc / rhel5-32


Interface   Data Structures   File List   Data Fields   Globals  

TFC_triggerFill.c File Reference

The implementation of the TFC_triggerFill routine. More...

#include <TFC_triggerFill.h>
#include <TFC_triggerForm.h>
#include <EDS/EBF_dir.h>
#include <EDS/EBF_ctb.h>
#include <EDS/EBF_tkr.h>
#include <EDS/EBF_cid.h>

Functions

int TFC_triggerFill (const EBF_dir *dir, int tkr_trg[16])
 Fills the tracker trigger information.


Detailed Description

The implementation of the TFC_triggerFill routine.

Author:
JJRussell - russell@slac.stanford.edu

    CVS $Id

The trigger fill routine calculates the 3-in-a-row trigger mask for each tower.

Function Documentation

int TFC_triggerFill ( const EBF_dir *  dir,
int  tkr_trg[16] 
)

Fills the tracker trigger information.

Parameters:
dir The event directory
tkr_trg The array of tracker tower triggers
Returns:
The upper 16 bits contain a mask of the towers with a 6/6 or 7/8 trigger, the lower 16 bits contain a mask of the towers with only a 4/4 possibility.
This routine will fill in the tracker tower trigger mask for each of the 16 towers.

References _TFC_trigger::bf, _TFC_trigger::si, TFC__triggerForm(), TFC_K_TRIGGER_TYPE_4_OF_4, and _TFC_trigger_bf::type.


Generated on Wed Jan 16 13:14:50 2013 by  doxygen 1.5.8