MOBComputeWeights Class Reference
[Modules]

Inheritance diagram for MOBComputeWeights:

QModule QBaseModule

List of all members.


Detailed Description

Module to compute optimal weights for pulse amplitude algorithm.

Used for determining optimal weights for pulse amplitude algorithm

   filter OBComputeWeightsFilter
   verbosity = info
   enable = true
   SkipEvents = false
   endmod

   module OBComputeWeights
   verbosity = info
   enable = true
   IdealPulsesFilename = average_pulses.root
   OutputFilename = weights.txt
   NumFrequencies = 25
   endmod
   


Public Member Functions

 MOBComputeWeights (QSequence *s)
void Init ()
 Init method is called before event loop.
QEventDo (QEvent *ev)
 Doit method is called for each event, getting the event as argument.
void Done ()
 Done method is called after event loop.

Private Member Functions

void SetUpIdealPulse (const int channel, const QTime &evTime)
 Load ideal pulse from file.

Private Attributes

std::map< int, QMatrix > fAvgProduct
 Average products of different frequency contributions, used for computing covariance matrix.
std::set< int > fBadChannels
 Set of bad channels (those for which no ideal pulse exists).
std::map< int, int > fCount
 Number of noise samples for each channel.
std::map< int, QVector > fIdealPulse
 Ideal pulses for each channel.
std::string fIdealPulseFilename
 Name of file containing ideal pulses.
std::map< int, double > fIdealPulseMaxMinusBaseline
 max - baseline for ideal pulses
unsigned int fNumFreq
 Number of frequencies to use for amplitude algorithm.
std::map< int, QOffsetfOffsetAnalyzer
 Offset analysis object for each channel.
std::map< int, QVector > fResampledIdealPulse
 Resampled ideal pulses for each channel.

The documentation for this class was generated from the following files:

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