All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
icarus::DaqDecoderICARUSPMT::ProtoWaveform_t Struct Reference

All the information collected about a waveform (with the waveform itself). More...

Public Member Functions

std::uint16_t span () const
 
bool operator< (ProtoWaveform_t const &than) const
 Ordering: the same as the contained waveform. More...
 

Public Attributes

raw::OpDetWaveform waveform
 The complete waveform. More...
 
daq::details::BoardSetup_t::ChannelSetup_t
const * 
channelSetup = nullptr
 Pointer to the settings for the channel this waveform belongs to. More...
 
bool onGlobal = false
 Whether the waveform includes the global trigger time. More...
 
std::uint16_t minSample = std::numeric_limits<std::uint16_t>::max()
 Highest sample in the original waveform. More...
 
std::uint16_t maxSample = std::numeric_limits<std::uint16_t>::max()
 Returns the span of the waveform (cached, not computed anew!). More...
 

Detailed Description

All the information collected about a waveform (with the waveform itself).

Definition at line 697 of file DaqDecoderICARUSPMT_module.cc.

Member Function Documentation

bool icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::operator< ( ProtoWaveform_t const &  than) const
inline

Ordering: the same as the contained waveform.

Definition at line 717 of file DaqDecoderICARUSPMT_module.cc.

718  { return waveform < than.waveform; }
raw::OpDetWaveform waveform
The complete waveform.
std::uint16_t icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::span ( ) const
inline

Definition at line 713 of file DaqDecoderICARUSPMT_module.cc.

714  { return (maxSample > minSample)? (maxSample - minSample): 0; }
std::uint16_t maxSample
Returns the span of the waveform (cached, not computed anew!).
std::uint16_t minSample
Highest sample in the original waveform.

Member Data Documentation

daq::details::BoardSetup_t::ChannelSetup_t const* icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::channelSetup = nullptr

Pointer to the settings for the channel this waveform belongs to.

Definition at line 702 of file DaqDecoderICARUSPMT_module.cc.

std::uint16_t icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::maxSample = std::numeric_limits<std::uint16_t>::max()

Returns the span of the waveform (cached, not computed anew!).

Definition at line 710 of file DaqDecoderICARUSPMT_module.cc.

std::uint16_t icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::minSample = std::numeric_limits<std::uint16_t>::max()

Highest sample in the original waveform.

Definition at line 708 of file DaqDecoderICARUSPMT_module.cc.

bool icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::onGlobal = false

Whether the waveform includes the global trigger time.

Lowest sample in the original waveform.

Definition at line 705 of file DaqDecoderICARUSPMT_module.cc.

raw::OpDetWaveform icarus::DaqDecoderICARUSPMT::ProtoWaveform_t::waveform

The complete waveform.

Definition at line 699 of file DaqDecoderICARUSPMT_module.cc.


The documentation for this struct was generated from the following file: