void PlotPointingBiasVrhoRat() { //=========Macro generated from canvas: c_m/c //========= (Thu May 26 07:07:33 2022) by ROOT version 6.20/06 TCanvas *c_m = new TCanvas("c_m", "c",0,0,1600,1200); gStyle->SetOptStat(0); c_m->Range(-937.5,-0.375,937.5,3.375); c_m->SetFillColor(0); c_m->SetBorderMode(0); c_m->SetBorderSize(2); c_m->SetFrameBorderMode(0); c_m->SetFrameBorderMode(0); THStack *hs_m_rat = new THStack(); hs_m_rat->SetName("hs_m_rat"); hs_m_rat->SetTitle(";z_{origin} [mm];Ratio;"); hs_m_rat->SetMinimum(0); hs_m_rat->SetMaximum(3); Double_t xAxis28[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hs_m_rat_stack_4 = new TH1F("hs_m_rat_stack_4","",20, xAxis28); hs_m_rat_stack_4->SetMinimum(0); hs_m_rat_stack_4->SetMaximum(3); hs_m_rat_stack_4->SetDirectory(0); hs_m_rat_stack_4->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hs_m_rat_stack_4->SetLineColor(ci); hs_m_rat_stack_4->GetXaxis()->SetTitle("z_{origin} [mm]"); hs_m_rat_stack_4->GetXaxis()->SetLabelFont(42); hs_m_rat_stack_4->GetXaxis()->SetTitleOffset(1); hs_m_rat_stack_4->GetXaxis()->SetTitleFont(42); hs_m_rat_stack_4->GetYaxis()->SetTitle("Ratio"); hs_m_rat_stack_4->GetYaxis()->SetLabelFont(42); hs_m_rat_stack_4->GetYaxis()->SetTitleFont(42); hs_m_rat_stack_4->GetZaxis()->SetLabelFont(42); hs_m_rat_stack_4->GetZaxis()->SetTitleOffset(1); hs_m_rat_stack_4->GetZaxis()->SetTitleFont(42); hs_m_rat->SetHistogram(hs_m_rat_stack_4); Double_t xAxis29[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_135_2ns_stack_1 = new TH1F("hmean_Hino_135_2ns_stack_1","",20, xAxis29); hmean_Hino_135_2ns_stack_1->SetBinContent(1,1); hmean_Hino_135_2ns_stack_1->SetBinContent(2,1); hmean_Hino_135_2ns_stack_1->SetBinContent(3,1); hmean_Hino_135_2ns_stack_1->SetBinContent(4,1); hmean_Hino_135_2ns_stack_1->SetBinContent(5,1); hmean_Hino_135_2ns_stack_1->SetBinContent(6,1); hmean_Hino_135_2ns_stack_1->SetBinContent(7,1); hmean_Hino_135_2ns_stack_1->SetBinContent(8,1); hmean_Hino_135_2ns_stack_1->SetBinContent(9,1); hmean_Hino_135_2ns_stack_1->SetBinContent(10,1); hmean_Hino_135_2ns_stack_1->SetBinContent(11,1); hmean_Hino_135_2ns_stack_1->SetBinContent(12,1); hmean_Hino_135_2ns_stack_1->SetBinContent(13,1); hmean_Hino_135_2ns_stack_1->SetBinContent(14,1); hmean_Hino_135_2ns_stack_1->SetBinContent(15,1); hmean_Hino_135_2ns_stack_1->SetBinContent(16,1); hmean_Hino_135_2ns_stack_1->SetBinContent(17,1); hmean_Hino_135_2ns_stack_1->SetBinContent(18,1); hmean_Hino_135_2ns_stack_1->SetBinContent(19,1); hmean_Hino_135_2ns_stack_1->SetBinContent(20,1); hmean_Hino_135_2ns_stack_1->SetBinError(1,0.006843128); hmean_Hino_135_2ns_stack_1->SetBinError(2,0.007881321); hmean_Hino_135_2ns_stack_1->SetBinError(3,0.01612441); hmean_Hino_135_2ns_stack_1->SetBinError(4,0.01050486); hmean_Hino_135_2ns_stack_1->SetBinError(5,0.007220685); hmean_Hino_135_2ns_stack_1->SetBinError(6,0.01160962); hmean_Hino_135_2ns_stack_1->SetBinError(7,0.01119039); hmean_Hino_135_2ns_stack_1->SetBinError(8,0.01177131); hmean_Hino_135_2ns_stack_1->SetBinError(9,0.01521304); hmean_Hino_135_2ns_stack_1->SetBinError(10,0.02758138); hmean_Hino_135_2ns_stack_1->SetBinError(11,0.1551602); hmean_Hino_135_2ns_stack_1->SetBinError(12,0.02683725); hmean_Hino_135_2ns_stack_1->SetBinError(13,0.01280869); hmean_Hino_135_2ns_stack_1->SetBinError(14,0.01128303); hmean_Hino_135_2ns_stack_1->SetBinError(15,0.009947756); hmean_Hino_135_2ns_stack_1->SetBinError(16,0.008314846); hmean_Hino_135_2ns_stack_1->SetBinError(17,0.009002756); hmean_Hino_135_2ns_stack_1->SetBinError(18,0.01199022); hmean_Hino_135_2ns_stack_1->SetBinError(19,0.007867551); hmean_Hino_135_2ns_stack_1->SetBinError(20,0.006712634); hmean_Hino_135_2ns_stack_1->SetEntries(14541.04); ci = TColor::GetColor("#00ff00"); hmean_Hino_135_2ns_stack_1->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); hmean_Hino_135_2ns_stack_1->SetMarkerColor(ci); hmean_Hino_135_2ns_stack_1->SetMarkerStyle(26); hmean_Hino_135_2ns_stack_1->SetMarkerSize(2); hmean_Hino_135_2ns_stack_1->GetXaxis()->SetLabelFont(42); hmean_Hino_135_2ns_stack_1->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_2ns_stack_1->GetXaxis()->SetTitleFont(42); hmean_Hino_135_2ns_stack_1->GetYaxis()->SetLabelFont(42); hmean_Hino_135_2ns_stack_1->GetYaxis()->SetTitleFont(42); hmean_Hino_135_2ns_stack_1->GetZaxis()->SetLabelFont(42); hmean_Hino_135_2ns_stack_1->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_2ns_stack_1->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Hino_135_2ns_stack_1,""); Double_t xAxis30[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_135_10ns_stack_2 = new TH1F("hmean_Hino_135_10ns_stack_2","",20, xAxis30); hmean_Hino_135_10ns_stack_2->SetBinContent(1,0.9336395); hmean_Hino_135_10ns_stack_2->SetBinContent(2,1.091729); hmean_Hino_135_10ns_stack_2->SetBinContent(3,1.021852); hmean_Hino_135_10ns_stack_2->SetBinContent(4,0.9667998); hmean_Hino_135_10ns_stack_2->SetBinContent(5,1.118647); hmean_Hino_135_10ns_stack_2->SetBinContent(6,0.845706); hmean_Hino_135_10ns_stack_2->SetBinContent(7,0.6750875); hmean_Hino_135_10ns_stack_2->SetBinContent(8,1.078805); hmean_Hino_135_10ns_stack_2->SetBinContent(9,0.8206033); hmean_Hino_135_10ns_stack_2->SetBinContent(10,1.086792); hmean_Hino_135_10ns_stack_2->SetBinContent(11,4.325598); hmean_Hino_135_10ns_stack_2->SetBinContent(12,1.057696); hmean_Hino_135_10ns_stack_2->SetBinContent(13,1.184352); hmean_Hino_135_10ns_stack_2->SetBinContent(14,0.9963838); hmean_Hino_135_10ns_stack_2->SetBinContent(15,1.081784); hmean_Hino_135_10ns_stack_2->SetBinContent(16,1.056907); hmean_Hino_135_10ns_stack_2->SetBinContent(17,0.8408169); hmean_Hino_135_10ns_stack_2->SetBinContent(18,1.01827); hmean_Hino_135_10ns_stack_2->SetBinContent(19,0.9899668); hmean_Hino_135_10ns_stack_2->SetBinContent(20,0.9977922); hmean_Hino_135_10ns_stack_2->SetBinError(1,0.008159735); hmean_Hino_135_10ns_stack_2->SetBinError(2,0.01071328); hmean_Hino_135_10ns_stack_2->SetBinError(3,0.01908903); hmean_Hino_135_10ns_stack_2->SetBinError(4,0.01350403); hmean_Hino_135_10ns_stack_2->SetBinError(5,0.01264491); hmean_Hino_135_10ns_stack_2->SetBinError(6,0.01652009); hmean_Hino_135_10ns_stack_2->SetBinError(7,0.02404292); hmean_Hino_135_10ns_stack_2->SetBinError(8,0.01524788); hmean_Hino_135_10ns_stack_2->SetBinError(9,0.01700004); hmean_Hino_135_10ns_stack_2->SetBinError(10,0.04069754); hmean_Hino_135_10ns_stack_2->SetBinError(11,0.5225699); hmean_Hino_135_10ns_stack_2->SetBinError(12,0.0379355); hmean_Hino_135_10ns_stack_2->SetBinError(13,0.02095148); hmean_Hino_135_10ns_stack_2->SetBinError(14,0.01702951); hmean_Hino_135_10ns_stack_2->SetBinError(15,0.01955935); hmean_Hino_135_10ns_stack_2->SetBinError(16,0.01038838); hmean_Hino_135_10ns_stack_2->SetBinError(17,0.01540867); hmean_Hino_135_10ns_stack_2->SetBinError(18,0.01503533); hmean_Hino_135_10ns_stack_2->SetBinError(19,0.01065373); hmean_Hino_135_10ns_stack_2->SetBinError(20,0.00920819); hmean_Hino_135_10ns_stack_2->SetEntries(1918.333); ci = TColor::GetColor("#ffcc00"); hmean_Hino_135_10ns_stack_2->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); hmean_Hino_135_10ns_stack_2->SetMarkerColor(ci); hmean_Hino_135_10ns_stack_2->SetMarkerStyle(26); hmean_Hino_135_10ns_stack_2->SetMarkerSize(2); hmean_Hino_135_10ns_stack_2->GetXaxis()->SetLabelFont(42); hmean_Hino_135_10ns_stack_2->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_10ns_stack_2->GetXaxis()->SetTitleFont(42); hmean_Hino_135_10ns_stack_2->GetYaxis()->SetLabelFont(42); hmean_Hino_135_10ns_stack_2->GetYaxis()->SetTitleFont(42); hmean_Hino_135_10ns_stack_2->GetZaxis()->SetLabelFont(42); hmean_Hino_135_10ns_stack_2->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_10ns_stack_2->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Hino_135_10ns_stack_2,""); Double_t xAxis31[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_135_50ns_stack_3 = new TH1F("hmean_Hino_135_50ns_stack_3","",20, xAxis31); hmean_Hino_135_50ns_stack_3->SetBinContent(1,1.035813); hmean_Hino_135_50ns_stack_3->SetBinContent(2,1.028494); hmean_Hino_135_50ns_stack_3->SetBinContent(3,1.411305); hmean_Hino_135_50ns_stack_3->SetBinContent(4,1.001768); hmean_Hino_135_50ns_stack_3->SetBinContent(5,1.153883); hmean_Hino_135_50ns_stack_3->SetBinContent(6,0.6504748); hmean_Hino_135_50ns_stack_3->SetBinContent(7,1.418147); hmean_Hino_135_50ns_stack_3->SetBinContent(8,1.036599); hmean_Hino_135_50ns_stack_3->SetBinContent(9,0.9847226); hmean_Hino_135_50ns_stack_3->SetBinContent(10,0.5811066); hmean_Hino_135_50ns_stack_3->SetBinContent(11,-0.06684984); hmean_Hino_135_50ns_stack_3->SetBinContent(12,1.328211); hmean_Hino_135_50ns_stack_3->SetBinContent(13,1.281581); hmean_Hino_135_50ns_stack_3->SetBinContent(14,1.403809); hmean_Hino_135_50ns_stack_3->SetBinContent(15,0.9078288); hmean_Hino_135_50ns_stack_3->SetBinContent(16,0.7413223); hmean_Hino_135_50ns_stack_3->SetBinContent(17,0.9173273); hmean_Hino_135_50ns_stack_3->SetBinContent(18,0.8432903); hmean_Hino_135_50ns_stack_3->SetBinContent(19,0.9842147); hmean_Hino_135_50ns_stack_3->SetBinContent(20,1.071007); hmean_Hino_135_50ns_stack_3->SetBinError(1,0.01010645); hmean_Hino_135_50ns_stack_3->SetBinError(2,0.02373258); hmean_Hino_135_50ns_stack_3->SetBinError(3,0.1460273); hmean_Hino_135_50ns_stack_3->SetBinError(4,0.03118934); hmean_Hino_135_50ns_stack_3->SetBinError(5,0.0297893); hmean_Hino_135_50ns_stack_3->SetBinError(6,0.03058087); hmean_Hino_135_50ns_stack_3->SetBinError(7,0.08619081); hmean_Hino_135_50ns_stack_3->SetBinError(8,0.02330361); hmean_Hino_135_50ns_stack_3->SetBinError(9,0.03314121); hmean_Hino_135_50ns_stack_3->SetBinError(10,0.1240337); hmean_Hino_135_50ns_stack_3->SetBinError(11,0.4911396); hmean_Hino_135_50ns_stack_3->SetBinError(12,0.05922093); hmean_Hino_135_50ns_stack_3->SetBinError(13,0.1445145); hmean_Hino_135_50ns_stack_3->SetBinError(14,0.1368084); hmean_Hino_135_50ns_stack_3->SetBinError(15,0.03009281); hmean_Hino_135_50ns_stack_3->SetBinError(16,0.02912649); hmean_Hino_135_50ns_stack_3->SetBinError(17,0.02509653); hmean_Hino_135_50ns_stack_3->SetBinError(18,0.03819532); hmean_Hino_135_50ns_stack_3->SetBinError(19,0.01722447); hmean_Hino_135_50ns_stack_3->SetBinError(20,0.01161886); hmean_Hino_135_50ns_stack_3->SetEntries(1150.379); ci = TColor::GetColor("#ff00ff"); hmean_Hino_135_50ns_stack_3->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); hmean_Hino_135_50ns_stack_3->SetMarkerColor(ci); hmean_Hino_135_50ns_stack_3->SetMarkerStyle(26); hmean_Hino_135_50ns_stack_3->SetMarkerSize(2); hmean_Hino_135_50ns_stack_3->GetXaxis()->SetLabelFont(42); hmean_Hino_135_50ns_stack_3->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_50ns_stack_3->GetXaxis()->SetTitleFont(42); hmean_Hino_135_50ns_stack_3->GetYaxis()->SetLabelFont(42); hmean_Hino_135_50ns_stack_3->GetYaxis()->SetTitleFont(42); hmean_Hino_135_50ns_stack_3->GetZaxis()->SetLabelFont(42); hmean_Hino_135_50ns_stack_3->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_50ns_stack_3->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Hino_135_50ns_stack_3,""); Double_t xAxis32[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_525_Zee_stack_4 = new TH1F("hmean_Hino_525_Zee_stack_4","",20, xAxis32); hmean_Hino_525_Zee_stack_4->SetBinContent(1,1.733562); hmean_Hino_525_Zee_stack_4->SetBinContent(2,-0.1770788); hmean_Hino_525_Zee_stack_4->SetBinContent(3,1.366419); hmean_Hino_525_Zee_stack_4->SetBinContent(4,0.9311785); hmean_Hino_525_Zee_stack_4->SetBinContent(5,0.8841197); hmean_Hino_525_Zee_stack_4->SetBinContent(6,0.9404082); hmean_Hino_525_Zee_stack_4->SetBinContent(7,0.9840373); hmean_Hino_525_Zee_stack_4->SetBinContent(8,1.131581); hmean_Hino_525_Zee_stack_4->SetBinContent(9,1.302029); hmean_Hino_525_Zee_stack_4->SetBinContent(10,1.127879); hmean_Hino_525_Zee_stack_4->SetBinContent(11,0.8421243); hmean_Hino_525_Zee_stack_4->SetBinContent(12,1.071194); hmean_Hino_525_Zee_stack_4->SetBinContent(13,0.8980296); hmean_Hino_525_Zee_stack_4->SetBinContent(14,0.9853716); hmean_Hino_525_Zee_stack_4->SetBinContent(15,1.009685); hmean_Hino_525_Zee_stack_4->SetBinContent(16,1.037237); hmean_Hino_525_Zee_stack_4->SetBinContent(17,0.8159602); hmean_Hino_525_Zee_stack_4->SetBinContent(18,1.049225); hmean_Hino_525_Zee_stack_4->SetBinContent(19,1.195086); hmean_Hino_525_Zee_stack_4->SetBinContent(20,1.004477); hmean_Hino_525_Zee_stack_4->SetBinError(1,0.1008561); hmean_Hino_525_Zee_stack_4->SetBinError(2,0.001007561); hmean_Hino_525_Zee_stack_4->SetBinError(3,0.01839145); hmean_Hino_525_Zee_stack_4->SetBinError(4,0.009750305); hmean_Hino_525_Zee_stack_4->SetBinError(5,0.008912535); hmean_Hino_525_Zee_stack_4->SetBinError(6,0.01403766); hmean_Hino_525_Zee_stack_4->SetBinError(7,0.01500127); hmean_Hino_525_Zee_stack_4->SetBinError(8,0.01543206); hmean_Hino_525_Zee_stack_4->SetBinError(9,0.02719088); hmean_Hino_525_Zee_stack_4->SetBinError(10,0.03600091); hmean_Hino_525_Zee_stack_4->SetBinError(11,0.2102505); hmean_Hino_525_Zee_stack_4->SetBinError(12,0.03241907); hmean_Hino_525_Zee_stack_4->SetBinError(13,0.01757082); hmean_Hino_525_Zee_stack_4->SetBinError(14,0.01892979); hmean_Hino_525_Zee_stack_4->SetBinError(15,0.01448768); hmean_Hino_525_Zee_stack_4->SetBinError(16,0.009693162); hmean_Hino_525_Zee_stack_4->SetBinError(17,0.00958978); hmean_Hino_525_Zee_stack_4->SetBinError(18,0.01417291); hmean_Hino_525_Zee_stack_4->SetBinError(19,0.008553469); hmean_Hino_525_Zee_stack_4->SetBinError(20,0.008047566); hmean_Hino_525_Zee_stack_4->SetEntries(6750.885); ci = TColor::GetColor("#cc00ff"); hmean_Hino_525_Zee_stack_4->SetLineColor(ci); ci = TColor::GetColor("#cc00ff"); hmean_Hino_525_Zee_stack_4->SetMarkerColor(ci); hmean_Hino_525_Zee_stack_4->SetMarkerStyle(26); hmean_Hino_525_Zee_stack_4->SetMarkerSize(2); hmean_Hino_525_Zee_stack_4->GetXaxis()->SetLabelFont(42); hmean_Hino_525_Zee_stack_4->GetXaxis()->SetTitleOffset(1); hmean_Hino_525_Zee_stack_4->GetXaxis()->SetTitleFont(42); hmean_Hino_525_Zee_stack_4->GetYaxis()->SetLabelFont(42); hmean_Hino_525_Zee_stack_4->GetYaxis()->SetTitleFont(42); hmean_Hino_525_Zee_stack_4->GetZaxis()->SetLabelFont(42); hmean_Hino_525_Zee_stack_4->GetZaxis()->SetTitleOffset(1); hmean_Hino_525_Zee_stack_4->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Hino_525_Zee_stack_4,""); Double_t xAxis33[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_525_Hyy_stack_5 = new TH1F("hmean_Hino_525_Hyy_stack_5","",20, xAxis33); hmean_Hino_525_Hyy_stack_5->SetBinContent(1,1.243673); hmean_Hino_525_Hyy_stack_5->SetBinContent(2,1.009765); hmean_Hino_525_Hyy_stack_5->SetBinContent(3,0.8282303); hmean_Hino_525_Hyy_stack_5->SetBinContent(4,0.8039526); hmean_Hino_525_Hyy_stack_5->SetBinContent(5,0.7109643); hmean_Hino_525_Hyy_stack_5->SetBinContent(6,22.55927); hmean_Hino_525_Hyy_stack_5->SetBinContent(7,0.7606547); hmean_Hino_525_Hyy_stack_5->SetBinContent(8,0.9076812); hmean_Hino_525_Hyy_stack_5->SetBinContent(9,1.186652); hmean_Hino_525_Hyy_stack_5->SetBinContent(10,0.9424536); hmean_Hino_525_Hyy_stack_5->SetBinContent(11,-6.239796); hmean_Hino_525_Hyy_stack_5->SetBinContent(12,0.8193826); hmean_Hino_525_Hyy_stack_5->SetBinContent(13,0.7962208); hmean_Hino_525_Hyy_stack_5->SetBinContent(14,1.146224); hmean_Hino_525_Hyy_stack_5->SetBinContent(15,0.7976243); hmean_Hino_525_Hyy_stack_5->SetBinContent(16,0.859467); hmean_Hino_525_Hyy_stack_5->SetBinContent(17,0.8805137); hmean_Hino_525_Hyy_stack_5->SetBinContent(18,0.7423779); hmean_Hino_525_Hyy_stack_5->SetBinContent(19,0.8009919); hmean_Hino_525_Hyy_stack_5->SetBinContent(20,0.8618435); hmean_Hino_525_Hyy_stack_5->SetBinError(1,0.01133314); hmean_Hino_525_Hyy_stack_5->SetBinError(2,0.02784857); hmean_Hino_525_Hyy_stack_5->SetBinError(3,0.01827878); hmean_Hino_525_Hyy_stack_5->SetBinError(4,0.02241285); hmean_Hino_525_Hyy_stack_5->SetBinError(5,0.01985837); hmean_Hino_525_Hyy_stack_5->SetBinError(6,1.122928); hmean_Hino_525_Hyy_stack_5->SetBinError(7,0.01953361); hmean_Hino_525_Hyy_stack_5->SetBinError(8,0.01863759); hmean_Hino_525_Hyy_stack_5->SetBinError(9,0.05865868); hmean_Hino_525_Hyy_stack_5->SetBinError(10,0.04306486); hmean_Hino_525_Hyy_stack_5->SetBinError(11,0.7693439); hmean_Hino_525_Hyy_stack_5->SetBinError(12,0.03201062); hmean_Hino_525_Hyy_stack_5->SetBinError(13,0.09080351); hmean_Hino_525_Hyy_stack_5->SetBinError(14,0.02720505); hmean_Hino_525_Hyy_stack_5->SetBinError(15,0.03494382); hmean_Hino_525_Hyy_stack_5->SetBinError(16,0.01512335); hmean_Hino_525_Hyy_stack_5->SetBinError(17,0.01400468); hmean_Hino_525_Hyy_stack_5->SetBinError(18,0.02063141); hmean_Hino_525_Hyy_stack_5->SetBinError(19,0.01899437); hmean_Hino_525_Hyy_stack_5->SetBinError(20,0.02638802); hmean_Hino_525_Hyy_stack_5->SetEntries(560.7521); ci = TColor::GetColor("#ffff00"); hmean_Hino_525_Hyy_stack_5->SetLineColor(ci); ci = TColor::GetColor("#ffff00"); hmean_Hino_525_Hyy_stack_5->SetMarkerColor(ci); hmean_Hino_525_Hyy_stack_5->SetMarkerStyle(26); hmean_Hino_525_Hyy_stack_5->SetMarkerSize(2); hmean_Hino_525_Hyy_stack_5->GetXaxis()->SetLabelFont(42); hmean_Hino_525_Hyy_stack_5->GetXaxis()->SetTitleOffset(1); hmean_Hino_525_Hyy_stack_5->GetXaxis()->SetTitleFont(42); hmean_Hino_525_Hyy_stack_5->GetYaxis()->SetLabelFont(42); hmean_Hino_525_Hyy_stack_5->GetYaxis()->SetTitleFont(42); hmean_Hino_525_Hyy_stack_5->GetZaxis()->SetLabelFont(42); hmean_Hino_525_Hyy_stack_5->GetZaxis()->SetTitleOffset(1); hmean_Hino_525_Hyy_stack_5->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Hino_525_Hyy_stack_5,""); Double_t xAxis34[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_925_Zee_stack_6 = new TH1F("hmean_Hino_925_Zee_stack_6","",20, xAxis34); hmean_Hino_925_Zee_stack_6->SetBinContent(1,1.089591); hmean_Hino_925_Zee_stack_6->SetBinContent(2,1.009179); hmean_Hino_925_Zee_stack_6->SetBinContent(3,17.51865); hmean_Hino_925_Zee_stack_6->SetBinContent(4,0.8346407); hmean_Hino_925_Zee_stack_6->SetBinContent(5,1.18731); hmean_Hino_925_Zee_stack_6->SetBinContent(6,0.9063567); hmean_Hino_925_Zee_stack_6->SetBinContent(7,0.488342); hmean_Hino_925_Zee_stack_6->SetBinContent(8,1.290267); hmean_Hino_925_Zee_stack_6->SetBinContent(9,1.691055); hmean_Hino_925_Zee_stack_6->SetBinContent(10,1.809677); hmean_Hino_925_Zee_stack_6->SetBinContent(11,3.10114); hmean_Hino_925_Zee_stack_6->SetBinContent(12,0.8012705); hmean_Hino_925_Zee_stack_6->SetBinContent(13,1.144861); hmean_Hino_925_Zee_stack_6->SetBinContent(14,0.5912527); hmean_Hino_925_Zee_stack_6->SetBinContent(15,1.239468); hmean_Hino_925_Zee_stack_6->SetBinContent(16,1.167993); hmean_Hino_925_Zee_stack_6->SetBinContent(17,1.015067); hmean_Hino_925_Zee_stack_6->SetBinContent(18,0.6249822); hmean_Hino_925_Zee_stack_6->SetBinContent(19,1.170127); hmean_Hino_925_Zee_stack_6->SetBinContent(20,1.103461); hmean_Hino_925_Zee_stack_6->SetBinError(1,0.01167667); hmean_Hino_925_Zee_stack_6->SetBinError(2,0.01302506); hmean_Hino_925_Zee_stack_6->SetBinError(3,1.151328); hmean_Hino_925_Zee_stack_6->SetBinError(4,0.02796441); hmean_Hino_925_Zee_stack_6->SetBinError(5,0.02095876); hmean_Hino_925_Zee_stack_6->SetBinError(6,0.03776562); hmean_Hino_925_Zee_stack_6->SetBinError(7,0.1499297); hmean_Hino_925_Zee_stack_6->SetBinError(8,0.05338861); hmean_Hino_925_Zee_stack_6->SetBinError(9,0.0728923); hmean_Hino_925_Zee_stack_6->SetBinError(10,0.07362381); hmean_Hino_925_Zee_stack_6->SetBinError(11,1.251073); hmean_Hino_925_Zee_stack_6->SetBinError(12,0.08979944); hmean_Hino_925_Zee_stack_6->SetBinError(13,0.03754239); hmean_Hino_925_Zee_stack_6->SetBinError(14,0.111099); hmean_Hino_925_Zee_stack_6->SetBinError(15,0.03824041); hmean_Hino_925_Zee_stack_6->SetBinError(16,0.02003861); hmean_Hino_925_Zee_stack_6->SetBinError(17,0.02428046); hmean_Hino_925_Zee_stack_6->SetBinError(18,0.6352087); hmean_Hino_925_Zee_stack_6->SetBinError(19,0.02522012); hmean_Hino_925_Zee_stack_6->SetBinError(20,0.01134288); hmean_Hino_925_Zee_stack_6->SetEntries(471.3188); ci = TColor::GetColor("#00ffff"); hmean_Hino_925_Zee_stack_6->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); hmean_Hino_925_Zee_stack_6->SetMarkerColor(ci); hmean_Hino_925_Zee_stack_6->SetMarkerStyle(26); hmean_Hino_925_Zee_stack_6->SetMarkerSize(2); hmean_Hino_925_Zee_stack_6->GetXaxis()->SetLabelFont(42); hmean_Hino_925_Zee_stack_6->GetXaxis()->SetTitleOffset(1); hmean_Hino_925_Zee_stack_6->GetXaxis()->SetTitleFont(42); hmean_Hino_925_Zee_stack_6->GetYaxis()->SetLabelFont(42); hmean_Hino_925_Zee_stack_6->GetYaxis()->SetTitleFont(42); hmean_Hino_925_Zee_stack_6->GetZaxis()->SetLabelFont(42); hmean_Hino_925_Zee_stack_6->GetZaxis()->SetTitleOffset(1); hmean_Hino_925_Zee_stack_6->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Hino_925_Zee_stack_6,""); Double_t xAxis35[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Zee_PVz_stack_7 = new TH1F("hmean_Zee_PVz_stack_7","",20, xAxis35); hmean_Zee_PVz_stack_7->SetBinContent(5,1.350792); hmean_Zee_PVz_stack_7->SetBinContent(6,0.8878847); hmean_Zee_PVz_stack_7->SetBinContent(7,0.9206917); hmean_Zee_PVz_stack_7->SetBinContent(8,0.9352635); hmean_Zee_PVz_stack_7->SetBinContent(9,1.012168); hmean_Zee_PVz_stack_7->SetBinContent(10,1.06521); hmean_Zee_PVz_stack_7->SetBinContent(11,1.034036); hmean_Zee_PVz_stack_7->SetBinContent(12,0.9852786); hmean_Zee_PVz_stack_7->SetBinContent(13,0.9049661); hmean_Zee_PVz_stack_7->SetBinContent(14,0.8847508); hmean_Zee_PVz_stack_7->SetBinContent(15,0.8935792); hmean_Zee_PVz_stack_7->SetBinContent(16,0.8866129); hmean_Zee_PVz_stack_7->SetBinError(5,0.09691206); hmean_Zee_PVz_stack_7->SetBinError(6,0.009004029); hmean_Zee_PVz_stack_7->SetBinError(7,0.008833107); hmean_Zee_PVz_stack_7->SetBinError(8,0.008107731); hmean_Zee_PVz_stack_7->SetBinError(9,0.01130635); hmean_Zee_PVz_stack_7->SetBinError(10,0.02116828); hmean_Zee_PVz_stack_7->SetBinError(11,0.1262035); hmean_Zee_PVz_stack_7->SetBinError(12,0.01901168); hmean_Zee_PVz_stack_7->SetBinError(13,0.008651817); hmean_Zee_PVz_stack_7->SetBinError(14,0.008388491); hmean_Zee_PVz_stack_7->SetBinError(15,0.009342239); hmean_Zee_PVz_stack_7->SetBinError(16,0.01804246); hmean_Zee_PVz_stack_7->SetEntries(5115.722); ci = TColor::GetColor("#ff0000"); hmean_Zee_PVz_stack_7->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); hmean_Zee_PVz_stack_7->SetMarkerColor(ci); hmean_Zee_PVz_stack_7->SetMarkerStyle(20); hmean_Zee_PVz_stack_7->SetMarkerSize(2); hmean_Zee_PVz_stack_7->GetXaxis()->SetLabelFont(42); hmean_Zee_PVz_stack_7->GetXaxis()->SetTitleOffset(1); hmean_Zee_PVz_stack_7->GetXaxis()->SetTitleFont(42); hmean_Zee_PVz_stack_7->GetYaxis()->SetLabelFont(42); hmean_Zee_PVz_stack_7->GetYaxis()->SetTitleFont(42); hmean_Zee_PVz_stack_7->GetZaxis()->SetLabelFont(42); hmean_Zee_PVz_stack_7->GetZaxis()->SetTitleOffset(1); hmean_Zee_PVz_stack_7->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Zee_PVz_stack_7,""); Double_t xAxis36[21] = {-750, -400, -300, -250, -200, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 200, 250, 300, 400, 750}; TH1F *hmean_Zee_truZ_stack_8 = new TH1F("hmean_Zee_truZ_stack_8","",20, xAxis36); hmean_Zee_truZ_stack_8->SetBinContent(5,1.395658); hmean_Zee_truZ_stack_8->SetBinContent(6,0.8925593); hmean_Zee_truZ_stack_8->SetBinContent(7,0.9260181); hmean_Zee_truZ_stack_8->SetBinContent(8,0.9339882); hmean_Zee_truZ_stack_8->SetBinContent(9,1.012284); hmean_Zee_truZ_stack_8->SetBinContent(10,1.064332); hmean_Zee_truZ_stack_8->SetBinContent(11,1.032458); hmean_Zee_truZ_stack_8->SetBinContent(12,0.9881164); hmean_Zee_truZ_stack_8->SetBinContent(13,0.9129112); hmean_Zee_truZ_stack_8->SetBinContent(14,0.8851047); hmean_Zee_truZ_stack_8->SetBinContent(15,0.8846719); hmean_Zee_truZ_stack_8->SetBinContent(16,0.8922055); hmean_Zee_truZ_stack_8->SetBinError(5,0.1049996); hmean_Zee_truZ_stack_8->SetBinError(6,0.009174382); hmean_Zee_truZ_stack_8->SetBinError(7,0.008884543); hmean_Zee_truZ_stack_8->SetBinError(8,0.008094475); hmean_Zee_truZ_stack_8->SetBinError(9,0.0113007); hmean_Zee_truZ_stack_8->SetBinError(10,0.02115111); hmean_Zee_truZ_stack_8->SetBinError(11,0.1260249); hmean_Zee_truZ_stack_8->SetBinError(12,0.01905833); hmean_Zee_truZ_stack_8->SetBinError(13,0.00872217); hmean_Zee_truZ_stack_8->SetBinError(14,0.008391256); hmean_Zee_truZ_stack_8->SetBinError(15,0.009205025); hmean_Zee_truZ_stack_8->SetBinError(16,0.01559452); hmean_Zee_truZ_stack_8->SetEntries(4894.111); ci = TColor::GetColor("#0000ff"); hmean_Zee_truZ_stack_8->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); hmean_Zee_truZ_stack_8->SetMarkerColor(ci); hmean_Zee_truZ_stack_8->SetMarkerStyle(20); hmean_Zee_truZ_stack_8->SetMarkerSize(2); hmean_Zee_truZ_stack_8->GetXaxis()->SetLabelFont(42); hmean_Zee_truZ_stack_8->GetXaxis()->SetTitleOffset(1); hmean_Zee_truZ_stack_8->GetXaxis()->SetTitleFont(42); hmean_Zee_truZ_stack_8->GetYaxis()->SetLabelFont(42); hmean_Zee_truZ_stack_8->GetYaxis()->SetTitleFont(42); hmean_Zee_truZ_stack_8->GetZaxis()->SetLabelFont(42); hmean_Zee_truZ_stack_8->GetZaxis()->SetTitleOffset(1); hmean_Zee_truZ_stack_8->GetZaxis()->SetTitleFont(42); hs_m_rat->Add(hmean_Zee_truZ_stack_8,""); hs_m_rat->Draw("nostack p"); TLegend *leg = new TLegend(0.65,0.7,0.82,0.88,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.03); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("hmean_Hino_135_2ns_stack_1","Hino_135_2ns","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00ff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(26); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Hino_135_10ns_stack_2","Hino_135_10ns","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#ffcc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ffcc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(26); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Hino_135_50ns_stack_3","Hino_135_50ns","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff00ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(26); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Hino_525_Zee_stack_4","Hino_525_Zee","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#cc00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#cc00ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(26); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Hino_525_Hyy_stack_5","Hino_525_Hyy","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#ffff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ffff00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(26); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Hino_925_Zee_stack_6","Hino_925_Zee","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#00ffff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00ffff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(26); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Zee_PVz_stack_7","Zee_PVz","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(2); entry->SetTextFont(42); entry=leg->AddEntry("hmean_Zee_truZ_stack_8","Zee_truZ","lpf"); entry->SetFillStyle(1001); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(2); entry->SetTextFont(42); leg->Draw(); TLatex * tex = new TLatex(0.14,0.84,"ATLAS"); tex->SetNDC(); tex->SetTextFont(72); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.25,0.84,"Internal"); tex->SetNDC(); tex->SetTextFont(42); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.14,0.8,"#sqrt{s} = 13 TeV"); tex->SetNDC(); tex->SetTextFont(42); tex->SetTextSize(0.03375); tex->SetLineWidth(2); tex->Draw(); c_m->Modified(); c_m->cd(); c_m->SetSelected(c_m); }