void inlist_c_focusfit_diff()
{
//=========Macro generated from canvas: c1_n6/c1_n6
//=========  (Tue Apr  3 18:03:05 2018) by ROOT version6.06/02
   TCanvas *c1_n6 = new TCanvas("c1_n6", "c1_n6",10,37,700,500);
   gStyle->SetOptStat(0);
   gStyle->SetOptTitle(0);
   c1_n6->Range(-10.20742,-0.2116411,59.15241,1.111116);
   c1_n6->SetFillColor(0);
   c1_n6->SetBorderMode(0);
   c1_n6->SetBorderSize(2);
   c1_n6->SetTickx(1);
   c1_n6->SetTicky(1);
   c1_n6->SetLeftMargin(0.14);
   c1_n6->SetRightMargin(0.08);
   c1_n6->SetTopMargin(0.05);
   c1_n6->SetBottomMargin(0.16);
   c1_n6->SetFrameLineWidth(2);
   c1_n6->SetFrameBorderMode(0);
   c1_n6->SetFrameLineWidth(2);
   c1_n6->SetFrameBorderMode(0);
   
   TMultiGraph *multigraph = new TMultiGraph();
   multigraph->SetName("");
   multigraph->SetTitle(" ");
   
   Double_t Graph_fx1015[9] = {
   2.03678,
   3.05742,
   5.08728,
   8.1511,
   10.1567,
   15.2559,
   20.3417,
   30.4781,
   51.1445};
   Double_t Graph_fy1015[9] = {
   0.409316,
   0.278335,
   0.174664,
   0.112908,
   0.093361,
   0.0691993,
   0.054835,
   0.040443,
   0.0293024};
   Double_t Graph_fex1015[9] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1015[9] = {
   0.00390989,
   0.00248756,
   0.00163948,
   0.000979277,
   0.000873629,
   0.000617064,
   0.000475703,
   0.000368397,
   0.000240678};
   TGraphErrors *gre = new TGraphErrors(9,Graph_fx1015,Graph_fy1015,Graph_fex1015,Graph_fey1015);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(22);
   
   TH1F *Graph_Graph1015 = new TH1F("Graph_Graph1015","Graph",100,0,56.05527);
   Graph_Graph1015->SetMinimum(0);
   Graph_Graph1015->SetMaximum(0.4516423);
   Graph_Graph1015->SetDirectory(0);
   Graph_Graph1015->SetStats(0);
   Graph_Graph1015->SetLineWidth(2);
   Graph_Graph1015->SetMarkerStyle(21);
   Graph_Graph1015->GetXaxis()->SetNdivisions(505);
   Graph_Graph1015->GetXaxis()->SetLabelFont(22);
   Graph_Graph1015->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1015->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1015->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1015->GetXaxis()->SetTitleFont(22);
   Graph_Graph1015->GetYaxis()->SetLabelFont(22);
   Graph_Graph1015->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1015->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1015->GetYaxis()->SetTitleFont(22);
   Graph_Graph1015->GetZaxis()->SetLabelFont(22);
   Graph_Graph1015->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1015->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1015->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1015);
   
   multigraph->Add(gre,"pc");
   
   Double_t Graph_fx1016[8] = {
   1.96208,
   2.95886,
   4.95905,
   9.87093,
   14.7862,
   19.6816,
   29.5024,
   49.7928};
   Double_t Graph_fy1016[8] = {
   0.987384,
   0.734436,
   0.474685,
   0.255118,
   0.179449,
   0.144177,
   0.108246,
   0.0767515};
   Double_t Graph_fex1016[8] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1016[8] = {
   0.0092169,
   0.00675245,
   0.00444905,
   0.00224608,
   0.00156548,
   0.0011948,
   0.000911165,
   0.000680893};
   gre = new TGraphErrors(8,Graph_fx1016,Graph_fy1016,Graph_fex1016,Graph_fey1016);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(26);
   
   TH1F *Graph_Graph1016 = new TH1F("Graph_Graph1016","Graph",100,0,54.57587);
   Graph_Graph1016->SetMinimum(0);
   Graph_Graph1016->SetMaximum(1.088654);
   Graph_Graph1016->SetDirectory(0);
   Graph_Graph1016->SetStats(0);
   Graph_Graph1016->SetLineWidth(2);
   Graph_Graph1016->SetMarkerStyle(21);
   Graph_Graph1016->GetXaxis()->SetNdivisions(505);
   Graph_Graph1016->GetXaxis()->SetLabelFont(22);
   Graph_Graph1016->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1016->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1016->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1016->GetXaxis()->SetTitleFont(22);
   Graph_Graph1016->GetYaxis()->SetLabelFont(22);
   Graph_Graph1016->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1016->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1016->GetYaxis()->SetTitleFont(22);
   Graph_Graph1016->GetZaxis()->SetLabelFont(22);
   Graph_Graph1016->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1016->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1016->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1016);
   
   multigraph->Add(gre,"pc");
   multigraph->Draw("a");
   multigraph->GetXaxis()->SetTitle("Intensity / 10^{6}s^{-1}");
   multigraph->GetXaxis()->SetNdivisions(505);
   multigraph->GetXaxis()->SetLabelFont(22);
   multigraph->GetXaxis()->SetLabelOffset(0.015);
   multigraph->GetXaxis()->SetLabelSize(0.05);
   multigraph->GetXaxis()->SetTitleSize(0.06);
   multigraph->GetXaxis()->SetTitleFont(22);
   multigraph->GetYaxis()->SetTitle("#sigma(F_{1}-F_{2})/#sqrt{2}  / mm");
   multigraph->GetYaxis()->SetLabelFont(22);
   multigraph->GetYaxis()->SetLabelSize(0.05);
   multigraph->GetYaxis()->SetTitleSize(0.06);
   multigraph->GetYaxis()->SetTitleFont(22);
   
   TLegend *leg = new TLegend(0.6,0.6,0.9,0.9,NULL,"brNDC");
   leg->SetBorderSize(0);
   leg->SetTextFont(22);
   leg->SetTextSize(0.045);
   leg->SetLineColor(1);
   leg->SetLineStyle(1);
   leg->SetLineWidth(2);
   leg->SetFillColor(0);
   leg->SetFillStyle(0);
   TLegendEntry *entry=leg->AddEntry("Graph","BPM (430 MeV/u)","pl");
   entry->SetLineColor(1);
   entry->SetLineStyle(3);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(22);
   entry->SetMarkerSize(1);
   entry->SetTextFont(22);
   entry=leg->AddEntry("Graph","BPM (130 MeV/u)","pl");
   entry->SetLineColor(1);
   entry->SetLineStyle(3);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(26);
   entry->SetMarkerSize(1);
   entry->SetTextFont(22);
   leg->Draw();
   c1_n6->Modified();
   c1_n6->cd();
   c1_n6->SetSelected(c1_n6);
}
