ROOTANA
TV1720Waveform.h
Go to the documentation of this file.
1 #ifndef TV1720Waveform_h
2 #define TV1720Waveform_h
3 
4 #include <string>
5 #include "THistogramArrayBase.h"
6 
7 /// Class for making histograms of raw V1720 waveforms;
8 /// right now is only for raw or ZLE compressed data.
10 public:
12  virtual ~TV1720Waveform(){};
13 
14  void UpdateHistograms(TDataContainer& dataContainer);
15 
16  /// Getters/setters
18  void SetNanosecsPerSample(int nsecsPerSample) { this->nanosecsPerSample = nsecsPerSample; }
19 
20  // Reset the histograms; needed before we re-fill each histo.
21  void Reset();
22 
23  void CreateHistograms();
24 
25  /// Take actions at begin run
26  void BeginRun(int transition,int run,int time){
28  }
29 
30 private:
32 };
33 
34 #endif
35 
36 
void SetNanosecsPerSample(int nsecsPerSample)
void CreateHistograms()
Function to create histograms; users will want to implement this function.
void UpdateHistograms(TDataContainer &dataContainer)
Update the histograms for this canvas.
int GetNsecsPerSample()
Getters/setters.
virtual ~TV1720Waveform()
TV1720Waveform()
Reset the histograms for this canvas.
void BeginRun(int transition, int run, int time)
Take actions at begin run.