#include <MagBinFinders.h>
Public Member Functions | |
int | binIndex (T R) const override |
int | binIndex (int i) const override |
Returns an index in the valid range. More... | |
T | binPosition (int ind) const override |
The middle of the bin. More... | |
GeneralBinFinderInR () | |
GeneralBinFinderInR (std::vector< T > &borders) | |
Public Member Functions inherited from BaseBinFinder< T > | |
BaseBinFinder () | |
virtual | ~BaseBinFinder () |
Private Attributes | |
std::vector< T > | theBins |
std::vector< T > | theBorders |
int | theNbins |
A R binfinder for a non-periodic group of detectors.
Definition at line 7 of file MagBinFinders.h.
|
inline |
Definition at line 30 of file MagBinFinders.h.
|
inline |
Definition at line 32 of file MagBinFinders.h.
|
inlineoverridevirtual |
Returns an index in the valid range for the bin that contains AND is closest to R
Implements BaseBinFinder< T >.
Definition at line 66 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInR< double >::binIndex(), MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), MagBinFinders::GeneralBinFinderInR< double >::binPosition(), MagBinFinders::GeneralBinFinderInZ< double >::binPosition(), and MagGeometry::findVolume().
|
inlineoverridevirtual |
Returns an index in the valid range.
Implements BaseBinFinder< T >.
Definition at line 77 of file MagBinFinders.h.
|
inlineoverridevirtual |
The middle of the bin.
Implements BaseBinFinder< T >.
Definition at line 82 of file MagBinFinders.h.
|
private |
Definition at line 90 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInR< double >::binPosition(), and MagBinFinders::GeneralBinFinderInZ< double >::binPosition().
|
private |
Definition at line 89 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInR< double >::binIndex(), MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), and MagBinFinders::GeneralBinFinderInZ< double >::GeneralBinFinderInZ().
|
private |
Definition at line 88 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInR< double >::binIndex(), MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), and MagBinFinders::GeneralBinFinderInZ< double >::GeneralBinFinderInZ().