#include <BaseBinFinder.h>
Public Member Functions | |
BaseBinFinder () | |
virtual int | binIndex (int i) const =0 |
Returns an index in the valid range. More... | |
virtual int | binIndex (T pos) const =0 |
Return the index of bin at given position. 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 13 of file BaseBinFinder.h.
|
inlinevirtual |
Definition at line 15 of file BaseBinFinder.h.
|
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 >, PeriodicBinFinderInPhi< T >, PeriodicBinFinderInPhi< float >, PeriodicBinFinderInZ< T >, and PeriodicBinFinderInZ< float >.
|
pure virtual |
Return the index of bin at given position.
Implemented in MagBinFinders::GeneralBinFinderInZ< T >, GeneralBinFinderInZforGeometricSearchDet< T >, GenericBinFinderInZ< T, G >, PeriodicBinFinderInZ< T >, MagBinFinders::GeneralBinFinderInR< T >, GeneralBinFinderInR< T >, GeneralBinFinderInPhi< T >, PeriodicBinFinderInPhi< T >, GeneralBinFinderInZforGeometricSearchDet< float >, GenericBinFinderInZ< float, GeomDet >, PeriodicBinFinderInZ< float >, PeriodicBinFinderInPhi< float >, MagBinFinders::GeneralBinFinderInZ< double >, and MagBinFinders::GeneralBinFinderInR< double >.
Referenced by MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), and MTDRingForwardLayer::compatibleDets().
|
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 >, PeriodicBinFinderInPhi< T >, PeriodicBinFinderInPhi< float >, PeriodicBinFinderInZ< T >, and PeriodicBinFinderInZ< float >.