#include <PeriodicBinFinderInZ.h>
Public Member Functions | |
int | binIndex (int i) const override |
returns an index in the valid range More... | |
int | binIndex (T z) const override |
returns an index in the valid range for the bin that contains Z More... | |
T | binPosition (int ind) const override |
the middle of the bin More... | |
PeriodicBinFinderInZ () | |
PeriodicBinFinderInZ (std::vector< const GeomDet * >::const_iterator first, std::vector< const GeomDet * >::const_iterator last) | |
Public Member Functions inherited from BaseBinFinder< T > | |
BaseBinFinder () | |
virtual | ~BaseBinFinder () |
Private Attributes | |
int | theNbins |
T | theZOffset |
T | theZStep |
Bin finder along the global Z for (almost) equidistant bins. The bins are computed from GeomDet positions.
Definition at line 13 of file PeriodicBinFinderInZ.h.
|
inline |
Definition at line 15 of file PeriodicBinFinderInZ.h.
|
inline |
Definition at line 17 of file PeriodicBinFinderInZ.h.
|
inlineoverridevirtual |
returns an index in the valid range
Implements BaseBinFinder< T >.
Definition at line 29 of file PeriodicBinFinderInZ.h.
|
inlineoverridevirtual |
returns an index in the valid range for the bin that contains Z
Implements BaseBinFinder< T >.
Definition at line 26 of file PeriodicBinFinderInZ.h.
Referenced by PeriodicBinFinderInZ< float >::binIndex(), PixelRod::compatibleDetsV(), and TOBRod::computeCrossings().
|
inlineoverridevirtual |
the middle of the bin
Implements BaseBinFinder< T >.
Definition at line 32 of file PeriodicBinFinderInZ.h.
Referenced by TOBRod::computeCrossings().
|
private |
Definition at line 35 of file PeriodicBinFinderInZ.h.
Referenced by PeriodicBinFinderInZ< float >::binIndex(), and PeriodicBinFinderInZ< float >::PeriodicBinFinderInZ().
|
private |
Definition at line 37 of file PeriodicBinFinderInZ.h.
Referenced by PeriodicBinFinderInZ< float >::binIndex(), PeriodicBinFinderInZ< float >::binPosition(), and PeriodicBinFinderInZ< float >::PeriodicBinFinderInZ().
|
private |
Definition at line 36 of file PeriodicBinFinderInZ.h.
Referenced by PeriodicBinFinderInZ< float >::binIndex(), PeriodicBinFinderInZ< float >::binPosition(), and PeriodicBinFinderInZ< float >::PeriodicBinFinderInZ().