// ______________________________________________________________________________________ TPad* SetupCanvas(const Char_t* canName, const Char_t *canTitle) { // -- setup canvas and pad canA.Add(new TCanvas(Form("can%s", canName), canTitle, 0, 0 , 420, 700)); can = static_cast<TCanvas*>(canA.Last()); can->SetFillColor(0); can->SetBorderMode(0); can->SetBorderSize(0.0); can->SetFrameFillColor(0); can->SetFrameBorderMode(0); can->cd(); pad = new TPad("pad", "pad",0.05, 0.06, 0.99, 0.98); pad->SetBorderMode(0); pad->SetFillColor(0); pad->Draw(); pad->cd(); pad->Divide(1, 3, 0., 0., 0); can->cd(); TLatex *texb_5 = new TLatex(0.45, 0.03, "#sqrt{#it{s}_{NN}} (GeV)"); texb_5->SetTextSize(0.04); texb_5->Draw("same"); TLatex *texb_6a = new TLatex(0.05,0.8, aMomentsTitle[4]); texb_6a->SetTextSize(0.04); texb_6a->SetTextAngle(90); texb_6a->Draw("same"); TLatex *texb_6b = new TLatex(0.05,0.45, aMomentsTitle2[5]); texb_6b->SetTextSize(0.04); texb_6b->SetTextAngle(90); texb_6b->Draw("same"); TLatex *texb_6c = new TLatex(0.05,0.2, aMomentsTitle[6]); texb_6c->SetTextSize(0.04); texb_6c->SetTextAngle(90); texb_6c->Draw("same"); return pad; }