void inlist_p_possfit_diff()
{
//=========Macro generated from canvas: c1_n3/c1_n3
//=========  (Tue Apr  3 18:03:04 2018) by ROOT version6.06/02
   TCanvas *c1_n3 = new TCanvas("c1_n3", "c1_n3",10,37,700,500);
   gStyle->SetOptStat(0);
   gStyle->SetOptTitle(0);
   c1_n3->Range(-402.8707,-0.098098,2343.456,0.5150145);
   c1_n3->SetFillColor(0);
   c1_n3->SetBorderMode(0);
   c1_n3->SetBorderSize(2);
   c1_n3->SetTickx(1);
   c1_n3->SetTicky(1);
   c1_n3->SetLeftMargin(0.14);
   c1_n3->SetRightMargin(0.08);
   c1_n3->SetTopMargin(0.05);
   c1_n3->SetBottomMargin(0.16);
   c1_n3->SetFrameLineWidth(2);
   c1_n3->SetFrameBorderMode(0);
   c1_n3->SetFrameLineWidth(2);
   c1_n3->SetFrameBorderMode(0);
   
   TMultiGraph *multigraph = new TMultiGraph();
   multigraph->SetName("");
   multigraph->SetTitle(" ");
   
   Double_t Graph_fx1009[9] = {
   78.9848,
   118.658,
   198.17,
   316.018,
   394.438,
   593.806,
   790.554,
   1188.03,
   1990.53};
   Double_t Graph_fy1009[9] = {
   0.220088,
   0.14943,
   0.0921645,
   0.0587563,
   0.0485497,
   0.0341533,
   0.026833,
   0.0192512,
   0.0141271};
   Double_t Graph_fex1009[9] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1009[9] = {
   0.00197253,
   0.00131907,
   0.000779895,
   0.000508382,
   0.000405983,
   0.000291207,
   0.000222401,
   0.000151747,
   0.000121728};
   TGraphErrors *gre = new TGraphErrors(9,Graph_fx1009,Graph_fy1009,Graph_fex1009,Graph_fey1009);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(20);
   
   TH1F *Graph_Graph1009 = new TH1F("Graph_Graph1009","Graph",100,0,2181.685);
   Graph_Graph1009->SetMinimum(0);
   Graph_Graph1009->SetMaximum(0.242866);
   Graph_Graph1009->SetDirectory(0);
   Graph_Graph1009->SetStats(0);
   Graph_Graph1009->SetLineWidth(2);
   Graph_Graph1009->SetMarkerStyle(21);
   Graph_Graph1009->GetXaxis()->SetNdivisions(505);
   Graph_Graph1009->GetXaxis()->SetLabelFont(22);
   Graph_Graph1009->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1009->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1009->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1009->GetXaxis()->SetTitleFont(22);
   Graph_Graph1009->GetYaxis()->SetLabelFont(22);
   Graph_Graph1009->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1009->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1009->GetYaxis()->SetTitleFont(22);
   Graph_Graph1009->GetZaxis()->SetLabelFont(22);
   Graph_Graph1009->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1009->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1009->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1009);
   
   multigraph->Add(gre,"pc");
   
   Double_t Graph_fx1010[9] = {
   79.0354,
   118.87,
   198.332,
   317.093,
   395.805,
   594.734,
   795.176,
   1194.73,
   2026.38};
   Double_t Graph_fy1010[9] = {
   0.45761,
   0.330238,
   0.206308,
   0.133107,
   0.108941,
   0.0729327,
   0.0581162,
   0.042703,
   0.0301569};
   Double_t Graph_fex1010[9] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1010[9] = {
   0.00435112,
   0.00305332,
   0.00185381,
   0.00130555,
   0.00102722,
   0.000689338,
   0.000559749,
   0.000413007,
   0.000300041};
   gre = new TGraphErrors(9,Graph_fx1010,Graph_fy1010,Graph_fex1010,Graph_fey1010);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(24);
   
   TH1F *Graph_Graph1010 = new TH1F("Graph_Graph1010","Graph",100,0,2221.114);
   Graph_Graph1010->SetMinimum(0);
   Graph_Graph1010->SetMaximum(0.5051715);
   Graph_Graph1010->SetDirectory(0);
   Graph_Graph1010->SetStats(0);
   Graph_Graph1010->SetLineWidth(2);
   Graph_Graph1010->SetMarkerStyle(21);
   Graph_Graph1010->GetXaxis()->SetNdivisions(505);
   Graph_Graph1010->GetXaxis()->SetLabelFont(22);
   Graph_Graph1010->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1010->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1010->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1010->GetXaxis()->SetTitleFont(22);
   Graph_Graph1010->GetYaxis()->SetLabelFont(22);
   Graph_Graph1010->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1010->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1010->GetYaxis()->SetTitleFont(22);
   Graph_Graph1010->GetZaxis()->SetLabelFont(22);
   Graph_Graph1010->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1010->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1010->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1010);
   
   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 (221 MeV)","pl");
   entry->SetLineColor(1);
   entry->SetLineStyle(3);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(20);
   entry->SetMarkerSize(1);
   entry->SetTextFont(22);
   entry=leg->AddEntry("Graph","BPM (70 MeV)","pl");
   entry->SetLineColor(1);
   entry->SetLineStyle(3);
   entry->SetLineWidth(2);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(24);
   entry->SetMarkerSize(1);
   entry->SetTextFont(22);
   leg->Draw();
   c1_n3->Modified();
   c1_n3->cd();
   c1_n3->SetSelected(c1_n3);
}
