MCreateRateReference.hh

Go to the documentation of this file.
00001 #ifndef _M_CREATERATEREFERENCE_HH_
00002 #define _M_CREATERATEREFERENCE_HH_
00003 
00039 #include "QModule.hh"
00040 #include <vector>
00041 #include <map>
00042 
00043 class MCreateRateReference : public QModule {
00044 
00045     public:
00047         MCreateRateReference(QSequence* s);
00048 
00050         ~MCreateRateReference();
00051 
00053         void Init();
00054 
00056         QEvent* Do(QEvent* ev);
00057 
00059         void Done();
00060     private:
00061         /* @brief counts[run][ch] */
00062         std::vector<std::vector<int> > fCounts;
00063         /* @brief duration[run] */
00064         std::vector<int> fDurations;
00065         /* @brief thres[run][ch] */
00066         std::vector<std::map<int,int> > fThresholds;
00067         int fCurrRun;
00068         /* @brief maxAverage */
00069         int fMaxRunAverage;
00070         int fNumRuns;
00071         int fMaxChannel;
00072         std::string fOutputFile;
00073 };
00074 
00075 #endif
00076 

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