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
:
16
Baseline
getWaveformBaseline
();
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
:
27
Baseline
waveformBaseline
;
28
};
29
30
#endif // WAVEFORM_H
Baseline.h
Waveform::Waveform
Waveform()
Definition:
Waveform.h:19
Waveform::waveformBaseline
Baseline waveformBaseline
Definition:
Waveform.h:27
Waveform
A Waveform class that inherits from ROOT's TH1D class.
Definition:
Waveform.h:14
Waveform::setWaveformBaseline
void setWaveformBaseline(Baseline baseline)
Sets the Waveform's global Baseline.
Definition:
Waveform.cxx:60
Waveform::ClassDef
ClassDef(Waveform, 1)
Waveform::getWaveformBaseline
Baseline getWaveformBaseline()
Returns the Waveform's global Baseline.
Definition:
Waveform.cxx:52
Baseline
Definition:
Baseline.h:6
Waveform::~Waveform
virtual ~Waveform()
Waveform Destructor.
Definition:
Waveform.cxx:45
code
data_structures
Waveform.h
Generated by
1.8.15