MarlinUtil  1.12.1
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
GenericHit< T > Class Template Reference

Templated class for generic hit type objects that are to be clustered with an NN-like clustering algorithm. More...

#include <NNClusters.h>

Inheritance diagram for GenericHit< T >:

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.
 

Detailed Description

template<class T>
class GenericHit< T >

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.

See Also
GenericCluster
Author
F.Gaede (DESY)
Version
Id:
NNClusters.h,v 1.5 2007-06-05 15:35:49 engels Exp

Constructor & Destructor Documentation

template<class T>
GenericHit< T >::GenericHit ( T *  hit,
int  index0 = 0 
)
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.

Member Data Documentation

template<class T>
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().


The documentation for this class was generated from the following file: