GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP / V1-0-4 > grbpsiu / rhel6-64
Classes | |
struct | _GRBP_neighborInfo |
The information about the neighboring photons. More... | |
struct | _GRBP_neighborList |
Maintains a list of photons that are close to some other photon. More... | |
struct | _GRBP_cluster |
Typedefs | |
typedef struct _GRBP_photon | GRBP_photon |
typedef struct _GRBP_cluster | GRBP_cluster |
typedef struct _GRBP_clusterPrms | GRBP_clusterPrms |
Typedef for struct _GRBP_clusterPrms. | |
typedef struct _GRBP_probabilityLogs | GRBP_probabilityLogs |
typedef struct _GRBP_neighborInfo | GRBP_neighborInfo |
Typedef struct _GRBP_neighborInfo. | |
typedef struct _GRBP_neighborList | GRBP_neighborList |
Typedef struct _GRBP_neighborList. | |
Functions | |
int | GRBP_clusterGammasGather (const GRBP_cluster *clusters, int beg, int end, int max, const unsigned short int *list, int cnt, double contrast, double threshold, unsigned int *bl, GRBP_probabilityLogs *plog_max) |
Scans the circular list of clusters looking for clusters that are over the probability threshold. A list of photons that are members of such clusters is accumulated (in the form of a bit list) and returned in masks. |
CVS $Id: GRBP_cluster.h,v 1.4 2007/08/10 20:47:53 russell Exp $
int GRBP_clusterGammasGather | ( | const GRBP_cluster * | clusters, | |
int | beg, | |||
int | end, | |||
int | max, | |||
const unsigned short int * | list, | |||
int | cnt, | |||
double | contrast, | |||
double | threshold, | |||
unsigned int * | bl, | |||
GRBP_probabilityLogs * | plog_max | |||
) |
Scans the circular list of clusters looking for clusters that are over the probability threshold. A list of photons that are members of such clusters is accumulated (in the form of a bit list) and returned in masks.
clusters | The circular list of clusters | |
beg | The index of the first cluster to consider | |
end | The index of the last cluster to consider. Note that this is the actual last cluster, not one past it. | |
max | The number of clusters in the circular list. This determines the wrap-around point | |
list | A list of all clusters, by index, that have had photons added to their neighbor list. These are the only clusters that need to be checked, and of these only those in the beg,end interval are valid for the window being considered. This list is ordered from oldest to newest photon. | |
cnt | The number of indices in list. | |
contrast | The temporal contrast factor. The log of the temporal probability will be multiplied by this factor when computing the sum of the spatial and temporal probabilities | |
threshold | The cluster threshold | |
bl | The bit list to fill in with the gammas | |
plog_max | Argument to receive the logs of spatial and temporal probabilities from the cluster with the largest total probability. This is filled if and only if the total probability exceeds threshold. |
References _GRBP_neighborList::bl, copy(), copy_or(), find(), _GRBP_neighborList::info, _GRBP_neighborList::rsumlog10pdists, _GRBP_neighborList::rsumlog10pdts, _GRBP_probabilityLogs::spatial, _GRBP_neighborInfo::sum_log10_pdists, _GRBP_neighborInfo::sum_log10_pdts, and _GRBP_probabilityLogs::temporal.
Referenced by GRBP_windowTier1LatUpdate().