MDefaults.hh

Go to the documentation of this file.
00001 
00054 #ifndef _M_DEFAULTS_H_
00055 #define _M_DEFAULTS_H_
00056 
00057 #include <string>
00058 #include "QBaseModule.hh"
00059 #include "QRunData.hh"
00060 
00061 using namespace Cuore;
00062 
00063 class MDefaults : public QBaseModule {
00064 
00065         public:
00066                 MDefaults(QSequence* s);
00067 
00068                 virtual ~MDefaults();
00069 
00070                 // Init method is called before event loop
00071                 void Begin();
00072 
00073                 // Doit method is called for each event, getting the event as argument
00074                 QEvent* ProcessBeforeReader( QEvent* ev);
00075                 QEvent* Process( QEvent* ev);
00076                 QEvent* ProcessAfterWriter( QEvent* ev);
00077 
00078                 // Done method is called after event loop
00079                 void End();
00080 
00081         private:
00082         std::string fRunDataInput;
00083         std::string fRunDataOutputFile;
00084         std::string fRunDataOutputFile2;
00085         bool fSaveRunData;
00086         bool fIgnoreFilters;
00087         int fThisRun;
00088         int fThisRun2;
00089         double fApolloADC2mV;
00090         double fOldDAQADC2mV;
00091         int fApolloADCMax;
00092         int fApolloADCMin;
00093         int fOldDAQADCMax;
00094         int fOldDAQADCMin;
00095         QRunData* fRunData;
00096 };
00097 
00098 #endif

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