CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
BaseBinFinder< T > Class Template Referenceabstract

#include <BaseBinFinder.h>

Inheritance diagram for BaseBinFinder< T >:
GeneralBinFinderInPhi< T > GeneralBinFinderInR< T > GeneralBinFinderInZforGeometricSearchDet< T > GenericBinFinderInZ< T, G > MagBinFinders::GeneralBinFinderInR< T > MagBinFinders::GeneralBinFinderInZ< T > PeriodicBinFinderInPhi< T > PeriodicBinFinderInZ< T >

Public Member Functions

 BaseBinFinder ()
 
virtual int binIndex (T pos) const =0
 Return the index of bin at given position. More...
 
virtual int binIndex (int i) const =0
 Returns an index in the valid range. More...
 
virtual T binPosition (int ind) const =0
 The middle of the ind-th bin. More...
 
virtual ~BaseBinFinder ()
 

Detailed Description

template<class T>
class BaseBinFinder< T >

Abstract interface for a bin finder.

Author
N. Amapane - INFN Torino

Definition at line 11 of file BaseBinFinder.h.

Constructor & Destructor Documentation

template<class T>
BaseBinFinder< T >::BaseBinFinder ( )
inline

Definition at line 14 of file BaseBinFinder.h.

14 {};
template<class T>
virtual BaseBinFinder< T >::~BaseBinFinder ( )
inlinevirtual

Definition at line 16 of file BaseBinFinder.h.

16 {}

Member Function Documentation

template<class T>
virtual int BaseBinFinder< T >::binIndex ( T  pos) const
pure virtual
template<class T>
virtual int BaseBinFinder< T >::binIndex ( int  i) const
pure virtual
template<class T>
virtual T BaseBinFinder< T >::binPosition ( int  ind) const
pure virtual