CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/CalibCalorimetry/EcalLaserAnalyzer/interface/TMarkov.h

Go to the documentation of this file.
00001 #ifndef TMarkov_H
00002 #define TMarkov_H
00003 
00004 #include "TObject.h"
00005 
00006 class TMarkov: public TObject 
00007 {
00008 
00009  private:       
00010 
00011   int fNPeakValues,fNbinu;
00012   int imax;
00013   double peak[3];
00014   double u[101],binu[102];
00015   
00016   void init();
00017   int computeChain(int *);
00018 
00019  public:
00020   // Default Constructor, mainly for Root
00021   TMarkov();
00022 
00023   // Destructor: Does nothing
00024   virtual ~TMarkov();
00025 
00026   void peakFinder(int *);
00027   double getPeakValue(int i) const { return peak[i]; }
00028   int getBinMax() const { return imax; }
00029 
00030   //  ClassDef(TMarkov,1)
00031 };
00032 
00033 #endif
00034 
00035 
00036