void inlist_c_possfit_diff()
{
//=========Macro generated from canvas: c1_n4/c1_n4
//=========  (Tue Apr  3 18:03:04 2018) by ROOT version6.06/02
   TCanvas *c1_n4 = new TCanvas("c1_n4", "c1_n4",10,37,700,500);
   gStyle->SetOptStat(0);
   gStyle->SetOptTitle(0);
   c1_n4->Range(-10.20742,-0.06069657,59.15241,0.318657);
   c1_n4->SetFillColor(0);
   c1_n4->SetBorderMode(0);
   c1_n4->SetBorderSize(2);
   c1_n4->SetTickx(1);
   c1_n4->SetTicky(1);
   c1_n4->SetLeftMargin(0.14);
   c1_n4->SetRightMargin(0.08);
   c1_n4->SetTopMargin(0.05);
   c1_n4->SetBottomMargin(0.16);
   c1_n4->SetFrameLineWidth(2);
   c1_n4->SetFrameBorderMode(0);
   c1_n4->SetFrameLineWidth(2);
   c1_n4->SetFrameBorderMode(0);
   
   TMultiGraph *multigraph = new TMultiGraph();
   multigraph->SetName("");
   multigraph->SetTitle(" ");
   
   Double_t Graph_fx1011[9] = {
   2.03678,
   3.05742,
   5.08728,
   8.1511,
   10.1567,
   15.2559,
   20.3417,
   30.4781,
   51.1445};
   Double_t Graph_fy1011[9] = {
   0.129147,
   0.0885219,
   0.0544837,
   0.0362059,
   0.0307345,
   0.022488,
   0.0184867,
   0.0139872,
   0.0106452};
   Double_t Graph_fex1011[9] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1011[9] = {
   0.00121823,
   0.000822596,
   0.000542304,
   0.000321135,
   0.000271996,
   0.000196458,
   0.000156963,
   0.000116538,
   8.23243e-05};
   TGraphErrors *gre = new TGraphErrors(9,Graph_fx1011,Graph_fy1011,Graph_fex1011,Graph_fey1011);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(22);
   
   TH1F *Graph_Graph1011 = new TH1F("Graph_Graph1011","Graph",100,0,56.05527);
   Graph_Graph1011->SetMinimum(0);
   Graph_Graph1011->SetMaximum(0.1423455);
   Graph_Graph1011->SetDirectory(0);
   Graph_Graph1011->SetStats(0);
   Graph_Graph1011->SetLineWidth(2);
   Graph_Graph1011->SetMarkerStyle(21);
   Graph_Graph1011->GetXaxis()->SetNdivisions(505);
   Graph_Graph1011->GetXaxis()->SetLabelFont(22);
   Graph_Graph1011->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1011->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1011->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1011->GetXaxis()->SetTitleFont(22);
   Graph_Graph1011->GetYaxis()->SetLabelFont(22);
   Graph_Graph1011->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1011->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1011->GetYaxis()->SetTitleFont(22);
   Graph_Graph1011->GetZaxis()->SetLabelFont(22);
   Graph_Graph1011->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1011->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1011->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1011);
   
   multigraph->Add(gre,"pc");
   
   Double_t Graph_fx1012[8] = {
   1.96208,
   2.95886,
   4.95905,
   9.87093,
   14.7862,
   19.6816,
   29.5024,
   49.7928};
   Double_t Graph_fy1012[8] = {
   0.2833,
   0.211754,
   0.1311,
   0.0735419,
   0.052802,
   0.0431026,
   0.0319821,
   0.0236786};
   Double_t Graph_fex1012[8] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1012[8] = {
   0.00262138,
   0.00191423,
   0.00119367,
   0.000645161,
   0.000451233,
   0.000371273,
   0.000264383,
   0.000207716};
   gre = new TGraphErrors(8,Graph_fx1012,Graph_fy1012,Graph_fex1012,Graph_fey1012);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(26);
   
   TH1F *Graph_Graph1012 = new TH1F("Graph_Graph1012","Graph",100,0,54.57587);
   Graph_Graph1012->SetMinimum(0);
   Graph_Graph1012->SetMaximum(0.3121664);
   Graph_Graph1012->SetDirectory(0);
   Graph_Graph1012->SetStats(0);
   Graph_Graph1012->SetLineWidth(2);
   Graph_Graph1012->SetMarkerStyle(21);
   Graph_Graph1012->GetXaxis()->SetNdivisions(505);
   Graph_Graph1012->GetXaxis()->SetLabelFont(22);
   Graph_Graph1012->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1012->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1012->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1012->GetXaxis()->SetTitleFont(22);
   Graph_Graph1012->GetYaxis()->SetLabelFont(22);
   Graph_Graph1012->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1012->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1012->GetYaxis()->SetTitleFont(22);
   Graph_Graph1012->GetZaxis()->SetLabelFont(22);
   Graph_Graph1012->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1012->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1012->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1012);
   
   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(X_{1}-X_{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_n4->Modified();
   c1_n4->cd();
   c1_n4->SetSelected(c1_n4);
}
