Evaluate statistics over defined regions of interest. More...
#include <EvalRois.hh>
Public Member Functions | |
| int | Initialize () |
| Initialize the module before starting a run. Return 0 if no error. | |
| int | Finalize () |
| Finalize state after a run has processed. Return 0 if no error. | |
| int | Process (ChannelData *chdata) |
| Process a single channel in a single trigger. Return 0 if no error. | |
| void | AddRoi (double t_start, double t_end) |
| Add a new region of interest to evaluate. Times in microseconds. | |
| void | ClearRegions () |
| Clear the regions already defined. | |
| int | GetNRegions () const |
| Get the number of regions defined so far. | |
Static Public Member Functions | |
| static const std::string | GetDefaultName () |
Private Attributes | |
|
std::vector< std::pair< double, double > > | _regions |
Evaluate statistics over defined regions of interest.
Regions are defined by a start and end time; these are converted to sample indices. Any number of regions can be defined.
Definition at line 21 of file EvalRois.hh.
1.6.1