void PlotPointingBiasVrho() { //=========Macro generated from canvas: c_m/c //========= (Thu May 26 07:29:21 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hs_m_stack_2 = new TH1F("hs_m_stack_2","",18, 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hmean_Hino_325_Zee_stack_1 = new TH1F("hmean_Hino_325_Zee_stack_1","",18, xAxis9); hmean_Hino_325_Zee_stack_1->SetBinContent(1,181.4778); hmean_Hino_325_Zee_stack_1->SetBinContent(2,101.9095); hmean_Hino_325_Zee_stack_1->SetBinContent(3,67.2491); hmean_Hino_325_Zee_stack_1->SetBinContent(4,40.30139); hmean_Hino_325_Zee_stack_1->SetBinContent(5,26.01222); hmean_Hino_325_Zee_stack_1->SetBinContent(6,21.90224); hmean_Hino_325_Zee_stack_1->SetBinContent(7,13.72513); hmean_Hino_325_Zee_stack_1->SetBinContent(8,7.991003); hmean_Hino_325_Zee_stack_1->SetBinContent(9,4.989406); hmean_Hino_325_Zee_stack_1->SetBinContent(10,-2.321469); hmean_Hino_325_Zee_stack_1->SetBinContent(11,-5.92951); hmean_Hino_325_Zee_stack_1->SetBinContent(12,-10.2226); hmean_Hino_325_Zee_stack_1->SetBinContent(13,-24.41994); hmean_Hino_325_Zee_stack_1->SetBinContent(14,-21.18053); hmean_Hino_325_Zee_stack_1->SetBinContent(15,-36.78976); hmean_Hino_325_Zee_stack_1->SetBinContent(16,-64.21438); hmean_Hino_325_Zee_stack_1->SetBinContent(17,-85.16139); hmean_Hino_325_Zee_stack_1->SetBinContent(18,-164.5022); hmean_Hino_325_Zee_stack_1->SetBinError(1,1.693155); hmean_Hino_325_Zee_stack_1->SetBinError(2,1.033815); hmean_Hino_325_Zee_stack_1->SetBinError(3,0.8396579); hmean_Hino_325_Zee_stack_1->SetBinError(4,0.3007169); hmean_Hino_325_Zee_stack_1->SetBinError(5,0.4275183); hmean_Hino_325_Zee_stack_1->SetBinError(6,0.280109); hmean_Hino_325_Zee_stack_1->SetBinError(7,0.2598329); hmean_Hino_325_Zee_stack_1->SetBinError(8,0.2306846); hmean_Hino_325_Zee_stack_1->SetBinError(9,0.1735827); hmean_Hino_325_Zee_stack_1->SetBinError(10,0.2061558); hmean_Hino_325_Zee_stack_1->SetBinError(11,0.1607882); hmean_Hino_325_Zee_stack_1->SetBinError(12,0.1860002); hmean_Hino_325_Zee_stack_1->SetBinError(13,0.6874712); hmean_Hino_325_Zee_stack_1->SetBinError(14,0.4008776); hmean_Hino_325_Zee_stack_1->SetBinError(15,0.2933858); hmean_Hino_325_Zee_stack_1->SetBinError(16,0.8230603); hmean_Hino_325_Zee_stack_1->SetBinError(17,1.110008); hmean_Hino_325_Zee_stack_1->SetBinError(18,1.265372); hmean_Hino_325_Zee_stack_1->SetEntries(18); 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hmean_Hino_325_Hyy_stack_2 = new TH1F("hmean_Hino_325_Hyy_stack_2","",18, xAxis10); hmean_Hino_325_Hyy_stack_2->SetBinContent(1,194.8082); hmean_Hino_325_Hyy_stack_2->SetBinContent(2,105.0791); hmean_Hino_325_Hyy_stack_2->SetBinContent(3,63.97494); hmean_Hino_325_Hyy_stack_2->SetBinContent(4,43.04676); hmean_Hino_325_Hyy_stack_2->SetBinContent(5,20.73379); hmean_Hino_325_Hyy_stack_2->SetBinContent(6,13.17984); hmean_Hino_325_Hyy_stack_2->SetBinContent(7,12.60972); hmean_Hino_325_Hyy_stack_2->SetBinContent(8,8.948855); hmean_Hino_325_Hyy_stack_2->SetBinContent(9,4.122978); hmean_Hino_325_Hyy_stack_2->SetBinContent(10,-3.438076); hmean_Hino_325_Hyy_stack_2->SetBinContent(11,-6.047063); hmean_Hino_325_Hyy_stack_2->SetBinContent(12,-9.543123); hmean_Hino_325_Hyy_stack_2->SetBinContent(13,-12.80244); hmean_Hino_325_Hyy_stack_2->SetBinContent(14,-16.86551); hmean_Hino_325_Hyy_stack_2->SetBinContent(15,-33.60512); hmean_Hino_325_Hyy_stack_2->SetBinContent(16,-72.47038); hmean_Hino_325_Hyy_stack_2->SetBinContent(17,-112.8166); hmean_Hino_325_Hyy_stack_2->SetBinContent(18,-157.0303); hmean_Hino_325_Hyy_stack_2->SetBinError(1,2.641652); hmean_Hino_325_Hyy_stack_2->SetBinError(2,2.841061); hmean_Hino_325_Hyy_stack_2->SetBinError(3,1.773892); hmean_Hino_325_Hyy_stack_2->SetBinError(4,0.581977); hmean_Hino_325_Hyy_stack_2->SetBinError(5,0.4925424); hmean_Hino_325_Hyy_stack_2->SetBinError(6,0.3946867); hmean_Hino_325_Hyy_stack_2->SetBinError(7,0.1932098); hmean_Hino_325_Hyy_stack_2->SetBinError(8,0.199733); hmean_Hino_325_Hyy_stack_2->SetBinError(9,0.1534809); hmean_Hino_325_Hyy_stack_2->SetBinError(10,0.176318); hmean_Hino_325_Hyy_stack_2->SetBinError(11,0.1323906); hmean_Hino_325_Hyy_stack_2->SetBinError(12,0.4062146); hmean_Hino_325_Hyy_stack_2->SetBinError(13,0.213136); hmean_Hino_325_Hyy_stack_2->SetBinError(14,0.4781356); hmean_Hino_325_Hyy_stack_2->SetBinError(15,0.4153862); hmean_Hino_325_Hyy_stack_2->SetBinError(16,2.049784); hmean_Hino_325_Hyy_stack_2->SetBinError(17,1.596674); hmean_Hino_325_Hyy_stack_2->SetBinError(18,1.856957); hmean_Hino_325_Hyy_stack_2->SetEntries(18); 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hmean_Hino_135_Zee_stack_3 = new TH1F("hmean_Hino_135_Zee_stack_3","",18, xAxis11); hmean_Hino_135_Zee_stack_3->SetBinContent(1,172.8652); hmean_Hino_135_Zee_stack_3->SetBinContent(2,96.79496); hmean_Hino_135_Zee_stack_3->SetBinContent(3,72.47333); hmean_Hino_135_Zee_stack_3->SetBinContent(4,36.95485); hmean_Hino_135_Zee_stack_3->SetBinContent(5,23.59691); hmean_Hino_135_Zee_stack_3->SetBinContent(6,18.53752); hmean_Hino_135_Zee_stack_3->SetBinContent(7,15.58095); hmean_Hino_135_Zee_stack_3->SetBinContent(8,8.834673); hmean_Hino_135_Zee_stack_3->SetBinContent(9,4.294774); hmean_Hino_135_Zee_stack_3->SetBinContent(10,-0.5840856); hmean_Hino_135_Zee_stack_3->SetBinContent(11,-7.081131); hmean_Hino_135_Zee_stack_3->SetBinContent(12,-11.76846); hmean_Hino_135_Zee_stack_3->SetBinContent(13,-18.54045); hmean_Hino_135_Zee_stack_3->SetBinContent(14,-23.28488); hmean_Hino_135_Zee_stack_3->SetBinContent(15,-34.32942); hmean_Hino_135_Zee_stack_3->SetBinContent(16,-65.3988); hmean_Hino_135_Zee_stack_3->SetBinContent(17,-95.0387); hmean_Hino_135_Zee_stack_3->SetBinContent(18,-163.0066); hmean_Hino_135_Zee_stack_3->SetBinError(1,1.477261); hmean_Hino_135_Zee_stack_3->SetBinError(2,0.9387131); hmean_Hino_135_Zee_stack_3->SetBinError(3,0.8117076); hmean_Hino_135_Zee_stack_3->SetBinError(4,0.2393228); hmean_Hino_135_Zee_stack_3->SetBinError(5,0.2293856); hmean_Hino_135_Zee_stack_3->SetBinError(6,0.1689463); hmean_Hino_135_Zee_stack_3->SetBinError(7,0.1255346); hmean_Hino_135_Zee_stack_3->SetBinError(8,0.112179); hmean_Hino_135_Zee_stack_3->SetBinError(9,0.07931165); hmean_Hino_135_Zee_stack_3->SetBinError(10,0.1575538); hmean_Hino_135_Zee_stack_3->SetBinError(11,0.09456001); hmean_Hino_135_Zee_stack_3->SetBinError(12,0.1062995); hmean_Hino_135_Zee_stack_3->SetBinError(13,0.1505602); hmean_Hino_135_Zee_stack_3->SetBinError(14,0.2247921); hmean_Hino_135_Zee_stack_3->SetBinError(15,0.2097603); hmean_Hino_135_Zee_stack_3->SetBinError(16,0.6872208); hmean_Hino_135_Zee_stack_3->SetBinError(17,0.8810313); hmean_Hino_135_Zee_stack_3->SetBinError(18,1.543261); hmean_Hino_135_Zee_stack_3->SetEntries(18); 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hmean_Hino_135_2ns_stack_4 = new TH1F("hmean_Hino_135_2ns_stack_4","",18, xAxis12); hmean_Hino_135_2ns_stack_4->SetBinContent(1,163.0065); hmean_Hino_135_2ns_stack_4->SetBinContent(2,92.84047); hmean_Hino_135_2ns_stack_4->SetBinContent(3,62.95391); hmean_Hino_135_2ns_stack_4->SetBinContent(4,37.00601); hmean_Hino_135_2ns_stack_4->SetBinContent(5,25.28078); hmean_Hino_135_2ns_stack_4->SetBinContent(6,17.94434); hmean_Hino_135_2ns_stack_4->SetBinContent(7,13.64796); hmean_Hino_135_2ns_stack_4->SetBinContent(8,8.691647); hmean_Hino_135_2ns_stack_4->SetBinContent(9,4.041886); hmean_Hino_135_2ns_stack_4->SetBinContent(10,-0.4990659); hmean_Hino_135_2ns_stack_4->SetBinContent(11,-6.475707); hmean_Hino_135_2ns_stack_4->SetBinContent(12,-12.04136); hmean_Hino_135_2ns_stack_4->SetBinContent(13,-16.32152); hmean_Hino_135_2ns_stack_4->SetBinContent(14,-21.53374); hmean_Hino_135_2ns_stack_4->SetBinContent(15,-34.73303); hmean_Hino_135_2ns_stack_4->SetBinContent(16,-66.04038); hmean_Hino_135_2ns_stack_4->SetBinContent(17,-94.33806); hmean_Hino_135_2ns_stack_4->SetBinContent(18,-171.0986); hmean_Hino_135_2ns_stack_4->SetBinError(1,1.447232); hmean_Hino_135_2ns_stack_4->SetBinError(2,0.7127323); hmean_Hino_135_2ns_stack_4->SetBinError(3,0.7538102); hmean_Hino_135_2ns_stack_4->SetBinError(4,0.205894); hmean_Hino_135_2ns_stack_4->SetBinError(5,0.2272834); hmean_Hino_135_2ns_stack_4->SetBinError(6,0.1425704); hmean_Hino_135_2ns_stack_4->SetBinError(7,0.1045733); hmean_Hino_135_2ns_stack_4->SetBinError(8,0.09750067); hmean_Hino_135_2ns_stack_4->SetBinError(9,0.06433996); hmean_Hino_135_2ns_stack_4->SetBinError(10,0.116607); hmean_Hino_135_2ns_stack_4->SetBinError(11,0.08627959); hmean_Hino_135_2ns_stack_4->SetBinError(12,0.08823131); hmean_Hino_135_2ns_stack_4->SetBinError(13,0.1381984); hmean_Hino_135_2ns_stack_4->SetBinError(14,0.1866015); hmean_Hino_135_2ns_stack_4->SetBinError(15,0.198648); hmean_Hino_135_2ns_stack_4->SetBinError(16,0.6403238); hmean_Hino_135_2ns_stack_4->SetBinError(17,0.821963); hmean_Hino_135_2ns_stack_4->SetBinError(18,1.937412); hmean_Hino_135_2ns_stack_4->SetEntries(18); 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hmean_Zee_PVz_stack_5 = new TH1F("hmean_Zee_PVz_stack_5","",18, xAxis13); hmean_Zee_PVz_stack_5->SetBinContent(4,31.36615); hmean_Zee_PVz_stack_5->SetBinContent(5,23.07304); hmean_Zee_PVz_stack_5->SetBinContent(6,19.80292); hmean_Zee_PVz_stack_5->SetBinContent(7,14.57403); hmean_Zee_PVz_stack_5->SetBinContent(8,9.199355); hmean_Zee_PVz_stack_5->SetBinContent(9,4.483867); hmean_Zee_PVz_stack_5->SetBinContent(10,-0.7467257); hmean_Zee_PVz_stack_5->SetBinContent(11,-6.455467); hmean_Zee_PVz_stack_5->SetBinContent(12,-11.45369); hmean_Zee_PVz_stack_5->SetBinContent(13,-16.54388); hmean_Zee_PVz_stack_5->SetBinContent(14,-21.56012); hmean_Zee_PVz_stack_5->SetBinContent(15,-28.49987); hmean_Zee_PVz_stack_5->SetBinError(4,0.662699); hmean_Zee_PVz_stack_5->SetBinError(5,0.2446979); hmean_Zee_PVz_stack_5->SetBinError(6,0.08870734); hmean_Zee_PVz_stack_5->SetBinError(7,0.05108483); hmean_Zee_PVz_stack_5->SetBinError(8,0.02933386); hmean_Zee_PVz_stack_5->SetBinError(9,0.01740295); hmean_Zee_PVz_stack_5->SetBinError(10,0.0450578); hmean_Zee_PVz_stack_5->SetBinError(11,0.0225339); hmean_Zee_PVz_stack_5->SetBinError(12,0.03271574); hmean_Zee_PVz_stack_5->SetBinError(13,0.0801549); hmean_Zee_PVz_stack_5->SetBinError(14,0.1915547); hmean_Zee_PVz_stack_5->SetBinError(15,0.6312771); hmean_Zee_PVz_stack_5->SetEntries(18); 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[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hmean_Zee_truZ_stack_6 = new TH1F("hmean_Zee_truZ_stack_6","",18, xAxis14); hmean_Zee_truZ_stack_6->SetBinContent(4,29.28442); hmean_Zee_truZ_stack_6->SetBinContent(5,23.47884); hmean_Zee_truZ_stack_6->SetBinContent(6,19.78844); hmean_Zee_truZ_stack_6->SetBinContent(7,14.60872); hmean_Zee_truZ_stack_6->SetBinContent(8,9.17636); hmean_Zee_truZ_stack_6->SetBinContent(9,4.488577); hmean_Zee_truZ_stack_6->SetBinContent(10,-0.7485055); hmean_Zee_truZ_stack_6->SetBinContent(11,-6.55294); hmean_Zee_truZ_stack_6->SetBinContent(12,-11.42689); hmean_Zee_truZ_stack_6->SetBinContent(13,-16.43835); hmean_Zee_truZ_stack_6->SetBinContent(14,-21.80882); hmean_Zee_truZ_stack_6->SetBinContent(15,-27.94358); hmean_Zee_truZ_stack_6->SetBinError(4,0.4162457); hmean_Zee_truZ_stack_6->SetBinError(5,0.2570834); hmean_Zee_truZ_stack_6->SetBinError(6,0.08768088); hmean_Zee_truZ_stack_6->SetBinError(7,0.05022391); hmean_Zee_truZ_stack_6->SetBinError(8,0.0289883); hmean_Zee_truZ_stack_6->SetBinError(9,0.01740385); hmean_Zee_truZ_stack_6->SetBinError(10,0.04514767); hmean_Zee_truZ_stack_6->SetBinError(11,0.02262077); hmean_Zee_truZ_stack_6->SetBinError(12,0.03299288); hmean_Zee_truZ_stack_6->SetBinError(13,0.08217158); hmean_Zee_truZ_stack_6->SetBinError(14,0.1828687); hmean_Zee_truZ_stack_6->SetBinError(15,0.5311125); hmean_Zee_truZ_stack_6->SetEntries(18); 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); }