MAveragePulsesOneIteration Class Reference
[Modules]
List of all members.
Detailed Description
Forms average pulses with alignment in one iteration.
- Author:
- Adam Bryant (adam_bryant@berkeley.edu)
|
Public Member Functions |
|
| MAveragePulsesOneIteration (QSequence *s) |
| | constructor
|
|
| ~MAveragePulsesOneIteration () |
| | destructor
|
|
void | Init () |
| | Init method.
|
|
QEvent * | Do (QEvent *ev) |
| | Do method.
|
|
void | Done () |
| | Done method.
|
Private Member Functions |
|
void | Add (const int channel, QVector &pulse) |
| | Add to average pulse.
|
|
QVector | Normalize (const QEvent *ev) |
| | Normalize pulse to unit baseline and unit height.
|
|
void | Resample (const int channel) |
| | Resample average pulse based on most common peak location and most common pulse window size.
|
|
void | Setup (const int channel, const QVector &pulse) |
| | Set up data members.
|
Private Attributes |
|
std::map< int, QVector > | fAvgPulse |
| | Average pulse, one for each channel.
|
|
time_t | fBeginValidity |
| | Time of beginning of validity for the average pulses.
|
|
std::map< int, QVector > | fCountsInBin |
| | Count of contributions to each bin in the average pulse, one for each channel.
|
|
time_t | fEndValidity |
| | Time of end of validity for the average pulses.
|
|
std::map< int, QVector > | fOccurancesOfPulseSize |
| | Histogram of pulse window sizes, one for each channel.
|
|
std::map< int, QVector > | fPeakOccurancesInBin |
| | Histogram of peak positions, one for each channel.
|
|
bool | fProcessedAnEvent |
| | Flag indicating at least one event has been processed.
|
The documentation for this class was generated from the following files: