24 TFile *
f =
new TFile(
path);
25 TH2D *
h1 = (TH2D*)
f->Get(
"meanPlotPos");
26 TH2D *h2 = (TH2D*)
f->Get(
"meanPlotNeg");
31 TCanvas *
c1 =
new TCanvas(
"c1",
"c1",800,600);
32 c1->SetRightMargin(0.13);
39 outhist->SetTitle(
"E/p ratio <+>/<->");
41 outhist->GetXaxis()->SetTitle(
"#eta");
42 outhist->GetXaxis()->SetTitleOffset(1);
43 outhist->GetYaxis()->SetTitle(
"#phi [rad]");
44 outhist->GetYaxis()->SetTitleOffset(.7);
45 TPaletteAxis *palette = (TPaletteAxis*)
outhist->GetListOfFunctions()->FindObject(
"palette");
46 palette->SetX1NDC(0.87);
47 palette->SetX2NDC(0.92);
48 palette->SetY1NDC(0.1);
49 palette->SetY2NDC(0.9);
53 c1->Print(
"EoverP.pdf",
"Portrait pdf");
61 TFile *
f =
new TFile(
path);
62 TH2D *
outhist = (TH2D*)
f->Get(
"FinalCorrections");
65 TCanvas *
c1 =
new TCanvas(
"c1",
"c1",800,600);
66 c1->SetRightMargin(0.16);
74 outhist->SetTitle(
"Sagitta Bias");
76 outhist->GetXaxis()->SetTitle(
"#eta");
77 outhist->GetXaxis()->SetTitleOffset(1);
78 outhist->GetYaxis()->SetTitle(
"#phi [rad]");
79 outhist->GetYaxis()->SetTitleOffset(.7);
80 TPaletteAxis *palette = (TPaletteAxis*)
outhist->GetListOfFunctions()->FindObject(
"palette");
81 palette->SetX1NDC(0.84);
82 palette->SetX2NDC(0.89);
83 palette->SetY1NDC(0.1);
84 palette->SetY2NDC(0.9);
85 TGaxis::SetMaxDigits(2);
89 c1->Print(
"Sagitta.pdf",
"Portrait pdf");