#include <BaseBinFinder.h>
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 () |
Abstract interface for a bin finder.
Definition at line 13 of file BaseBinFinder.h.
BaseBinFinder< T >::BaseBinFinder | ( | ) | [inline] |
Definition at line 16 of file BaseBinFinder.h.
{};
virtual BaseBinFinder< T >::~BaseBinFinder | ( | ) | [inline, virtual] |
Definition at line 18 of file BaseBinFinder.h.
{}
virtual int BaseBinFinder< T >::binIndex | ( | T | pos | ) | const [pure virtual] |
Return the index of bin at given position.
Implemented in MagBinFinders::GeneralBinFinderInR< T >, MagBinFinders::GeneralBinFinderInZ< T >, GeneralBinFinderInPhi< T >, GeneralBinFinderInR< T >, GeneralBinFinderInZforGeometricSearchDet< T >, PeriodicBinFinderInZ< T >, GenericBinFinderInZ< T, G >, PeriodicBinFinderInPhi< T >, MagBinFinders::GeneralBinFinderInR< double >, MagBinFinders::GeneralBinFinderInZ< double >, GeneralBinFinderInZforGeometricSearchDet< float >, GenericBinFinderInZ< float, GeomDet >, PeriodicBinFinderInPhi< double >, and PeriodicBinFinderInPhi< float >.
Referenced by MuRodBarrelLayer::compatibleDets(), and MuRingForwardLayer::compatibleDets().
virtual int BaseBinFinder< T >::binIndex | ( | int | i | ) | const [pure virtual] |
Returns an index in the valid range.
Implemented in MagBinFinders::GeneralBinFinderInR< T >, MagBinFinders::GeneralBinFinderInZ< T >, GeneralBinFinderInPhi< T >, GeneralBinFinderInR< T >, GeneralBinFinderInZforGeometricSearchDet< T >, PeriodicBinFinderInZ< T >, GenericBinFinderInZ< T, G >, PeriodicBinFinderInPhi< T >, MagBinFinders::GeneralBinFinderInR< double >, MagBinFinders::GeneralBinFinderInZ< double >, GeneralBinFinderInZforGeometricSearchDet< float >, GenericBinFinderInZ< float, GeomDet >, PeriodicBinFinderInPhi< double >, and PeriodicBinFinderInPhi< float >.
virtual T BaseBinFinder< T >::binPosition | ( | int | ind | ) | const [pure virtual] |
The middle of the ind-th bin.
Implemented in MagBinFinders::GeneralBinFinderInR< T >, MagBinFinders::GeneralBinFinderInZ< T >, GeneralBinFinderInPhi< T >, GeneralBinFinderInR< T >, GeneralBinFinderInZforGeometricSearchDet< T >, PeriodicBinFinderInZ< T >, GenericBinFinderInZ< T, G >, PeriodicBinFinderInPhi< T >, MagBinFinders::GeneralBinFinderInR< double >, MagBinFinders::GeneralBinFinderInZ< double >, GeneralBinFinderInZforGeometricSearchDet< float >, GenericBinFinderInZ< float, GeomDet >, PeriodicBinFinderInPhi< double >, and PeriodicBinFinderInPhi< float >.