WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
WireCell::SigProc::SignalROI Class Reference

#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)
 

Detailed Description

Definition at line 14 of file SignalROI.h.

Constructor & Destructor Documentation

◆ SignalROI() [1/2]

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() [2/2]

SignalROI::SignalROI ( SignalROI roi)

Definition at line 24 of file SignalROI.cxx.

Here is the call graph for this function:

◆ ~SignalROI()

SignalROI::~SignalROI ( )

Definition at line 104 of file SignalROI.cxx.

Member Function Documentation

◆ get_above_threshold()

std::vector< std::pair< int, int > > SignalROI::get_above_threshold ( float  th)

Definition at line 109 of file SignalROI.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_average_heights()

double SignalROI::get_average_heights ( )

Definition at line 43 of file SignalROI.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_chid()

int WireCell::SigProc::SignalROI::get_chid ( )
inline

Definition at line 28 of file SignalROI.h.

Here is the caller graph for this function:

◆ get_contents()

std::vector<float>& WireCell::SigProc::SignalROI::get_contents ( )
inline

Definition at line 30 of file SignalROI.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_end_bin()

int WireCell::SigProc::SignalROI::get_end_bin ( )
inline

Definition at line 20 of file SignalROI.h.

Here is the caller graph for this function:

◆ get_ext_end_bin()

int WireCell::SigProc::SignalROI::get_ext_end_bin ( )
inline

Definition at line 23 of file SignalROI.h.

Here is the caller graph for this function:

◆ get_ext_start_bin()

int WireCell::SigProc::SignalROI::get_ext_start_bin ( )
inline

Definition at line 22 of file SignalROI.h.

Here is the caller graph for this function:

◆ get_max_height()

double SignalROI::get_max_height ( )

Definition at line 34 of file SignalROI.cxx.

Here is the caller graph for this function:

◆ get_plane()

int WireCell::SigProc::SignalROI::get_plane ( )
inline

Definition at line 29 of file SignalROI.h.

Here is the caller graph for this function:

◆ get_start_bin()

int WireCell::SigProc::SignalROI::get_start_bin ( )
inline

Definition at line 19 of file SignalROI.h.

Here is the caller graph for this function:

◆ overlap() [1/2]

bool SignalROI::overlap ( SignalROI roi)

Definition at line 80 of file SignalROI.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ overlap() [2/2]

bool SignalROI::overlap ( SignalROI roi1,
float  th,
float  th1 
)

Definition at line 57 of file SignalROI.cxx.

Here is the call graph for this function:

◆ set_ext_end_bin()

void WireCell::SigProc::SignalROI::set_ext_end_bin ( int  a)
inline

Definition at line 26 of file SignalROI.h.

Here is the caller graph for this function:

◆ set_ext_start_bin()

void WireCell::SigProc::SignalROI::set_ext_start_bin ( int  a)
inline

Definition at line 25 of file SignalROI.h.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: