#include <GenericBinFinderInZ.h>
Public Types | |
typedef std::vector< const G * > ::const_iterator | ConstItr |
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... | |
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.
|
inlinevirtual |
returns an index in the valid range for the bin closest to Z
Implements BaseBinFinder< T >.
Definition at line 36 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), GenericBinFinderInZ< float, GeomDet >::binPosition(), MuDetRod::compatibleDets(), and Phase2OTBarrelRod::computeCrossings().
|
inlinevirtual |
returns an index in the valid range
Implements BaseBinFinder< T >.
Definition at line 68 of file GenericBinFinderInZ.h.
|
inlinevirtual |
the middle of the bin.
Implements BaseBinFinder< T >.
Definition at line 73 of file GenericBinFinderInZ.h.
Referenced by Phase2OTBarrelRod::computeCrossings().
|
inlinestatic |
Definition at line 77 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::twoPi().
|
inlinestatic |
Definition at line 78 of file GenericBinFinderInZ.h.
|
private |
Definition at line 86 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binPosition(), and GenericBinFinderInZ< float, GeomDet >::GenericBinFinderInZ().
|
private |
Definition at line 85 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 84 of file GenericBinFinderInZ.h.
Referenced by GenericBinFinderInZ< float, GeomDet >::binIndex(), 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().