#include <MagBinFinders.h>
Public Member Functions | |
virtual int | binIndex (T z) const |
returns an index in the valid range for the bin closest to Z More... | |
virtual int | binIndex (int i) const |
returns an index in the valid range More... | |
virtual T | binPosition (int ind) const |
the middle of the bin. More... | |
GeneralBinFinderInZ () | |
GeneralBinFinderInZ (std::vector< T > &borders) | |
Public Member Functions inherited from BaseBinFinder< T > | |
BaseBinFinder () | |
virtual | ~BaseBinFinder () |
Static Public Member Functions | |
static double | pi () |
static double | twoPi () |
Private Attributes | |
std::vector< T > | theBins |
std::vector< T > | theBorders |
int | theNbins |
T | theZOffset |
T | theZStep |
Definition at line 8 of file MagBinFinders.h.
|
inline |
Definition at line 118 of file MagBinFinders.h.
|
inline |
Definition at line 120 of file MagBinFinders.h.
|
inlinevirtual |
returns an index in the valid range for the bin closest to Z
Implements BaseBinFinder< T >.
Definition at line 155 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), MagBinFinders::GeneralBinFinderInZ< double >::binPosition(), and MagBRod::findVolume().
|
inlinevirtual |
returns an index in the valid range
Implements BaseBinFinder< T >.
Definition at line 187 of file MagBinFinders.h.
|
inlinevirtual |
the middle of the bin.
Implements BaseBinFinder< T >.
Definition at line 192 of file MagBinFinders.h.
|
inlinestatic |
Definition at line 196 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::twoPi().
|
inlinestatic |
Definition at line 197 of file MagBinFinders.h.
|
private |
Definition at line 205 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::binPosition().
|
private |
Definition at line 204 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), and MagBinFinders::GeneralBinFinderInZ< double >::GeneralBinFinderInZ().
|
private |
Definition at line 201 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), and MagBinFinders::GeneralBinFinderInZ< double >::GeneralBinFinderInZ().
|
private |
Definition at line 203 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), and MagBinFinders::GeneralBinFinderInZ< double >::GeneralBinFinderInZ().
|
private |
Definition at line 202 of file MagBinFinders.h.
Referenced by MagBinFinders::GeneralBinFinderInZ< double >::binIndex(), and MagBinFinders::GeneralBinFinderInZ< double >::GeneralBinFinderInZ().