h1analysisProxy.h

Go to the documentation of this file.
00001 #include "TH2.h"
00002 #include "TF1.h"
00003 #include "TStyle.h"
00004 #include "TCanvas.h"
00005 #include "TLine.h"
00006 #include "TEntryList.h"
00007 #include "TPaveStats.h"
00008 #include "TMath.h"
00009 
00010 const Double_t dxbin = (0.17-0.13)/40;   // Bin-width
00011 const Double_t sigma = 0.0012;
00012 
00013 //_____________________________________________________________________
00014 Double_t fdm5(Double_t *xx, Double_t *par)
00015 {
00016    Double_t x = xx[0];
00017    if (x <= 0.13957) return 0;
00018    Double_t xp3 = (x-par[3])*(x-par[3]);
00019    Double_t res = dxbin*(par[0]*TMath::Power(x-0.13957, par[1])
00020        + par[2] / 2.5066/par[4]*TMath::Exp(-xp3/2/par[4]/par[4]));
00021    return res;
00022 }
00023 
00024 //_____________________________________________________________________
00025 Double_t fdm2(Double_t *xx, Double_t *par)
00026 {
00027    Double_t x = xx[0];
00028    if (x <= 0.13957) return 0;
00029    Double_t xp3 = (x-0.1454)*(x-0.1454);
00030    Double_t res = dxbin*(par[0]*TMath::Power(x-0.13957, 0.25)
00031        + par[1] / 2.5066/sigma*TMath::Exp(-xp3/2/sigma/sigma));
00032    return res;
00033 }
00034 

Generated on Tue Jul 5 15:45:11 2011 for ROOT_528-00b_version by  doxygen 1.5.1