void test() { //=========Macro generated from canvas: tmdplotter/TMD Plotter //========= (Tue May 25 13:27:21 2021) by ROOT version 6.22/08 TCanvas *tmdplotter = new TCanvas("tmdplotter", "TMD Plotter",0,0,1000,1000); tmdplotter->SetHighLightColor(2); tmdplotter->Range(0,0,1,1); tmdplotter->SetFillColor(0); tmdplotter->SetBorderMode(0); tmdplotter->SetBorderSize(2); tmdplotter->SetFrameBorderMode(0); // ------------>Primitives in pad: main_pad TPad *main_pad = new TPad("main_pad", "TMD Plotter",0,0.2,1,1); main_pad->Draw(); main_pad->cd(); main_pad->Range(-3.590849,-4.825,0.3481415,2.675); main_pad->SetFillColor(0); main_pad->SetBorderMode(0); main_pad->SetBorderSize(2); main_pad->SetLogx(); main_pad->SetLogy(); main_pad->SetTickx(1); main_pad->SetTicky(1); main_pad->SetLeftMargin(0.15); main_pad->SetFrameBorderMode(0); main_pad->SetFrameBorderMode(0); TH1F *main_frame__1 = new TH1F("main_frame__1","gluon, #mu = 10 GeV, k_{t} = 5 GeV",50,0.001,0.9); main_frame__1->SetMinimum(0.0001); main_frame__1->SetMaximum(100); main_frame__1->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); main_frame__1->SetLineColor(ci); main_frame__1->GetXaxis()->SetTitle("x"); main_frame__1->GetXaxis()->SetLabelFont(42); main_frame__1->GetXaxis()->SetLabelSize(0); main_frame__1->GetXaxis()->SetTitleSize(0); main_frame__1->GetXaxis()->SetTitleOffset(1); main_frame__1->GetXaxis()->SetTitleFont(42); main_frame__1->GetYaxis()->SetTitle("xA(x,k_{t},#mu)"); main_frame__1->GetYaxis()->SetLabelFont(42); main_frame__1->GetYaxis()->SetLabelSize(0.04); main_frame__1->GetYaxis()->SetTitleSize(0.048); main_frame__1->GetYaxis()->SetTitleOffset(1.4); main_frame__1->GetYaxis()->SetTitleFont(42); main_frame__1->GetZaxis()->SetLabelFont(42); main_frame__1->GetZaxis()->SetTitleOffset(1); main_frame__1->GetZaxis()->SetTitleFont(42); main_frame__1->Draw(""); Double_t Graph0_fx3001[51] = { 0.001, 0.001145737, 0.001312713, 0.001504023, 0.001723215, 0.00197435, 0.002262086, 0.002591755, 0.002969469, 0.00340223, 0.00389806, 0.00446615, 0.005117033, 0.005862773, 0.006717194, 0.007696136, 0.008817746, 0.01010282, 0.01157517, 0.0132621, 0.01519487, 0.01740932, 0.0199465, 0.02285344, 0.02618402, 0.03, 0.0343721, 0.03938138, 0.0451207, 0.05169644, 0.05923051, 0.06786258, 0.07775265, 0.08908407, 0.1020669, 0.1169418, 0.1339845, 0.153511, 0.1758832, 0.2015158, 0.2308841, 0.2645324, 0.3030845, 0.347255, 0.3978629, 0.4558461, 0.5222797, 0.598395, 0.6856032, 0.7855207, 0.9}; Double_t Graph0_fy3001[51] = { 0.2912136, 0.2717448, 0.2544943, 0.2372438, 0.2213425, 0.2061381, 0.1914677, 0.178096, 0.1647243, 0.1528664, 0.1411342, 0.130216, 0.1199496, 0.109929, 0.1009745, 0.09201991, 0.08403028, 0.07625334, 0.06895648, 0.06224313, 0.05561068, 0.04986764, 0.0441246, 0.03902389, 0.03417871, 0.02962701, 0.02562663, 0.02162624, 0.01841586, 0.01522209, 0.01250128, 0.01008107, 0.007838285, 0.006146952, 0.004455618, 0.003333254, 0.002291865, 0.001513079, 0.0009892193, 0.0005121495, 0.0003238953, 0.0001356411, 6.406579e-05, 2.706328e-05, 4.139484e-06, 2.03488e-06, 4.767242e-09, 2.723467e-09, 6.796929e-10, 0, 0}; Double_t Graph0_felx3001[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fely3001[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fehx3001[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fehy3001[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; TGraphAsymmErrors *grae = new TGraphAsymmErrors(51,Graph0_fx3001,Graph0_fy3001,Graph0_felx3001,Graph0_fehx3001,Graph0_fely3001,Graph0_fehy3001); grae->SetName("Graph0"); grae->SetTitle("Graph"); ci = 1180; color = new TColor(ci, 1, 0, 0, " ", 0.2); grae->SetFillColor(ci); grae->SetFillStyle(1000); ci = 1179; color = new TColor(ci, 1, 0, 0, " ", 0.2); grae->SetLineColor(ci); TH1F *Graph_Graph03001 = new TH1F("Graph_Graph03001","Graph",100,0.0009,0.9899); Graph_Graph03001->SetMinimum(0.000320335); Graph_Graph03001->SetMaximum(0.320335); Graph_Graph03001->SetDirectory(0); Graph_Graph03001->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph03001->SetLineColor(ci); Graph_Graph03001->GetXaxis()->SetLabelFont(42); Graph_Graph03001->GetXaxis()->SetTitleOffset(1); Graph_Graph03001->GetXaxis()->SetTitleFont(42); Graph_Graph03001->GetYaxis()->SetLabelFont(42); Graph_Graph03001->GetYaxis()->SetTitleFont(42); Graph_Graph03001->GetZaxis()->SetLabelFont(42); Graph_Graph03001->GetZaxis()->SetTitleOffset(1); Graph_Graph03001->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph03001); grae->Draw("03c"); Double_t Graph1_fx3002[51] = { 0.001, 0.001145737, 0.001312713, 0.001504023, 0.001723215, 0.00197435, 0.002262086, 0.002591755, 0.002969469, 0.00340223, 0.00389806, 0.00446615, 0.005117033, 0.005862773, 0.006717194, 0.007696136, 0.008817746, 0.01010282, 0.01157517, 0.0132621, 0.01519487, 0.01740932, 0.0199465, 0.02285344, 0.02618402, 0.03, 0.0343721, 0.03938138, 0.0451207, 0.05169644, 0.05923051, 0.06786258, 0.07775265, 0.08908407, 0.1020669, 0.1169418, 0.1339845, 0.153511, 0.1758832, 0.2015158, 0.2308841, 0.2645324, 0.3030845, 0.347255, 0.3978629, 0.4558461, 0.5222797, 0.598395, 0.6856032, 0.7855207, 0.9}; Double_t Graph1_fy3002[51] = { 0.06294302, 0.05816366, 0.05433605, 0.05054028, 0.04600558, 0.04122016, 0.03699159, 0.03345247, 0.03019459, 0.02698248, 0.02398341, 0.02137774, 0.01909684, 0.0169756, 0.01489368, 0.01277879, 0.01061638, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_felx3002[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_fely3002[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_fehx3002[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_fehy3002[51] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(51,Graph1_fx3002,Graph1_fy3002,Graph1_felx3002,Graph1_fehx3002,Graph1_fely3002,Graph1_fehy3002); grae->SetName("Graph1"); grae->SetTitle("Graph"); ci = 1182; color = new TColor(ci, 0, 0, 1, " ", 0.2); grae->SetFillColor(ci); grae->SetFillStyle(1000); ci = 1181; color = new TColor(ci, 0, 0, 1, " ", 0.2); grae->SetLineColor(ci); TH1F *Graph_Graph13002 = new TH1F("Graph_Graph13002","Graph",100,0.0009,0.9899); Graph_Graph13002->SetMinimum(6.923732e-05); Graph_Graph13002->SetMaximum(0.06923732); Graph_Graph13002->SetDirectory(0); Graph_Graph13002->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph13002->SetLineColor(ci); Graph_Graph13002->GetXaxis()->SetLabelFont(42); Graph_Graph13002->GetXaxis()->SetTitleOffset(1); Graph_Graph13002->GetXaxis()->SetTitleFont(42); Graph_Graph13002->GetYaxis()->SetLabelFont(42); Graph_Graph13002->GetYaxis()->SetTitleFont(42); Graph_Graph13002->GetZaxis()->SetLabelFont(42); Graph_Graph13002->GetZaxis()->SetTitleOffset(1); Graph_Graph13002->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph13002); grae->Draw("03c"); Double_t Graph2_fx1[51] = { 0.001, 0.001145737, 0.001312713, 0.001504023, 0.001723215, 0.00197435, 0.002262086, 0.002591755, 0.002969469, 0.00340223, 0.00389806, 0.00446615, 0.005117033, 0.005862773, 0.006717194, 0.007696136, 0.008817746, 0.01010282, 0.01157517, 0.0132621, 0.01519487, 0.01740932, 0.0199465, 0.02285344, 0.02618402, 0.03, 0.0343721, 0.03938138, 0.0451207, 0.05169644, 0.05923051, 0.06786258, 0.07775265, 0.08908407, 0.1020669, 0.1169418, 0.1339845, 0.153511, 0.1758832, 0.2015158, 0.2308841, 0.2645324, 0.3030845, 0.347255, 0.3978629, 0.4558461, 0.5222797, 0.598395, 0.6856032, 0.7855207, 0.9}; Double_t Graph2_fy1[51] = { 0.2912136, 0.2717448, 0.2544943, 0.2372438, 0.2213425, 0.2061381, 0.1914677, 0.178096, 0.1647243, 0.1528664, 0.1411342, 0.130216, 0.1199496, 0.109929, 0.1009745, 0.09201991, 0.08403028, 0.07625334, 0.06895648, 0.06224313, 0.05561068, 0.04986764, 0.0441246, 0.03902389, 0.03417871, 0.02962701, 0.02562663, 0.02162624, 0.01841586, 0.01522209, 0.01250128, 0.01008107, 0.007838285, 0.006146952, 0.004455618, 0.003333254, 0.002291865, 0.001513079, 0.0009892193, 0.0005121495, 0.0003238953, 0.0001356411, 6.406579e-05, 2.706328e-05, 4.139484e-06, 2.03488e-06, 4.767242e-09, 2.723467e-09, 6.796929e-10, 0, 0}; TGraph *graph = new TGraph(51,Graph2_fx1,Graph2_fy1); graph->SetName("Graph2"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#ff0000"); graph->SetLineColor(ci); graph->SetLineStyle(0); graph->SetLineWidth(3); TH1F *Graph_Graph21 = new TH1F("Graph_Graph21","Graph",100,0.0009,0.9899); Graph_Graph21->SetMinimum(6.117237e-10); Graph_Graph21->SetMaximum(0.320335); Graph_Graph21->SetDirectory(0); Graph_Graph21->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph21->SetLineColor(ci); Graph_Graph21->GetXaxis()->SetLabelFont(42); Graph_Graph21->GetXaxis()->SetTitleOffset(1); Graph_Graph21->GetXaxis()->SetTitleFont(42); Graph_Graph21->GetYaxis()->SetLabelFont(42); Graph_Graph21->GetYaxis()->SetTitleFont(42); Graph_Graph21->GetZaxis()->SetLabelFont(42); Graph_Graph21->GetZaxis()->SetTitleOffset(1); Graph_Graph21->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph21); graph->Draw("l"); Double_t Graph3_fx2[51] = { 0.001, 0.001145737, 0.001312713, 0.001504023, 0.001723215, 0.00197435, 0.002262086, 0.002591755, 0.002969469, 0.00340223, 0.00389806, 0.00446615, 0.005117033, 0.005862773, 0.006717194, 0.007696136, 0.008817746, 0.01010282, 0.01157517, 0.0132621, 0.01519487, 0.01740932, 0.0199465, 0.02285344, 0.02618402, 0.03, 0.0343721, 0.03938138, 0.0451207, 0.05169644, 0.05923051, 0.06786258, 0.07775265, 0.08908407, 0.1020669, 0.1169418, 0.1339845, 0.153511, 0.1758832, 0.2015158, 0.2308841, 0.2645324, 0.3030845, 0.347255, 0.3978629, 0.4558461, 0.5222797, 0.598395, 0.6856032, 0.7855207, 0.9}; Double_t Graph3_fy2[51] = { 0.06294302, 0.05816366, 0.05433605, 0.05054028, 0.04600558, 0.04122016, 0.03699159, 0.03345247, 0.03019459, 0.02698248, 0.02398341, 0.02137774, 0.01909684, 0.0169756, 0.01489368, 0.01277879, 0.01061638, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; graph = new TGraph(51,Graph3_fx2,Graph3_fy2); graph->SetName("Graph3"); graph->SetTitle("Graph"); graph->SetFillStyle(1000); ci = TColor::GetColor("#0000ff"); graph->SetLineColor(ci); graph->SetLineStyle(0); graph->SetLineWidth(3); TH1F *Graph_Graph32 = new TH1F("Graph_Graph32","Graph",100,0.0009,0.9899); Graph_Graph32->SetMinimum(0.00538372); Graph_Graph32->SetMaximum(0.06817568); Graph_Graph32->SetDirectory(0); Graph_Graph32->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph32->SetLineColor(ci); Graph_Graph32->GetXaxis()->SetLabelFont(42); Graph_Graph32->GetXaxis()->SetTitleOffset(1); Graph_Graph32->GetXaxis()->SetTitleFont(42); Graph_Graph32->GetYaxis()->SetLabelFont(42); Graph_Graph32->GetYaxis()->SetTitleFont(42); Graph_Graph32->GetZaxis()->SetLabelFont(42); Graph_Graph32->GetZaxis()->SetTitleOffset(1); Graph_Graph32->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph32); graph->Draw("l"); TLegend *leg = new TLegend(0.2,0.82,0.8,0.88,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.03); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("Graph2","KLSZ-2020","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph3","KS-WeizWill-2017","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TH1F *main_frame_copy__2 = new TH1F("main_frame_copy__2","gluon, #mu = 10 GeV, k_{t} = 5 GeV",50,0.001,0.9); main_frame_copy__2->SetMinimum(0.0001); main_frame_copy__2->SetMaximum(100); main_frame_copy__2->SetDirectory(0); main_frame_copy__2->SetStats(0); ci = TColor::GetColor("#000099"); main_frame_copy__2->SetLineColor(ci); main_frame_copy__2->GetXaxis()->SetTitle("x"); main_frame_copy__2->GetXaxis()->SetLabelFont(42); main_frame_copy__2->GetXaxis()->SetLabelSize(0.04); main_frame_copy__2->GetXaxis()->SetTitleSize(0.048); main_frame_copy__2->GetXaxis()->SetTitleOffset(1); main_frame_copy__2->GetXaxis()->SetTitleFont(42); main_frame_copy__2->GetYaxis()->SetTitle("xA(x,k_{t},#mu)"); main_frame_copy__2->GetYaxis()->SetLabelFont(42); main_frame_copy__2->GetYaxis()->SetLabelSize(0.04); main_frame_copy__2->GetYaxis()->SetTitleSize(0.048); main_frame_copy__2->GetYaxis()->SetTitleOffset(1.4); main_frame_copy__2->GetYaxis()->SetTitleFont(42); main_frame_copy__2->GetZaxis()->SetLabelFont(42); main_frame_copy__2->GetZaxis()->SetTitleOffset(1); main_frame_copy__2->GetZaxis()->SetTitleFont(42); main_frame_copy__2->Draw("sameaxis"); // ------------>Primitives in pad: logo TPad *logo = new TPad("logo", "logo",0.91,0.1,0.96,0.9); logo->Draw(); logo->cd(); logo->Range(0,0,1,1); logo->SetFillColor(0); logo->SetBorderMode(0); logo->SetBorderSize(2); logo->SetFrameBorderMode(0); TLatex * tex = new TLatex(0.5,0.2,"TMDplotter 2.2.4"); tex->SetTextAlign(22); tex->SetTextFont(43); tex->SetTextSize(30); tex->SetTextAngle(90); tex->SetLineWidth(2); tex->Draw(); logo->Modified(); main_pad->cd(); TPaveText *pt = new TPaveText(0.2123896,0.9162963,0.7876104,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *pt_LaTex = pt->AddText("gluon, #mu = 10 GeV, k_{t} = 5 GeV"); pt->Draw(); main_pad->Modified(); tmdplotter->cd(); // ------------>Primitives in pad: ratio_pad TPad *ratio_pad = new TPad("ratio_pad", "",0,0,1,0.27); ratio_pad->Draw(); ratio_pad->cd(); ratio_pad->Range(-3.590849,-0.1454546,0.3481415,1.672727); ratio_pad->SetFillColor(0); ratio_pad->SetBorderMode(0); ratio_pad->SetBorderSize(2); ratio_pad->SetLogx(); ratio_pad->SetTickx(1); ratio_pad->SetTicky(1); ratio_pad->SetLeftMargin(0.15); ratio_pad->SetTopMargin(0.04); ratio_pad->SetBottomMargin(0.3); ratio_pad->SetFrameBorderMode(0); ratio_pad->SetFrameBorderMode(0); TH1F *ratio_frame__3 = new TH1F("ratio_frame__3","",50,0.001,0.9); ratio_frame__3->SetMinimum(0.4); ratio_frame__3->SetMaximum(1.6); ratio_frame__3->SetStats(0); ci = TColor::GetColor("#000099"); ratio_frame__3->SetLineColor(ci); ratio_frame__3->GetXaxis()->SetTitle("x"); ratio_frame__3->GetXaxis()->SetLabelFont(42); ratio_frame__3->GetXaxis()->SetLabelSize(0.12); ratio_frame__3->GetXaxis()->SetTitleSize(0.12); ratio_frame__3->GetXaxis()->SetTickLength(0.1); ratio_frame__3->GetXaxis()->SetTitleOffset(1.3); ratio_frame__3->GetXaxis()->SetTitleFont(42); ratio_frame__3->GetYaxis()->SetNdivisions(304); ratio_frame__3->GetYaxis()->SetLabelFont(42); ratio_frame__3->GetYaxis()->SetLabelSize(0.12); ratio_frame__3->GetYaxis()->SetTitleSize(0.12); ratio_frame__3->GetYaxis()->SetTitleOffset(1.4); ratio_frame__3->GetYaxis()->SetTitleFont(42); ratio_frame__3->GetZaxis()->SetLabelFont(42); ratio_frame__3->GetZaxis()->SetTitleOffset(1); ratio_frame__3->GetZaxis()->SetTitleFont(42); ratio_frame__3->Draw(""); Double_t Graph0_fx3003[48] = { 0.001, 0.001145737, 0.001312713, 0.001504023, 0.001723215, 0.00197435, 0.002262086, 0.002591755, 0.002969469, 0.00340223, 0.00389806, 0.00446615, 0.005117033, 0.005862773, 0.006717194, 0.007696136, 0.008817746, 0.01010282, 0.01157517, 0.0132621, 0.01519487, 0.01740932, 0.0199465, 0.02285344, 0.02618402, 0.03, 0.0343721, 0.03938138, 0.0451207, 0.05169644, 0.05923051, 0.06786258, 0.07775265, 0.08908407, 0.1020669, 0.1169418, 0.1339845, 0.153511, 0.1758832, 0.2015158, 0.2308841, 0.2645324, 0.3030845, 0.347255, 0.3978629, 0.4558461, 0.5222797, 0.598395}; Double_t Graph0_fy3003[48] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; Double_t Graph0_felx3003[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fely3003[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fehx3003[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fehy3003[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; grae = new TGraphAsymmErrors(48,Graph0_fx3003,Graph0_fy3003,Graph0_felx3003,Graph0_fehx3003,Graph0_fely3003,Graph0_fehy3003); grae->SetName("Graph0"); grae->SetTitle("Graph"); ci = 1180; color = new TColor(ci, 1, 0, 0, " ", 0.2); grae->SetFillColor(ci); grae->SetFillStyle(1000); ci = 1179; color = new TColor(ci, 1, 0, 0, " ", 0.2); grae->SetLineColor(ci); TH1F *Graph_Graph03003 = new TH1F("Graph_Graph03003","Graph",100,0.0009,0.6581345); Graph_Graph03003->SetMinimum(0.9); Graph_Graph03003->SetMaximum(2.1); Graph_Graph03003->SetDirectory(0); Graph_Graph03003->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph03003->SetLineColor(ci); Graph_Graph03003->GetXaxis()->SetLabelFont(42); Graph_Graph03003->GetXaxis()->SetTitleOffset(1); Graph_Graph03003->GetXaxis()->SetTitleFont(42); Graph_Graph03003->GetYaxis()->SetLabelFont(42); Graph_Graph03003->GetYaxis()->SetTitleFont(42); Graph_Graph03003->GetZaxis()->SetLabelFont(42); Graph_Graph03003->GetZaxis()->SetTitleOffset(1); Graph_Graph03003->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph03003); grae->Draw("03"); Double_t Graph1_fx3004[48] = { 0.001, 0.001145737, 0.001312713, 0.001504023, 0.001723215, 0.00197435, 0.002262086, 0.002591755, 0.002969469, 0.00340223, 0.00389806, 0.00446615, 0.005117033, 0.005862773, 0.006717194, 0.007696136, 0.008817746, 0.01010282, 0.01157517, 0.0132621, 0.01519487, 0.01740932, 0.0199465, 0.02285344, 0.02618402, 0.03, 0.0343721, 0.03938138, 0.0451207, 0.05169644, 0.05923051, 0.06786258, 0.07775265, 0.08908407, 0.1020669, 0.1169418, 0.1339845, 0.153511, 0.1758832, 0.2015158, 0.2308841, 0.2645324, 0.3030845, 0.347255, 0.3978629, 0.4558461, 0.5222797, 0.598395}; Double_t Graph1_fy3004[48] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan}; Double_t Graph1_felx3004[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_fely3004[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan}; Double_t Graph1_fehx3004[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_fehy3004[48] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan}; grae = new TGraphAsymmErrors(48,Graph1_fx3004,Graph1_fy3004,Graph1_felx3004,Graph1_fehx3004,Graph1_fely3004,Graph1_fehy3004); grae->SetName("Graph1"); grae->SetTitle("Graph"); ci = 1182; color = new TColor(ci, 0, 0, 1, " ", 0.2); grae->SetFillColor(ci); grae->SetFillStyle(1000); ci = 1181; color = new TColor(ci, 0, 0, 1, " ", 0.2); grae->SetLineColor(ci); TH1F *Graph_Graph13004 = new TH1F("Graph_Graph13004","Graph",100,0.0009,0.6581345); Graph_Graph13004->SetMinimum(0.9); Graph_Graph13004->SetMaximum(2.1); Graph_Graph13004->SetDirectory(0); Graph_Graph13004->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph13004->SetLineColor(ci); Graph_Graph13004->GetXaxis()->SetLabelFont(42); Graph_Graph13004->GetXaxis()->SetTitleOffset(1); Graph_Graph13004->GetXaxis()->SetTitleFont(42); Graph_Graph13004->GetYaxis()->SetLabelFont(42); Graph_Graph13004->GetYaxis()->SetTitleFont(42); Graph_Graph13004->GetZaxis()->SetLabelFont(42); Graph_Graph13004->GetZaxis()->SetTitleOffset(1); Graph_Graph13004->GetZaxis()->SetTitleFont(42); grae->SetHistogram(Graph_Graph13004); grae->Draw("03"); TH1F *ratio_frame_copy__4 = new TH1F("ratio_frame_copy__4","",50,0.001,0.9); ratio_frame_copy__4->SetMinimum(0.4); ratio_frame_copy__4->SetMaximum(1.6); ratio_frame_copy__4->SetDirectory(0); ratio_frame_copy__4->SetStats(0); ci = TColor::GetColor("#000099"); ratio_frame_copy__4->SetLineColor(ci); ratio_frame_copy__4->GetXaxis()->SetTitle("x"); ratio_frame_copy__4->GetXaxis()->SetLabelFont(42); ratio_frame_copy__4->GetXaxis()->SetLabelSize(0.12); ratio_frame_copy__4->GetXaxis()->SetTitleSize(0.12); ratio_frame_copy__4->GetXaxis()->SetTickLength(0.1); ratio_frame_copy__4->GetXaxis()->SetTitleOffset(1.3); ratio_frame_copy__4->GetXaxis()->SetTitleFont(42); ratio_frame_copy__4->GetYaxis()->SetNdivisions(304); ratio_frame_copy__4->GetYaxis()->SetLabelFont(42); ratio_frame_copy__4->GetYaxis()->SetLabelSize(0.12); ratio_frame_copy__4->GetYaxis()->SetTitleSize(0.12); ratio_frame_copy__4->GetYaxis()->SetTitleOffset(1.4); ratio_frame_copy__4->GetYaxis()->SetTitleFont(42); ratio_frame_copy__4->GetZaxis()->SetLabelFont(42); ratio_frame_copy__4->GetZaxis()->SetTitleOffset(1); ratio_frame_copy__4->GetZaxis()->SetTitleFont(42); ratio_frame_copy__4->Draw("sameaxis"); ratio_pad->Modified(); tmdplotter->cd(); tmdplotter->Modified(); tmdplotter->cd(); tmdplotter->SetSelected(tmdplotter); }