CMS 3D CMS Logo

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

◆ BaseBinFinder()

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

Definition at line 13 of file BaseBinFinder.h.

13 {};

◆ ~BaseBinFinder()

template<class T>
virtual BaseBinFinder< T >::~BaseBinFinder ( )
inlinevirtual

Definition at line 15 of file BaseBinFinder.h.

15 {}

Member Function Documentation

◆ binIndex() [1/2]

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

◆ binIndex() [2/2]

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

◆ binPosition()

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