17 if ( pgeo ==
nullptr )
return;
22 if ( ends.first.y() > ends.second.y() ) {
23 Point firstPoint = ends.first;
24 ends.first = ends.second;
25 ends.second = firstPoint;
27 if (
m_ends.size() == 0 ) {
31 if ( ends.first.y() <
m_bot.y() )
m_bot = ends.first;
std::vector< geo::WireID > ChannelToWire(raw::ChannelID_t const channel) const
Returns a list of wires connected to the specified TPC channel.
ChannelGeo(Index icha, const geo::GeometryCore *pgeo)
art framework interface to geometry description
unsigned int Nchannels() const
Returns the number of TPC readout channels in the detector.
std::pair< Point, Point > EndPoints
Description of geometry of one entire detector.
void WireEndPoints(geo::WireID const &wireid, double *xyzStart, double *xyzEnd) const
Fills two arrays with the coordinates of the wire end points.
LArSoft geometry interface.