Class containing a waveform baseline RMS value. More...
#include <WaveformRMS.h>
Public Types | |
using | BaselineRMS_t = float |
Type of baseline RMS value. More... | |
Public Member Functions | |
WaveformRMS ()=default | |
Constructor: default baseline RMS (0 ). More... | |
WaveformRMS (BaselineRMS_t RMS) | |
Constructor: sets the baseline RMS. More... | |
Access to the baseline RMS | |
In addition to the direct method ( | |
BaselineRMS_t | RMS () const |
BaselineRMS_t | operator() () const |
Returns the current baseline RMS value. More... | |
Public Attributes | |
BaselineRMS_t | fRMS {} |
The current value of the baseline RMS. More... | |
Class containing a waveform baseline RMS value.
icarus::WaveformBaseline
The baseline RMS is stored as a floating point value.
This class is a data product wrapper for a simple value, with some usability candies attached.
will print RMS: 3.2 ADC
.
Definition at line 51 of file WaveformRMS.h.
using icarus::WaveformRMS::BaselineRMS_t = float |
Type of baseline RMS value.
Definition at line 53 of file WaveformRMS.h.
|
default |
Constructor: default baseline RMS (0
).
|
inline |
Constructor: sets the baseline RMS.
Definition at line 64 of file WaveformRMS.h.
|
inline |
|
inline |
Returns the current baseline RMS value.
Definition at line 79 of file WaveformRMS.h.
BaselineRMS_t icarus::WaveformRMS::fRMS {} |
The current value of the baseline RMS.
Definition at line 55 of file WaveformRMS.h.