CMS 3D CMS Logo

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