Vancouver Waveform Analysis Toolkit  1.0
Waveform.h
Go to the documentation of this file.
1 #ifndef WAVEFORM_H
2 #define WAVEFORM_H
3 #include "Baseline.h"
4 #include "TF1.h"
5 #include "TH1.h"
6 #include "TROOT.h"
7 #include <iostream>
8 
14 class Waveform : public TH1D {
15 public:
17  void setWaveformBaseline(Baseline baseline);
18 
19  Waveform() {}
20  Waveform(int aNBin, double aMin, double aMax, const char *aName = 0);
21  Waveform(const TH1D &aWF, const char *aName = 0);
22  virtual ~Waveform();
23 
24  ClassDef(Waveform, 1);
25 
26 private:
28 };
29 
30 #endif // WAVEFORM_H
Waveform()
Definition: Waveform.h:19
Baseline waveformBaseline
Definition: Waveform.h:27
A Waveform class that inherits from ROOT's TH1D class.
Definition: Waveform.h:14
void setWaveformBaseline(Baseline baseline)
Sets the Waveform's global Baseline.
Definition: Waveform.cxx:60
ClassDef(Waveform, 1)
Baseline getWaveformBaseline()
Returns the Waveform's global Baseline.
Definition: Waveform.cxx:52
Definition: Baseline.h:6
virtual ~Waveform()
Waveform Destructor.
Definition: Waveform.cxx:45