21 #ifndef LARDATAOBJ_RECOBASE_WIRE_H
22 #define LARDATAOBJ_RECOBASE_WIRE_H
191 std::vector<float>
Signal()
const;
233 {
return Channel() < than.
Channel(); }
238 #endif // LARDATAOBJ_RECOBASE_WIRE_H
enum geo::_plane_proj View_t
Enumerate the possible plane projections.
raw::ChannelID_t fChannel
ID of the associated channel.
bool operator<(const Wire &than) const
Returns whether this channel ID is smaller than the other.
lar::sparse_vector< float > RegionsOfInterest_t
a region of interest is a pair (TDC offset, readings)
Class managing the creation of a new recob::Wire object.
geo::View_t fView
View corresponding to the plane of this wire.
geo::View_t View() const
Returns the view the channel belongs to.
raw::ChannelID_t Channel() const
Returns the ID of the channel (or InvalidChannelID)
const RegionsOfInterest_t & SignalROI() const
Returns the list of regions of interest.
Definition of data types for geometry description.
std::vector< float > Signal() const
Return a zero-padded full length vector filled with RoI signal.
RegionsOfInterest_t fSignalROI
Signal on the channel as function of time tick.
Class holding the regions of interest of signal from a channel.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Class defining a sparse vector (holes are zeroes)
Wire()
Default constructor: a wire with no signal information.
std::size_t NSignal() const
Returns the number of time ticks, or samples, in the channel.