~uhh-ssd/+junk/Alibava_Analysis

« back to all changes in this revision

Viewing changes to FitClass.h

  • Committer: jo-erfle
  • Date: 2011-12-31 16:34:57 UTC
  • Revision ID: joachim.erfle@desy.de-20111231163457-h7bz6jskbbph7reo
fitting landau-gauss working, messy code, cleaning up - backup

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
//#include "Helperfunctions.h"
20
20
#include "data.h"
21
21
#include "TROOT.h"
22
 
#include "New_Func.h"
23
22
#include "TMinuit.h"
24
23
#include "TMath.h"
25
24
#include "TString.h"
31
30
#include "TPaveStats.h"
32
31
#include "TKey.h"
33
32
#include "TGraph.h"
34
 
#include "New_Func.h"
35
33
 
36
 
class FitClass{// : public Helperfunctions {
 
34
class FitClass{
37
35
public:
38
 
    FitClass(data* dataObj, New_Func* new_fun_Obj, TH1S *signal_histo);
 
36
    FitClass(data* dataObj, TH1S *signal_histo);
39
37
    FitClass(const FitClass& orig);
40
38
    virtual ~FitClass();
41
 
    Double_t func(float ,float ,Double_t *);
42
 
    void like(Int_t &, Double_t *, Double_t &, Double_t *, Int_t );
43
 
    void fit(double pmax, double smin);
44
 
    void SetupFit(FitClass*);
45
39
    TString GetTime(int tt);
46
40
    int glg_fit();
47
 
    friend class New_Func;
48
 
   // double CWrapFit5(double *x, double *par);
49
41
 
50
42
private:
51
43
    data *dataObj_p;
52
 
    New_Func* new_fun_Obj_p;
53
44
    TH1S *signal;
54
45
 
55
46
};