void DataxSec_AllclQnPOTselectionRunTrendMoriond() { //=========Macro generated from canvas: c2/c2 //========= (Wed Mar 9 14:20:59 2022) by ROOT version 6.24/06 gStyle->SetCanvasPreferGL(kTRUE); TCanvas *c2 = new TCanvas("c2", "c2",0,53,700,500); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); c2->Range(-1.136709,1.706667,7.217722,2.173333); c2->SetFillColor(0); c2->SetBorderMode(0); c2->SetBorderSize(2); c2->SetTickx(1); c2->SetTicky(1); c2->SetLeftMargin(0.16); c2->SetRightMargin(0.05); c2->SetTopMargin(0.05); c2->SetBottomMargin(0.2); c2->SetFrameBorderMode(0); c2->SetFrameBorderMode(0); TMultiGraph *multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx1001[6] = { 0.5, 2, 3, 4, 5, 6.5}; Double_t Graph_fy1001[6] = { 1.957275, 1.957275, 1.957275, 1.957275, 1.957275, 1.957275}; Double_t Graph_fex1001[6] = { 0, 0, 0, 0, 0, 0}; Double_t Graph_fey1001[6] = { 0.0808052, 0.0808052, 0.0808052, 0.0808052, 0.0808052, 0.0808052}; TGraphErrors *gre = new TGraphErrors(6,Graph_fx1001,Graph_fy1001,Graph_fex1001,Graph_fey1001); gre->SetName("Graph"); gre->SetTitle("Graph"); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ffcc00"); gre->SetFillColor(ci); gre->SetFillStyle(1000); gre->SetMarkerStyle(9); gre->SetMarkerSize(0.7); TH1F *Graph_Graph1001 = new TH1F("Graph_Graph1001","Graph",100,0,7.1); Graph_Graph1001->SetMinimum(1.860309); Graph_Graph1001->SetMaximum(2.054241); Graph_Graph1001->SetDirectory(0); Graph_Graph1001->SetStats(0); Graph_Graph1001->SetMarkerStyle(20); Graph_Graph1001->GetXaxis()->SetLabelFont(132); Graph_Graph1001->GetXaxis()->SetLabelSize(0.055); Graph_Graph1001->GetXaxis()->SetTitleSize(0.055); Graph_Graph1001->GetXaxis()->SetTitleOffset(1.4); Graph_Graph1001->GetYaxis()->SetLabelFont(132); Graph_Graph1001->GetYaxis()->SetLabelSize(0.055); Graph_Graph1001->GetYaxis()->SetTitleSize(0.055); Graph_Graph1001->GetYaxis()->SetTitleOffset(1.4); Graph_Graph1001->GetZaxis()->SetLabelFont(132); Graph_Graph1001->GetZaxis()->SetLabelSize(0.055); Graph_Graph1001->GetZaxis()->SetTitleSize(0.055); Graph_Graph1001->GetZaxis()->SetTitleOffset(1); Graph_Graph1001->GetZaxis()->SetTitleFont(132); gre->SetHistogram(Graph_Graph1001); multigraph->Add(gre,"3p"); Double_t Graph_fx1002[6] = { 0.5, 2, 3, 4, 5, 6.5}; Double_t Graph_fy1002[6] = { 1.957275, 1.957275, 1.957275, 1.957275, 1.957275, 1.957275}; Double_t Graph_fex1002[6] = { 0, 0, 0, 0, 0, 0}; Double_t Graph_fey1002[6] = { 0.078291, 0.078291, 0.078291, 0.078291, 0.078291, 0.078291}; gre = new TGraphErrors(6,Graph_fx1002,Graph_fy1002,Graph_fex1002,Graph_fey1002); gre->SetName("Graph"); gre->SetTitle("Graph"); ci = TColor::GetColor("#ffff00"); gre->SetFillColor(ci); gre->SetFillStyle(1000); gre->SetMarkerStyle(9); gre->SetMarkerSize(0.7); TH1F *Graph_Graph1002 = new TH1F("Graph_Graph1002","Graph",100,0,7.1); Graph_Graph1002->SetMinimum(1.863326); Graph_Graph1002->SetMaximum(2.051224); Graph_Graph1002->SetDirectory(0); Graph_Graph1002->SetStats(0); Graph_Graph1002->SetMarkerStyle(20); Graph_Graph1002->GetXaxis()->SetLabelFont(132); Graph_Graph1002->GetXaxis()->SetLabelSize(0.055); Graph_Graph1002->GetXaxis()->SetTitleSize(0.055); Graph_Graph1002->GetXaxis()->SetTitleOffset(1.4); Graph_Graph1002->GetYaxis()->SetLabelFont(132); Graph_Graph1002->GetYaxis()->SetLabelSize(0.055); Graph_Graph1002->GetYaxis()->SetTitleSize(0.055); Graph_Graph1002->GetYaxis()->SetTitleOffset(1.4); Graph_Graph1002->GetZaxis()->SetLabelFont(132); Graph_Graph1002->GetZaxis()->SetLabelSize(0.055); Graph_Graph1002->GetZaxis()->SetTitleSize(0.055); Graph_Graph1002->GetZaxis()->SetTitleOffset(1); Graph_Graph1002->GetZaxis()->SetTitleFont(132); gre->SetHistogram(Graph_Graph1002); multigraph->Add(gre,"3p"); Double_t Graph_fx1003[5] = { 2, 3, 4, 5, 6}; Double_t Graph_fy1003[5] = { 1.981124, 1.920443, 1.889, 1.914033, 1.968}; Double_t Graph_fex1003[5] = { 0, 0, 0, 0, 0}; Double_t Graph_fey1003[5] = { 0.03059472, 0.02804904, 0.024, 0.02746072, 0.048}; gre = new TGraphErrors(5,Graph_fx1003,Graph_fy1003,Graph_fex1003,Graph_fey1003); gre->SetName("Graph"); gre->SetTitle("Graph"); gre->SetFillStyle(1000); gre->SetMarkerStyle(8); TH1F *Graph_Graph1003 = new TH1F("Graph_Graph1003","Graph",100,1.6,6.4); Graph_Graph1003->SetMinimum(1.8499); Graph_Graph1003->SetMaximum(2.0311); Graph_Graph1003->SetDirectory(0); Graph_Graph1003->SetStats(0); Graph_Graph1003->SetMarkerStyle(20); Graph_Graph1003->GetXaxis()->SetLabelFont(132); Graph_Graph1003->GetXaxis()->SetLabelSize(0.055); Graph_Graph1003->GetXaxis()->SetTitleSize(0.055); Graph_Graph1003->GetXaxis()->SetTitleOffset(1.4); Graph_Graph1003->GetYaxis()->SetLabelFont(132); Graph_Graph1003->GetYaxis()->SetLabelSize(0.055); Graph_Graph1003->GetYaxis()->SetTitleSize(0.055); Graph_Graph1003->GetYaxis()->SetTitleOffset(1.4); Graph_Graph1003->GetZaxis()->SetLabelFont(132); Graph_Graph1003->GetZaxis()->SetLabelSize(0.055); Graph_Graph1003->GetZaxis()->SetTitleSize(0.055); Graph_Graph1003->GetZaxis()->SetTitleOffset(1); Graph_Graph1003->GetZaxis()->SetTitleFont(132); gre->SetHistogram(Graph_Graph1003); multigraph->Add(gre,"p"); Double_t Graph_fx1004[1] = { 1}; Double_t Graph_fy1004[1] = { 1.923}; Double_t Graph_fex1004[1] = { 0.05}; Double_t Graph_fey1004[1] = { 0.06440497}; gre = new TGraphErrors(1,Graph_fx1004,Graph_fy1004,Graph_fex1004,Graph_fey1004); gre->SetName("Graph"); gre->SetTitle("Graph"); ci = TColor::GetColor("#0000ff"); gre->SetFillColor(ci); gre->SetFillStyle(1000); gre->SetLineColor(2); gre->SetLineWidth(5); gre->SetMarkerStyle(20); TH1F *Graph_Graph1004 = new TH1F("Graph_Graph1004","Graph",100,0.94,1.06); Graph_Graph1004->SetMinimum(1.845714); Graph_Graph1004->SetMaximum(2.000286); Graph_Graph1004->SetDirectory(0); Graph_Graph1004->SetStats(0); Graph_Graph1004->SetMarkerStyle(20); Graph_Graph1004->GetXaxis()->SetLabelFont(132); Graph_Graph1004->GetXaxis()->SetLabelSize(0.055); Graph_Graph1004->GetXaxis()->SetTitleSize(0.055); Graph_Graph1004->GetXaxis()->SetTitleOffset(1.4); Graph_Graph1004->GetYaxis()->SetLabelFont(132); Graph_Graph1004->GetYaxis()->SetLabelSize(0.055); Graph_Graph1004->GetYaxis()->SetTitleSize(0.055); Graph_Graph1004->GetYaxis()->SetTitleOffset(1.4); Graph_Graph1004->GetZaxis()->SetLabelFont(132); Graph_Graph1004->GetZaxis()->SetLabelSize(0.055); Graph_Graph1004->GetZaxis()->SetTitleSize(0.055); Graph_Graph1004->GetZaxis()->SetTitleOffset(1); Graph_Graph1004->GetZaxis()->SetTitleFont(132); gre->SetHistogram(Graph_Graph1004); multigraph->Add(gre,"2p"); Double_t Graph_fx1005[1] = { 1}; Double_t Graph_fy1005[1] = { 1.923}; Double_t Graph_fex1005[1] = { 0.05}; Double_t Graph_fey1005[1] = { 0.028}; gre = new TGraphErrors(1,Graph_fx1005,Graph_fy1005,Graph_fex1005,Graph_fey1005); gre->SetName("Graph"); gre->SetTitle("Graph"); ci = TColor::GetColor("#00ffff"); gre->SetFillColor(ci); gre->SetFillStyle(1000); gre->SetLineWidth(5); gre->SetMarkerStyle(20); gre->SetMarkerSize(1.5); TH1F *Graph_Graph1005 = new TH1F("Graph_Graph1005","Graph",100,0.94,1.06); Graph_Graph1005->SetMinimum(1.8894); Graph_Graph1005->SetMaximum(1.9566); Graph_Graph1005->SetDirectory(0); Graph_Graph1005->SetStats(0); Graph_Graph1005->SetMarkerStyle(20); Graph_Graph1005->GetXaxis()->SetLabelFont(132); Graph_Graph1005->GetXaxis()->SetLabelSize(0.055); Graph_Graph1005->GetXaxis()->SetTitleSize(0.055); Graph_Graph1005->GetXaxis()->SetTitleOffset(1.4); Graph_Graph1005->GetYaxis()->SetLabelFont(132); Graph_Graph1005->GetYaxis()->SetLabelSize(0.055); Graph_Graph1005->GetYaxis()->SetTitleSize(0.055); Graph_Graph1005->GetYaxis()->SetTitleOffset(1.4); Graph_Graph1005->GetZaxis()->SetLabelFont(132); Graph_Graph1005->GetZaxis()->SetLabelSize(0.055); Graph_Graph1005->GetZaxis()->SetTitleSize(0.055); Graph_Graph1005->GetZaxis()->SetTitleOffset(1); Graph_Graph1005->GetZaxis()->SetTitleFont(132); gre->SetHistogram(Graph_Graph1005); multigraph->Add(gre,"2p"); multigraph->Draw("A"); multigraph->GetXaxis()->SetLimits(0.2, 6.8); multigraph->GetXaxis()->SetBinLabel(13,"Average"); multigraph->GetXaxis()->SetBinLabel(28,"#Delta #phi"); multigraph->GetXaxis()->SetBinLabel(43,"#Delta E_{in}"); multigraph->GetXaxis()->SetBinLabel(58,"M_{miss, in}^{2}"); multigraph->GetXaxis()->SetBinLabel(73,"#Delta E_{out}"); multigraph->GetXaxis()->SetBinLabel(88,"M_{miss, out}^{2}"); multigraph->GetXaxis()->SetLabelFont(132); multigraph->GetXaxis()->SetLabelSize(0.055); multigraph->GetXaxis()->SetTitleSize(0.055); multigraph->GetXaxis()->SetTitleOffset(1.4); multigraph->GetYaxis()->SetTitle("#sigma(e^{+}e^{-}#rightarrow #gamma #gamma) [mb]"); multigraph->GetYaxis()->CenterTitle(true); multigraph->GetYaxis()->SetLabelFont(132); multigraph->GetYaxis()->SetLabelSize(0.055); multigraph->GetYaxis()->SetTitleSize(0.055); multigraph->GetYaxis()->SetTitleOffset(1.4); TLatex * tex = new TLatex(0.4,0.87,"PADME"); tex->SetNDC(); tex->SetTextFont(72); tex->SetTextSize(0.055); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.55,0.87,"Preliminary"); tex->SetNDC(); tex->SetTextFont(132); tex->SetTextSize(0.055); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.35,0.8,"Run II, E=430 MeV, 4 #times 10^{11} POT"); tex->SetNDC(); tex->SetTextFont(132); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.45,0.75,"2.7 #times 10^{4} POT / 280 ns"); tex->SetNDC(); tex->SetTextFont(132); tex->SetTextSize(0.038); tex->SetLineWidth(2); tex->Draw(); TLine *line = new TLine(0.2,1.957275,6.8,1.957275); ci = TColor::GetColor("#999999"); line->SetLineColor(ci); line->SetLineStyle(8); line->SetLineWidth(2); line->Draw(); c2->Modified(); c2->cd(); c2->SetSelected(c2); }