12 return 0.5*(seg.first + seg.second);
18 if (lhs->planeid() == rhs->planeid()) {
19 return lhs->index() < rhs->index();
21 return lhs->planeid() < lhs->planeid();
std::pair< Point, Point > Ray
A line segment running from a first (tail) to a second (head) point.
std::shared_ptr< const IWire > pointer
virtual WireCell::Point center() const
Return the center point of the wire. Convenience method.
bool ascending_index(IWire::pointer lhs, IWire::pointer rhs)
virtual WireCell::Ray ray() const =0
Return the ray representing the wire segment.