MarlinUtil
1.12.1
|
Templated class for generic hit type objects that are to be clustered with an NN-like clustering algorithm. More...
#include <NNClusters.h>
Public Member Functions | |
GenericHit (T *hit, int index0=0) | |
Default c'tor takes a pointer to the original hit type object. More... | |
GenericHit (T *hit, GenericCluster< T > *cl, int index0=0) | |
C'tor that also takes a pointer to the cluster this hit belongs to - in case seed hits/clusters are used. | |
Public Attributes | |
int | Index0 |
Index that can be used to code nearest neighbour bins, e.g. More... | |
Protected Member Functions | |
GenericHit () | |
Don't allow default c'tor w/o hit. | |
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.
|
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.
int GenericHit< T >::Index0 |
Index that can be used to code nearest neighbour bins, e.g.
in z-coordinate to speed up the clustering process.
Referenced by NNDistance< HitClass, PosType >::mergeHits().