CMS 3D CMS Logo

Public Member Functions

BaseBinFinder< T > Class Template Reference

#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 >

List of all members.

Public Member Functions

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

Detailed Description

template<class T>
class BaseBinFinder< T >

Abstract interface for a bin finder.

Date:
2005/09/21 10:16:30
Revision:
1.1
Author:
N. Amapane - INFN Torino

Definition at line 13 of file BaseBinFinder.h.


Constructor & Destructor Documentation

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

Definition at line 16 of file BaseBinFinder.h.

{};
template<class T>
virtual BaseBinFinder< T >::~BaseBinFinder ( ) [inline, virtual]

Definition at line 18 of file BaseBinFinder.h.

{}

Member Function Documentation

template<class T>
virtual int BaseBinFinder< T >::binIndex ( 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]