File indexing completed on 2023-03-17 10:41:19
0001 #ifndef TMarkov_H
0002 #define TMarkov_H
0003
0004 #include "TObject.h"
0005
0006 class TMarkov : public TObject {
0007 private:
0008 int fNPeakValues, fNbinu;
0009 int imax;
0010 double peak[3];
0011 double u[101], binu[102];
0012
0013 void init();
0014 int computeChain(int *);
0015
0016 public:
0017
0018 TMarkov();
0019
0020
0021 ~TMarkov() override;
0022
0023 void peakFinder(int *);
0024 double getPeakValue(int i) const { return peak[i]; }
0025 int getBinMax() const { return imax; }
0026
0027 ClassDefOverride(TMarkov, 0)
0028 };
0029
0030 #endif