3 plCut(TString run=
"R305", TString path=
"./wrkLcpX/") {
4 gStyle->SetPalette(1,0);
9 TString fname=path+
"/"+run;
18 printf(
"plCut: %s not exits \n",fname.Data());
22 printf(
"plCut: %s opened \n",fname.Data());
25 ln =
new TLine(10,260,40,260);
26 ln =
new TLine(0,340,4,340);
34 TCanvas *c1=
new TCanvas(cname,cname,600,350);
42 mL=
new TLegend(0.15,.5,.7,.7);
45 h=(TH1F*)fd->Get(
"CnFP-A");
46 h->Draw(); mL->AddEntry(h,
"#Delta#phi <1/8 #pi (data X 1/10) ");
52 h=(TH1F*)fd->Get(
"CnFP-C"); h->SetLineColor(kBlue);
53 h->Draw(
"same"); mL->AddEntry(h,
" #Delta#phi #in [ 3/8 #pi, 5/8 #pi ] ");
55 h=(TH1F*)fd->Get(
"CnFP-E"); h->SetLineColor(kRed);
56 h->Draw(
"same"); mL->AddEntry(h,
"#Delta#phi > 7/8 #pi ");
65 mL=
new TLegend(0.15,.45,.7,.70);
67 h=(TH1F*)fd->Get(
"CnFP-A");
68 h->Draw(); mL->AddEntry(h,
"#Delta#phi <1/8 #pi (data x 1/10)");
70 h=(TH1F*)fd->Get(
"CnFP-B"); h->SetLineColor(kBlue);
72 h->Draw(
"same"); mL->AddEntry(h,
" #Delta#phi #in [ 1/8 #pi, 3/8 #pi ] ");
74 h=(TH1F*)fd->Get(
"CnFP-D"); h->SetLineColor(kRed);
75 h->Draw(
"same"); mL->AddEntry(h,
" #Delta#phi #in [ 5/8 #pi, 7/8 #pi ] ");
77 h=(TH1F*)fd->Get(
"CnFP-L"); h->SetLineColor(kGreen);
78 h->Draw(
"same"); mL->AddEntry(h,
"lost LCP");
80 h=(TH1F*)fd->Get(
"CnFP-W"); h->SetLineColor(kRed);
82 h->Draw(
"same"); mL->AddEntry(h,
"won LCP");
91 c1->cd(1); (fd->Get(
"CnFP-A"))->Draw();
92 c1->cd(2); (fd->Get(
"CnFP-B"))->Draw();
93 c1->cd(3); (fd->Get(
"CnFP-C"))->Draw();
94 c1->cd(4); (fd->Get(
"CnFP-D"))->Draw();
95 c1->cd(5); (fd->Get(
"CnFP-E"))->Draw();
96 c1->cd(7); (fd->Get(
"CnFP-L"))->Draw();
97 c1->cd(8); (fd->Get(
"CnFP-W"))->Draw();