#include <IChannel.h>
Definition at line 14 of file IChannel.h.
virtual int WireCell::IChannel::ident |
( |
| ) |
const |
|
pure virtual |
Detector-dependent, globally unique channel ID number. Negative is illegal, not guaranteed consecutive over all given channels. This same number may be called simply "channel" in other contexts.
Implemented in WireCell::SimpleChannel.
virtual int WireCell::IChannel::index |
( |
| ) |
const |
|
pure virtual |
The channel index is the "Wire Attachment Number". The WAN counts along points of attachment of the zero' zero-segment wires for a wire plane. Note, for detectors with wrapped wires this index also wraps. It counts in the same direction as the WIP number of IWire::index but starts at zero even with wrapped wire detectors.
Implemented in WireCell::SimpleChannel.
The ID of the plane of wire zero. This is just sugar.
Definition at line 9 of file IChannel.cxx.
13 if (w.empty()) {
return bogus; }
14 return w.front()->planeid();
virtual const IWire::vector & wires() const =0
Wire segments ordered in increasing distance from channel input.
std::vector< pointer > vector
The documentation for this class was generated from the following files: