void PlotPointingBiasVrho() { //=========Macro generated from canvas: c_m/c //========= (Thu May 26 10:35:30 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,-250,937.5,250); c_m->SetFillColor(0); c_m->SetBorderMode(0); c_m->SetBorderSize(2); c_m->SetFrameBorderMode(0); c_m->SetFrameBorderMode(0); THStack *hs_m = new THStack(); hs_m->SetName("hs_m"); hs_m->SetTitle(";z_{origin} [mm]; Pointing Resolution [mm];"); hs_m->SetMinimum(-200); hs_m->SetMaximum(200); Double_t xAxis8[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hs_m_stack_2 = new TH1F("hs_m_stack_2","",20, xAxis8); hs_m_stack_2->SetMinimum(-200); hs_m_stack_2->SetMaximum(200); hs_m_stack_2->SetDirectory(0); hs_m_stack_2->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hs_m_stack_2->SetLineColor(ci); hs_m_stack_2->GetXaxis()->SetTitle("z_{origin} [mm]"); hs_m_stack_2->GetXaxis()->SetLabelFont(42); hs_m_stack_2->GetXaxis()->SetTitleOffset(1); hs_m_stack_2->GetXaxis()->SetTitleFont(42); hs_m_stack_2->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hs_m_stack_2->GetYaxis()->SetLabelFont(42); hs_m_stack_2->GetYaxis()->SetTitleFont(42); hs_m_stack_2->GetZaxis()->SetLabelFont(42); hs_m_stack_2->GetZaxis()->SetTitleOffset(1); hs_m_stack_2->GetZaxis()->SetTitleFont(42); hs_m->SetHistogram(hs_m_stack_2); Double_t xAxis9[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hmean_Hino_325_Zee_stack_1 = new TH1F("hmean_Hino_325_Zee_stack_1","",20, xAxis9); hmean_Hino_325_Zee_stack_1->SetBinContent(1,2009.584); hmean_Hino_325_Zee_stack_1->SetBinContent(2,93.72652); hmean_Hino_325_Zee_stack_1->SetBinContent(3,47.70284); hmean_Hino_325_Zee_stack_1->SetBinContent(4,27.19387); hmean_Hino_325_Zee_stack_1->SetBinContent(5,24.1464); hmean_Hino_325_Zee_stack_1->SetBinContent(6,23.66312); hmean_Hino_325_Zee_stack_1->SetBinContent(7,17.34575); hmean_Hino_325_Zee_stack_1->SetBinContent(8,13.09751); hmean_Hino_325_Zee_stack_1->SetBinContent(9,9.342493); hmean_Hino_325_Zee_stack_1->SetBinContent(10,2.658282); hmean_Hino_325_Zee_stack_1->SetBinContent(11,-1.667063); hmean_Hino_325_Zee_stack_1->SetBinContent(12,-5.697545); hmean_Hino_325_Zee_stack_1->SetBinContent(13,-11.16194); hmean_Hino_325_Zee_stack_1->SetBinContent(14,-17.21624); hmean_Hino_325_Zee_stack_1->SetBinContent(15,-20.7745); hmean_Hino_325_Zee_stack_1->SetBinContent(16,-20.32885); hmean_Hino_325_Zee_stack_1->SetBinContent(17,-30.69186); hmean_Hino_325_Zee_stack_1->SetBinContent(18,-45.39977); hmean_Hino_325_Zee_stack_1->SetBinContent(19,-96.37799); hmean_Hino_325_Zee_stack_1->SetBinContent(20,-180.4474); hmean_Hino_325_Zee_stack_1->SetBinError(1,959.852); hmean_Hino_325_Zee_stack_1->SetBinError(2,11.39501); hmean_Hino_325_Zee_stack_1->SetBinError(3,3.318217); hmean_Hino_325_Zee_stack_1->SetBinError(4,5.251774); hmean_Hino_325_Zee_stack_1->SetBinError(5,2.331955); hmean_Hino_325_Zee_stack_1->SetBinError(6,2.495604); hmean_Hino_325_Zee_stack_1->SetBinError(7,1.48886); hmean_Hino_325_Zee_stack_1->SetBinError(8,1.345236); hmean_Hino_325_Zee_stack_1->SetBinError(9,1.180036); hmean_Hino_325_Zee_stack_1->SetBinError(10,1.069308); hmean_Hino_325_Zee_stack_1->SetBinError(11,1.4337); hmean_Hino_325_Zee_stack_1->SetBinError(12,1.014659); hmean_Hino_325_Zee_stack_1->SetBinError(13,1.1278); hmean_Hino_325_Zee_stack_1->SetBinError(14,1.027542); hmean_Hino_325_Zee_stack_1->SetBinError(15,2.806959); hmean_Hino_325_Zee_stack_1->SetBinError(16,2.658535); hmean_Hino_325_Zee_stack_1->SetBinError(17,3.12642); hmean_Hino_325_Zee_stack_1->SetBinError(18,4.160892); hmean_Hino_325_Zee_stack_1->SetBinError(19,7.346848); hmean_Hino_325_Zee_stack_1->SetBinError(20,35.68309); hmean_Hino_325_Zee_stack_1->SetEntries(20); ci = TColor::GetColor("#00ff00"); hmean_Hino_325_Zee_stack_1->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); hmean_Hino_325_Zee_stack_1->SetMarkerColor(ci); hmean_Hino_325_Zee_stack_1->SetMarkerStyle(26); hmean_Hino_325_Zee_stack_1->SetMarkerSize(2); hmean_Hino_325_Zee_stack_1->GetXaxis()->SetLabelFont(42); hmean_Hino_325_Zee_stack_1->GetXaxis()->SetTitleOffset(1); hmean_Hino_325_Zee_stack_1->GetXaxis()->SetTitleFont(42); hmean_Hino_325_Zee_stack_1->GetYaxis()->SetLabelFont(42); hmean_Hino_325_Zee_stack_1->GetYaxis()->SetTitleFont(42); hmean_Hino_325_Zee_stack_1->GetZaxis()->SetLabelFont(42); hmean_Hino_325_Zee_stack_1->GetZaxis()->SetTitleOffset(1); hmean_Hino_325_Zee_stack_1->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_325_Zee_stack_1,""); Double_t xAxis10[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hmean_Hino_325_Hyy_stack_2 = new TH1F("hmean_Hino_325_Hyy_stack_2","",20, xAxis10); hmean_Hino_325_Hyy_stack_2->SetBinContent(1,280.8167); hmean_Hino_325_Hyy_stack_2->SetBinContent(2,95.84351); hmean_Hino_325_Hyy_stack_2->SetBinContent(3,43.47033); hmean_Hino_325_Hyy_stack_2->SetBinContent(4,20.50397); hmean_Hino_325_Hyy_stack_2->SetBinContent(5,23.18095); hmean_Hino_325_Hyy_stack_2->SetBinContent(6,15.44048); hmean_Hino_325_Hyy_stack_2->SetBinContent(7,15.58989); hmean_Hino_325_Hyy_stack_2->SetBinContent(8,11.51202); hmean_Hino_325_Hyy_stack_2->SetBinContent(9,7.172653); hmean_Hino_325_Hyy_stack_2->SetBinContent(10,3.729468); hmean_Hino_325_Hyy_stack_2->SetBinContent(11,-0.6171139); hmean_Hino_325_Hyy_stack_2->SetBinContent(12,-5.278573); hmean_Hino_325_Hyy_stack_2->SetBinContent(13,-8.12499); hmean_Hino_325_Hyy_stack_2->SetBinContent(14,-10.32803); hmean_Hino_325_Hyy_stack_2->SetBinContent(15,-13.83791); hmean_Hino_325_Hyy_stack_2->SetBinContent(16,-17.25525); hmean_Hino_325_Hyy_stack_2->SetBinContent(17,-22.47862); hmean_Hino_325_Hyy_stack_2->SetBinContent(18,-38.37549); hmean_Hino_325_Hyy_stack_2->SetBinContent(19,-98.60677); hmean_Hino_325_Hyy_stack_2->SetBinContent(20,-198.4055); hmean_Hino_325_Hyy_stack_2->SetBinError(1,384.2177); hmean_Hino_325_Hyy_stack_2->SetBinError(2,22.18941); hmean_Hino_325_Hyy_stack_2->SetBinError(3,4.873038); hmean_Hino_325_Hyy_stack_2->SetBinError(4,4.636691); hmean_Hino_325_Hyy_stack_2->SetBinError(5,2.208854); hmean_Hino_325_Hyy_stack_2->SetBinError(6,2.09586); hmean_Hino_325_Hyy_stack_2->SetBinError(7,1.590372); hmean_Hino_325_Hyy_stack_2->SetBinError(8,1.647174); hmean_Hino_325_Hyy_stack_2->SetBinError(9,0.6372507); hmean_Hino_325_Hyy_stack_2->SetBinError(10,0.6116024); hmean_Hino_325_Hyy_stack_2->SetBinError(11,1.381043); hmean_Hino_325_Hyy_stack_2->SetBinError(12,0.5806789); hmean_Hino_325_Hyy_stack_2->SetBinError(13,1.044662); hmean_Hino_325_Hyy_stack_2->SetBinError(14,2.242378); hmean_Hino_325_Hyy_stack_2->SetBinError(15,2.391582); hmean_Hino_325_Hyy_stack_2->SetBinError(16,3.01188); hmean_Hino_325_Hyy_stack_2->SetBinError(17,4.18556); hmean_Hino_325_Hyy_stack_2->SetBinError(18,3.337987); hmean_Hino_325_Hyy_stack_2->SetBinError(19,39.51315); hmean_Hino_325_Hyy_stack_2->SetBinError(20,70.47538); hmean_Hino_325_Hyy_stack_2->SetEntries(20); ci = TColor::GetColor("#ffcc00"); hmean_Hino_325_Hyy_stack_2->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); hmean_Hino_325_Hyy_stack_2->SetMarkerColor(ci); hmean_Hino_325_Hyy_stack_2->SetMarkerStyle(26); hmean_Hino_325_Hyy_stack_2->SetMarkerSize(2); hmean_Hino_325_Hyy_stack_2->GetXaxis()->SetLabelFont(42); hmean_Hino_325_Hyy_stack_2->GetXaxis()->SetTitleOffset(1); hmean_Hino_325_Hyy_stack_2->GetXaxis()->SetTitleFont(42); hmean_Hino_325_Hyy_stack_2->GetYaxis()->SetLabelFont(42); hmean_Hino_325_Hyy_stack_2->GetYaxis()->SetTitleFont(42); hmean_Hino_325_Hyy_stack_2->GetZaxis()->SetLabelFont(42); hmean_Hino_325_Hyy_stack_2->GetZaxis()->SetTitleOffset(1); hmean_Hino_325_Hyy_stack_2->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_325_Hyy_stack_2,""); Double_t xAxis11[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hmean_Hino_135_Zee_stack_3 = new TH1F("hmean_Hino_135_Zee_stack_3","",20, xAxis11); hmean_Hino_135_Zee_stack_3->SetBinContent(1,2157.848); hmean_Hino_135_Zee_stack_3->SetBinContent(2,133.1348); hmean_Hino_135_Zee_stack_3->SetBinContent(3,52.03158); hmean_Hino_135_Zee_stack_3->SetBinContent(4,23.78981); hmean_Hino_135_Zee_stack_3->SetBinContent(5,32.2921); hmean_Hino_135_Zee_stack_3->SetBinContent(6,22.24622); hmean_Hino_135_Zee_stack_3->SetBinContent(7,20.95261); hmean_Hino_135_Zee_stack_3->SetBinContent(8,17.38374); hmean_Hino_135_Zee_stack_3->SetBinContent(9,6.817291); hmean_Hino_135_Zee_stack_3->SetBinContent(10,5.53956); hmean_Hino_135_Zee_stack_3->SetBinContent(11,-0.1219388); hmean_Hino_135_Zee_stack_3->SetBinContent(12,-7.550097); hmean_Hino_135_Zee_stack_3->SetBinContent(13,-10.38685); hmean_Hino_135_Zee_stack_3->SetBinContent(14,-13.75754); hmean_Hino_135_Zee_stack_3->SetBinContent(15,-21.44698); hmean_Hino_135_Zee_stack_3->SetBinContent(16,-24.08756); hmean_Hino_135_Zee_stack_3->SetBinContent(17,-24.12276); hmean_Hino_135_Zee_stack_3->SetBinContent(18,-49.63272); hmean_Hino_135_Zee_stack_3->SetBinContent(19,-131.2729); hmean_Hino_135_Zee_stack_3->SetBinContent(20,-128.5402); hmean_Hino_135_Zee_stack_3->SetBinError(1,1392.689); hmean_Hino_135_Zee_stack_3->SetBinError(2,309.3069); hmean_Hino_135_Zee_stack_3->SetBinError(3,8.772296); hmean_Hino_135_Zee_stack_3->SetBinError(4,6.567443); hmean_Hino_135_Zee_stack_3->SetBinError(5,3.959147); hmean_Hino_135_Zee_stack_3->SetBinError(6,3.5467); hmean_Hino_135_Zee_stack_3->SetBinError(7,2.415111); hmean_Hino_135_Zee_stack_3->SetBinError(8,1.499513); hmean_Hino_135_Zee_stack_3->SetBinError(9,0.8912662); hmean_Hino_135_Zee_stack_3->SetBinError(10,1.041857); hmean_Hino_135_Zee_stack_3->SetBinError(11,0.9248475); hmean_Hino_135_Zee_stack_3->SetBinError(12,1.390796); hmean_Hino_135_Zee_stack_3->SetBinError(13,1.231211); hmean_Hino_135_Zee_stack_3->SetBinError(14,2.319328); hmean_Hino_135_Zee_stack_3->SetBinError(15,2.761175); hmean_Hino_135_Zee_stack_3->SetBinError(16,3.023585); hmean_Hino_135_Zee_stack_3->SetBinError(17,3.783877); hmean_Hino_135_Zee_stack_3->SetBinError(18,4.064372); hmean_Hino_135_Zee_stack_3->SetBinError(19,62.5195); hmean_Hino_135_Zee_stack_3->SetBinError(20,68.07192); hmean_Hino_135_Zee_stack_3->SetEntries(20); ci = TColor::GetColor("#ff00ff"); hmean_Hino_135_Zee_stack_3->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); hmean_Hino_135_Zee_stack_3->SetMarkerColor(ci); hmean_Hino_135_Zee_stack_3->SetMarkerStyle(26); hmean_Hino_135_Zee_stack_3->SetMarkerSize(2); hmean_Hino_135_Zee_stack_3->GetXaxis()->SetLabelFont(42); hmean_Hino_135_Zee_stack_3->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_Zee_stack_3->GetXaxis()->SetTitleFont(42); hmean_Hino_135_Zee_stack_3->GetYaxis()->SetLabelFont(42); hmean_Hino_135_Zee_stack_3->GetYaxis()->SetTitleFont(42); hmean_Hino_135_Zee_stack_3->GetZaxis()->SetLabelFont(42); hmean_Hino_135_Zee_stack_3->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_Zee_stack_3->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_135_Zee_stack_3,""); Double_t xAxis12[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hmean_Hino_135_2ns_stack_4 = new TH1F("hmean_Hino_135_2ns_stack_4","",20, xAxis12); hmean_Hino_135_2ns_stack_4->SetBinContent(1,1100.166); hmean_Hino_135_2ns_stack_4->SetBinContent(2,82.8915); hmean_Hino_135_2ns_stack_4->SetBinContent(3,47.98521); hmean_Hino_135_2ns_stack_4->SetBinContent(4,29.26355); hmean_Hino_135_2ns_stack_4->SetBinContent(5,30.94517); hmean_Hino_135_2ns_stack_4->SetBinContent(6,23.15838); hmean_Hino_135_2ns_stack_4->SetBinContent(7,17.7067); hmean_Hino_135_2ns_stack_4->SetBinContent(8,12.74214); hmean_Hino_135_2ns_stack_4->SetBinContent(9,6.984354); hmean_Hino_135_2ns_stack_4->SetBinContent(10,3.734172); hmean_Hino_135_2ns_stack_4->SetBinContent(11,0.09650884); hmean_Hino_135_2ns_stack_4->SetBinContent(12,-5.22717); hmean_Hino_135_2ns_stack_4->SetBinContent(13,-9.842336); hmean_Hino_135_2ns_stack_4->SetBinContent(14,-13.38643); hmean_Hino_135_2ns_stack_4->SetBinContent(15,-18.09548); hmean_Hino_135_2ns_stack_4->SetBinContent(16,-20.68153); hmean_Hino_135_2ns_stack_4->SetBinContent(17,-29.00508); hmean_Hino_135_2ns_stack_4->SetBinContent(18,-45.2422); hmean_Hino_135_2ns_stack_4->SetBinContent(19,-120.2372); hmean_Hino_135_2ns_stack_4->SetBinContent(20,-65.38929); hmean_Hino_135_2ns_stack_4->SetBinError(1,3111.581); hmean_Hino_135_2ns_stack_4->SetBinError(2,79.575); hmean_Hino_135_2ns_stack_4->SetBinError(3,3.64418); hmean_Hino_135_2ns_stack_4->SetBinError(4,5.447532); hmean_Hino_135_2ns_stack_4->SetBinError(5,5.172015); hmean_Hino_135_2ns_stack_4->SetBinError(6,2.018521); hmean_Hino_135_2ns_stack_4->SetBinError(7,1.228266); hmean_Hino_135_2ns_stack_4->SetBinError(8,1.224973); hmean_Hino_135_2ns_stack_4->SetBinError(9,0.567401); hmean_Hino_135_2ns_stack_4->SetBinError(10,0.5150911); hmean_Hino_135_2ns_stack_4->SetBinError(11,0.5118449); hmean_Hino_135_2ns_stack_4->SetBinError(12,0.469809); hmean_Hino_135_2ns_stack_4->SetBinError(13,0.7742026); hmean_Hino_135_2ns_stack_4->SetBinError(14,1.074027); hmean_Hino_135_2ns_stack_4->SetBinError(15,2.115901); hmean_Hino_135_2ns_stack_4->SetBinError(16,2.745676); hmean_Hino_135_2ns_stack_4->SetBinError(17,3.826081); hmean_Hino_135_2ns_stack_4->SetBinError(18,4.17414); hmean_Hino_135_2ns_stack_4->SetBinError(19,24.43827); hmean_Hino_135_2ns_stack_4->SetBinError(20,100.0791); hmean_Hino_135_2ns_stack_4->SetEntries(20); ci = TColor::GetColor("#cc00ff"); hmean_Hino_135_2ns_stack_4->SetLineColor(ci); ci = TColor::GetColor("#cc00ff"); hmean_Hino_135_2ns_stack_4->SetMarkerColor(ci); hmean_Hino_135_2ns_stack_4->SetMarkerStyle(26); hmean_Hino_135_2ns_stack_4->SetMarkerSize(2); hmean_Hino_135_2ns_stack_4->GetXaxis()->SetLabelFont(42); hmean_Hino_135_2ns_stack_4->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_2ns_stack_4->GetXaxis()->SetTitleFont(42); hmean_Hino_135_2ns_stack_4->GetYaxis()->SetLabelFont(42); hmean_Hino_135_2ns_stack_4->GetYaxis()->SetTitleFont(42); hmean_Hino_135_2ns_stack_4->GetZaxis()->SetLabelFont(42); hmean_Hino_135_2ns_stack_4->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_2ns_stack_4->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_135_2ns_stack_4,""); Double_t xAxis13[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hmean_Zee_PVz_stack_5 = new TH1F("hmean_Zee_PVz_stack_5","",20, xAxis13); hmean_Zee_PVz_stack_5->SetBinContent(4,27.06188); hmean_Zee_PVz_stack_5->SetBinContent(5,21.43066); hmean_Zee_PVz_stack_5->SetBinContent(6,19.00344); hmean_Zee_PVz_stack_5->SetBinContent(7,15.65398); hmean_Zee_PVz_stack_5->SetBinContent(8,11.47478); hmean_Zee_PVz_stack_5->SetBinContent(9,7.684394); hmean_Zee_PVz_stack_5->SetBinContent(10,4.056752); hmean_Zee_PVz_stack_5->SetBinContent(11,-1.089751); hmean_Zee_PVz_stack_5->SetBinContent(12,-4.747663); hmean_Zee_PVz_stack_5->SetBinContent(13,-8.750954); hmean_Zee_PVz_stack_5->SetBinContent(14,-12.06313); hmean_Zee_PVz_stack_5->SetBinContent(15,-15.88058); hmean_Zee_PVz_stack_5->SetBinContent(16,-19.58931); hmean_Zee_PVz_stack_5->SetBinContent(17,-26.19352); hmean_Zee_PVz_stack_5->SetBinContent(18,-30); hmean_Zee_PVz_stack_5->SetBinError(4,2.504603); hmean_Zee_PVz_stack_5->SetBinError(5,0.7570589); hmean_Zee_PVz_stack_5->SetBinError(6,0.4773976); hmean_Zee_PVz_stack_5->SetBinError(7,0.2373126); hmean_Zee_PVz_stack_5->SetBinError(8,0.1147398); hmean_Zee_PVz_stack_5->SetBinError(9,0.1009969); hmean_Zee_PVz_stack_5->SetBinError(10,0.08291542); hmean_Zee_PVz_stack_5->SetBinError(11,0.1157719); hmean_Zee_PVz_stack_5->SetBinError(12,0.09084876); hmean_Zee_PVz_stack_5->SetBinError(13,0.1688519); hmean_Zee_PVz_stack_5->SetBinError(14,0.1795369); hmean_Zee_PVz_stack_5->SetBinError(15,0.4123071); hmean_Zee_PVz_stack_5->SetBinError(16,0.6298082); hmean_Zee_PVz_stack_5->SetBinError(17,1.802043); hmean_Zee_PVz_stack_5->SetBinError(18,3.186967); hmean_Zee_PVz_stack_5->SetEntries(15); ci = TColor::GetColor("#ff0000"); hmean_Zee_PVz_stack_5->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); hmean_Zee_PVz_stack_5->SetMarkerColor(ci); hmean_Zee_PVz_stack_5->SetMarkerStyle(20); hmean_Zee_PVz_stack_5->SetMarkerSize(2); hmean_Zee_PVz_stack_5->GetXaxis()->SetLabelFont(42); hmean_Zee_PVz_stack_5->GetXaxis()->SetTitleOffset(1); hmean_Zee_PVz_stack_5->GetXaxis()->SetTitleFont(42); hmean_Zee_PVz_stack_5->GetYaxis()->SetLabelFont(42); hmean_Zee_PVz_stack_5->GetYaxis()->SetTitleFont(42); hmean_Zee_PVz_stack_5->GetZaxis()->SetLabelFont(42); hmean_Zee_PVz_stack_5->GetZaxis()->SetTitleOffset(1); hmean_Zee_PVz_stack_5->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Zee_PVz_stack_5,""); Double_t xAxis14[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hmean_Zee_truZ_stack_6 = new TH1F("hmean_Zee_truZ_stack_6","",20, xAxis14); hmean_Zee_truZ_stack_6->SetBinContent(4,27.68945); hmean_Zee_truZ_stack_6->SetBinContent(5,21.67122); hmean_Zee_truZ_stack_6->SetBinContent(6,18.83709); hmean_Zee_truZ_stack_6->SetBinContent(7,15.65594); hmean_Zee_truZ_stack_6->SetBinContent(8,11.53256); hmean_Zee_truZ_stack_6->SetBinContent(9,7.649725); hmean_Zee_truZ_stack_6->SetBinContent(10,4.078086); hmean_Zee_truZ_stack_6->SetBinContent(11,-1.144766); hmean_Zee_truZ_stack_6->SetBinContent(12,-4.70894); hmean_Zee_truZ_stack_6->SetBinContent(13,-8.78187); hmean_Zee_truZ_stack_6->SetBinContent(14,-12.05501); hmean_Zee_truZ_stack_6->SetBinContent(15,-15.84556); hmean_Zee_truZ_stack_6->SetBinContent(16,-19.57477); hmean_Zee_truZ_stack_6->SetBinContent(17,-26.46193); hmean_Zee_truZ_stack_6->SetBinContent(18,-30.13846); hmean_Zee_truZ_stack_6->SetBinError(4,2.463217); hmean_Zee_truZ_stack_6->SetBinError(5,0.7535928); hmean_Zee_truZ_stack_6->SetBinError(6,0.3218935); hmean_Zee_truZ_stack_6->SetBinError(7,0.2357637); hmean_Zee_truZ_stack_6->SetBinError(8,0.1147186); hmean_Zee_truZ_stack_6->SetBinError(9,0.1007929); hmean_Zee_truZ_stack_6->SetBinError(10,0.08262307); hmean_Zee_truZ_stack_6->SetBinError(11,0.1142905); hmean_Zee_truZ_stack_6->SetBinError(12,0.09147871); hmean_Zee_truZ_stack_6->SetBinError(13,0.1693921); hmean_Zee_truZ_stack_6->SetBinError(14,0.1790688); hmean_Zee_truZ_stack_6->SetBinError(15,0.4131755); hmean_Zee_truZ_stack_6->SetBinError(16,0.6277199); hmean_Zee_truZ_stack_6->SetBinError(17,1.684741); hmean_Zee_truZ_stack_6->SetBinError(18,3.160116); hmean_Zee_truZ_stack_6->SetEntries(15); ci = TColor::GetColor("#0000ff"); hmean_Zee_truZ_stack_6->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); hmean_Zee_truZ_stack_6->SetMarkerColor(ci); hmean_Zee_truZ_stack_6->SetMarkerStyle(20); hmean_Zee_truZ_stack_6->SetMarkerSize(2); hmean_Zee_truZ_stack_6->GetXaxis()->SetLabelFont(42); hmean_Zee_truZ_stack_6->GetXaxis()->SetTitleOffset(1); hmean_Zee_truZ_stack_6->GetXaxis()->SetTitleFont(42); hmean_Zee_truZ_stack_6->GetYaxis()->SetLabelFont(42); hmean_Zee_truZ_stack_6->GetYaxis()->SetTitleFont(42); hmean_Zee_truZ_stack_6->GetZaxis()->SetLabelFont(42); hmean_Zee_truZ_stack_6->GetZaxis()->SetTitleOffset(1); hmean_Zee_truZ_stack_6->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Zee_truZ_stack_6,""); hs_m->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_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("hmean_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("hmean_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("hmean_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("hmean_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("hmean_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); 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); }