EvalRois Class Reference
[modules - functions to process raw data in series]

Evaluate statistics over defined regions of interest. More...

#include <EvalRois.hh>

Inheritance diagram for EvalRois:
ChannelModule BaseModule ParameterList VParameterNode

List of all members.

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

Detailed Description

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated on 20 Jun 2014 for daqman by  doxygen 1.6.1