1 #ifndef GeneralBinFinderInR_H
2 #define GeneralBinFinderInR_H
35 std::vector<Det*>::const_iterator
last)
38 std::vector<Det*> dets(first,last);
GeneralBinFinderInR(std::vector< Det * >::const_iterator first, std::vector< Det * >::const_iterator last)
Construct from the list of Det*.
virtual int binIndex(T R) const
const T & max(const T &a, const T &b)
std::vector< double > RBins() const
The centers of the Dets.
std::vector< T > theBorders
std::vector< double > RBorders() const
virtual T binPosition(int ind) const
The middle of the bin.
virtual int binIndex(int i) const
Returns an index in the valid range.
GeneralBinFinderInR(const RBorderFinder &bf)
Construct from an already initialized RBorderFinder.