MAveragePulsesOneIteration Class Reference
[Modules]

Inheritance diagram for MAveragePulsesOneIteration:

QModule QBaseModule

List of all members.


Detailed Description

Forms average pulses with alignment in one iteration.

Author:
Adam Bryant (adam_bryant@berkeley.edu)
  • Config example:
       module AveragePulsesOneIteration
       verbosity = info
       OutputFile = average_pulses.root
       enable = true
       endmod
       
  • Parameters
    • OutputFile [string = average_pulses.root]


Public Member Functions

 MAveragePulsesOneIteration (QSequence *s)
 constructor
 ~MAveragePulsesOneIteration ()
 destructor
void Init ()
 Init method.
QEventDo (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:

Generated on Tue Nov 16 10:50:01 2010 for CUORE Software by  doxygen 1.5.6