#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 11 of file BaseBinFinder.h.
|
inline |
Definition at line 14 of file BaseBinFinder.h.
|
inlinevirtual |
Definition at line 16 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 >, GeneralBinFinderInZforGeometricSearchDet< T >, GeneralBinFinderInZforGeometricSearchDet< float >, GenericBinFinderInZ< T, G >, GenericBinFinderInZ< float, GeomDet >, PeriodicBinFinderInZ< T >, PeriodicBinFinderInZ< float >, PeriodicBinFinderInPhi< T >, and PeriodicBinFinderInPhi< float >.
Referenced by MuRodBarrelLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), and BaseBinFinder< float >::~BaseBinFinder().
|
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 >, PeriodicBinFinderInZ< float >, PeriodicBinFinderInPhi< T >, 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 >, PeriodicBinFinderInZ< float >, PeriodicBinFinderInPhi< T >, and PeriodicBinFinderInPhi< float >.
Referenced by BaseBinFinder< float >::~BaseBinFinder().