1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef TMarkov_H
#define TMarkov_H
#include "TObject.h"
class TMarkov : public TObject {
private:
int fNPeakValues, fNbinu;
int imax;
double peak[3];
double u[101], binu[102];
void init();
int computeChain(int *);
public:
// Default Constructor, mainly for Root
TMarkov();
// Destructor: Does nothing
~TMarkov() override;
void peakFinder(int *);
double getPeakValue(int i) const { return peak[i]; }
int getBinMax() const { return imax; }
ClassDefOverride(TMarkov, 0)
};
#endif
|