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