MAvgRMS.hh
Go to the documentation of this file.00001 #ifndef _M_AVGRMS_HH_
00002 #define _M_AVGRMS_HH_
00003
00039 #include "QModule.hh"
00040 #include <map>
00041
00042 class MAvgRMS : public QModule {
00043
00044 public:
00046 MAvgRMS(QSequence* s);
00047
00049 ~MAvgRMS();
00050
00052 void Init();
00053
00055 QEvent* Do(QEvent* ev);
00056
00058 void Done();
00059 private:
00060 std::string fOutput;
00061 std::map<int,double> fAvgRMS;
00062 std::map<int,int> fCount;
00063 int fPadding;
00064
00065 };
00066
00067 #endif
00068