MTestModule.hh

00001 
00011 #ifndef _M_TESTMODULE_H_
00012 #define _M_TESTMODULE_H_
00013 
00014 #include <string>
00015 #include "QModule.hh"
00016 #include "QCuore.hh"
00017 #include "QVectorC.hh"
00018 #include "QMatrix.hh"
00019 
00020 #include <TH1D.h>
00021 
00022 class MTestModule : public QModule {
00023 
00024         public:
00025                 MTestModule(QSequence* s);
00026 
00027                 virtual ~MTestModule();
00028 
00029                 // Init method is called before event loop
00030                 virtual void Init();
00031 
00032                 // Doit method is called for each event, getting the event as argument
00033                 virtual QEvent* Do( QEvent* ev);
00034 
00035                 // Done method is called after event loop
00036                 virtual void Done();
00037 
00038         private:
00039         static QSequence* fFirstSequence;
00040         static QSequence* fCurrentSequence;
00041         bool fIsFirstSequence;
00042 
00043                 unsigned int fIter;  
00044 
00045         TH1D* fGlobalHisto;
00046                 QVector fGlobalQVector;
00047                 QMatrix fGlobalQMatrix;
00048 
00049                 QVector fEventVector;
00050                 QVectorC fEventVectorC;
00051         TH1D* fEventHisto;
00052 
00053         int fTestOK;
00054         int fTestKO;
00055         bool fWriteEvtNum;   
00056         bool fTestGlobal;  
00057         bool fTestEvent;     
00058         bool fTestJump;      
00059         bool fTestDefaults;   
00060         bool testConfigFile; 
00061         unsigned int fMyOccurrence;
00062 };
00063 
00064 #endif

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