#include <NNClusters.h>
Public Member Functions | |
GenericHit (T *hit, int index0=0) | |
GenericHit (T *hit, GenericCluster< T > *cl, int index0=0) | |
Public Attributes | |
int | Index0 |
Protected Member Functions | |
GenericHit () | |
Private Types | |
typedef T | value_type |
typedef std::pair< T *, GenericCluster< T > * > | Pair |
Templated class for generic hit type objects that are to be clustered with an NN-like clustering algorithm. Holds a pointer to a generalized cluster object that is templated with the same type.
Definition at line 121 of file NNClusters.h.
|
private |
Definition at line 124 of file NNClusters.h.
|
private |
Definition at line 123 of file NNClusters.h.
|
inline |
Default c'tor takes a pointer to the original hit type object. The optioal index can be used to code nearest neighbour bins, e.g. in z-coordinate to speed up the clustering process.
Definition at line 131 of file NNClusters.h.
|
inline |
C'tor that also takes a pointer to the cluster this hit belongs to - in case seed hits/clusters are used.
Definition at line 138 of file NNClusters.h.
|
protected |
Don't allow default c'tor w/o hit
int gar::rec::alg::GenericHit< T >::Index0 |
Index that can be used to code nearest neighbour bins, e.g. in z-coordinate to speed up the clustering process.
Definition at line 146 of file NNClusters.h.