00001 #ifndef TL2249Histograms_h 00002 #define TL2249Histograms_h 00003 00004 #include <string> 00005 #include "THistogramArrayBase.h" 00006 00007 /// Class for making histograms of L2249 ADC data. 00008 class TL2249Histograms : public THistogramArrayBase { 00009 public: 00010 TL2249Histograms(); 00011 virtual ~TL2249Histograms(){}; 00012 00013 /// Update the histograms for this canvas. 00014 void UpdateHistograms(TDataContainer& dataContainer); 00015 00016 /// Take actions at begin run 00017 void BeginRun(int transition,int run,int time); 00018 00019 /// Take actions at end run 00020 void EndRun(int transition,int run,int time); 00021 00022 private: 00023 00024 void CreateHistograms(); 00025 00026 }; 00027 00028 #endif 00029 00030