TV1720Waveform.h

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

Generated on 12 Feb 2016 for ROOT Analyzer by  doxygen 1.6.1