MSynchronizeMeasurements.hh

Go to the documentation of this file.
00001 #ifndef _M_SYNCHRONIZEMEASUREMENTS_HH_
00002 #define _M_SYNCHRONIZEMEASUREMENTS_HH_
00003 
00045 #include "QModule.hh"
00046 
00047 class MSynchronizeMeasurements : public QModule {
00048 
00049     public:
00051         MSynchronizeMeasurements(QSequence* s);
00052 
00054         ~MSynchronizeMeasurements();
00055 
00057         void Init();
00058 
00060         QEvent* Do(QEvent* ev);
00061 
00063         void Done();
00064     private:
00065                  
00067                  double fStartTimeA;
00068                  double fStartTimeB;
00069                  
00071                  std::map<int, std::vector<double> > fTimesA;
00072                  std::map<int, std::vector<double> > fTimesB;
00073                  
00075                  double ComputeGoodness(double Offset,double Slope, double Window, std::vector<int> Channels);
00076                  
00078 //               double FindNearestEvent(double Time, int Channel);
00079                  
00081                  std::string fOutputFile;
00082                  
00084                  double fSlope;
00085                  
00087                  bool fIsTxt;
00088                  bool fIsRoot;
00089 
00090 };
00091 
00092 #endif
00093 

Generated on Tue Nov 16 10:49:58 2010 for CUORE Software by  doxygen 1.5.6