MComputeFFT.hh
Go to the documentation of this file.00001
00008 #ifndef _M_COMPUTEFFT_H
00009 #define _M_COMPUTEFFT_H
00010
00011 #include "QModule.hh"
00012 #include <string>
00013
00014 namespace Cuore {class QRealComplexFFT;}
00015
00016 class MComputeFFT: public QModule{
00017
00018 public:
00019 MComputeFFT(QSequence* s);
00020 virtual ~MComputeFFT();
00021
00022 virtual void Init();
00023
00024 virtual QEvent* Do(QEvent* ev);
00025
00026 virtual void Done();
00027
00028
00029 private:
00030 int Find(std::vector<int>&,int);
00031 void Parse(std::string&, std::vector<int>&);
00032 QRealComplexFFT* fTransformer;
00033 int fnProcessed;
00034 std::vector<int> fChanList;
00035 std::vector<int> fEventList;
00036 };
00037
00038 #endif
00039
00040