#include <SignalROI.h>
Public Member Functions | |
SignalROI (int plane, int chid, int start_bin, int end_bin, const Waveform::realseq_t &signal) | |
SignalROI (SignalROI *roi) | |
~SignalROI () | |
int | get_start_bin () |
int | get_end_bin () |
int | get_ext_start_bin () |
int | get_ext_end_bin () |
void | set_ext_start_bin (int a) |
void | set_ext_end_bin (int a) |
int | get_chid () |
int | get_plane () |
std::vector< float > & | get_contents () |
std::vector< std::pair< int, int > > | get_above_threshold (float th) |
double | get_average_heights () |
double | get_max_height () |
bool | overlap (SignalROI *roi) |
bool | overlap (SignalROI *roi1, float th, float th1) |
Private Attributes | |
int | plane |
int | chid |
int | start_bin |
int | end_bin |
int | ext_start_bin |
int | ext_end_bin |
std::vector< float > | contents |
Definition at line 14 of file SignalROI.h.
SignalROI::SignalROI | ( | int | plane, |
int | chid, | ||
int | start_bin, | ||
int | end_bin, | ||
const Waveform::realseq_t & | signal | ||
) |
Definition at line 8 of file SignalROI.cxx.
SignalROI::SignalROI | ( | SignalROI * | roi | ) |
Definition at line 24 of file SignalROI.cxx.
SignalROI::~SignalROI | ( | ) |
Definition at line 104 of file SignalROI.cxx.
std::vector< std::pair< int, int > > SignalROI::get_above_threshold | ( | float | th | ) |
Definition at line 109 of file SignalROI.cxx.
double SignalROI::get_average_heights | ( | ) |
Definition at line 43 of file SignalROI.cxx.
|
inline |
Definition at line 28 of file SignalROI.h.
|
inline |
Definition at line 30 of file SignalROI.h.
|
inline |
Definition at line 20 of file SignalROI.h.
|
inline |
Definition at line 23 of file SignalROI.h.
|
inline |
Definition at line 22 of file SignalROI.h.
double SignalROI::get_max_height | ( | ) |
Definition at line 34 of file SignalROI.cxx.
|
inline |
Definition at line 29 of file SignalROI.h.
|
inline |
Definition at line 19 of file SignalROI.h.
Definition at line 80 of file SignalROI.cxx.
Definition at line 57 of file SignalROI.cxx.
|
inline |
Definition at line 26 of file SignalROI.h.
|
inline |
Definition at line 25 of file SignalROI.h.
|
private |
Definition at line 40 of file SignalROI.h.
|
private |
Definition at line 48 of file SignalROI.h.
|
private |
Definition at line 42 of file SignalROI.h.
|
private |
Definition at line 45 of file SignalROI.h.
|
private |
Definition at line 44 of file SignalROI.h.
|
private |
Definition at line 39 of file SignalROI.h.
|
private |
Definition at line 41 of file SignalROI.h.