3 plPro(TString run=
"R3012013", TString path=
"./wrkLcpX/") {
4 path=
"/star/data04/sim/balewski/LcpRun2/maxEta1.0";
8 gStyle->SetPalette(1,0);
9 gStyle->SetOptStat(1111111);
12 TString fname=path+
"/"+run;
17 printf(
"plCut: %s not exits \n",fname.Data());
21 printf(
"plCut: %s opened \n",fname.Data());
26 TCanvas *c1=
new TCanvas(cname,cname,600,350);
30 h=(TH1F*)fd->Get(
"bX120"); h->Draw();
return;
32 h=(TH1F*)fd->Get(
"nPrim");
39 h1=(TH1F*) h->Clone();
44 mL=
new TLegend(0.15,.5,.7,.7);
47 h=(TH1F*)fd->Get(
"CnFP-A");
48 h->Draw(); mL->AddEntry(h,
"#Delta#phi <1/8 #pi (data X 1/10) ");
54 h=(TH1F*)fd->Get(
"CnFP-C"); h->SetLineColor(kBlue);
55 h->Draw(
"same"); mL->AddEntry(h,
" #Delta#phi #in [ 3/8 #pi, 5/8 #pi ] ");
57 h=(TH1F*)fd->Get(
"CnFP-E"); h->SetLineColor(kRed);
58 h->Draw(
"same"); mL->AddEntry(h,
"#Delta#phi > 7/8 #pi ");
67 mL=
new TLegend(0.15,.45,.7,.70);
69 h=(TH1F*)fd->Get(
"CnFP-A");
70 h->Draw(); mL->AddEntry(h,
"#Delta#phi <1/8 #pi (data x 1/10)");
72 h=(TH1F*)fd->Get(
"CnFP-B"); h->SetLineColor(kBlue);
74 h->Draw(
"same"); mL->AddEntry(h,
" #Delta#phi #in [ 1/8 #pi, 3/8 #pi ] ");
76 h=(TH1F*)fd->Get(
"CnFP-D"); h->SetLineColor(kRed);
77 h->Draw(
"same"); mL->AddEntry(h,
" #Delta#phi #in [ 5/8 #pi, 7/8 #pi ] ");
79 h=(TH1F*)fd->Get(
"CnFP-L"); h->SetLineColor(kGreen);
80 h->Draw(
"same"); mL->AddEntry(h,
"lost LCP");
82 h=(TH1F*)fd->Get(
"CnFP-W"); h->SetLineColor(kRed);
84 h->Draw(
"same"); mL->AddEntry(h,
"won LCP");
93 c1->cd(1); (fd->Get(
"CnFP-A"))->Draw();
94 c1->cd(2); (fd->Get(
"CnFP-B"))->Draw();
95 c1->cd(3); (fd->Get(
"CnFP-C"))->Draw();
96 c1->cd(4); (fd->Get(
"CnFP-D"))->Draw();
97 c1->cd(5); (fd->Get(
"CnFP-E"))->Draw();
98 c1->cd(7); (fd->Get(
"CnFP-L"))->Draw();
99 c1->cd(8); (fd->Get(
"CnFP-W"))->Draw();