ROOTANA
Loading...
Searching...
No Matches
TV1730RawWaveform.h
Go to the documentation of this file.
1#ifndef TV1730RawWaveforms_h
2#define TV1730RawWaveforms_h
3
4#include <string>
6
7/// Class for making histogram of raw V1730Dpp waveforms
9public:
11 virtual ~TV1730RawWaveform(){};
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
31private:
32
35 void CreateHistograms();
36
37
38};
39
40#endif
41
42
Class for making histogram of raw V1730Dpp waveforms.
TV1730RawWaveform()
Reset the histogram for this canvas.
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 BeginRun(int transition, int run, int time)
Take actions at begin run.
void UpdateHistograms(TDataContainer &dataContainer)
void SetNumSamples(int numSamples)
void SetNanosecsPerSample(int nsecsPerSample)