void inlist_c_bpm_diff()
{
//=========Macro generated from canvas: c1_n2/c1_n2
//=========  (Tue Apr  3 18:03:04 2018) by ROOT version6.06/02
   TCanvas *c1_n2 = new TCanvas("c1_n2", "c1_n2",10,37,700,500);
   gStyle->SetOptStat(0);
   gStyle->SetOptTitle(0);
   c1_n2->Range(-10.20742,-0.02025316,59.15241,0.1063291);
   c1_n2->SetFillColor(0);
   c1_n2->SetBorderMode(0);
   c1_n2->SetBorderSize(2);
   c1_n2->SetTickx(1);
   c1_n2->SetTicky(1);
   c1_n2->SetLeftMargin(0.14);
   c1_n2->SetRightMargin(0.08);
   c1_n2->SetTopMargin(0.05);
   c1_n2->SetBottomMargin(0.16);
   c1_n2->SetFrameLineWidth(2);
   c1_n2->SetFrameBorderMode(0);
   c1_n2->SetFrameLineWidth(2);
   c1_n2->SetFrameBorderMode(0);
   
   TMultiGraph *multigraph = new TMultiGraph();
   multigraph->SetName("");
   multigraph->SetTitle(" ");
   
   Double_t Graph_fx1005[9] = {
   2.03678,
   3.05742,
   5.08728,
   8.1511,
   10.1567,
   15.2559,
   20.3417,
   30.4781,
   51.1445};
   Double_t Graph_fy1005[9] = {
   0.0763852,
   0.051699,
   0.0325906,
   0.0204836,
   0.0174016,
   0.012506,
   0.0100836,
   0.00756613,
   0.00526436};
   Double_t Graph_fex1005[9] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1005[9] = {
   0.000682172,
   0.000466563,
   0.000308801,
   0.000174609,
   0.000158478,
   0.000112411,
   8.94662e-05,
   6.49011e-05,
   4.42397e-05};
   TGraphErrors *gre = new TGraphErrors(9,Graph_fx1005,Graph_fy1005,Graph_fex1005,Graph_fey1005);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(22);
   
   TH1F *Graph_Graph1005 = new TH1F("Graph_Graph1005","Graph",100,0,56.05527);
   Graph_Graph1005->SetMinimum(0);
   Graph_Graph1005->SetMaximum(0.0842521);
   Graph_Graph1005->SetDirectory(0);
   Graph_Graph1005->SetStats(0);
   Graph_Graph1005->SetLineWidth(2);
   Graph_Graph1005->SetMarkerStyle(21);
   Graph_Graph1005->GetXaxis()->SetNdivisions(505);
   Graph_Graph1005->GetXaxis()->SetLabelFont(22);
   Graph_Graph1005->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1005->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1005->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1005->GetXaxis()->SetTitleFont(22);
   Graph_Graph1005->GetYaxis()->SetLabelFont(22);
   Graph_Graph1005->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1005->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1005->GetYaxis()->SetTitleFont(22);
   Graph_Graph1005->GetZaxis()->SetLabelFont(22);
   Graph_Graph1005->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1005->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1005->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1005);
   
   multigraph->Add(gre,"pc");
   
   Double_t Graph_fx1006[8] = {
   1.96208,
   2.95886,
   4.95905,
   9.87093,
   14.7862,
   19.6816,
   29.5024,
   49.7928};
   Double_t Graph_fy1006[8] = {
   0.0856364,
   0.0633895,
   0.0398264,
   0.0210139,
   0.0149212,
   0.0118034,
   0.00858182,
   0.00617692};
   Double_t Graph_fex1006[8] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1006[8] = {
   0.000792058,
   0.000575954,
   0.000373946,
   0.000187325,
   0.000129116,
   0.000103781,
   7.43499e-05,
   5.28571e-05};
   gre = new TGraphErrors(8,Graph_fx1006,Graph_fy1006,Graph_fex1006,Graph_fey1006);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineStyle(3);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(26);
   
   TH1F *Graph_Graph1006 = new TH1F("Graph_Graph1006","Graph",100,0,54.57587);
   Graph_Graph1006->SetMinimum(0);
   Graph_Graph1006->SetMaximum(0.0944589);
   Graph_Graph1006->SetDirectory(0);
   Graph_Graph1006->SetStats(0);
   Graph_Graph1006->SetLineWidth(2);
   Graph_Graph1006->SetMarkerStyle(21);
   Graph_Graph1006->GetXaxis()->SetNdivisions(505);
   Graph_Graph1006->GetXaxis()->SetLabelFont(22);
   Graph_Graph1006->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1006->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1006->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1006->GetXaxis()->SetTitleFont(22);
   Graph_Graph1006->GetYaxis()->SetLabelFont(22);
   Graph_Graph1006->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1006->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1006->GetYaxis()->SetTitleFont(22);
   Graph_Graph1006->GetZaxis()->SetLabelFont(22);
   Graph_Graph1006->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1006->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1006->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1006);
   
   multigraph->Add(gre,"pc");
   
   Double_t Graph_fx1007[9] = {
   2.03678,
   3.05742,
   5.08728,
   8.1511,
   10.1567,
   15.2559,
   20.3417,
   30.4781,
   51.1445};
   Double_t Graph_fy1007[9] = {
   0.0310766,
   0.046645,
   0.0361789,
   0.0334214,
   0.0288862,
   0.0323892,
   0.0323006,
   0.0286232,
   0.0344682};
   Double_t Graph_fex1007[9] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1007[9] = {
   0.000214102,
   0.000321285,
   0.000249444,
   0.000230093,
   0.00019922,
   0.000223411,
   0.0002228,
   0.000197425,
   0.00023712};
   gre = new TGraphErrors(9,Graph_fx1007,Graph_fy1007,Graph_fex1007,Graph_fey1007);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(29);
   
   TH1F *Graph_Graph1007 = new TH1F("Graph_Graph1007","Graph",100,0,56.05527);
   Graph_Graph1007->SetMinimum(0.02657172);
   Graph_Graph1007->SetMaximum(0.04882034);
   Graph_Graph1007->SetDirectory(0);
   Graph_Graph1007->SetStats(0);
   Graph_Graph1007->SetLineWidth(2);
   Graph_Graph1007->SetMarkerStyle(21);
   Graph_Graph1007->GetXaxis()->SetNdivisions(505);
   Graph_Graph1007->GetXaxis()->SetLabelFont(22);
   Graph_Graph1007->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1007->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1007->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1007->GetXaxis()->SetTitleFont(22);
   Graph_Graph1007->GetYaxis()->SetLabelFont(22);
   Graph_Graph1007->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1007->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1007->GetYaxis()->SetTitleFont(22);
   Graph_Graph1007->GetZaxis()->SetLabelFont(22);
   Graph_Graph1007->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1007->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1007->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1007);
   
   multigraph->Add(gre,"p");
   
   Double_t Graph_fx1008[8] = {
   1.96208,
   2.95886,
   4.95905,
   9.87093,
   14.7862,
   19.6816,
   29.5024,
   49.7928};
   Double_t Graph_fy1008[8] = {
   0.0479218,
   0.0430306,
   0.0415441,
   0.0382646,
   0.0432227,
   0.0439905,
   0.0414173,
   0.0522289};
   Double_t Graph_fex1008[8] = {
   0,
   0,
   0,
   0,
   0,
   0,
   0,
   0};
   Double_t Graph_fey1008[8] = {
   0.000331895,
   0.000297977,
   0.000287078,
   0.00026424,
   0.000298978,
   0.000304056,
   0.000286476,
   0.000359202};
   gre = new TGraphErrors(8,Graph_fx1008,Graph_fy1008,Graph_fex1008,Graph_fey1008);
   gre->SetName("Graph");
   gre->SetTitle("Graph");
   gre->SetFillColor(1);
   gre->SetLineWidth(2);
   gre->SetMarkerStyle(30);
   
   TH1F *Graph_Graph1008 = new TH1F("Graph_Graph1008","Graph",100,0,54.57587);
   Graph_Graph1008->SetMinimum(0.03654159);
   Graph_Graph1008->SetMaximum(0.05404688);
   Graph_Graph1008->SetDirectory(0);
   Graph_Graph1008->SetStats(0);
   Graph_Graph1008->SetLineWidth(2);
   Graph_Graph1008->SetMarkerStyle(21);
   Graph_Graph1008->GetXaxis()->SetNdivisions(505);
   Graph_Graph1008->GetXaxis()->SetLabelFont(22);
   Graph_Graph1008->GetXaxis()->SetLabelOffset(0.015);
   Graph_Graph1008->GetXaxis()->SetLabelSize(0.05);
   Graph_Graph1008->GetXaxis()->SetTitleSize(0.06);
   Graph_Graph1008->GetXaxis()->SetTitleFont(22);
   Graph_Graph1008->GetYaxis()->SetLabelFont(22);
   Graph_Graph1008->GetYaxis()->SetLabelSize(0.05);
   Graph_Graph1008->GetYaxis()->SetTitleSize(0.06);
   Graph_Graph1008->GetYaxis()->SetTitleFont(22);
   Graph_Graph1008->GetZaxis()->SetLabelFont(22);
   Graph_Graph1008->GetZaxis()->SetLabelSize(0.05);
   Graph_Graph1008->GetZaxis()->SetTitleSize(0.06);
   Graph_Graph1008->GetZaxis()->SetTitleFont(22);
   gre->SetHistogram(Graph_Graph1008);
   
   multigraph->Add(gre,"p");
   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("#sqrt{2}#upoint #sigma(A_{1}-A_{2}) / (A_{1}+A_{2})");
   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);
   entry=leg->AddEntry("Graph","IC (430 MeV/u)","p");
   entry->SetLineColor(1);
   entry->SetLineStyle(1);
   entry->SetLineWidth(1);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(29);
   entry->SetMarkerSize(1);
   entry->SetTextFont(22);
   entry=leg->AddEntry("Graph","IC (130 MeV/u)","p");
   entry->SetLineColor(1);
   entry->SetLineStyle(1);
   entry->SetLineWidth(1);
   entry->SetMarkerColor(1);
   entry->SetMarkerStyle(30);
   entry->SetMarkerSize(1);
   entry->SetTextFont(22);
   leg->Draw();
   c1_n2->Modified();
   c1_n2->cd();
   c1_n2->SetSelected(c1_n2);
}
