13 "0.083*exp(-0.5*pow(x+0.385,2.)/0.131)", fXFmin, fXFmax);
15 "exp(-0.214-6.625*x)", fPT2min, fPT2max);
17 double fI0XFpdf = fBaryonXFpdf ->Integral(fXFmin, fXFmax);
18 double fI0PT2pdf = fBaryonPT2pdf->Integral(fPT2min,fPT2max);
28 "[0]*0.083*exp(-0.5*pow(x-[1],2.)/0.131)", fXFmin, fXFmax);
29 fBaryonXFpdfTwk1->SetParameter(0, 1.);
30 fBaryonXFpdfTwk1->SetParameter(1, fDefPeakBaryonXF*(1+fracerr_xF1pi));
31 fBaryonXFpdfTwk1->SetParameter(0, fI0XFpdf/fBaryonXFpdfTwk1->Integral(fXFmin, fXFmax) );
33 "[0]*0.083*exp(-0.5*pow(x-[1],2.)/0.131)", fXFmin, fXFmax);
34 fBaryonXFpdfTwk2->SetParameter(0, 1.);
35 fBaryonXFpdfTwk2->SetParameter(1, fDefPeakBaryonXF*(1-fracerr_xF1pi));
36 fBaryonXFpdfTwk2->SetParameter(0, fI0XFpdf/fBaryonXFpdfTwk2->Integral(fXFmin, fXFmax) );
40 "[0]*exp(-0.214-x/[1])", fPT2min, fPT2max);
41 fBaryonPT2pdfTwk1->SetParameter(0, 1.);
42 fBaryonPT2pdfTwk1->SetParameter(1,fDefAvgPT2*(1+fracerr_pT1pi));
43 fBaryonPT2pdfTwk1->SetParameter(0,fI0PT2pdf/fBaryonPT2pdfTwk1->Integral(fPT2min,fPT2max));
45 "[0]*exp(-0.214-x/[1])", fPT2min, fPT2max);
46 fBaryonPT2pdfTwk2->SetParameter(0, 1.);
47 fBaryonPT2pdfTwk2->SetParameter(1,fDefAvgPT2*(1-fracerr_pT1pi));
48 fBaryonPT2pdfTwk2->SetParameter(0,fI0PT2pdf/fBaryonPT2pdfTwk2->Integral(fPT2min,fPT2max));
50 TCanvas *
c1 =
new TCanvas(
"c1",
"",20,20,500,500);
52 fBaryonXFpdfTwk1->SetLineStyle(kDashed);
53 fBaryonXFpdfTwk2->SetLineStyle(kDashed);
54 fBaryonXFpdfTwk1->Draw(
"same");
55 fBaryonXFpdfTwk2->Draw(
"same");
58 TCanvas *
c2 =
new TCanvas(
"c2",
"",120,120,600,600);
59 fBaryonPT2pdf->Draw();
60 fBaryonPT2pdfTwk1->SetLineStyle(kDashed);
61 fBaryonPT2pdfTwk2->SetLineStyle(kDashed);
62 fBaryonPT2pdfTwk1->Draw(
"same");
63 fBaryonPT2pdfTwk2->Draw(
"same");