void PlotPointingBiasVrho() { //=========Macro generated from canvas: c_m/c //========= (Thu May 26 07:38:19 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 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 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 300, 400, 750}; TH1F *hmean_Hino_325_Zee_stack_1 = new TH1F("hmean_Hino_325_Zee_stack_1","",22, xAxis9); hmean_Hino_325_Zee_stack_1->SetBinContent(1,168.1186); hmean_Hino_325_Zee_stack_1->SetBinContent(2,100.7925); hmean_Hino_325_Zee_stack_1->SetBinContent(3,57.40797); hmean_Hino_325_Zee_stack_1->SetBinContent(4,34.15225); hmean_Hino_325_Zee_stack_1->SetBinContent(5,26.7618); hmean_Hino_325_Zee_stack_1->SetBinContent(6,24.60189); hmean_Hino_325_Zee_stack_1->SetBinContent(7,20.47408); hmean_Hino_325_Zee_stack_1->SetBinContent(8,15.85173); hmean_Hino_325_Zee_stack_1->SetBinContent(9,11.95508); hmean_Hino_325_Zee_stack_1->SetBinContent(10,7.66578); hmean_Hino_325_Zee_stack_1->SetBinContent(11,1.781936); hmean_Hino_325_Zee_stack_1->SetBinContent(12,-0.7612292); hmean_Hino_325_Zee_stack_1->SetBinContent(13,-4.97022); hmean_Hino_325_Zee_stack_1->SetBinContent(14,-9.744949); hmean_Hino_325_Zee_stack_1->SetBinContent(15,-13.04455); hmean_Hino_325_Zee_stack_1->SetBinContent(16,-17.4365); hmean_Hino_325_Zee_stack_1->SetBinContent(17,-19.66714); hmean_Hino_325_Zee_stack_1->SetBinContent(18,-26.64148); hmean_Hino_325_Zee_stack_1->SetBinContent(19,-34.19265); hmean_Hino_325_Zee_stack_1->SetBinContent(20,-55.2858); hmean_Hino_325_Zee_stack_1->SetBinContent(21,-90.02335); hmean_Hino_325_Zee_stack_1->SetBinContent(22,-161.5417); hmean_Hino_325_Zee_stack_1->SetBinError(1,7.752788); hmean_Hino_325_Zee_stack_1->SetBinError(2,5.155285); hmean_Hino_325_Zee_stack_1->SetBinError(3,2.20614); hmean_Hino_325_Zee_stack_1->SetBinError(4,1.367687); hmean_Hino_325_Zee_stack_1->SetBinError(5,2.165369); hmean_Hino_325_Zee_stack_1->SetBinError(6,1.234323); hmean_Hino_325_Zee_stack_1->SetBinError(7,0.9528612); hmean_Hino_325_Zee_stack_1->SetBinError(8,0.8041763); hmean_Hino_325_Zee_stack_1->SetBinError(9,0.3420089); hmean_Hino_325_Zee_stack_1->SetBinError(10,0.4494019); hmean_Hino_325_Zee_stack_1->SetBinError(11,2.286183); hmean_Hino_325_Zee_stack_1->SetBinError(12,1.129099); hmean_Hino_325_Zee_stack_1->SetBinError(13,0.4166189); hmean_Hino_325_Zee_stack_1->SetBinError(14,0.7318609); hmean_Hino_325_Zee_stack_1->SetBinError(15,0.6356021); hmean_Hino_325_Zee_stack_1->SetBinError(16,0.8733615); hmean_Hino_325_Zee_stack_1->SetBinError(17,1.243984); hmean_Hino_325_Zee_stack_1->SetBinError(18,1.535589); hmean_Hino_325_Zee_stack_1->SetBinError(19,1.518413); hmean_Hino_325_Zee_stack_1->SetBinError(20,2.049458); hmean_Hino_325_Zee_stack_1->SetBinError(21,4.238137); hmean_Hino_325_Zee_stack_1->SetBinError(22,6.186126); hmean_Hino_325_Zee_stack_1->SetEntries(22); 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 300, 400, 750}; TH1F *hmean_Hino_325_Hyy_stack_2 = new TH1F("hmean_Hino_325_Hyy_stack_2","",22, xAxis10); hmean_Hino_325_Hyy_stack_2->SetBinContent(1,169.1015); hmean_Hino_325_Hyy_stack_2->SetBinContent(2,90.37785); hmean_Hino_325_Hyy_stack_2->SetBinContent(3,54.56036); hmean_Hino_325_Hyy_stack_2->SetBinContent(4,33.7747); hmean_Hino_325_Hyy_stack_2->SetBinContent(5,28.85542); hmean_Hino_325_Hyy_stack_2->SetBinContent(6,22.6727); hmean_Hino_325_Hyy_stack_2->SetBinContent(7,16.7608); hmean_Hino_325_Hyy_stack_2->SetBinContent(8,14.73474); hmean_Hino_325_Hyy_stack_2->SetBinContent(9,10.44686); hmean_Hino_325_Hyy_stack_2->SetBinContent(10,6.17626); hmean_Hino_325_Hyy_stack_2->SetBinContent(11,1.957404); hmean_Hino_325_Hyy_stack_2->SetBinContent(12,-0.5080149); hmean_Hino_325_Hyy_stack_2->SetBinContent(13,-2.412721); hmean_Hino_325_Hyy_stack_2->SetBinContent(14,-8.526506); hmean_Hino_325_Hyy_stack_2->SetBinContent(15,-10.40518); hmean_Hino_325_Hyy_stack_2->SetBinContent(16,-17.26862); hmean_Hino_325_Hyy_stack_2->SetBinContent(17,-20.59369); hmean_Hino_325_Hyy_stack_2->SetBinContent(18,-18.81742); hmean_Hino_325_Hyy_stack_2->SetBinContent(19,-30.99271); hmean_Hino_325_Hyy_stack_2->SetBinContent(20,-48.51025); hmean_Hino_325_Hyy_stack_2->SetBinContent(21,-96.28365); hmean_Hino_325_Hyy_stack_2->SetBinContent(22,-145.9581); hmean_Hino_325_Hyy_stack_2->SetBinError(1,8.264028); hmean_Hino_325_Hyy_stack_2->SetBinError(2,5.772159); hmean_Hino_325_Hyy_stack_2->SetBinError(3,2.650715); hmean_Hino_325_Hyy_stack_2->SetBinError(4,1.957178); hmean_Hino_325_Hyy_stack_2->SetBinError(5,3.98905); hmean_Hino_325_Hyy_stack_2->SetBinError(6,1.627946); hmean_Hino_325_Hyy_stack_2->SetBinError(7,1.130669); hmean_Hino_325_Hyy_stack_2->SetBinError(8,1.003526); hmean_Hino_325_Hyy_stack_2->SetBinError(9,1.188661); hmean_Hino_325_Hyy_stack_2->SetBinError(10,0.455188); hmean_Hino_325_Hyy_stack_2->SetBinError(11,2.749347); hmean_Hino_325_Hyy_stack_2->SetBinError(12,0.9423782); hmean_Hino_325_Hyy_stack_2->SetBinError(13,3.168198); hmean_Hino_325_Hyy_stack_2->SetBinError(14,0.6931947); hmean_Hino_325_Hyy_stack_2->SetBinError(15,0.8727019); hmean_Hino_325_Hyy_stack_2->SetBinError(16,1.521869); hmean_Hino_325_Hyy_stack_2->SetBinError(17,1.813506); hmean_Hino_325_Hyy_stack_2->SetBinError(18,2.978584); hmean_Hino_325_Hyy_stack_2->SetBinError(19,2.117311); hmean_Hino_325_Hyy_stack_2->SetBinError(20,2.760664); hmean_Hino_325_Hyy_stack_2->SetBinError(21,5.006907); hmean_Hino_325_Hyy_stack_2->SetBinError(22,7.203919); hmean_Hino_325_Hyy_stack_2->SetEntries(22); 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 300, 400, 750}; TH1F *hmean_Hino_135_Zee_stack_3 = new TH1F("hmean_Hino_135_Zee_stack_3","",22, xAxis11); hmean_Hino_135_Zee_stack_3->SetBinContent(1,159.4121); hmean_Hino_135_Zee_stack_3->SetBinContent(2,96.10122); hmean_Hino_135_Zee_stack_3->SetBinContent(3,59.86686); hmean_Hino_135_Zee_stack_3->SetBinContent(4,37.35951); hmean_Hino_135_Zee_stack_3->SetBinContent(5,28.18266); hmean_Hino_135_Zee_stack_3->SetBinContent(6,23.891); hmean_Hino_135_Zee_stack_3->SetBinContent(7,19.51814); hmean_Hino_135_Zee_stack_3->SetBinContent(8,15.34822); hmean_Hino_135_Zee_stack_3->SetBinContent(9,11.61617); hmean_Hino_135_Zee_stack_3->SetBinContent(10,7.915563); hmean_Hino_135_Zee_stack_3->SetBinContent(11,3.919268); hmean_Hino_135_Zee_stack_3->SetBinContent(12,-0.2974339); hmean_Hino_135_Zee_stack_3->SetBinContent(13,-5.633077); hmean_Hino_135_Zee_stack_3->SetBinContent(14,-8.885901); hmean_Hino_135_Zee_stack_3->SetBinContent(15,-13.91778); hmean_Hino_135_Zee_stack_3->SetBinContent(16,-18.13504); hmean_Hino_135_Zee_stack_3->SetBinContent(17,-21.85635); hmean_Hino_135_Zee_stack_3->SetBinContent(18,-24.08738); hmean_Hino_135_Zee_stack_3->SetBinContent(19,-35.4423); hmean_Hino_135_Zee_stack_3->SetBinContent(20,-55.15514); hmean_Hino_135_Zee_stack_3->SetBinContent(21,-94.07182); hmean_Hino_135_Zee_stack_3->SetBinContent(22,-156.6216); hmean_Hino_135_Zee_stack_3->SetBinError(1,6.041988); hmean_Hino_135_Zee_stack_3->SetBinError(2,3.831782); hmean_Hino_135_Zee_stack_3->SetBinError(3,2.025906); hmean_Hino_135_Zee_stack_3->SetBinError(4,1.421834); hmean_Hino_135_Zee_stack_3->SetBinError(5,1.738952); hmean_Hino_135_Zee_stack_3->SetBinError(6,1.240558); hmean_Hino_135_Zee_stack_3->SetBinError(7,1.005389); hmean_Hino_135_Zee_stack_3->SetBinError(8,0.8302489); hmean_Hino_135_Zee_stack_3->SetBinError(9,0.5370072); hmean_Hino_135_Zee_stack_3->SetBinError(10,0.5417978); hmean_Hino_135_Zee_stack_3->SetBinError(11,0.3926204); hmean_Hino_135_Zee_stack_3->SetBinError(12,0.4753695); hmean_Hino_135_Zee_stack_3->SetBinError(13,0.4683492); hmean_Hino_135_Zee_stack_3->SetBinError(14,0.6210623); hmean_Hino_135_Zee_stack_3->SetBinError(15,0.8008521); hmean_Hino_135_Zee_stack_3->SetBinError(16,0.7909617); hmean_Hino_135_Zee_stack_3->SetBinError(17,1.056171); hmean_Hino_135_Zee_stack_3->SetBinError(18,1.906641); hmean_Hino_135_Zee_stack_3->SetBinError(19,1.456491); hmean_Hino_135_Zee_stack_3->SetBinError(20,1.91713); hmean_Hino_135_Zee_stack_3->SetBinError(21,3.732427); hmean_Hino_135_Zee_stack_3->SetBinError(22,6.000101); hmean_Hino_135_Zee_stack_3->SetEntries(22); 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 300, 400, 750}; TH1F *hmean_Hino_135_2ns_stack_4 = new TH1F("hmean_Hino_135_2ns_stack_4","",22, xAxis12); hmean_Hino_135_2ns_stack_4->SetBinContent(1,143.8331); hmean_Hino_135_2ns_stack_4->SetBinContent(2,88.51883); hmean_Hino_135_2ns_stack_4->SetBinContent(3,55.34221); hmean_Hino_135_2ns_stack_4->SetBinContent(4,36.59423); hmean_Hino_135_2ns_stack_4->SetBinContent(5,30.54013); hmean_Hino_135_2ns_stack_4->SetBinContent(6,23.80001); hmean_Hino_135_2ns_stack_4->SetBinContent(7,18.99918); hmean_Hino_135_2ns_stack_4->SetBinContent(8,15.44744); hmean_Hino_135_2ns_stack_4->SetBinContent(9,10.91848); hmean_Hino_135_2ns_stack_4->SetBinContent(10,7.488214); hmean_Hino_135_2ns_stack_4->SetBinContent(11,1.611616); hmean_Hino_135_2ns_stack_4->SetBinContent(12,-0.2621448); hmean_Hino_135_2ns_stack_4->SetBinContent(13,-4.938401); hmean_Hino_135_2ns_stack_4->SetBinContent(14,-9.833844); hmean_Hino_135_2ns_stack_4->SetBinContent(15,-12.91436); hmean_Hino_135_2ns_stack_4->SetBinContent(16,-16.72153); hmean_Hino_135_2ns_stack_4->SetBinContent(17,-20.97422); hmean_Hino_135_2ns_stack_4->SetBinContent(18,-26.6264); hmean_Hino_135_2ns_stack_4->SetBinContent(19,-34.21145); hmean_Hino_135_2ns_stack_4->SetBinContent(20,-54.66238); hmean_Hino_135_2ns_stack_4->SetBinContent(21,-96.63509); hmean_Hino_135_2ns_stack_4->SetBinContent(22,-146.6572); hmean_Hino_135_2ns_stack_4->SetBinError(1,6.113513); hmean_Hino_135_2ns_stack_4->SetBinError(2,3.948995); hmean_Hino_135_2ns_stack_4->SetBinError(3,1.784892); hmean_Hino_135_2ns_stack_4->SetBinError(4,1.085136); hmean_Hino_135_2ns_stack_4->SetBinError(5,2.134393); hmean_Hino_135_2ns_stack_4->SetBinError(6,1.113666); hmean_Hino_135_2ns_stack_4->SetBinError(7,0.6676595); hmean_Hino_135_2ns_stack_4->SetBinError(8,0.7061552); hmean_Hino_135_2ns_stack_4->SetBinError(9,0.4105694); hmean_Hino_135_2ns_stack_4->SetBinError(10,0.3679415); hmean_Hino_135_2ns_stack_4->SetBinError(11,1.413013); hmean_Hino_135_2ns_stack_4->SetBinError(12,0.3436028); hmean_Hino_135_2ns_stack_4->SetBinError(13,0.313002); hmean_Hino_135_2ns_stack_4->SetBinError(14,0.5943186); hmean_Hino_135_2ns_stack_4->SetBinError(15,0.5005252); hmean_Hino_135_2ns_stack_4->SetBinError(16,0.7028306); hmean_Hino_135_2ns_stack_4->SetBinError(17,0.9259192); hmean_Hino_135_2ns_stack_4->SetBinError(18,1.338014); hmean_Hino_135_2ns_stack_4->SetBinError(19,1.248654); hmean_Hino_135_2ns_stack_4->SetBinError(20,1.866198); hmean_Hino_135_2ns_stack_4->SetBinError(21,3.726883); hmean_Hino_135_2ns_stack_4->SetBinError(22,5.665392); hmean_Hino_135_2ns_stack_4->SetEntries(22); 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 300, 400, 750}; TH1F *hmean_Zee_PVz_stack_5 = new TH1F("hmean_Zee_PVz_stack_5","",22, xAxis13); hmean_Zee_PVz_stack_5->SetBinContent(4,28.75072); hmean_Zee_PVz_stack_5->SetBinContent(5,30.85183); hmean_Zee_PVz_stack_5->SetBinContent(6,21.74758); hmean_Zee_PVz_stack_5->SetBinContent(7,19.41328); hmean_Zee_PVz_stack_5->SetBinContent(8,17.28412); hmean_Zee_PVz_stack_5->SetBinContent(9,12.90875); hmean_Zee_PVz_stack_5->SetBinContent(10,7.708082); hmean_Zee_PVz_stack_5->SetBinContent(11,4.008462); hmean_Zee_PVz_stack_5->SetBinContent(12,-0.5120117); hmean_Zee_PVz_stack_5->SetBinContent(13,-5.076663); hmean_Zee_PVz_stack_5->SetBinContent(14,-9.686188); hmean_Zee_PVz_stack_5->SetBinContent(15,-12.75113); hmean_Zee_PVz_stack_5->SetBinContent(16,-17.07356); hmean_Zee_PVz_stack_5->SetBinContent(17,-21.19373); hmean_Zee_PVz_stack_5->SetBinContent(18,-28.1438); hmean_Zee_PVz_stack_5->SetBinContent(19,-33.78817); hmean_Zee_PVz_stack_5->SetBinError(4,7.151381); hmean_Zee_PVz_stack_5->SetBinError(5,3.529432); hmean_Zee_PVz_stack_5->SetBinError(6,0.9249257); hmean_Zee_PVz_stack_5->SetBinError(7,0.5382167); hmean_Zee_PVz_stack_5->SetBinError(8,0.2923425); hmean_Zee_PVz_stack_5->SetBinError(9,0.3802016); hmean_Zee_PVz_stack_5->SetBinError(10,0.1133948); hmean_Zee_PVz_stack_5->SetBinError(11,0.09315438); hmean_Zee_PVz_stack_5->SetBinError(12,0.1636968); hmean_Zee_PVz_stack_5->SetBinError(13,0.1007237); hmean_Zee_PVz_stack_5->SetBinError(14,0.2167019); hmean_Zee_PVz_stack_5->SetBinError(15,0.212434); hmean_Zee_PVz_stack_5->SetBinError(16,0.4663222); hmean_Zee_PVz_stack_5->SetBinError(17,0.8413413); hmean_Zee_PVz_stack_5->SetBinError(18,1.850486); hmean_Zee_PVz_stack_5->SetBinError(19,4.105172); hmean_Zee_PVz_stack_5->SetEntries(22); 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[23] = {-750, -400, -300, -200, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 200, 300, 400, 750}; TH1F *hmean_Zee_truZ_stack_6 = new TH1F("hmean_Zee_truZ_stack_6","",22, xAxis14); hmean_Zee_truZ_stack_6->SetBinContent(4,29.09882); hmean_Zee_truZ_stack_6->SetBinContent(5,27.69686); hmean_Zee_truZ_stack_6->SetBinContent(6,21.73148); hmean_Zee_truZ_stack_6->SetBinContent(7,19.48564); hmean_Zee_truZ_stack_6->SetBinContent(8,17.24794); hmean_Zee_truZ_stack_6->SetBinContent(9,13.04249); hmean_Zee_truZ_stack_6->SetBinContent(10,7.670052); hmean_Zee_truZ_stack_6->SetBinContent(11,4.034896); hmean_Zee_truZ_stack_6->SetBinContent(12,-0.5323461); hmean_Zee_truZ_stack_6->SetBinContent(13,-5.056427); hmean_Zee_truZ_stack_6->SetBinContent(14,-9.711179); hmean_Zee_truZ_stack_6->SetBinContent(15,-12.68377); hmean_Zee_truZ_stack_6->SetBinContent(16,-17.12282); hmean_Zee_truZ_stack_6->SetBinContent(17,-21.07098); hmean_Zee_truZ_stack_6->SetBinContent(18,-28.52696); hmean_Zee_truZ_stack_6->SetBinContent(19,-33.393); hmean_Zee_truZ_stack_6->SetBinError(4,6.202303); hmean_Zee_truZ_stack_6->SetBinError(5,1.550034); hmean_Zee_truZ_stack_6->SetBinError(6,1.242647); hmean_Zee_truZ_stack_6->SetBinError(7,0.5252248); hmean_Zee_truZ_stack_6->SetBinError(8,0.2941473); hmean_Zee_truZ_stack_6->SetBinError(9,0.3911065); hmean_Zee_truZ_stack_6->SetBinError(10,0.1126693); hmean_Zee_truZ_stack_6->SetBinError(11,0.09296671); hmean_Zee_truZ_stack_6->SetBinError(12,0.169265); hmean_Zee_truZ_stack_6->SetBinError(13,0.1009929); hmean_Zee_truZ_stack_6->SetBinError(14,0.2175596); hmean_Zee_truZ_stack_6->SetBinError(15,0.211868); hmean_Zee_truZ_stack_6->SetBinError(16,0.4622168); hmean_Zee_truZ_stack_6->SetBinError(17,0.8404999); hmean_Zee_truZ_stack_6->SetBinError(18,1.729395); hmean_Zee_truZ_stack_6->SetBinError(19,3.748812); hmean_Zee_truZ_stack_6->SetEntries(22); 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); }