ROOTANA
TV1730DppWaveform.h
Go to the documentation of this file.
1 #ifndef TV1730DppWaveforms_h
2 #define TV1730DppWaveforms_h
3 
4 #include <string>
5 #include "THistogramArrayBase.h"
6 
7 /// Class for making histogram of V1730 waveforms (with DPP event encoding)
9 public:
11  virtual ~TV1730DppWaveform(){};
12 
13  /// Update the histogram for this canvas.
14  /// This method works, but is generally not used; instead, TDeapAnaManager handles filling this histogram.
15  void UpdateHistograms(TDataContainer& dataContainer);
16 
17  /// Take actions at begin run
18  void BeginRun(int transition,int run,int time);
19 
20  /// Take actions at end run
21  void EndRun(int transition,int run,int time);
22 
23  int GetNumSamples() { return numSamples; }
24  void SetNumSamples(int numSamples) { this->numSamples = numSamples; }
26  void SetNanosecsPerSample(int nsecsPerSample) { this->nanosecsPerSample = nsecsPerSample; }
27 
28  // Reset the histogram; needed before we re-fill each histo.
29  void Reset();
30 
31 private:
32 
35  void CreateHistograms();
36 
37 
38 };
39 
40 #endif
41 
42 
Class for making histogram of V1730 waveforms (with DPP event encoding)
void SetNanosecsPerSample(int nsecsPerSample)
void UpdateHistograms(TDataContainer &dataContainer)
virtual ~TV1730DppWaveform()
TV1730DppWaveform()
Reset the histogram for this canvas.
void BeginRun(int transition, int run, int time)
Take actions at begin run.
void EndRun(int transition, int run, int time)
Take actions at end run
void CreateHistograms()
Function to create histograms; users will want to implement this function.
void SetNumSamples(int numSamples)