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