Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:47

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   // Default Constructor, mainly for Root
0018   TMarkov();
0019 
0020   // Destructor: Does nothing
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