StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEStructFitter.h
1 #ifndef __STESTRUCTFITTER_HH
2 #define __STESTRUCTFITTER_HH
3 
4 #include "TROOT.h"
5 #include "TH2F.h"
6 
8 
9 
10  double mpi;
11  double m2pi;
12 
13  double mmean; // for 1d fitted bck.
14  double msigma;// for 1d fitted bck.
15 
16  TH2F** mhists;
17 
18  static StEStructFitter* mInstance;
19 
21 
22  public:
23 
24  static StEStructFitter* Instance();
25  virtual ~StEStructFitter();
26 
27  double detadphiFit(double* x, double* par);
28  double seconddetadphiFit(double* x, double* par);
29  double softCD(double* x, double* par);
30  double secondSoftCD(double* x, double* par);
31  double hardCI(double* x, double* par);
32  double secondHardCI(double* x, double* par);
33  double hardCICosine(double* x, double* par);
34  double secondHardCICosine(double* x, double* par);
35  double detadphiSS(double* x, double* par);
36  double seconddetadphiSS(double* x, double* par);
37 
38  double softLS(double* x, double* par);
39  double secondSoftLS(double* x, double* par);
40  double softUS(double* x, double* par);
41  double syt(double* x, double* par);
42 
43 
44  double mcComponents(double* x, double* par);
45 
46  // 2D gaussian on dytsyt ...
47 
48  double dytGsytG(double* x, double* par);
49 
50  void setMeanSigma(double mean, double sigma);
51 
52  double DoubleE(double* x, double* par);
53  double secondDoubleE(double* x, double* par);
54 
55  ClassDef(StEStructFitter,1)
56 
57 };
58 
59 inline void StEStructFitter::setMeanSigma(double mean, double sigma){
60  mmean=mean;
61  msigma=sigma;
62 }
63 
64 #endif