TDT724Waveform.h

Go to the documentation of this file.
00001 #ifndef TDT724Waveform_h
00002 #define TDT724Waveform_h
00003 
00004 #include <string>
00005 #include "THistogramArrayBase.h"
00006 
00007 /// Class for making histograms of raw DT724 waveforms;
00008 class TDT724Waveform : public THistogramArrayBase {
00009 public:
00010   TDT724Waveform();
00011   virtual ~TDT724Waveform(){};
00012 
00013   void UpdateHistograms(TDataContainer& dataContainer);
00014 
00015   /// Getters/setters
00016   int GetNsecsPerSample() { return nanosecsPerSample; }
00017   void SetNanosecsPerSample(int nsecsPerSample) { this->nanosecsPerSample = nsecsPerSample; }
00018 
00019         // Reset the histograms; needed before we re-fill each histo.
00020         void Reset();
00021 
00022   void CreateHistograms();
00023 
00024         /// Take actions at begin run
00025         void BeginRun(int transition,int run,int time){         
00026                 CreateHistograms();             
00027         }
00028 
00029 private:
00030   int nanosecsPerSample;
00031 };
00032 
00033 #endif
00034 
00035 

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1