3 Bichsel *m_Bichsel = Bichsel::Instance();
4 TF1 *sipi = 0, *sie = 0, *sip = 0, *siK = 0, *sid = 0, *sit = 0, *sihe3 = 0;
6 Double_t sifunc(Double_t *x,Double_t *par) {
9 Double_t poverm = ppion;
16 return charge2*BetheBloch::Sirrf(poverm,60,k==3);
19 Double_t bichselZ(Double_t *x,Double_t *par) {
21 Double_t ppion = pove;
22 Double_t poverm = ppion/par[0];
29 Double_t val1 = m_Bichsel->GetMostProbableZ(TMath::Log10(poverm),1.);
31 Double_t val = TMath::Exp(val1);
39 if (!m_Bichsel || gClassTable->GetID(
"StBichsel") < 0) {
40 gSystem->Load(
"libStar");
41 gSystem->Load(
"St_base");
42 gSystem->Load(
"StarClassLibrary");
43 gSystem->Load(
"StBichsel");
44 m_Bichsel = Bichsel::Instance();
47 TLegend *leg =
new TLegend(0.72,0.7,0.9,0.9,
"");
48 sipi =
new TF1(
"bipi",bichselZ,-1.,4.0,2);
49 sipi->SetParameter(0,0.13956995);
50 sipi->SetParameter(1,0);
51 sie =
new TF1(
"bie",bichselZ,-1.,4.0,2);
52 sie->SetParameter(0,0.51099907e-3);
53 sie->SetParameter(1,3);
55 leg->AddEntry(sie,
"e-#pi",
"L");
60 sip =
new TF1(
"bi",bichselZ,0.01,1.20,2);
61 sip->SetParameter(0,0.93827231);
62 sip->SetParameter(1,0);
64 leg->AddEntry(sip,
"p-#pi",
"L");
65 sim =
new TF1(
"bim",bichselZ,0.01,1.20,2);
66 sim->SetParameter(0,0.1056584);
67 sim->SetParameter(1,0);
69 leg->AddEntry(sim,
"#mu-#pi",
"L");
70 siK =
new TF1(
"biK",bichselZ,0.01,1.20,2);
71 siK->SetParameter(0,0.493677);
72 siK->SetParameter(1,0);
74 leg->AddEntry(siK,
"K-#pi",
"L");
75 sid =
new TF1(
"bid",bichselZ,0.01,1.20,2);
76 sid->SetParameter(0,0.1876E+01);
77 sid->SetParameter(1,0);
79 leg->AddEntry(sid,
"d-#pi",
"L");