module OBFilter verbosity = info enable = true WeightsFilename = weights.txt IdealPulsesFilename = average_pulses.root endmod
Parameters:
Public Member Functions | |
MOBFilter (QSequence *s) | |
void | Init () |
Init method is called before event loop. | |
QEvent * | Do (QEvent *ev) |
Do method is called for each event, getting the event as argument. | |
void | Done () |
Done method is called after event loop. | |
Private Member Functions | |
double | MaxMinusBaseline (const QVector &pulse) |
max - baseline function | |
void | SetUpChannel (const int channel, const QTime &evTime) |
Set up channel by loading ideal pulse and weights. | |
Private Attributes | |
std::set< int > | fBadChannels |
Set of bad channels. | |
std::set< int > | fGoodChannels |
Set of good channels. | |
std::map< int, QVector > | fIdealPulse |
ideal pulse for each channel | |
std::string | fIdealPulseFilename |
Name of file containing ideal pulses. | |
std::map< int, double > | fIdealPulseMaxMinusBaseline |
max - baseline of the ideal pulse for each channel | |
std::map< int, QOffset > | fOffsetAnalyzer |
object for determining pulse offset with respect to the ideal pulse for each channel | |
std::map< int, QMatrix > | fVinv |
Inverse of covariance matrix of frequency contributions for each channel. | |
std::map< int, QVector > | fWeights |
weights for each channel | |
std::string | fWeightsFilename |
Name of file containing weights. |