We begin by finding clusters, groups of contiguous (or nearly contiguous) two-packs of the same orientation1 in a single panel which all register signals in the event.
The algorithm for finding clusters is as follows:
The criterion for a hit to be ``close enough'' to a cluster is determined by a parameter called the cluster gap. The cluster gap is the maximum size of any set of contiguous non-firing two-packs allowed to be contained within the cluster boundaries.2 A cluster gap of zero requires that the cluster contain a contiguous set of firing two-packs, while nonzero cluster gaps allow larger clusters with missing two-packs. Table 1 shows the clusters obtained from an example hit pattern for various gap parameters.
We use a cluster gap of zero to simplify matters for the current road finder. This choice reduces (but does not eliminate) the possibility of extraneous hits being associated with a cluster and shifting the cluster centroid position; in such cases, otherwise-good roads that include that cluster are often lost, because the projection of the road trajectory to the vertex plane deviates from the expected value.