Inheritance diagram for MAveragePulsesOneIteration:

module AveragePulsesOneIteration verbosity = info OutputFile = average_pulses.root enable = true endmod
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. | |
1.5.1