void PlotPointingBiasVrhoRat() { //=========Macro generated from canvas: c_m/c //========= (Thu May 26 07:38:20 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,-0.375,937.5,3.375); c_m->SetFillColor(0); c_m->SetBorderMode(0); c_m->SetBorderSize(2); c_m->SetFrameBorderMode(0); c_m->SetFrameBorderMode(0); THStack *hs_m_rat = new THStack(); hs_m_rat->SetName("hs_m_rat"); hs_m_rat->SetTitle(";z_{origin} [mm];Ratio;"); hs_m_rat->SetMinimum(0); hs_m_rat->SetMaximum(3); Double_t xAxis22[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_rat_stack_4 = new TH1F("hs_m_rat_stack_4","",22, xAxis22); hs_m_rat_stack_4->SetMinimum(0); hs_m_rat_stack_4->SetMaximum(3); hs_m_rat_stack_4->SetDirectory(0); hs_m_rat_stack_4->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hs_m_rat_stack_4->SetLineColor(ci); hs_m_rat_stack_4->GetXaxis()->SetTitle("z_{origin} [mm]"); hs_m_rat_stack_4->GetXaxis()->SetLabelFont(42); hs_m_rat_stack_4->GetXaxis()->SetTitleOffset(1); hs_m_rat_stack_4->GetXaxis()->SetTitleFont(42); hs_m_rat_stack_4->GetYaxis()->SetTitle("Ratio"); hs_m_rat_stack_4->GetYaxis()->SetLabelFont(42); hs_m_rat_stack_4->GetYaxis()->SetTitleFont(42); hs_m_rat_stack_4->GetZaxis()->SetLabelFont(42); hs_m_rat_stack_4->GetZaxis()->SetTitleOffset(1); hs_m_rat_stack_4->GetZaxis()->SetTitleFont(42); hs_m_rat->SetHistogram(hs_m_rat_stack_4); Double_t xAxis23[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, xAxis23); hmean_Hino_325_Zee_stack_1->SetBinContent(1,1); hmean_Hino_325_Zee_stack_1->SetBinContent(2,1); hmean_Hino_325_Zee_stack_1->SetBinContent(3,1); hmean_Hino_325_Zee_stack_1->SetBinContent(4,1); hmean_Hino_325_Zee_stack_1->SetBinContent(5,1); hmean_Hino_325_Zee_stack_1->SetBinContent(6,1); hmean_Hino_325_Zee_stack_1->SetBinContent(7,1); hmean_Hino_325_Zee_stack_1->SetBinContent(8,1); hmean_Hino_325_Zee_stack_1->SetBinContent(9,1); hmean_Hino_325_Zee_stack_1->SetBinContent(10,1); hmean_Hino_325_Zee_stack_1->SetBinContent(11,1); hmean_Hino_325_Zee_stack_1->SetBinContent(12,1); hmean_Hino_325_Zee_stack_1->SetBinContent(13,1); hmean_Hino_325_Zee_stack_1->SetBinContent(14,1); hmean_Hino_325_Zee_stack_1->SetBinContent(15,1); hmean_Hino_325_Zee_stack_1->SetBinContent(16,1); hmean_Hino_325_Zee_stack_1->SetBinContent(17,1); hmean_Hino_325_Zee_stack_1->SetBinContent(18,1); hmean_Hino_325_Zee_stack_1->SetBinContent(19,1); hmean_Hino_325_Zee_stack_1->SetBinContent(20,1); hmean_Hino_325_Zee_stack_1->SetBinContent(21,1); hmean_Hino_325_Zee_stack_1->SetBinContent(22,1); hmean_Hino_325_Zee_stack_1->SetBinError(1,0.06521646); hmean_Hino_325_Zee_stack_1->SetBinError(2,0.07233347); hmean_Hino_325_Zee_stack_1->SetBinError(3,0.05434704); hmean_Hino_325_Zee_stack_1->SetBinError(4,0.05663467); hmean_Hino_325_Zee_stack_1->SetBinError(5,0.1144278); hmean_Hino_325_Zee_stack_1->SetBinError(6,0.07095374); hmean_Hino_325_Zee_stack_1->SetBinError(7,0.06581733); hmean_Hino_325_Zee_stack_1->SetBinError(8,0.07174467); hmean_Hino_325_Zee_stack_1->SetBinError(9,0.04045757); hmean_Hino_325_Zee_stack_1->SetBinError(10,0.08290744); hmean_Hino_325_Zee_stack_1->SetBinError(11,1.814403); hmean_Hino_325_Zee_stack_1->SetBinError(12,2.097644); hmean_Hino_325_Zee_stack_1->SetBinError(13,0.1185437); hmean_Hino_325_Zee_stack_1->SetBinError(14,0.1062097); hmean_Hino_325_Zee_stack_1->SetBinError(15,0.06890822); hmean_Hino_325_Zee_stack_1->SetBinError(16,0.07083531); hmean_Hino_325_Zee_stack_1->SetBinError(17,0.08945167); hmean_Hino_325_Zee_stack_1->SetBinError(18,0.08151392); hmean_Hino_325_Zee_stack_1->SetBinError(19,0.06280182); hmean_Hino_325_Zee_stack_1->SetBinError(20,0.05242524); hmean_Hino_325_Zee_stack_1->SetBinError(21,0.06657863); hmean_Hino_325_Zee_stack_1->SetBinError(22,0.0541563); hmean_Hino_325_Zee_stack_1->SetEntries(61.98979); 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_rat->Add(hmean_Hino_325_Zee_stack_1,""); Double_t xAxis24[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, xAxis24); hmean_Hino_325_Hyy_stack_2->SetBinContent(1,1.005846); hmean_Hino_325_Hyy_stack_2->SetBinContent(2,0.896672); hmean_Hino_325_Hyy_stack_2->SetBinContent(3,0.950397); hmean_Hino_325_Hyy_stack_2->SetBinContent(4,0.9889451); hmean_Hino_325_Hyy_stack_2->SetBinContent(5,1.078232); hmean_Hino_325_Hyy_stack_2->SetBinContent(6,0.9215836); hmean_Hino_325_Hyy_stack_2->SetBinContent(7,0.8186353); hmean_Hino_325_Hyy_stack_2->SetBinContent(8,0.9295355); hmean_Hino_325_Hyy_stack_2->SetBinContent(9,0.8738423); hmean_Hino_325_Hyy_stack_2->SetBinContent(10,0.8056923); hmean_Hino_325_Hyy_stack_2->SetBinContent(11,1.09847); hmean_Hino_325_Hyy_stack_2->SetBinContent(12,0.6673613); hmean_Hino_325_Hyy_stack_2->SetBinContent(13,0.4854356); hmean_Hino_325_Hyy_stack_2->SetBinContent(14,0.8749667); hmean_Hino_325_Hyy_stack_2->SetBinContent(15,0.7976646); hmean_Hino_325_Hyy_stack_2->SetBinContent(16,0.9903722); hmean_Hino_325_Hyy_stack_2->SetBinContent(17,1.047111); hmean_Hino_325_Hyy_stack_2->SetBinContent(18,0.7063203); hmean_Hino_325_Hyy_stack_2->SetBinContent(19,0.9064143); hmean_Hino_325_Hyy_stack_2->SetBinContent(20,0.8774452); hmean_Hino_325_Hyy_stack_2->SetBinContent(21,1.069541); hmean_Hino_325_Hyy_stack_2->SetBinContent(22,0.9035317); hmean_Hino_325_Hyy_stack_2->SetBinError(1,0.06758579); hmean_Hino_325_Hyy_stack_2->SetBinError(2,0.07336867); hmean_Hino_325_Hyy_stack_2->SetBinError(3,0.05887189); hmean_Hino_325_Hyy_stack_2->SetBinError(4,0.06966077); hmean_Hino_325_Hyy_stack_2->SetBinError(5,0.172712); hmean_Hino_325_Hyy_stack_2->SetBinError(6,0.08072542); hmean_Hino_325_Hyy_stack_2->SetBinError(7,0.06709163); hmean_Hino_325_Hyy_stack_2->SetBinError(8,0.07893992); hmean_Hino_325_Hyy_stack_2->SetBinError(9,0.1025218); hmean_Hino_325_Hyy_stack_2->SetBinError(10,0.07587404); hmean_Hino_325_Hyy_stack_2->SetBinError(11,2.089664); hmean_Hino_325_Hyy_stack_2->SetBinError(12,1.585058); hmean_Hino_325_Hyy_stack_2->SetBinError(13,0.6387337); hmean_Hino_325_Hyy_stack_2->SetBinError(14,0.09684004); hmean_Hino_325_Hyy_stack_2->SetBinError(15,0.07737208); hmean_Hino_325_Hyy_stack_2->SetBinError(16,0.1003925); hmean_Hino_325_Hyy_stack_2->SetBinError(17,0.1135311); hmean_Hino_325_Hyy_stack_2->SetBinError(18,0.1189842); hmean_Hino_325_Hyy_stack_2->SetBinError(19,0.07385561); hmean_Hino_325_Hyy_stack_2->SetBinError(20,0.05959411); hmean_Hino_325_Hyy_stack_2->SetBinError(21,0.0750245); hmean_Hino_325_Hyy_stack_2->SetBinError(22,0.05644344); hmean_Hino_325_Hyy_stack_2->SetEntries(52.13788); 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_rat->Add(hmean_Hino_325_Hyy_stack_2,""); Double_t xAxis25[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, xAxis25); hmean_Hino_135_Zee_stack_3->SetBinContent(1,0.9482125); hmean_Hino_135_Zee_stack_3->SetBinContent(2,0.9534557); hmean_Hino_135_Zee_stack_3->SetBinContent(3,1.042832); hmean_Hino_135_Zee_stack_3->SetBinContent(4,1.093911); hmean_Hino_135_Zee_stack_3->SetBinContent(5,1.053093); hmean_Hino_135_Zee_stack_3->SetBinContent(6,0.971104); hmean_Hino_135_Zee_stack_3->SetBinContent(7,0.9533098); hmean_Hino_135_Zee_stack_3->SetBinContent(8,0.9682363); hmean_Hino_135_Zee_stack_3->SetBinContent(9,0.9716512); hmean_Hino_135_Zee_stack_3->SetBinContent(10,1.032584); hmean_Hino_135_Zee_stack_3->SetBinContent(11,2.199443); hmean_Hino_135_Zee_stack_3->SetBinContent(12,0.3907284); hmean_Hino_135_Zee_stack_3->SetBinContent(13,1.133366); hmean_Hino_135_Zee_stack_3->SetBinContent(14,0.9118469); hmean_Hino_135_Zee_stack_3->SetBinContent(15,1.066942); hmean_Hino_135_Zee_stack_3->SetBinContent(16,1.040062); hmean_Hino_135_Zee_stack_3->SetBinContent(17,1.111313); hmean_Hino_135_Zee_stack_3->SetBinContent(18,0.9041309); hmean_Hino_135_Zee_stack_3->SetBinContent(19,1.036547); hmean_Hino_135_Zee_stack_3->SetBinContent(20,0.9976367); hmean_Hino_135_Zee_stack_3->SetBinContent(21,1.044971); hmean_Hino_135_Zee_stack_3->SetBinContent(22,0.9695426); hmean_Hino_135_Zee_stack_3->SetBinError(1,0.05660067); hmean_Hino_135_Zee_stack_3->SetBinError(2,0.06183416); hmean_Hino_135_Zee_stack_3->SetBinError(3,0.05339827); hmean_Hino_135_Zee_stack_3->SetBinError(4,0.06043465); hmean_Hino_135_Zee_stack_3->SetBinError(5,0.1071576); hmean_Hino_135_Zee_stack_3->SetBinError(6,0.07011814); hmean_Hino_135_Zee_stack_3->SetBinError(7,0.06617982); hmean_Hino_135_Zee_stack_3->SetBinError(8,0.07180519); hmean_Hino_135_Zee_stack_3->SetBinError(9,0.05282382); hmean_Hino_135_Zee_stack_3->SetBinError(10,0.09305775); hmean_Hino_135_Zee_stack_3->SetBinError(11,2.830424); hmean_Hino_135_Zee_stack_3->SetBinError(12,0.8519684); hmean_Hino_135_Zee_stack_3->SetBinError(13,0.1338092); hmean_Hino_135_Zee_stack_3->SetBinError(14,0.09354889); hmean_Hino_135_Zee_stack_3->SetBinError(15,0.08044778); hmean_Hino_135_Zee_stack_3->SetBinError(16,0.06907686); hmean_Hino_135_Zee_stack_3->SetBinError(17,0.08845899); hmean_Hino_135_Zee_stack_3->SetBinError(18,0.08853008); hmean_Hino_135_Zee_stack_3->SetBinError(19,0.06271589); hmean_Hino_135_Zee_stack_3->SetBinError(20,0.05069704); hmean_Hino_135_Zee_stack_3->SetBinError(21,0.06433638); hmean_Hino_135_Zee_stack_3->SetBinError(22,0.0525173); hmean_Hino_135_Zee_stack_3->SetEntries(58.67947); 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_rat->Add(hmean_Hino_135_Zee_stack_3,""); Double_t xAxis26[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, xAxis26); hmean_Hino_135_2ns_stack_4->SetBinContent(1,0.8555455); hmean_Hino_135_2ns_stack_4->SetBinContent(2,0.8782279); hmean_Hino_135_2ns_stack_4->SetBinContent(3,0.9640161); hmean_Hino_135_2ns_stack_4->SetBinContent(4,1.071503); hmean_Hino_135_2ns_stack_4->SetBinContent(5,1.141184); hmean_Hino_135_2ns_stack_4->SetBinContent(6,0.9674056); hmean_Hino_135_2ns_stack_4->SetBinContent(7,0.9279624); hmean_Hino_135_2ns_stack_4->SetBinContent(8,0.9744958); hmean_Hino_135_2ns_stack_4->SetBinContent(9,0.9132919); hmean_Hino_135_2ns_stack_4->SetBinContent(10,0.9768364); hmean_Hino_135_2ns_stack_4->SetBinContent(11,0.9044182); hmean_Hino_135_2ns_stack_4->SetBinContent(12,0.3443704); hmean_Hino_135_2ns_stack_4->SetBinContent(13,0.9935982); hmean_Hino_135_2ns_stack_4->SetBinContent(14,1.009122); hmean_Hino_135_2ns_stack_4->SetBinContent(15,0.9900193); hmean_Hino_135_2ns_stack_4->SetBinContent(16,0.9589957); hmean_Hino_135_2ns_stack_4->SetBinContent(17,1.06646); hmean_Hino_135_2ns_stack_4->SetBinContent(18,0.9994341); hmean_Hino_135_2ns_stack_4->SetBinContent(19,1.00055); hmean_Hino_135_2ns_stack_4->SetBinContent(20,0.9887238); hmean_Hino_135_2ns_stack_4->SetBinContent(21,1.073445); hmean_Hino_135_2ns_stack_4->SetBinContent(22,0.9078595); hmean_Hino_135_2ns_stack_4->SetBinError(1,0.05365574); hmean_Hino_135_2ns_stack_4->SetBinError(2,0.05960502); hmean_Hino_135_2ns_stack_4->SetBinError(3,0.04836428); hmean_Hino_135_2ns_stack_4->SetBinError(4,0.05339326); hmean_Hino_135_2ns_stack_4->SetBinError(5,0.1220118); hmean_Hino_135_2ns_stack_4->SetBinError(6,0.06636975); hmean_Hino_135_2ns_stack_4->SetBinError(7,0.05411609); hmean_Hino_135_2ns_stack_4->SetBinError(8,0.06654718); hmean_Hino_135_2ns_stack_4->SetBinError(9,0.04315152); hmean_Hino_135_2ns_stack_4->SetBinError(10,0.07472114); hmean_Hino_135_2ns_stack_4->SetBinError(11,1.405418); hmean_Hino_135_2ns_stack_4->SetBinError(12,0.6816521); hmean_Hino_135_2ns_stack_4->SetBinError(13,0.1044152); hmean_Hino_135_2ns_stack_4->SetBinError(14,0.09727833); hmean_Hino_135_2ns_stack_4->SetBinError(15,0.06163851); hmean_Hino_135_2ns_stack_4->SetBinError(16,0.0627059); hmean_Hino_135_2ns_stack_4->SetBinError(17,0.0822602); hmean_Hino_135_2ns_stack_4->SetBinError(18,0.07642543); hmean_Hino_135_2ns_stack_4->SetBinError(19,0.05751331); hmean_Hino_135_2ns_stack_4->SetBinError(20,0.04982788); hmean_Hino_135_2ns_stack_4->SetBinError(21,0.06532805); hmean_Hino_135_2ns_stack_4->SetBinError(22,0.0493824); hmean_Hino_135_2ns_stack_4->SetEntries(172.1789); 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_rat->Add(hmean_Hino_135_2ns_stack_4,""); Double_t xAxis27[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, xAxis27); hmean_Zee_PVz_stack_5->SetBinContent(4,0.8418397); hmean_Zee_PVz_stack_5->SetBinContent(5,1.152831); hmean_Zee_PVz_stack_5->SetBinContent(6,0.88398); hmean_Zee_PVz_stack_5->SetBinContent(7,0.9481883); hmean_Zee_PVz_stack_5->SetBinContent(8,1.090362); hmean_Zee_PVz_stack_5->SetBinContent(9,1.079771); hmean_Zee_PVz_stack_5->SetBinContent(10,1.005518); hmean_Zee_PVz_stack_5->SetBinContent(11,2.249498); hmean_Zee_PVz_stack_5->SetBinContent(12,0.6726118); hmean_Zee_PVz_stack_5->SetBinContent(13,1.021416); hmean_Zee_PVz_stack_5->SetBinContent(14,0.99397); hmean_Zee_PVz_stack_5->SetBinContent(15,0.9775056); hmean_Zee_PVz_stack_5->SetBinContent(16,0.9791853); hmean_Zee_PVz_stack_5->SetBinContent(17,1.077621); hmean_Zee_PVz_stack_5->SetBinContent(18,1.056391); hmean_Zee_PVz_stack_5->SetBinContent(19,0.9881703); hmean_Zee_PVz_stack_5->SetBinError(4,0.2120936); hmean_Zee_PVz_stack_5->SetBinError(5,0.1615366); hmean_Zee_PVz_stack_5->SetBinError(6,0.05814157); hmean_Zee_PVz_stack_5->SetBinError(7,0.05136511); hmean_Zee_PVz_stack_5->SetBinError(8,0.05830867); hmean_Zee_PVz_stack_5->SetBinError(9,0.04433492); hmean_Zee_PVz_stack_5->SetBinError(10,0.06077558); hmean_Zee_PVz_stack_5->SetBinError(11,2.886528); hmean_Zee_PVz_stack_5->SetBinError(12,1.02057); hmean_Zee_PVz_stack_5->SetBinError(13,0.08798389); hmean_Zee_PVz_stack_5->SetBinError(14,0.07789049); hmean_Zee_PVz_stack_5->SetBinError(15,0.05033658); hmean_Zee_PVz_stack_5->SetBinError(16,0.05586331); hmean_Zee_PVz_stack_5->SetBinError(17,0.08047388); hmean_Zee_PVz_stack_5->SetBinError(18,0.09236906); hmean_Zee_PVz_stack_5->SetBinError(19,0.1278283); hmean_Zee_PVz_stack_5->SetEntries(30.4547); 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_rat->Add(hmean_Zee_PVz_stack_5,""); Double_t xAxis28[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, xAxis28); hmean_Zee_truZ_stack_6->SetBinContent(4,0.8520324); hmean_Zee_truZ_stack_6->SetBinContent(5,1.03494); hmean_Zee_truZ_stack_6->SetBinContent(6,0.8833255); hmean_Zee_truZ_stack_6->SetBinContent(7,0.9517225); hmean_Zee_truZ_stack_6->SetBinContent(8,1.08808); hmean_Zee_truZ_stack_6->SetBinContent(9,1.090957); hmean_Zee_truZ_stack_6->SetBinContent(10,1.000557); hmean_Zee_truZ_stack_6->SetBinContent(11,2.264332); hmean_Zee_truZ_stack_6->SetBinContent(12,0.6993243); hmean_Zee_truZ_stack_6->SetBinContent(13,1.017345); hmean_Zee_truZ_stack_6->SetBinContent(14,0.9965346); hmean_Zee_truZ_stack_6->SetBinContent(15,0.972342); hmean_Zee_truZ_stack_6->SetBinContent(16,0.9820102); hmean_Zee_truZ_stack_6->SetBinContent(17,1.07138); hmean_Zee_truZ_stack_6->SetBinContent(18,1.070773); hmean_Zee_truZ_stack_6->SetBinContent(19,0.9766132); hmean_Zee_truZ_stack_6->SetBinError(4,0.184785); hmean_Zee_truZ_stack_6->SetBinError(5,0.1018186); hmean_Zee_truZ_stack_6->SetBinError(6,0.06719653); hmean_Zee_truZ_stack_6->SetBinError(7,0.05118554); hmean_Zee_truZ_stack_6->SetBinError(8,0.05823504); hmean_Zee_truZ_stack_6->SetBinError(9,0.04521403); hmean_Zee_truZ_stack_6->SetBinError(10,0.06047045); hmean_Zee_truZ_stack_6->SetBinError(11,2.905554); hmean_Zee_truZ_stack_6->SetBinError(12,1.060844); hmean_Zee_truZ_stack_6->SetBinError(13,0.08766436); hmean_Zee_truZ_stack_6->SetBinError(14,0.07810021); hmean_Zee_truZ_stack_6->SetBinError(15,0.05008449); hmean_Zee_truZ_stack_6->SetBinError(16,0.0558755); hmean_Zee_truZ_stack_6->SetBinError(17,0.08011695); hmean_Zee_truZ_stack_6->SetBinError(18,0.08957081); hmean_Zee_truZ_stack_6->SetBinError(19,0.117904); hmean_Zee_truZ_stack_6->SetEntries(29.69982); 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_rat->Add(hmean_Zee_truZ_stack_6,""); hs_m_rat->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); }