1 #ifndef WIRECELLIFACE_TEST_MYWIRE 2 #define WIRECELLIFACE_TEST_MYWIRE 14 : m_wpid(layer), m_index(index), m_ray(ray)
19 int iplane = 1+m_wpid.
index();
std::pair< Point, Point > Ray
A line segment running from a first (tail) to a second (head) point.
WireCell::WirePlaneId m_wpid
Interface to information about a physical wire segment.
MyWire(WireCell::WirePlaneLayer_t layer, int index, const WireCell::Ray &ray)
WireCell::WirePlaneId planeid() const
The ID of the plane this wire is in.
WirePlaneLayer_t
Enumerate layer IDs. These are not indices!
WireCell::Ray ray() const
Return the ray representing the wire segment.
int index() const
Layer as index number (0,1 or 2). -1 if unknown.