void PlotPointingBias() { //=========Macro generated from canvas: c_m/c //========= (Thu May 26 05:13:59 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 Bias [mm];"); hs_m->SetMinimum(-200); hs_m->SetMaximum(200); Double_t xAxis8[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hs_m_stack_2 = new TH1F("hs_m_stack_2","",22, 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 Bias [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[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_135_Hyy_stack_1 = new TH1F("hmean_Hino_135_Hyy_stack_1","",22, xAxis9); hmean_Hino_135_Hyy_stack_1->SetBinContent(1,142.1883); hmean_Hino_135_Hyy_stack_1->SetBinContent(2,153.5909); hmean_Hino_135_Hyy_stack_1->SetBinContent(3,47.72203); hmean_Hino_135_Hyy_stack_1->SetBinContent(4,41.26011); hmean_Hino_135_Hyy_stack_1->SetBinContent(5,31.56393); hmean_Hino_135_Hyy_stack_1->SetBinContent(6,26.95962); hmean_Hino_135_Hyy_stack_1->SetBinContent(7,22.884); hmean_Hino_135_Hyy_stack_1->SetBinContent(8,18.42847); hmean_Hino_135_Hyy_stack_1->SetBinContent(9,14.41794); hmean_Hino_135_Hyy_stack_1->SetBinContent(10,8.373962); hmean_Hino_135_Hyy_stack_1->SetBinContent(11,3.739457); hmean_Hino_135_Hyy_stack_1->SetBinContent(12,-1.834276); hmean_Hino_135_Hyy_stack_1->SetBinContent(13,-6.531588); hmean_Hino_135_Hyy_stack_1->SetBinContent(14,-10.55767); hmean_Hino_135_Hyy_stack_1->SetBinContent(15,-13.72557); hmean_Hino_135_Hyy_stack_1->SetBinContent(16,-21.05834); hmean_Hino_135_Hyy_stack_1->SetBinContent(17,-23.39515); hmean_Hino_135_Hyy_stack_1->SetBinContent(18,-31.1724); hmean_Hino_135_Hyy_stack_1->SetBinContent(19,-44.87406); hmean_Hino_135_Hyy_stack_1->SetBinContent(20,-45.1161); hmean_Hino_135_Hyy_stack_1->SetBinContent(21,-90.34537); hmean_Hino_135_Hyy_stack_1->SetBinContent(22,-75.95396); hmean_Hino_135_Hyy_stack_1->SetBinError(1,241.9318); hmean_Hino_135_Hyy_stack_1->SetBinError(2,90.33688); hmean_Hino_135_Hyy_stack_1->SetBinError(3,10.06352); hmean_Hino_135_Hyy_stack_1->SetBinError(4,6.284687); hmean_Hino_135_Hyy_stack_1->SetBinError(5,2.857581); hmean_Hino_135_Hyy_stack_1->SetBinError(6,2.992531); hmean_Hino_135_Hyy_stack_1->SetBinError(7,1.726608); hmean_Hino_135_Hyy_stack_1->SetBinError(8,1.09484); hmean_Hino_135_Hyy_stack_1->SetBinError(9,0.6419521); hmean_Hino_135_Hyy_stack_1->SetBinError(10,0.4936398); hmean_Hino_135_Hyy_stack_1->SetBinError(11,0.38734); hmean_Hino_135_Hyy_stack_1->SetBinError(12,0.4053376); hmean_Hino_135_Hyy_stack_1->SetBinError(13,0.5161182); hmean_Hino_135_Hyy_stack_1->SetBinError(14,0.651138); hmean_Hino_135_Hyy_stack_1->SetBinError(15,1.087457); hmean_Hino_135_Hyy_stack_1->SetBinError(16,1.452009); hmean_Hino_135_Hyy_stack_1->SetBinError(17,2.378229); hmean_Hino_135_Hyy_stack_1->SetBinError(18,3.041707); hmean_Hino_135_Hyy_stack_1->SetBinError(19,4.810656); hmean_Hino_135_Hyy_stack_1->SetBinError(20,11.21451); hmean_Hino_135_Hyy_stack_1->SetBinError(21,22.19004); hmean_Hino_135_Hyy_stack_1->SetBinError(22,127.3138); hmean_Hino_135_Hyy_stack_1->SetEntries(22); ci = TColor::GetColor("#00ff00"); hmean_Hino_135_Hyy_stack_1->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); hmean_Hino_135_Hyy_stack_1->SetMarkerColor(ci); hmean_Hino_135_Hyy_stack_1->SetMarkerStyle(26); hmean_Hino_135_Hyy_stack_1->SetMarkerSize(2); hmean_Hino_135_Hyy_stack_1->GetXaxis()->SetLabelFont(42); hmean_Hino_135_Hyy_stack_1->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_Hyy_stack_1->GetXaxis()->SetTitleFont(42); hmean_Hino_135_Hyy_stack_1->GetYaxis()->SetLabelFont(42); hmean_Hino_135_Hyy_stack_1->GetYaxis()->SetTitleFont(42); hmean_Hino_135_Hyy_stack_1->GetZaxis()->SetLabelFont(42); hmean_Hino_135_Hyy_stack_1->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_Hyy_stack_1->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_135_Hyy_stack_1,""); Double_t xAxis10[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_135_Zee_stack_2 = new TH1F("hmean_Hino_135_Zee_stack_2","",22, xAxis10); hmean_Hino_135_Zee_stack_2->SetBinContent(1,119.7717); hmean_Hino_135_Zee_stack_2->SetBinContent(2,79.96532); hmean_Hino_135_Zee_stack_2->SetBinContent(3,43.04377); hmean_Hino_135_Zee_stack_2->SetBinContent(4,42.24256); hmean_Hino_135_Zee_stack_2->SetBinContent(5,43.87974); hmean_Hino_135_Zee_stack_2->SetBinContent(6,25.41745); hmean_Hino_135_Zee_stack_2->SetBinContent(7,25.43398); hmean_Hino_135_Zee_stack_2->SetBinContent(8,21.60848); hmean_Hino_135_Zee_stack_2->SetBinContent(9,16.3899); hmean_Hino_135_Zee_stack_2->SetBinContent(10,9.598107); hmean_Hino_135_Zee_stack_2->SetBinContent(11,4.416637); hmean_Hino_135_Zee_stack_2->SetBinContent(12,-1.246907); hmean_Hino_135_Zee_stack_2->SetBinContent(13,-7.759199); hmean_Hino_135_Zee_stack_2->SetBinContent(14,-10.85415); hmean_Hino_135_Zee_stack_2->SetBinContent(15,-18.75268); hmean_Hino_135_Zee_stack_2->SetBinContent(16,-26.57799); hmean_Hino_135_Zee_stack_2->SetBinContent(17,-28.65283); hmean_Hino_135_Zee_stack_2->SetBinContent(18,-39.76339); hmean_Hino_135_Zee_stack_2->SetBinContent(19,-57.113); hmean_Hino_135_Zee_stack_2->SetBinContent(20,-51.36264); hmean_Hino_135_Zee_stack_2->SetBinContent(21,-90.25413); hmean_Hino_135_Zee_stack_2->SetBinContent(22,-92.31059); hmean_Hino_135_Zee_stack_2->SetBinError(1,28.77673); hmean_Hino_135_Zee_stack_2->SetBinError(2,21.32456); hmean_Hino_135_Zee_stack_2->SetBinError(3,6.139547); hmean_Hino_135_Zee_stack_2->SetBinError(4,8.536043); hmean_Hino_135_Zee_stack_2->SetBinError(5,4.16959); hmean_Hino_135_Zee_stack_2->SetBinError(6,3.627649); hmean_Hino_135_Zee_stack_2->SetBinError(7,3.192684); hmean_Hino_135_Zee_stack_2->SetBinError(8,1.588174); hmean_Hino_135_Zee_stack_2->SetBinError(9,1.361283); hmean_Hino_135_Zee_stack_2->SetBinError(10,0.8406411); hmean_Hino_135_Zee_stack_2->SetBinError(11,0.5989266); hmean_Hino_135_Zee_stack_2->SetBinError(12,0.8164229); hmean_Hino_135_Zee_stack_2->SetBinError(13,0.7325553); hmean_Hino_135_Zee_stack_2->SetBinError(14,0.9656259); hmean_Hino_135_Zee_stack_2->SetBinError(15,1.721155); hmean_Hino_135_Zee_stack_2->SetBinError(16,1.805598); hmean_Hino_135_Zee_stack_2->SetBinError(17,3.017205); hmean_Hino_135_Zee_stack_2->SetBinError(18,3.49557); hmean_Hino_135_Zee_stack_2->SetBinError(19,4.799096); hmean_Hino_135_Zee_stack_2->SetBinError(20,9.416055); hmean_Hino_135_Zee_stack_2->SetBinError(21,31.95543); hmean_Hino_135_Zee_stack_2->SetBinError(22,14.21688); hmean_Hino_135_Zee_stack_2->SetEntries(22); ci = TColor::GetColor("#ff00ff"); hmean_Hino_135_Zee_stack_2->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); hmean_Hino_135_Zee_stack_2->SetMarkerColor(ci); hmean_Hino_135_Zee_stack_2->SetMarkerStyle(26); hmean_Hino_135_Zee_stack_2->SetMarkerSize(2); hmean_Hino_135_Zee_stack_2->GetXaxis()->SetLabelFont(42); hmean_Hino_135_Zee_stack_2->GetXaxis()->SetTitleOffset(1); hmean_Hino_135_Zee_stack_2->GetXaxis()->SetTitleFont(42); hmean_Hino_135_Zee_stack_2->GetYaxis()->SetLabelFont(42); hmean_Hino_135_Zee_stack_2->GetYaxis()->SetTitleFont(42); hmean_Hino_135_Zee_stack_2->GetZaxis()->SetLabelFont(42); hmean_Hino_135_Zee_stack_2->GetZaxis()->SetTitleOffset(1); hmean_Hino_135_Zee_stack_2->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_135_Zee_stack_2,""); Double_t xAxis11[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_325_Hyy_stack_3 = new TH1F("hmean_Hino_325_Hyy_stack_3","",22, xAxis11); hmean_Hino_325_Hyy_stack_3->SetBinContent(1,141.1387); hmean_Hino_325_Hyy_stack_3->SetBinContent(2,93.10052); hmean_Hino_325_Hyy_stack_3->SetBinContent(3,43.16098); hmean_Hino_325_Hyy_stack_3->SetBinContent(4,47.59887); hmean_Hino_325_Hyy_stack_3->SetBinContent(5,34.38136); hmean_Hino_325_Hyy_stack_3->SetBinContent(6,28.3715); hmean_Hino_325_Hyy_stack_3->SetBinContent(7,21.93381); hmean_Hino_325_Hyy_stack_3->SetBinContent(8,16.86669); hmean_Hino_325_Hyy_stack_3->SetBinContent(9,13.53006); hmean_Hino_325_Hyy_stack_3->SetBinContent(10,7.686081); hmean_Hino_325_Hyy_stack_3->SetBinContent(11,3.50735); hmean_Hino_325_Hyy_stack_3->SetBinContent(12,-1.611813); hmean_Hino_325_Hyy_stack_3->SetBinContent(13,-6.288959); hmean_Hino_325_Hyy_stack_3->SetBinContent(14,-9.000527); hmean_Hino_325_Hyy_stack_3->SetBinContent(15,-14.30434); hmean_Hino_325_Hyy_stack_3->SetBinContent(16,-19.49225); hmean_Hino_325_Hyy_stack_3->SetBinContent(17,-24.00853); hmean_Hino_325_Hyy_stack_3->SetBinContent(18,-30.44524); hmean_Hino_325_Hyy_stack_3->SetBinContent(19,-29.94576); hmean_Hino_325_Hyy_stack_3->SetBinContent(20,-64.55034); hmean_Hino_325_Hyy_stack_3->SetBinContent(21,-67.84376); hmean_Hino_325_Hyy_stack_3->SetBinContent(22,-140.4981); hmean_Hino_325_Hyy_stack_3->SetBinError(1,21.66998); hmean_Hino_325_Hyy_stack_3->SetBinError(2,12.74185); hmean_Hino_325_Hyy_stack_3->SetBinError(3,10.68542); hmean_Hino_325_Hyy_stack_3->SetBinError(4,6.97481); hmean_Hino_325_Hyy_stack_3->SetBinError(5,2.956047); hmean_Hino_325_Hyy_stack_3->SetBinError(6,2.302333); hmean_Hino_325_Hyy_stack_3->SetBinError(7,2.264936); hmean_Hino_325_Hyy_stack_3->SetBinError(8,1.263398); hmean_Hino_325_Hyy_stack_3->SetBinError(9,0.99494); hmean_Hino_325_Hyy_stack_3->SetBinError(10,0.5497339); hmean_Hino_325_Hyy_stack_3->SetBinError(11,0.4954838); hmean_Hino_325_Hyy_stack_3->SetBinError(12,0.5103698); hmean_Hino_325_Hyy_stack_3->SetBinError(13,0.5948729); hmean_Hino_325_Hyy_stack_3->SetBinError(14,0.7648702); hmean_Hino_325_Hyy_stack_3->SetBinError(15,1.414129); hmean_Hino_325_Hyy_stack_3->SetBinError(16,1.937017); hmean_Hino_325_Hyy_stack_3->SetBinError(17,2.059896); hmean_Hino_325_Hyy_stack_3->SetBinError(18,3.586292); hmean_Hino_325_Hyy_stack_3->SetBinError(19,6.297919); hmean_Hino_325_Hyy_stack_3->SetBinError(20,8.517622); hmean_Hino_325_Hyy_stack_3->SetBinError(21,14.94634); hmean_Hino_325_Hyy_stack_3->SetBinError(22,64.08013); hmean_Hino_325_Hyy_stack_3->SetEntries(22); ci = TColor::GetColor("#ffcc00"); hmean_Hino_325_Hyy_stack_3->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); hmean_Hino_325_Hyy_stack_3->SetMarkerColor(ci); hmean_Hino_325_Hyy_stack_3->SetMarkerStyle(26); hmean_Hino_325_Hyy_stack_3->SetMarkerSize(2); hmean_Hino_325_Hyy_stack_3->GetXaxis()->SetLabelFont(42); hmean_Hino_325_Hyy_stack_3->GetXaxis()->SetTitleOffset(1); hmean_Hino_325_Hyy_stack_3->GetXaxis()->SetTitleFont(42); hmean_Hino_325_Hyy_stack_3->GetYaxis()->SetLabelFont(42); hmean_Hino_325_Hyy_stack_3->GetYaxis()->SetTitleFont(42); hmean_Hino_325_Hyy_stack_3->GetZaxis()->SetLabelFont(42); hmean_Hino_325_Hyy_stack_3->GetZaxis()->SetTitleOffset(1); hmean_Hino_325_Hyy_stack_3->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_325_Hyy_stack_3,""); Double_t xAxis12[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hmean_Hino_325_Zee_stack_4 = new TH1F("hmean_Hino_325_Zee_stack_4","",22, xAxis12); hmean_Hino_325_Zee_stack_4->SetBinContent(1,137.0264); hmean_Hino_325_Zee_stack_4->SetBinContent(2,77.0643); hmean_Hino_325_Zee_stack_4->SetBinContent(3,44.40682); hmean_Hino_325_Zee_stack_4->SetBinContent(4,46.68243); hmean_Hino_325_Zee_stack_4->SetBinContent(5,30.92367); hmean_Hino_325_Zee_stack_4->SetBinContent(6,27.80176); hmean_Hino_325_Zee_stack_4->SetBinContent(7,22.95425); hmean_Hino_325_Zee_stack_4->SetBinContent(8,22.15053); hmean_Hino_325_Zee_stack_4->SetBinContent(9,14.67237); hmean_Hino_325_Zee_stack_4->SetBinContent(10,10.01398); hmean_Hino_325_Zee_stack_4->SetBinContent(11,4.053985); hmean_Hino_325_Zee_stack_4->SetBinContent(12,-1.405551); hmean_Hino_325_Zee_stack_4->SetBinContent(13,-6.695645); hmean_Hino_325_Zee_stack_4->SetBinContent(14,-11.92269); hmean_Hino_325_Zee_stack_4->SetBinContent(15,-17.59958); hmean_Hino_325_Zee_stack_4->SetBinContent(16,-18.59328); hmean_Hino_325_Zee_stack_4->SetBinContent(17,-22.89615); hmean_Hino_325_Zee_stack_4->SetBinContent(18,-29.86286); hmean_Hino_325_Zee_stack_4->SetBinContent(19,-52.518); hmean_Hino_325_Zee_stack_4->SetBinContent(20,-62.29528); hmean_Hino_325_Zee_stack_4->SetBinContent(21,-80.52256); hmean_Hino_325_Zee_stack_4->SetBinContent(22,-119.336); hmean_Hino_325_Zee_stack_4->SetBinError(1,12.55979); hmean_Hino_325_Zee_stack_4->SetBinError(2,8.40429); hmean_Hino_325_Zee_stack_4->SetBinError(3,7.054623); hmean_Hino_325_Zee_stack_4->SetBinError(4,4.248211); hmean_Hino_325_Zee_stack_4->SetBinError(5,3.07101); hmean_Hino_325_Zee_stack_4->SetBinError(6,3.501149); hmean_Hino_325_Zee_stack_4->SetBinError(7,1.813508); hmean_Hino_325_Zee_stack_4->SetBinError(8,1.500505); hmean_Hino_325_Zee_stack_4->SetBinError(9,0.9689392); hmean_Hino_325_Zee_stack_4->SetBinError(10,0.629507); hmean_Hino_325_Zee_stack_4->SetBinError(11,0.6416809); hmean_Hino_325_Zee_stack_4->SetBinError(12,0.5932401); hmean_Hino_325_Zee_stack_4->SetBinError(13,0.649423); hmean_Hino_325_Zee_stack_4->SetBinError(14,0.9711715); hmean_Hino_325_Zee_stack_4->SetBinError(15,1.408017); hmean_Hino_325_Zee_stack_4->SetBinError(16,2.029871); hmean_Hino_325_Zee_stack_4->SetBinError(17,2.820418); hmean_Hino_325_Zee_stack_4->SetBinError(18,2.636764); hmean_Hino_325_Zee_stack_4->SetBinError(19,4.450926); hmean_Hino_325_Zee_stack_4->SetBinError(20,6.030123); hmean_Hino_325_Zee_stack_4->SetBinError(21,7.574382); hmean_Hino_325_Zee_stack_4->SetBinError(22,14.20682); hmean_Hino_325_Zee_stack_4->SetEntries(22); ci = TColor::GetColor("#00ffff"); hmean_Hino_325_Zee_stack_4->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); hmean_Hino_325_Zee_stack_4->SetMarkerColor(ci); hmean_Hino_325_Zee_stack_4->SetMarkerStyle(26); hmean_Hino_325_Zee_stack_4->SetMarkerSize(2); hmean_Hino_325_Zee_stack_4->GetXaxis()->SetLabelFont(42); hmean_Hino_325_Zee_stack_4->GetXaxis()->SetTitleOffset(1); hmean_Hino_325_Zee_stack_4->GetXaxis()->SetTitleFont(42); hmean_Hino_325_Zee_stack_4->GetYaxis()->SetLabelFont(42); hmean_Hino_325_Zee_stack_4->GetYaxis()->SetTitleFont(42); hmean_Hino_325_Zee_stack_4->GetZaxis()->SetLabelFont(42); hmean_Hino_325_Zee_stack_4->GetZaxis()->SetTitleOffset(1); hmean_Hino_325_Zee_stack_4->GetZaxis()->SetTitleFont(42); hs_m->Add(hmean_Hino_325_Zee_stack_4,""); Double_t xAxis13[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hmean_Zee_PVz_stack_5 = new TH1F("hmean_Zee_PVz_stack_5","",22, xAxis13); hmean_Zee_PVz_stack_5->SetBinContent(6,28.12154); hmean_Zee_PVz_stack_5->SetBinContent(7,22.60908); hmean_Zee_PVz_stack_5->SetBinContent(8,18.91264); hmean_Zee_PVz_stack_5->SetBinContent(9,13.96563); hmean_Zee_PVz_stack_5->SetBinContent(10,9.099401); hmean_Zee_PVz_stack_5->SetBinContent(11,4.187219); hmean_Zee_PVz_stack_5->SetBinContent(12,-0.9527116); hmean_Zee_PVz_stack_5->SetBinContent(13,-5.995645); hmean_Zee_PVz_stack_5->SetBinContent(14,-10.61154); hmean_Zee_PVz_stack_5->SetBinContent(15,-15.68056); hmean_Zee_PVz_stack_5->SetBinContent(16,-20.59226); hmean_Zee_PVz_stack_5->SetBinContent(17,-25.04325); hmean_Zee_PVz_stack_5->SetBinError(6,1.944026); hmean_Zee_PVz_stack_5->SetBinError(7,0.6388299); hmean_Zee_PVz_stack_5->SetBinError(8,0.2628137); hmean_Zee_PVz_stack_5->SetBinError(9,0.1364519); hmean_Zee_PVz_stack_5->SetBinError(10,0.08766326); hmean_Zee_PVz_stack_5->SetBinError(11,0.06749527); hmean_Zee_PVz_stack_5->SetBinError(12,0.06836577); hmean_Zee_PVz_stack_5->SetBinError(13,0.08898708); hmean_Zee_PVz_stack_5->SetBinError(14,0.1297704); hmean_Zee_PVz_stack_5->SetBinError(15,0.2628411); hmean_Zee_PVz_stack_5->SetBinError(16,0.5957472); hmean_Zee_PVz_stack_5->SetBinError(17,1.437523); hmean_Zee_PVz_stack_5->SetEntries(12); 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(24); 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[23] = {-750, -400, -300, -250, -200, -150, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 150, 200, 250, 300, 400, 750}; TH1F *hmean_Zee_truZ_stack_6 = new TH1F("hmean_Zee_truZ_stack_6","",22, xAxis14); hmean_Zee_truZ_stack_6->SetBinContent(6,29.83647); hmean_Zee_truZ_stack_6->SetBinContent(7,22.83932); hmean_Zee_truZ_stack_6->SetBinContent(8,18.87565); hmean_Zee_truZ_stack_6->SetBinContent(9,13.89638); hmean_Zee_truZ_stack_6->SetBinContent(10,9.143479); hmean_Zee_truZ_stack_6->SetBinContent(11,4.20735); hmean_Zee_truZ_stack_6->SetBinContent(12,-0.9301219); hmean_Zee_truZ_stack_6->SetBinContent(13,-6.04992); hmean_Zee_truZ_stack_6->SetBinContent(14,-10.54316); hmean_Zee_truZ_stack_6->SetBinContent(15,-15.64693); hmean_Zee_truZ_stack_6->SetBinContent(16,-20.47848); hmean_Zee_truZ_stack_6->SetBinContent(17,-25.82808); hmean_Zee_truZ_stack_6->SetBinError(6,2.414568); hmean_Zee_truZ_stack_6->SetBinError(7,0.6205519); hmean_Zee_truZ_stack_6->SetBinError(8,0.262985); hmean_Zee_truZ_stack_6->SetBinError(9,0.1359704); hmean_Zee_truZ_stack_6->SetBinError(10,0.08800922); hmean_Zee_truZ_stack_6->SetBinError(11,0.06770626); hmean_Zee_truZ_stack_6->SetBinError(12,0.06763016); hmean_Zee_truZ_stack_6->SetBinError(13,0.08905984); hmean_Zee_truZ_stack_6->SetBinError(14,0.1309994); hmean_Zee_truZ_stack_6->SetBinError(15,0.2646881); hmean_Zee_truZ_stack_6->SetBinError(16,0.5959077); hmean_Zee_truZ_stack_6->SetBinError(17,1.867236); hmean_Zee_truZ_stack_6->SetEntries(12); 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(24); 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.6,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_Hyy_stack_1","Hino_135_Hyy","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_Zee_stack_2","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_325_Hyy_stack_3","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_325_Zee_stack_4","Hino_325_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_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(24); 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(24); 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); }