Stores info about a region of interest defined by start,end time. More...
#include <Roi.hh>
Public Member Functions | |
Roi () | |
Default constructor sets all parameters to default values. | |
Roi (int start, int end, double amax, double amin, double anint, double anpe) | |
Construct a region with the given start,end times and extrema. | |
virtual | ~Roi () |
Destructor. | |
void | Init (int start=0, int end=0, double amax=0, double amin=0, double anint=0, double anpe=0) |
Set the start, end index values and extrema. | |
ClassDef (Roi, 3) | |
Public Attributes | |
double | start_time |
Time defining start of region. | |
double | end_time |
Time defining end of region. | |
int | start_index |
Index definig start of region. | |
int | end_index |
Index defining end of region. | |
double | max |
Maximum value obtained over the region. | |
double | min |
Minimum value obtained over the region. | |
double | integral |
Integral of the signal over the region. | |
double | npe |
Integral divided by single p.e. peak. | |
int | min_index |
Index at which minimum is reaced. |
Stores info about a region of interest defined by start,end time.
Definition at line 18 of file Roi.hh.