1 #ifndef GeneralBinFinderInR_H
2 #define GeneralBinFinderInR_H
33 std::vector<Det*>::const_iterator
last)
36 std::vector<const 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
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.