Newer
Older
Presentations / NuFact_2016 / LongLive / images / Fig1bS.C
@mchrzasz mchrzasz on 11 Aug 2016 4 KB addedd NuFact slides
{
//=========Macro generated from canvas: c3/
//=========  (Sat Aug 15 13:34:25 2015) by ROOT version5.34/05
   TCanvas *c3 = new TCanvas("c3", "",25,747,700,500);
   gStyle->SetOptStat(0);
   gStyle->SetOptTitle(0);
   c3->Range(-0.556875,0.93625,4.555625,1.31125);
   c3->SetFillColor(0);
   c3->SetBorderMode(0);
   c3->SetBorderSize(2);
   c3->SetTickx(1);
   c3->SetTicky(1);
   c3->SetLeftMargin(0.15);
   c3->SetRightMargin(0.05);
   c3->SetTopMargin(0.03);
   c3->SetBottomMargin(0.17);
   c3->SetFrameLineWidth(2);
   c3->SetFrameBorderMode(0);
   c3->SetFrameLineWidth(2);
   c3->SetFrameBorderMode(0);
   
   TH1F *h__2 = new TH1F("h__2","",1,0.21,4.3);
   h__2->SetMinimum(1);
   h__2->SetMaximum(1.3);
   h__2->SetDirectory(0);
   h__2->SetStats(0);
   h__2->SetLineWidth(2);
   h__2->SetMarkerStyle(8);
   h__2->GetXaxis()->SetTitle("#it{m}(#it{#mu^{+}#mu^{#font[122]{-}}}) [GeV]");
   h__2->GetXaxis()->SetNdivisions(505);
   h__2->GetXaxis()->SetLabelFont(132);
   h__2->GetXaxis()->SetLabelSize(0.06);
   h__2->GetXaxis()->SetTitleSize(0.072);
   h__2->GetXaxis()->SetTitleFont(132);
   h__2->GetYaxis()->SetTitle("unpolarized spin-one / spin-zero");
   h__2->GetYaxis()->SetNdivisions(505);
   h__2->GetYaxis()->SetLabelFont(132);
   h__2->GetYaxis()->SetLabelSize(0.06);
   h__2->GetYaxis()->SetTitleSize(0.072);
   h__2->GetYaxis()->SetTitleOffset(0.8);
   h__2->GetYaxis()->SetTitleFont(132);
   h__2->GetZaxis()->SetLabelFont(132);
   h__2->GetZaxis()->SetLabelSize(0.06);
   h__2->GetZaxis()->SetTitleSize(0.072);
   h__2->GetZaxis()->SetTitleFont(132);
   h__2->Draw("");
   
   TGraph *graph = new TGraph(43);
   graph->SetName("Graph");
   graph->SetTitle("Graph");
   graph->SetFillColor(1);
   graph->SetLineWidth(2);
   graph->SetMarkerStyle(8);
   graph->SetPoint(0,0.21,1.120172504);
   graph->SetPoint(1,0.31,1.120394082);
   graph->SetPoint(2,0.41,1.119173584);
   graph->SetPoint(3,0.51,1.118360398);
   graph->SetPoint(4,0.61,1.117457334);
   graph->SetPoint(5,0.71,1.117178497);
   graph->SetPoint(6,0.81,1.11606301);
   graph->SetPoint(7,0.91,1.115223033);
   graph->SetPoint(8,1.01,1.114928729);
   graph->SetPoint(9,1.11,1.114379972);
   graph->SetPoint(10,1.21,1.11525596);
   graph->SetPoint(11,1.31,1.116895512);
   graph->SetPoint(12,1.41,1.119307869);
   graph->SetPoint(13,1.51,1.12145661);
   graph->SetPoint(14,1.61,1.12397241);
   graph->SetPoint(15,1.71,1.126830777);
   graph->SetPoint(16,1.81,1.130051643);
   graph->SetPoint(17,1.91,1.13309664);
   graph->SetPoint(18,2.01,1.136736047);
   graph->SetPoint(19,2.11,1.138797713);
   graph->SetPoint(20,2.21,1.139793308);
   graph->SetPoint(21,2.31,1.139818818);
   graph->SetPoint(22,2.41,1.139502117);
   graph->SetPoint(23,2.51,1.138713707);
   graph->SetPoint(24,2.61,1.137187515);
   graph->SetPoint(25,2.71,1.135609686);
   graph->SetPoint(26,2.81,1.134056071);
   graph->SetPoint(27,2.91,1.132011041);
   graph->SetPoint(28,3.01,1.129675676);
   graph->SetPoint(29,3.11,1.128792006);
   graph->SetPoint(30,3.21,1.129653441);
   graph->SetPoint(31,3.31,1.132555599);
   graph->SetPoint(32,3.41,1.136827634);
   graph->SetPoint(33,3.51,1.143333588);
   graph->SetPoint(34,3.61,1.152052003);
   graph->SetPoint(35,3.71,1.162802832);
   graph->SetPoint(36,3.81,1.172951327);
   graph->SetPoint(37,3.91,1.180890699);
   graph->SetPoint(38,4.01,1.181392113);
   graph->SetPoint(39,4.11,1.168621622);
   graph->SetPoint(40,4.21,1.131362957);
   graph->SetPoint(41,4.31,1.062440842);
   graph->SetPoint(42,4.41,0.681149212);
   
   TH1F *Graph_Graph4 = new TH1F("Graph_Graph4","Graph",100,0,4.83);
   Graph_Graph4->SetMinimum(0.6311249);
   Graph_Graph4->SetMaximum(1.231416);
   Graph_Graph4->SetDirectory(0);
   Graph_Graph4->SetStats(0);
   Graph_Graph4->SetLineWidth(2);
   Graph_Graph4->SetMarkerStyle(8);
   Graph_Graph4->GetXaxis()->SetNdivisions(505);
   Graph_Graph4->GetXaxis()->SetLabelFont(132);
   Graph_Graph4->GetXaxis()->SetLabelSize(0.06);
   Graph_Graph4->GetXaxis()->SetTitleSize(0.072);
   Graph_Graph4->GetXaxis()->SetTitleFont(132);
   Graph_Graph4->GetYaxis()->SetNdivisions(505);
   Graph_Graph4->GetYaxis()->SetLabelFont(132);
   Graph_Graph4->GetYaxis()->SetLabelSize(0.06);
   Graph_Graph4->GetYaxis()->SetTitleSize(0.072);
   Graph_Graph4->GetYaxis()->SetTitleFont(132);
   Graph_Graph4->GetZaxis()->SetLabelFont(132);
   Graph_Graph4->GetZaxis()->SetLabelSize(0.06);
   Graph_Graph4->GetZaxis()->SetTitleSize(0.072);
   Graph_Graph4->GetZaxis()->SetTitleFont(132);
   graph->SetHistogram(Graph_Graph4);
   
   graph->Draw("l");
   TText *text = new TText(1,1.25,"LHCb");
   text->SetTextAlign(22);
   text->SetTextFont(132);
   text->SetTextSize(0.072);
   text->Draw();
   c3->Modified();
   c3->cd();
   c3->SetSelected(c3);
}