R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::Digitizing::ChannelSignal Struct Reference

#include <R3BDigitizingChannel.h>

Public Member Functions

 ChannelSignal ()=default
 Default constructor.
 
 ChannelSignal (double time_val, double intensity_val)
 Constructor with two input values.
 
auto operator< (const ChannelSignal &rhs) const -> bool
 Less operator between two channel signals.
 

Public Attributes

double time {}
 Time value of the channel signal.
 
double intensity {}
 Intensity of the channel signal.
 

Detailed Description

Definition at line 45 of file R3BDigitizingChannel.h.

Constructor & Destructor Documentation

◆ ChannelSignal() [1/2]

R3B::Digitizing::ChannelSignal::ChannelSignal ( )
default

◆ ChannelSignal() [2/2]

R3B::Digitizing::ChannelSignal::ChannelSignal ( double time_val,
double intensity_val )
inline
Parameters
time_valTime value of the channel.
Returns
intensity_val Intensity value of the channel.

Definition at line 61 of file R3BDigitizingChannel.h.

Member Function Documentation

◆ operator<()

auto R3B::Digitizing::ChannelSignal::operator< ( const ChannelSignal & rhs) const -> bool
inline

The channel signal is considered smaller if its time value is smaller.

Parameters
rhsThe other signal on the right side of the operator.
Returns
Ture if the time of the left side is smaller.

Definition at line 74 of file R3BDigitizingChannel.h.

Member Data Documentation

◆ intensity

double R3B::Digitizing::ChannelSignal::intensity {}

Definition at line 48 of file R3BDigitizingChannel.h.

◆ time

double R3B::Digitizing::ChannelSignal::time {}

Definition at line 47 of file R3BDigitizingChannel.h.


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