23 #ifndef LARDATAOBJ_RECOBASE_ChannelROI_H
24 #define LARDATAOBJ_RECOBASE_ChannelROI_H
175 std::vector<short int>
Signal()
const;
213 {
return Channel() < than.
Channel(); }
218 #endif // LARDATAOBJ_RECOBASE_ChannelROI_H
RegionsOfInterest_t fSignalROI
Signal on the channel as function of time tick.
raw::ChannelID_t fChannel
ID of the associated channel.
const RegionsOfInterest_t & SignalROI() const
Returns the list of regions of interest.
std::vector< short int > Signal() const
Return a zero-padded full length vector filled with RoI signal.
lar::sparse_vector< short int > RegionsOfInterest_t
a region of interest is a pair (TDC offset, readings)
std::size_t NSignal() const
Returns the number of time ticks, or samples, in the channel.
bool operator<(const ChannelROI &than) const
Returns whether this channel ID is smaller than the other.
raw::ChannelID_t Channel() const
Returns the ID of the channel (or InvalidChannelID)
Class managing the creation of a new recob::Wire object.
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)
ChannelROI()
Default constructor: a ChannelROI with no signal information.