#include <GenericBinFinderInZ.h>
Public Types | |
typedef std::vector< const G * >::const_iterator | ConstItr |
Public Member Functions | |
int | binIndex (T z) const override |
returns an index in the valid range for the bin closest to Z More... | |
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... | |
GenericBinFinderInZ () | |
GenericBinFinderInZ (ConstItr first, ConstItr last) | |
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< float > | theBorders |
int | theNbins |
T | theZOffset |
T | theZStep |
A Z bin finder for a non-periodic group of detectors. The template argument G should be something with a surface() method, such as a GeomDet or a GeometricSearchDet
Definition at line 16 of file GenericBinFinderInZ.h.
typedef std::vector<const G*>::const_iterator GenericBinFinderInZ< T, G >::ConstItr |
Definition at line 18 of file GenericBinFinderInZ.h.
|
inline |
Definition at line 19 of file GenericBinFinderInZ.h.
|
inline |
Definition at line 21 of file GenericBinFinderInZ.h.
|
inlineoverridevirtual |
returns an index in the valid range for the bin closest to Z
Implements BaseBinFinder< T >.
Definition at line 35 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), GenericBinFinderInZ< float, GeomDet >::binPosition(), MuDetRod::compatibleDets(), MTDDetTray::compatibleDets(), and Phase2OTBarrelRod::computeCrossings().
|
inlineoverridevirtual |
returns an index in the valid range
Implements BaseBinFinder< T >.
Definition at line 71 of file GenericBinFinderInZ.h.
|
inlineoverridevirtual |
the middle of the bin.
Implements BaseBinFinder< T >.
Definition at line 74 of file GenericBinFinderInZ.h.
Referenced by Phase2OTBarrelRod::computeCrossings().
|
inlinestatic |
Definition at line 76 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::twoPi().
|
inlinestatic |
Definition at line 77 of file GenericBinFinderInZ.h.
|
private |
Definition at line 84 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binPosition(), and GenericBinFinderInZ< float, GeomDet >::GenericBinFinderInZ().
|
private |
Definition at line 83 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), and GenericBinFinderInZ< float, GeomDet >::GenericBinFinderInZ().
|
private |
Definition at line 80 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), and GenericBinFinderInZ< float, GeomDet >::GenericBinFinderInZ().
|
private |
Definition at line 82 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), and GenericBinFinderInZ< float, GeomDet >::GenericBinFinderInZ().
|
private |
Definition at line 81 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), and GenericBinFinderInZ< float, GeomDet >::GenericBinFinderInZ().