00001 #ifndef TMEViewer_H_ 00002 #define TMEViewer_H_ 00003 00004 #include "BaseModule.h" 00005 class TGlobalData; 00006 class TSetupData; 00007 namespace modules {class options;} 00008 namespace IDs {class channel;} 00009 class TH1F; 00010 class TH2F; 00011 class TCanvas; 00012 class TApplication; 00013 00028 class TMEViewer : public BaseModule { 00029 00030 public: 00035 TMEViewer(modules::options* opts); 00038 ~TMEViewer(); 00039 00040 private: 00046 virtual int ProcessEntry(TGlobalData *gData, const TSetupData *gSetup); 00052 virtual int BeforeFirstEntry(TGlobalData* gData,const TSetupData *setup); 00058 virtual int AfterLastEntry(TGlobalData* gData,const TSetupData *setup); 00059 00060 long int fNullCount, fTdpCount; 00061 00062 bool fQuit; 00063 00064 typedef std::vector<IDs::channel> DetectorList; 00065 DetectorList fDetectors; 00066 00067 TCanvas* fCanvas; 00068 TApplication* fApp; 00069 TH2F* fTDiffPerDetector; 00070 }; 00071 00072 #endif //CHECKTMES_H_