Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MadContour.h

Go to the documentation of this file.
00001 #include <iostream>
00002 #include "TROOT.h"
00003 #include "TGraph.h"
00004 #include "TH2.h"
00005 
00006 class MadContour
00007 {
00008 
00009  private:
00010   
00011   TH2F   *fChi2Hist;
00012   bool   fdraw;
00013   bool   finit;
00014   float  fMinChi2;
00015   float  fMinPar1;
00016   float  fMinPar2;
00017   int    fContCount;
00018 
00019   TGraph *fcen;  //graphs for drawing
00020   TGraph *fgr1; 
00021   TGraph *fgr2;
00022   TGraph *fgr3;
00023   TH2F   *femap;
00024 
00025   bool   fCloseLoop;
00026 
00027   void   Init(int);
00028   
00029  public:
00030   
00031   MadContour();
00032   MadContour(TH2F*);
00033   ~MadContour();
00034  
00035   int     SetChiMap(TH2F*);
00036 
00037   TH2F   *GetEmptyMap();
00038   TGraph *GetContour(float);
00039   TGraph *GetCentre();
00040   void    Draw();
00041   void    ContDraw();
00042 
00043   void    CloseLoop(bool);
00044   float   GetMinChi2() { return fMinChi2;}
00045   float   GetMinPar1() { return fMinPar1;}
00046   float   GetMinPar2() { return fMinPar2;}
00047   float   GetErrorOnBestPar(float,int par=2,int Dim=2);
00048   
00049 };

Generated on Mon Feb 15 11:06:55 2010 for loon by  doxygen 1.3.9.1