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

Simple predicate class for computing an index from N bins of the z-coordinate of LCObjects that have a float/double* getPostion() method. More...

#include <NNClusters.h>

Public Member Functions

 ZIndex (float zmin, float zmax)
 C'tor takes zmin and zmax - NB index can be negative and larger than N.
 
int operator() (T *hit)
 

Protected Attributes

float _zmin
 
float _zmax
 

Detailed Description

template<class T, int N>
class ZIndex< T, N >

Simple predicate class for computing an index from N bins of the z-coordinate of LCObjects that have a float/double* getPostion() method.


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