123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764 |
- void v2_CH_BBC_pt_cent2()
- {
- //=========Macro generated from canvas: canv12/Canvas 1 2
- //========= (Tue Aug 13 17:51:28 2019) by ROOT version 6.19/01
- TCanvas *canv12 = new TCanvas("canv12", "Canvas 1 2",0,0,900,800);
- gStyle->SetOptStat(0);
- gStyle->SetOptTitle(0);
- canv12->Range(0,0,1,1);
- canv12->SetFillColor(10);
- canv12->SetBorderMode(0);
- canv12->SetBorderSize(2);
- canv12->SetTickx(1);
- canv12->SetTicky(1);
- canv12->SetLeftMargin(0.15);
- canv12->SetBottomMargin(0.15);
- canv12->SetFrameLineWidth(3);
-
- // ------------>Primitives in pad: padUp12
- TPad *padUp12 = new TPad("padUp12", "v2 vs pt",0,0.33,1,1);
- padUp12->Draw();
- padUp12->cd();
- padUp12->Range(-1.02414,-0.003,5.80346,0.2325556);
- padUp12->SetFillColor(0);
- padUp12->SetBorderMode(0);
- padUp12->SetBorderSize(0);
- padUp12->SetTickx(1);
- padUp12->SetTicky(1);
- padUp12->SetLeftMargin(0.15);
- padUp12->SetBottomMargin(0);
- padUp12->SetFrameFillColor(10);
- padUp12->SetFrameLineWidth(3);
- padUp12->SetFrameFillColor(10);
- padUp12->SetFrameLineWidth(3);
-
- Double_t Graph0_fx1037[16] = {
- 0.175,
- 0.3,
- 0.5,
- 0.7,
- 0.9,
- 1.1,
- 1.3,
- 1.5,
- 1.7,
- 1.9,
- 2.15,
- 2.6,
- 3,
- 3.4,
- 3.9,
- 4.625};
- Double_t Graph0_fy1037[16] = {
- 0.01382442,
- 0.02859118,
- 0.04331749,
- 0.05679335,
- 0.07648847,
- 0.09495584,
- 0.1053037,
- 0.1168168,
- 0.1312186,
- 0.1408653,
- 0.1504061,
- 0.1598392,
- 0.1641776,
- 0.1635268,
- 0.1553924,
- 0.1462509};
- Double_t Graph0_fex1037[16] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- Double_t Graph0_fey1037[16] = {
- 2.757313e-05,
- 2.01433e-05,
- 3.276032e-05,
- 2.776507e-05,
- 3.081198e-05,
- 5.168428e-05,
- 8.817731e-05,
- 6.46294e-05,
- 0.0001086147,
- 0.0001394838,
- 0.0001545918,
- 0.0001840788,
- 0.000532963,
- 0.0004659475,
- 0.001084592,
- 0.001002675};
- TGraphErrors *gre = new TGraphErrors(16,Graph0_fx1037,Graph0_fy1037,Graph0_fex1037,Graph0_fey1037);
- gre->SetName("Graph0");
- gre->SetTitle("Graph");
- gre->SetFillStyle(1000);
- gre->SetLineWidth(3);
- gre->SetMarkerStyle(20);
- gre->SetMarkerSize(1.6);
-
- TH1F *Graph_Graph_Graph010091037 = new TH1F("Graph_Graph_Graph010091037","Graph",100,0,5.07);
- Graph_Graph_Graph010091037->SetMinimum(-0.003);
- Graph_Graph_Graph010091037->SetMaximum(0.209);
- Graph_Graph_Graph010091037->SetDirectory(0);
- Graph_Graph_Graph010091037->SetStats(0);
- Int_t ci; // for color index setting
- TColor *color; // for color definition with alpha
- ci = TColor::GetColor("#ff0000");
- Graph_Graph_Graph010091037->SetLineColor(ci);
- Graph_Graph_Graph010091037->SetLineWidth(3);
- Graph_Graph_Graph010091037->GetXaxis()->SetTitle("p_{T} [GeV/c]");
- Graph_Graph_Graph010091037->GetXaxis()->SetRange(1,101);
- Graph_Graph_Graph010091037->GetXaxis()->SetLabelSize(0.05);
- Graph_Graph_Graph010091037->GetXaxis()->SetTitleSize(0.06);
- Graph_Graph_Graph010091037->GetXaxis()->SetTitleOffset(1);
- Graph_Graph_Graph010091037->GetYaxis()->SetTitle("v_{2}");
- Graph_Graph_Graph010091037->GetYaxis()->SetLabelOffset(0.01);
- Graph_Graph_Graph010091037->GetYaxis()->SetLabelSize(0.05);
- Graph_Graph_Graph010091037->GetYaxis()->SetTitleSize(0.06);
- Graph_Graph_Graph010091037->GetYaxis()->SetTitleOffset(1.3);
- Graph_Graph_Graph010091037->GetZaxis()->SetLabelSize(0.05);
- Graph_Graph_Graph010091037->GetZaxis()->SetTitleSize(0.06);
- Graph_Graph_Graph010091037->GetZaxis()->SetTitleOffset(1);
- gre->SetHistogram(Graph_Graph_Graph010091037);
-
- gre->Draw("ap");
-
- Double_t Graph0_fx3005[13] = {
- 0.175,
- 0.3,
- 0.5,
- 0.7,
- 0.9,
- 1.1,
- 1.3,
- 1.5,
- 1.7,
- 1.9,
- 2.5,
- 3.5,
- 4.575};
- Double_t Graph0_fy3005[13] = {
- 0.01372135,
- 0.02848755,
- 0.04324508,
- 0.0568414,
- 0.07680908,
- 0.09575963,
- 0.1063452,
- 0.1189497,
- 0.134447,
- 0.1441958,
- 0.1595518,
- 0.1694961,
- 0.1556768};
- Double_t Graph0_felx3005[13] = {
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08};
- Double_t Graph0_fely3005[13] = {
- 0.0006076076,
- 0.001259967,
- 0.001909365,
- 0.002507134,
- 0.003386925,
- 0.004219675,
- 0.004687282,
- 0.005244016,
- 0.005924961,
- 0.006352257,
- 0.00702524,
- 0.007461878,
- 0.0068414};
- Double_t Graph0_fehx3005[13] = {
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08};
- Double_t Graph0_fehy3005[13] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- TGraphAsymmErrors *grae = new TGraphAsymmErrors(13,Graph0_fx3005,Graph0_fy3005,Graph0_felx3005,Graph0_fehx3005,Graph0_fely3005,Graph0_fehy3005);
- grae->SetName("Graph0");
- grae->SetTitle("Graph");
- ci = TColor::GetColor("#6666ff");
- grae->SetFillColor(ci);
- grae->SetFillStyle(3003);
- ci = TColor::GetColor("#9999ff");
- grae->SetLineColor(ci);
- grae->SetLineWidth(3);
-
- TH1F *Graph_Graph03005 = new TH1F("Graph_Graph03005","Graph",100,0,5.111);
- Graph_Graph03005->SetMinimum(0.01180237);
- Graph_Graph03005->SetMaximum(0.1851343);
- Graph_Graph03005->SetDirectory(0);
- Graph_Graph03005->SetStats(0);
- ci = TColor::GetColor("#ff0000");
- Graph_Graph03005->SetLineColor(ci);
- Graph_Graph03005->SetLineWidth(3);
- Graph_Graph03005->GetXaxis()->SetTitle("p_{T} [GeV/c]");
- Graph_Graph03005->GetXaxis()->SetRange(1,101);
- Graph_Graph03005->GetXaxis()->SetLabelSize(0.05);
- Graph_Graph03005->GetXaxis()->SetTitleSize(0.06);
- Graph_Graph03005->GetXaxis()->SetTitleOffset(1);
- Graph_Graph03005->GetYaxis()->SetTitle("v_{2}");
- Graph_Graph03005->GetYaxis()->SetLabelOffset(0.01);
- Graph_Graph03005->GetYaxis()->SetLabelSize(0.05);
- Graph_Graph03005->GetYaxis()->SetTitleSize(0.06);
- Graph_Graph03005->GetYaxis()->SetTitleOffset(1.3);
- Graph_Graph03005->GetZaxis()->SetLabelSize(0.05);
- Graph_Graph03005->GetZaxis()->SetTitleSize(0.06);
- Graph_Graph03005->GetZaxis()->SetTitleOffset(1);
- grae->SetHistogram(Graph_Graph03005);
-
- grae->Draw("5");
-
- Double_t Graph1_fx1038[13] = {
- 0.175,
- 0.3,
- 0.5,
- 0.7,
- 0.9,
- 1.1,
- 1.3,
- 1.5,
- 1.7,
- 1.9,
- 2.5,
- 3.5,
- 4.575};
- Double_t Graph1_fy1038[13] = {
- 0.01372135,
- 0.02848755,
- 0.04324508,
- 0.0568414,
- 0.07680908,
- 0.09575963,
- 0.1063452,
- 0.1189497,
- 0.134447,
- 0.1441958,
- 0.1595518,
- 0.1694961,
- 0.1556768};
- Double_t Graph1_fex1038[13] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- Double_t Graph1_fey1038[13] = {
- 0.0001009854,
- 7.377627e-05,
- 0.0001199931,
- 0.0001017199,
- 0.000112944,
- 0.0001895861,
- 0.000323617,
- 0.0002372939,
- 0.0003990712,
- 0.0005127284,
- 0.0004296445,
- 0.001389229,
- 0.003680812};
- gre = new TGraphErrors(13,Graph1_fx1038,Graph1_fy1038,Graph1_fex1038,Graph1_fey1038);
- gre->SetName("Graph1");
- gre->SetTitle("Graph");
- gre->SetFillStyle(1000);
- ci = TColor::GetColor("#0000ff");
- gre->SetLineColor(ci);
- gre->SetLineWidth(3);
- ci = TColor::GetColor("#0000ff");
- gre->SetMarkerColor(ci);
- gre->SetMarkerStyle(21);
- gre->SetMarkerSize(1.6);
-
- TH1F *Graph_Graph11038 = new TH1F("Graph_Graph11038","Graph",100,0,5.015);
- Graph_Graph11038->SetMinimum(0.01225833);
- Graph_Graph11038->SetMaximum(0.1866118);
- Graph_Graph11038->SetDirectory(0);
- Graph_Graph11038->SetStats(0);
- ci = TColor::GetColor("#ff0000");
- Graph_Graph11038->SetLineColor(ci);
- Graph_Graph11038->SetLineWidth(3);
- Graph_Graph11038->GetXaxis()->SetTitle("p_{T} [GeV/c]");
- Graph_Graph11038->GetXaxis()->SetRange(1,101);
- Graph_Graph11038->GetXaxis()->SetLabelSize(0.05);
- Graph_Graph11038->GetXaxis()->SetTitleSize(0.06);
- Graph_Graph11038->GetXaxis()->SetTitleOffset(1);
- Graph_Graph11038->GetYaxis()->SetTitle("v_{2}");
- Graph_Graph11038->GetYaxis()->SetLabelOffset(0.01);
- Graph_Graph11038->GetYaxis()->SetLabelSize(0.05);
- Graph_Graph11038->GetYaxis()->SetTitleSize(0.06);
- Graph_Graph11038->GetYaxis()->SetTitleOffset(1.3);
- Graph_Graph11038->GetZaxis()->SetLabelSize(0.05);
- Graph_Graph11038->GetZaxis()->SetTitleSize(0.06);
- Graph_Graph11038->GetZaxis()->SetTitleOffset(1);
- gre->SetHistogram(Graph_Graph11038);
-
- gre->Draw("p");
-
- TLegend *leg = new TLegend(0.468,0.08,0.89,0.349,NULL,"brNDC");
- leg->SetBorderSize(0);
- leg->SetTextFont(62);
- leg->SetLineColor(1);
- leg->SetLineStyle(1);
- leg->SetLineWidth(3);
- leg->SetFillColor(0);
- leg->SetFillStyle(1001);
- TLegendEntry *entry=leg->AddEntry("NULL","Au+Au,#sqrt{s_{NN}}=200 GeV","h");
- entry->SetLineColor(1);
- entry->SetLineStyle(1);
- entry->SetLineWidth(1);
- entry->SetMarkerColor(1);
- entry->SetMarkerStyle(21);
- entry->SetMarkerSize(1);
- entry->SetTextAlign(22);
- entry->SetTextFont(62);
- entry=leg->AddEntry("Graph0","v_{2}(TPC,#Delta#eta-gap = 0.1)","p");
- entry->SetLineColor(1);
- entry->SetLineStyle(1);
- entry->SetLineWidth(1);
- entry->SetMarkerColor(1);
- entry->SetMarkerStyle(20);
- entry->SetMarkerSize(1.6);
- entry->SetTextFont(62);
- entry=leg->AddEntry("Graph1","v_{2}(BBC,#Delta#eta-gap = 2.3)","p");
- entry->SetLineColor(1);
- entry->SetLineStyle(1);
- entry->SetLineWidth(1);
- ci = TColor::GetColor("#0000ff");
- entry->SetMarkerColor(ci);
- entry->SetMarkerStyle(21);
- entry->SetMarkerSize(1.6);
- entry->SetTextFont(62);
- leg->Draw();
- TLatex * tex = new TLatex(0.2,0.81,"STAR Preliminary");
- tex->SetNDC();
- tex->SetTextSize(0.08);
- tex->SetLineWidth(2);
- tex->Draw();
- tex = new TLatex(0.2,0.74,"10-20%");
- tex->SetNDC();
- tex->SetTextSize(0.08);
- tex->SetLineWidth(2);
- tex->Draw();
- tex = new TLatex(0.2,0.65,"h^{#pm}");
- tex->SetNDC();
- tex->SetTextSize(0.08);
- tex->SetLineWidth(2);
- tex->Draw();
- padUp12->Modified();
- canv12->cd();
-
- // ------------>Primitives in pad: padDown12
- TPad *padDown12 = new TPad("padDown12", "Ratio v2",0,0,1,0.33);
- padDown12->Draw();
- padDown12->cd();
- padDown12->Range(-1.02414,0.7205036,5.80346,1.152158);
- padDown12->SetFillColor(0);
- padDown12->SetBorderMode(0);
- padDown12->SetBorderSize(0);
- padDown12->SetTickx(1);
- padDown12->SetTicky(1);
- padDown12->SetLeftMargin(0.15);
- padDown12->SetTopMargin(0.005);
- padDown12->SetBottomMargin(0.3);
- padDown12->SetFrameFillColor(10);
- padDown12->SetFrameLineWidth(3);
- padDown12->SetFrameFillColor(10);
- padDown12->SetFrameLineWidth(3);
-
- Double_t Graph0_fx1039[16] = {
- 0.175,
- 0.3,
- 0.5,
- 0.7,
- 0.9,
- 1.1,
- 1.3,
- 1.5,
- 1.7,
- 1.9,
- 2.15,
- 2.6,
- 3,
- 3.4,
- 3.9,
- 4.625};
- Double_t Graph0_fy1039[16] = {
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1,
- 1};
- Double_t Graph0_fex1039[16] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- Double_t Graph0_fey1039[16] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- gre = new TGraphErrors(16,Graph0_fx1039,Graph0_fy1039,Graph0_fex1039,Graph0_fey1039);
- gre->SetName("Graph0");
- gre->SetTitle("Graph");
- gre->SetFillStyle(1000);
- gre->SetLineWidth(3);
- gre->SetMarkerStyle(20);
- gre->SetMarkerSize(1.6);
-
- TH1F *Graph_Graph_Graph010111039 = new TH1F("Graph_Graph_Graph010111039","Graph",100,0,5.07);
- Graph_Graph_Graph010111039->SetMinimum(0.85);
- Graph_Graph_Graph010111039->SetMaximum(1.15);
- Graph_Graph_Graph010111039->SetDirectory(0);
- Graph_Graph_Graph010111039->SetStats(0);
- ci = TColor::GetColor("#ff0000");
- Graph_Graph_Graph010111039->SetLineColor(ci);
- Graph_Graph_Graph010111039->SetLineWidth(3);
- Graph_Graph_Graph010111039->GetXaxis()->SetTitle("p_{T} [GeV/c]");
- Graph_Graph_Graph010111039->GetXaxis()->SetRange(1,101);
- Graph_Graph_Graph010111039->GetXaxis()->SetLabelSize(0.11);
- Graph_Graph_Graph010111039->GetXaxis()->SetTitleSize(0.12);
- Graph_Graph_Graph010111039->GetXaxis()->SetTickLength(0.06960019);
- Graph_Graph_Graph010111039->GetXaxis()->SetTitleOffset(1);
- Graph_Graph_Graph010111039->GetYaxis()->SetTitle("v_{2}(BBC)/v_{2}(TPC)");
- Graph_Graph_Graph010111039->GetYaxis()->SetNdivisions(504);
- Graph_Graph_Graph010111039->GetYaxis()->SetLabelOffset(0.01);
- Graph_Graph_Graph010111039->GetYaxis()->SetLabelSize(0.11);
- Graph_Graph_Graph010111039->GetYaxis()->SetTitleSize(0.12);
- Graph_Graph_Graph010111039->GetYaxis()->SetTickLength(0.03482143);
- Graph_Graph_Graph010111039->GetYaxis()->SetTitleOffset(0.65);
- Graph_Graph_Graph010111039->GetZaxis()->SetLabelSize(0.05);
- Graph_Graph_Graph010111039->GetZaxis()->SetTitleSize(0.06);
- Graph_Graph_Graph010111039->GetZaxis()->SetTitleOffset(1);
- gre->SetHistogram(Graph_Graph_Graph010111039);
-
- gre->Draw("al");
-
- Double_t Graph0_fx3006[13] = {
- 0.175,
- 0.3,
- 0.5,
- 0.7,
- 0.9,
- 1.1,
- 1.3,
- 1.5,
- 1.7,
- 1.9,
- 2.5,
- 3.5,
- 4.575};
- Double_t Graph0_fy3006[13] = {
- 0.9925442,
- 0.9963754,
- 0.9983285,
- 1.000846,
- 1.004192,
- 1.008465,
- 1.009891,
- 1.018259,
- 1.024603,
- 1.023644,
- 1.007652,
- 1.043727,
- 1.064537};
- Double_t Graph0_felx3006[13] = {
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08};
- Double_t Graph0_fely3006[13] = {
- 0.04399632,
- 0.04407398,
- 0.04408485,
- 0.04414757,
- 0.04428205,
- 0.04444167,
- 0.04452007,
- 0.04489446,
- 0.04516134,
- 0.04510594,
- 0.04437891,
- 0.04596416,
- 0.04694293};
- Double_t Graph0_fehx3006[13] = {
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08,
- 0.08};
- Double_t Graph0_fehy3006[13] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- grae = new TGraphAsymmErrors(13,Graph0_fx3006,Graph0_fy3006,Graph0_felx3006,Graph0_fehx3006,Graph0_fely3006,Graph0_fehy3006);
- grae->SetName("Graph0");
- grae->SetTitle("Graph");
- ci = TColor::GetColor("#6666ff");
- grae->SetFillColor(ci);
- grae->SetFillStyle(3003);
- ci = TColor::GetColor("#9999ff");
- grae->SetLineColor(ci);
- grae->SetLineWidth(3);
-
- TH1F *Graph_Graph03006 = new TH1F("Graph_Graph03006","Graph",100,0,5.111);
- Graph_Graph03006->SetMinimum(0.9369489);
- Graph_Graph03006->SetMaximum(1.076136);
- Graph_Graph03006->SetDirectory(0);
- Graph_Graph03006->SetStats(0);
- ci = TColor::GetColor("#ff0000");
- Graph_Graph03006->SetLineColor(ci);
- Graph_Graph03006->SetLineWidth(3);
- Graph_Graph03006->GetXaxis()->SetRange(1,101);
- Graph_Graph03006->GetXaxis()->SetLabelSize(0.05);
- Graph_Graph03006->GetXaxis()->SetTitleSize(0.06);
- Graph_Graph03006->GetXaxis()->SetTitleOffset(1);
- Graph_Graph03006->GetYaxis()->SetLabelOffset(0.01);
- Graph_Graph03006->GetYaxis()->SetLabelSize(0.05);
- Graph_Graph03006->GetYaxis()->SetTitleSize(0.06);
- Graph_Graph03006->GetYaxis()->SetTitleOffset(1.3);
- Graph_Graph03006->GetZaxis()->SetLabelSize(0.05);
- Graph_Graph03006->GetZaxis()->SetTitleSize(0.06);
- Graph_Graph03006->GetZaxis()->SetTitleOffset(1);
- grae->SetHistogram(Graph_Graph03006);
-
- grae->Draw("5");
-
- Double_t Graph1_fx1040[13] = {
- 0.175,
- 0.3,
- 0.5,
- 0.7,
- 0.9,
- 1.1,
- 1.3,
- 1.5,
- 1.7,
- 1.9,
- 2.5,
- 3.5,
- 4.575};
- Double_t Graph1_fy1040[13] = {
- 0.9925442,
- 0.9963754,
- 0.9983285,
- 1.000846,
- 1.004192,
- 1.008465,
- 1.009891,
- 1.018259,
- 1.024603,
- 1.023644,
- 1.007652,
- 1.043727,
- 1.064537};
- Double_t Graph1_fex1040[13] = {
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0};
- Double_t Graph1_fey1040[13] = {
- 0.007568354,
- 0.002674165,
- 0.002871136,
- 0.001856684,
- 0.001531022,
- 0.002070651,
- 0.003187404,
- 0.002108005,
- 0.00315731,
- 0.003778346,
- 0.002886267,
- 0.008636048,
- 0.0254671};
- gre = new TGraphErrors(13,Graph1_fx1040,Graph1_fy1040,Graph1_fex1040,Graph1_fey1040);
- gre->SetName("Graph1");
- gre->SetTitle("Graph");
- gre->SetFillStyle(1000);
- ci = TColor::GetColor("#0000ff");
- gre->SetLineColor(ci);
- gre->SetLineWidth(3);
- ci = TColor::GetColor("#0000ff");
- gre->SetMarkerColor(ci);
- gre->SetMarkerStyle(21);
- gre->SetMarkerSize(1.6);
-
- TH1F *Graph_Graph11040 = new TH1F("Graph_Graph11040","Graph",100,0,5.015);
- Graph_Graph11040->SetMinimum(0.974473);
- Graph_Graph11040->SetMaximum(1.100507);
- Graph_Graph11040->SetDirectory(0);
- Graph_Graph11040->SetStats(0);
- ci = TColor::GetColor("#ff0000");
- Graph_Graph11040->SetLineColor(ci);
- Graph_Graph11040->SetLineWidth(3);
- Graph_Graph11040->GetXaxis()->SetRange(1,101);
- Graph_Graph11040->GetXaxis()->SetLabelSize(0.05);
- Graph_Graph11040->GetXaxis()->SetTitleSize(0.06);
- Graph_Graph11040->GetXaxis()->SetTitleOffset(1);
- Graph_Graph11040->GetYaxis()->SetLabelOffset(0.01);
- Graph_Graph11040->GetYaxis()->SetLabelSize(0.05);
- Graph_Graph11040->GetYaxis()->SetTitleSize(0.06);
- Graph_Graph11040->GetYaxis()->SetTitleOffset(1.3);
- Graph_Graph11040->GetZaxis()->SetLabelSize(0.05);
- Graph_Graph11040->GetZaxis()->SetTitleSize(0.06);
- Graph_Graph11040->GetZaxis()->SetTitleOffset(1);
- gre->SetHistogram(Graph_Graph11040);
-
- gre->Draw("p");
- TLine *line = new TLine(0,1,5.1,1);
- line->SetLineWidth(3);
- line->Draw();
- line = new TLine(0,0.95,5.1,0.95);
- line->SetLineStyle(2);
- line->SetLineWidth(2);
- line->Draw();
- line = new TLine(0,1.05,5.1,1.05);
- line->SetLineStyle(2);
- line->SetLineWidth(2);
- line->Draw();
- padDown12->Modified();
- canv12->cd();
- canv12->Modified();
- canv12->cd();
- canv12->SetSelected(canv12);
- }
|