void PlotPointingResVrhoRat() { //=========Macro generated from canvas: c/c //========= (Thu May 26 10:35:30 2022) by ROOT version 6.20/06 TCanvas *c = new TCanvas("c", "c",0,0,1600,1200); gStyle->SetOptStat(0); c->Range(-937.5,-0.375,937.5,3.375); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); THStack *hs_rat = new THStack(); hs_rat->SetName("hs_rat"); hs_rat->SetTitle(";z_{origin} [mm];Ratio;"); hs_rat->SetMinimum(0); hs_rat->SetMaximum(3); Double_t xAxis15[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hs_rat_stack_3 = new TH1F("hs_rat_stack_3","",20, xAxis15); hs_rat_stack_3->SetMinimum(0); hs_rat_stack_3->SetMaximum(3); hs_rat_stack_3->SetDirectory(0); hs_rat_stack_3->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hs_rat_stack_3->SetLineColor(ci); hs_rat_stack_3->GetXaxis()->SetTitle("z_{origin} [mm]"); hs_rat_stack_3->GetXaxis()->SetLabelFont(42); hs_rat_stack_3->GetXaxis()->SetTitleOffset(1); hs_rat_stack_3->GetXaxis()->SetTitleFont(42); hs_rat_stack_3->GetYaxis()->SetTitle("Ratio"); hs_rat_stack_3->GetYaxis()->SetLabelFont(42); hs_rat_stack_3->GetYaxis()->SetTitleFont(42); hs_rat_stack_3->GetZaxis()->SetLabelFont(42); hs_rat_stack_3->GetZaxis()->SetTitleOffset(1); hs_rat_stack_3->GetZaxis()->SetTitleFont(42); hs_rat->SetHistogram(hs_rat_stack_3); Double_t xAxis16[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_325_Zee_stack_1 = new TH1F("hsig_Hino_325_Zee_stack_1","",20, xAxis16); hsig_Hino_325_Zee_stack_1->SetBinContent(1,1); hsig_Hino_325_Zee_stack_1->SetBinContent(2,1); hsig_Hino_325_Zee_stack_1->SetBinContent(3,1); hsig_Hino_325_Zee_stack_1->SetBinContent(4,1); hsig_Hino_325_Zee_stack_1->SetBinContent(5,1); hsig_Hino_325_Zee_stack_1->SetBinContent(6,1); hsig_Hino_325_Zee_stack_1->SetBinContent(7,1); hsig_Hino_325_Zee_stack_1->SetBinContent(8,1); hsig_Hino_325_Zee_stack_1->SetBinContent(9,1); hsig_Hino_325_Zee_stack_1->SetBinContent(10,1); hsig_Hino_325_Zee_stack_1->SetBinContent(11,1); hsig_Hino_325_Zee_stack_1->SetBinContent(12,1); hsig_Hino_325_Zee_stack_1->SetBinContent(13,1); hsig_Hino_325_Zee_stack_1->SetBinContent(14,1); hsig_Hino_325_Zee_stack_1->SetBinContent(15,1); hsig_Hino_325_Zee_stack_1->SetBinContent(16,1); hsig_Hino_325_Zee_stack_1->SetBinContent(17,1); hsig_Hino_325_Zee_stack_1->SetBinContent(18,1); hsig_Hino_325_Zee_stack_1->SetBinContent(19,1); hsig_Hino_325_Zee_stack_1->SetBinContent(20,1); hsig_Hino_325_Zee_stack_1->SetBinError(1,1.056324); hsig_Hino_325_Zee_stack_1->SetBinError(2,0.2876759); hsig_Hino_325_Zee_stack_1->SetBinError(3,0.1310694); hsig_Hino_325_Zee_stack_1->SetBinError(4,0.2466113); hsig_Hino_325_Zee_stack_1->SetBinError(5,0.1906539); hsig_Hino_325_Zee_stack_1->SetBinError(6,0.2034154); hsig_Hino_325_Zee_stack_1->SetBinError(7,0.1437248); hsig_Hino_325_Zee_stack_1->SetBinError(8,0.1557283); hsig_Hino_325_Zee_stack_1->SetBinError(9,0.1757282); hsig_Hino_325_Zee_stack_1->SetBinError(10,0.1594254); hsig_Hino_325_Zee_stack_1->SetBinError(11,0.1941675); hsig_Hino_325_Zee_stack_1->SetBinError(12,0.1733887); hsig_Hino_325_Zee_stack_1->SetBinError(13,0.1351267); hsig_Hino_325_Zee_stack_1->SetBinError(14,0.1719467); hsig_Hino_325_Zee_stack_1->SetBinError(15,0.2921795); hsig_Hino_325_Zee_stack_1->SetBinError(16,0.2396423); hsig_Hino_325_Zee_stack_1->SetBinError(17,0.1922938); hsig_Hino_325_Zee_stack_1->SetBinError(18,0.1558729); hsig_Hino_325_Zee_stack_1->SetBinError(19,0.1361417); hsig_Hino_325_Zee_stack_1->SetBinError(20,0.4894749); hsig_Hino_325_Zee_stack_1->SetEntries(196.7259); ci = TColor::GetColor("#00ff00"); hsig_Hino_325_Zee_stack_1->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); hsig_Hino_325_Zee_stack_1->SetMarkerColor(ci); hsig_Hino_325_Zee_stack_1->SetMarkerStyle(26); hsig_Hino_325_Zee_stack_1->SetMarkerSize(2); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetTitle("Pointing Resolution [mm]"); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetLabelFont(42); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetTitleOffset(1); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetTitleFont(42); hsig_Hino_325_Zee_stack_1->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_325_Zee_stack_1->GetYaxis()->SetLabelFont(42); hsig_Hino_325_Zee_stack_1->GetYaxis()->SetTitleFont(42); hsig_Hino_325_Zee_stack_1->GetZaxis()->SetLabelFont(42); hsig_Hino_325_Zee_stack_1->GetZaxis()->SetTitleOffset(1); hsig_Hino_325_Zee_stack_1->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_325_Zee_stack_1,""); Double_t xAxis17[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_325_Hyy_stack_2 = new TH1F("hsig_Hino_325_Hyy_stack_2","",20, xAxis17); hsig_Hino_325_Hyy_stack_2->SetBinContent(1,0.2695296); hsig_Hino_325_Hyy_stack_2->SetBinContent(2,1.194053); hsig_Hino_325_Hyy_stack_2->SetBinContent(3,1.063338); hsig_Hino_325_Hyy_stack_2->SetBinContent(4,0.7237965); hsig_Hino_325_Hyy_stack_2->SetBinContent(5,0.9210425); hsig_Hino_325_Hyy_stack_2->SetBinContent(6,0.9768966); hsig_Hino_325_Hyy_stack_2->SetBinContent(7,0.790255); hsig_Hino_325_Hyy_stack_2->SetBinContent(8,0.8412617); hsig_Hino_325_Hyy_stack_2->SetBinContent(9,0.8861221); hsig_Hino_325_Hyy_stack_2->SetBinContent(10,0.8702306); hsig_Hino_325_Hyy_stack_2->SetBinContent(11,0.5435917); hsig_Hino_325_Hyy_stack_2->SetBinContent(12,0.8261738); hsig_Hino_325_Hyy_stack_2->SetBinContent(13,0.8379564); hsig_Hino_325_Hyy_stack_2->SetBinContent(14,1.759707); hsig_Hino_325_Hyy_stack_2->SetBinContent(15,0.8940784); hsig_Hino_325_Hyy_stack_2->SetBinContent(16,1.211454); hsig_Hino_325_Hyy_stack_2->SetBinContent(17,0.9310917); hsig_Hino_325_Hyy_stack_2->SetBinContent(18,0.6570774); hsig_Hino_325_Hyy_stack_2->SetBinContent(19,2.279743); hsig_Hino_325_Hyy_stack_2->SetBinContent(20,1.137425); hsig_Hino_325_Hyy_stack_2->SetBinError(1,0.5883039); hsig_Hino_325_Hyy_stack_2->SetBinError(2,0.4563402); hsig_Hino_325_Hyy_stack_2->SetBinError(3,0.1655); hsig_Hino_325_Hyy_stack_2->SetBinError(4,0.1998363); hsig_Hino_325_Hyy_stack_2->SetBinError(5,0.1632028); hsig_Hino_325_Hyy_stack_2->SetBinError(6,0.199062); hsig_Hino_325_Hyy_stack_2->SetBinError(7,0.163622); hsig_Hino_325_Hyy_stack_2->SetBinError(8,0.1499773); hsig_Hino_325_Hyy_stack_2->SetBinError(9,0.1278418); hsig_Hino_325_Hyy_stack_2->SetBinError(10,0.1145864); hsig_Hino_325_Hyy_stack_2->SetBinError(11,0.5729413); hsig_Hino_325_Hyy_stack_2->SetBinError(12,0.1148648); hsig_Hino_325_Hyy_stack_2->SetBinError(13,0.1280924); hsig_Hino_325_Hyy_stack_2->SetBinError(14,0.3836224); hsig_Hino_325_Hyy_stack_2->SetBinError(15,0.229551); hsig_Hino_325_Hyy_stack_2->SetBinError(16,0.2614017); hsig_Hino_325_Hyy_stack_2->SetBinError(17,0.2643712); hsig_Hino_325_Hyy_stack_2->SetBinError(18,0.09866853); hsig_Hino_325_Hyy_stack_2->SetBinError(19,0.8172302); hsig_Hino_325_Hyy_stack_2->SetBinError(20,0.8967776); hsig_Hino_325_Hyy_stack_2->SetEntries(130.6675); ci = TColor::GetColor("#ffcc00"); hsig_Hino_325_Hyy_stack_2->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); hsig_Hino_325_Hyy_stack_2->SetMarkerColor(ci); hsig_Hino_325_Hyy_stack_2->SetMarkerStyle(26); hsig_Hino_325_Hyy_stack_2->SetMarkerSize(2); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetTitle("Pointing Resolution [mm]"); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetLabelFont(42); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetTitleOffset(1); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetTitleFont(42); hsig_Hino_325_Hyy_stack_2->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_325_Hyy_stack_2->GetYaxis()->SetLabelFont(42); hsig_Hino_325_Hyy_stack_2->GetYaxis()->SetTitleFont(42); hsig_Hino_325_Hyy_stack_2->GetZaxis()->SetLabelFont(42); hsig_Hino_325_Hyy_stack_2->GetZaxis()->SetTitleOffset(1); hsig_Hino_325_Hyy_stack_2->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_325_Hyy_stack_2,""); Double_t xAxis18[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_135_Zee_stack_3 = new TH1F("hsig_Hino_135_Zee_stack_3","",20, xAxis18); hsig_Hino_135_Zee_stack_3->SetBinContent(1,0.6486564); hsig_Hino_135_Zee_stack_3->SetBinContent(2,3.613258); hsig_Hino_135_Zee_stack_3->SetBinContent(3,1.088111); hsig_Hino_135_Zee_stack_3->SetBinContent(4,0.7479925); hsig_Hino_135_Zee_stack_3->SetBinContent(5,1.350313); hsig_Hino_135_Zee_stack_3->SetBinContent(6,1.32434); hsig_Hino_135_Zee_stack_3->SetBinContent(7,1.39111); hsig_Hino_135_Zee_stack_3->SetBinContent(8,1.198502); hsig_Hino_135_Zee_stack_3->SetBinContent(9,0.9156978); hsig_Hino_135_Zee_stack_3->SetBinContent(10,1.081848); hsig_Hino_135_Zee_stack_3->SetBinContent(11,1.075422); hsig_Hino_135_Zee_stack_3->SetBinContent(12,1.382114); hsig_Hino_135_Zee_stack_3->SetBinContent(13,1.026756); hsig_Hino_135_Zee_stack_3->SetBinContent(14,1.853438); hsig_Hino_135_Zee_stack_3->SetBinContent(15,0.8876681); hsig_Hino_135_Zee_stack_3->SetBinContent(16,1.133926); hsig_Hino_135_Zee_stack_3->SetBinContent(17,0.9857561); hsig_Hino_135_Zee_stack_3->SetBinContent(18,0.5308089); hsig_Hino_135_Zee_stack_3->SetBinContent(19,1.619067); hsig_Hino_135_Zee_stack_3->SetBinContent(20,0.9650451); hsig_Hino_135_Zee_stack_3->SetBinError(1,0.7503205); hsig_Hino_135_Zee_stack_3->SetBinError(2,7.290997); hsig_Hino_135_Zee_stack_3->SetBinError(3,0.2961584); hsig_Hino_135_Zee_stack_3->SetBinError(4,0.2725354); hsig_Hino_135_Zee_stack_3->SetBinError(5,0.3300239); hsig_Hino_135_Zee_stack_3->SetBinError(6,0.3248327); hsig_Hino_135_Zee_stack_3->SetBinError(7,0.2353051); hsig_Hino_135_Zee_stack_3->SetBinError(8,0.1787505); hsig_Hino_135_Zee_stack_3->SetBinError(9,0.1484964); hsig_Hino_135_Zee_stack_3->SetBinError(10,0.1846702); hsig_Hino_135_Zee_stack_3->SetBinError(11,0.1694987); hsig_Hino_135_Zee_stack_3->SetBinError(12,0.2371386); hsig_Hino_135_Zee_stack_3->SetBinError(13,0.1440954); hsig_Hino_135_Zee_stack_3->SetBinError(14,0.3483397); hsig_Hino_135_Zee_stack_3->SetBinError(15,0.2388066); hsig_Hino_135_Zee_stack_3->SetBinError(16,0.2889311); hsig_Hino_135_Zee_stack_3->SetBinError(17,0.1879685); hsig_Hino_135_Zee_stack_3->SetBinError(18,0.1038721); hsig_Hino_135_Zee_stack_3->SetBinError(19,1.199645); hsig_Hino_135_Zee_stack_3->SetBinError(20,0.9331794); hsig_Hino_135_Zee_stack_3->SetEntries(10.81404); ci = TColor::GetColor("#ff00ff"); hsig_Hino_135_Zee_stack_3->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); hsig_Hino_135_Zee_stack_3->SetMarkerColor(ci); hsig_Hino_135_Zee_stack_3->SetMarkerStyle(26); hsig_Hino_135_Zee_stack_3->SetMarkerSize(2); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetTitle("Pointing Resolution [mm]"); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetLabelFont(42); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetTitleOffset(1); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetTitleFont(42); hsig_Hino_135_Zee_stack_3->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_135_Zee_stack_3->GetYaxis()->SetLabelFont(42); hsig_Hino_135_Zee_stack_3->GetYaxis()->SetTitleFont(42); hsig_Hino_135_Zee_stack_3->GetZaxis()->SetLabelFont(42); hsig_Hino_135_Zee_stack_3->GetZaxis()->SetTitleOffset(1); hsig_Hino_135_Zee_stack_3->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_135_Zee_stack_3,""); Double_t xAxis19[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_135_2ns_stack_4 = new TH1F("hsig_Hino_135_2ns_stack_4","",20, xAxis19); hsig_Hino_135_2ns_stack_4->SetBinContent(1,1.088912); hsig_Hino_135_2ns_stack_4->SetBinContent(2,2.631369); hsig_Hino_135_2ns_stack_4->SetBinContent(3,0.7032857); hsig_Hino_135_2ns_stack_4->SetBinContent(4,0.7320089); hsig_Hino_135_2ns_stack_4->SetBinContent(5,1.5501); hsig_Hino_135_2ns_stack_4->SetBinContent(6,1.17324); hsig_Hino_135_2ns_stack_4->SetBinContent(7,0.8224273); hsig_Hino_135_2ns_stack_4->SetBinContent(8,0.8279137); hsig_Hino_135_2ns_stack_4->SetBinContent(9,0.9486414); hsig_Hino_135_2ns_stack_4->SetBinContent(10,0.9351106); hsig_Hino_135_2ns_stack_4->SetBinContent(11,1.003638); hsig_Hino_135_2ns_stack_4->SetBinContent(12,0.8649384); hsig_Hino_135_2ns_stack_4->SetBinContent(13,0.7892858); hsig_Hino_135_2ns_stack_4->SetBinContent(14,1.37197); hsig_Hino_135_2ns_stack_4->SetBinContent(15,0.9775373); hsig_Hino_135_2ns_stack_4->SetBinContent(16,1.343349); hsig_Hino_135_2ns_stack_4->SetBinContent(17,0.8802284); hsig_Hino_135_2ns_stack_4->SetBinContent(18,0.704829); hsig_Hino_135_2ns_stack_4->SetBinContent(19,1.014846); hsig_Hino_135_2ns_stack_4->SetBinContent(20,1.371489); hsig_Hino_135_2ns_stack_4->SetBinError(1,1.099321); hsig_Hino_135_2ns_stack_4->SetBinError(2,1.879957); hsig_Hino_135_2ns_stack_4->SetBinError(3,0.1142717); hsig_Hino_135_2ns_stack_4->SetBinError(4,0.2159998); hsig_Hino_135_2ns_stack_4->SetBinError(5,0.4956976); hsig_Hino_135_2ns_stack_4->SetBinError(6,0.2108856); hsig_Hino_135_2ns_stack_4->SetBinError(7,0.153545); hsig_Hino_135_2ns_stack_4->SetBinError(8,0.1273323); hsig_Hino_135_2ns_stack_4->SetBinError(9,0.1338457); hsig_Hino_135_2ns_stack_4->SetBinError(10,0.1184453); hsig_Hino_135_2ns_stack_4->SetBinError(11,0.1442982); hsig_Hino_135_2ns_stack_4->SetBinError(12,0.1158355); hsig_Hino_135_2ns_stack_4->SetBinError(13,0.09787534); hsig_Hino_135_2ns_stack_4->SetBinError(14,0.2114029); hsig_Hino_135_2ns_stack_4->SetBinError(15,0.2411159); hsig_Hino_135_2ns_stack_4->SetBinError(16,0.2853559); hsig_Hino_135_2ns_stack_4->SetBinError(17,0.254079); hsig_Hino_135_2ns_stack_4->SetBinError(18,0.1266272); hsig_Hino_135_2ns_stack_4->SetBinError(19,0.4462929); hsig_Hino_135_2ns_stack_4->SetBinError(20,1.482276); hsig_Hino_135_2ns_stack_4->SetEntries(60.03221); ci = TColor::GetColor("#cc00ff"); hsig_Hino_135_2ns_stack_4->SetLineColor(ci); ci = TColor::GetColor("#cc00ff"); hsig_Hino_135_2ns_stack_4->SetMarkerColor(ci); hsig_Hino_135_2ns_stack_4->SetMarkerStyle(26); hsig_Hino_135_2ns_stack_4->SetMarkerSize(2); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetTitle("Pointing Resolution [mm]"); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetLabelFont(42); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetTitleOffset(1); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetTitleFont(42); hsig_Hino_135_2ns_stack_4->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_135_2ns_stack_4->GetYaxis()->SetLabelFont(42); hsig_Hino_135_2ns_stack_4->GetYaxis()->SetTitleFont(42); hsig_Hino_135_2ns_stack_4->GetZaxis()->SetLabelFont(42); hsig_Hino_135_2ns_stack_4->GetZaxis()->SetTitleOffset(1); hsig_Hino_135_2ns_stack_4->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_135_2ns_stack_4,""); Double_t xAxis20[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Zee_PVz_stack_5 = new TH1F("hsig_Zee_PVz_stack_5","",20, xAxis20); hsig_Zee_PVz_stack_5->SetBinContent(4,0.6681882); hsig_Zee_PVz_stack_5->SetBinContent(5,0.9268607); hsig_Zee_PVz_stack_5->SetBinContent(6,0.8600103); hsig_Zee_PVz_stack_5->SetBinContent(7,0.9390245); hsig_Zee_PVz_stack_5->SetBinContent(8,0.8937213); hsig_Zee_PVz_stack_5->SetBinContent(9,1.050745); hsig_Zee_PVz_stack_5->SetBinContent(10,1.013283); hsig_Zee_PVz_stack_5->SetBinContent(11,0.9418296); hsig_Zee_PVz_stack_5->SetBinContent(12,1.008869); hsig_Zee_PVz_stack_5->SetBinContent(13,0.9548346); hsig_Zee_PVz_stack_5->SetBinContent(14,1.314494); hsig_Zee_PVz_stack_5->SetBinContent(15,0.7354777); hsig_Zee_PVz_stack_5->SetBinContent(16,0.871796); hsig_Zee_PVz_stack_5->SetBinContent(17,0.7706534); hsig_Zee_PVz_stack_5->SetBinContent(18,0.3567861); hsig_Zee_PVz_stack_5->SetBinError(4,0.1549254); hsig_Zee_PVz_stack_5->SetBinError(5,0.1324317); hsig_Zee_PVz_stack_5->SetBinError(6,0.127127); hsig_Zee_PVz_stack_5->SetBinError(7,0.09709548); hsig_Zee_PVz_stack_5->SetBinError(8,0.09878302); hsig_Zee_PVz_stack_5->SetBinError(9,0.1311588); hsig_Zee_PVz_stack_5->SetBinError(10,0.1146384); hsig_Zee_PVz_stack_5->SetBinError(11,0.1297023); hsig_Zee_PVz_stack_5->SetBinError(12,0.1241689); hsig_Zee_PVz_stack_5->SetBinError(13,0.09294904); hsig_Zee_PVz_stack_5->SetBinError(14,0.1610571); hsig_Zee_PVz_stack_5->SetBinError(15,0.1538242); hsig_Zee_PVz_stack_5->SetBinError(16,0.1525453); hsig_Zee_PVz_stack_5->SetBinError(17,0.1310567); hsig_Zee_PVz_stack_5->SetBinError(18,0.07663769); hsig_Zee_PVz_stack_5->SetEntries(725.58); ci = TColor::GetColor("#ff0000"); hsig_Zee_PVz_stack_5->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); hsig_Zee_PVz_stack_5->SetMarkerColor(ci); hsig_Zee_PVz_stack_5->SetMarkerStyle(20); hsig_Zee_PVz_stack_5->SetMarkerSize(2); hsig_Zee_PVz_stack_5->GetXaxis()->SetTitle("Pointing Resolution [mm]"); hsig_Zee_PVz_stack_5->GetXaxis()->SetLabelFont(42); hsig_Zee_PVz_stack_5->GetXaxis()->SetTitleOffset(1); hsig_Zee_PVz_stack_5->GetXaxis()->SetTitleFont(42); hsig_Zee_PVz_stack_5->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Zee_PVz_stack_5->GetYaxis()->SetLabelFont(42); hsig_Zee_PVz_stack_5->GetYaxis()->SetTitleFont(42); hsig_Zee_PVz_stack_5->GetZaxis()->SetLabelFont(42); hsig_Zee_PVz_stack_5->GetZaxis()->SetTitleOffset(1); hsig_Zee_PVz_stack_5->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Zee_PVz_stack_5,""); Double_t xAxis21[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Zee_truZ_stack_6 = new TH1F("hsig_Zee_truZ_stack_6","",20, xAxis21); hsig_Zee_truZ_stack_6->SetBinContent(4,0.6689659); hsig_Zee_truZ_stack_6->SetBinContent(5,0.9199465); hsig_Zee_truZ_stack_6->SetBinContent(6,0.8619145); hsig_Zee_truZ_stack_6->SetBinContent(7,0.9365817); hsig_Zee_truZ_stack_6->SetBinContent(8,0.8936406); hsig_Zee_truZ_stack_6->SetBinContent(9,1.051085); hsig_Zee_truZ_stack_6->SetBinContent(10,1.013706); hsig_Zee_truZ_stack_6->SetBinContent(11,0.9381415); hsig_Zee_truZ_stack_6->SetBinContent(12,1.011969); hsig_Zee_truZ_stack_6->SetBinContent(13,0.9553351); hsig_Zee_truZ_stack_6->SetBinContent(14,1.31275); hsig_Zee_truZ_stack_6->SetBinContent(15,0.7378516); hsig_Zee_truZ_stack_6->SetBinContent(16,0.8682896); hsig_Zee_truZ_stack_6->SetBinContent(17,0.7499631); hsig_Zee_truZ_stack_6->SetBinContent(18,0.3556593); hsig_Zee_truZ_stack_6->SetBinError(4,0.1552996); hsig_Zee_truZ_stack_6->SetBinError(5,0.1312904); hsig_Zee_truZ_stack_6->SetBinError(6,0.1252949); hsig_Zee_truZ_stack_6->SetBinError(7,0.09682199); hsig_Zee_truZ_stack_6->SetBinError(8,0.09877482); hsig_Zee_truZ_stack_6->SetBinError(9,0.1311997); hsig_Zee_truZ_stack_6->SetBinError(10,0.1146855); hsig_Zee_truZ_stack_6->SetBinError(11,0.129189); hsig_Zee_truZ_stack_6->SetBinError(12,0.1245566); hsig_Zee_truZ_stack_6->SetBinError(13,0.09299955); hsig_Zee_truZ_stack_6->SetBinError(14,0.1608363); hsig_Zee_truZ_stack_6->SetBinError(15,0.1543523); hsig_Zee_truZ_stack_6->SetBinError(16,0.1518785); hsig_Zee_truZ_stack_6->SetBinError(17,0.1252909); hsig_Zee_truZ_stack_6->SetBinError(18,0.07570049); hsig_Zee_truZ_stack_6->SetEntries(729.5213); TF1 *f12 = new TF1("f1","([3]*x)^4 + ([0]*x)^2 + [2]",-700,700, TF1::EAddToList::kDefault); f12->SetFillColor(19); f12->SetFillStyle(0); f12->SetLineColor(2); f12->SetLineWidth(2); f12->SetChisquare(85.70872); f12->SetNDF(11); f12->GetXaxis()->SetLabelFont(42); f12->GetXaxis()->SetTitleOffset(1); f12->GetXaxis()->SetTitleFont(42); f12->GetYaxis()->SetLabelFont(42); f12->GetYaxis()->SetTitleFont(42); f12->SetParameter(0,0.02503223); f12->SetParError(0,0.000455793); f12->SetParLimits(0,0,0); f12->SetParameter(1,0); f12->SetParError(1,1.414214); f12->SetParLimits(1,0,0); f12->SetParameter(2,11.11838); f12->SetParError(2,0.06080491); f12->SetParLimits(2,0,0); f12->SetParameter(3,0); f12->SetParError(3,0.01036201); f12->SetParLimits(3,0,0); f12->SetParent(hsig_Zee_truZ_stack_6); hsig_Zee_truZ_stack_6->GetListOfFunctions()->Add(f12); ci = TColor::GetColor("#0000ff"); hsig_Zee_truZ_stack_6->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); hsig_Zee_truZ_stack_6->SetMarkerColor(ci); hsig_Zee_truZ_stack_6->SetMarkerStyle(20); hsig_Zee_truZ_stack_6->SetMarkerSize(2); hsig_Zee_truZ_stack_6->GetXaxis()->SetTitle("Pointing Resolution [mm]"); hsig_Zee_truZ_stack_6->GetXaxis()->SetLabelFont(42); hsig_Zee_truZ_stack_6->GetXaxis()->SetTitleOffset(1); hsig_Zee_truZ_stack_6->GetXaxis()->SetTitleFont(42); hsig_Zee_truZ_stack_6->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Zee_truZ_stack_6->GetYaxis()->SetLabelFont(42); hsig_Zee_truZ_stack_6->GetYaxis()->SetTitleFont(42); hsig_Zee_truZ_stack_6->GetZaxis()->SetLabelFont(42); hsig_Zee_truZ_stack_6->GetZaxis()->SetTitleOffset(1); hsig_Zee_truZ_stack_6->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Zee_truZ_stack_6,""); hs_rat->Draw("nostack p"); TLegend *leg = new TLegend(0.45,0.7,0.62,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("hsig_Hino_325_Zee_stack_1","Hino_325_Zee","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("hsig_Hino_325_Hyy_stack_2","Hino_325_Hyy","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("hsig_Hino_135_Zee_stack_3","Hino_135_Zee","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("hsig_Hino_135_2ns_stack_4","Hino_135_2ns","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("hsig_Zee_PVz_stack_5","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("hsig_Zee_truZ_stack_6","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); entry=leg->AddEntry("f1","(2.5e-02z)^{4} + (0.0e+00z)^{2} + 11.1","lpf"); entry->SetFillColor(19); entry->SetLineColor(2); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(1); entry->SetMarkerSize(1); 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->Modified(); c->cd(); c->SetSelected(c); }