00001 #ifndef TSimpleExampleCanvas_h 00002 #define TSimpleExampleCanvas_h 00003 00004 00005 #include <iostream> 00006 #include <string> 00007 00008 #include "TH1F.h" 00009 #include "TCanvasHandleBase.hxx" 00010 00011 00012 /// A simple example, using V1190 data 00013 /// 00014 /// 00015 class TSimpleExampleCanvas : public TCanvasHandleBase{ 00016 00017 public: 00018 TSimpleExampleCanvas(); 00019 00020 /// Reset the histograms for this canvas 00021 void ResetCanvasHistograms(); 00022 00023 /// Update the histograms for this canvas. 00024 void UpdateCanvasHistograms(TDataContainer& dataContainer); 00025 00026 /// Plot the histograms for this canvas 00027 void PlotCanvas(TDataContainer& dataContainer, TRootEmbeddedCanvas *embedCanvas); 00028 00029 private: 00030 TH1F *tdcHistogram; 00031 00032 00033 }; 00034 00035 00036 #endif