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