void mt2_ee() { //=========Macro generated from canvas: stopStuff/mt2_ee/stopStuff/mt2_ee //========= (Wed Sep 28 10:44:28 2016) by ROOT version6.06/01 TCanvas *stopStuff/mt2_ee = new TCanvas("stopStuff/mt2_ee", "stopStuff/mt2_ee",0,0,700,500); stopStuff/mt2_ee->SetHighLightColor(2); stopStuff/mt2_ee->Range(-40,-1.877341,360,4.096247); stopStuff/mt2_ee->SetFillColor(0); stopStuff/mt2_ee->SetBorderMode(0); stopStuff/mt2_ee->SetBorderSize(2); stopStuff/mt2_ee->SetLogy(); stopStuff/mt2_ee->SetRightMargin(0.05); stopStuff/mt2_ee->SetFrameBorderMode(0); stopStuff/mt2_ee->SetFrameBorderMode(0); THStack *stack_ee = new THStack(); stack_ee->SetName("stack_ee"); stack_ee->SetTitle(""); Double_t xAxis8[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *stack_ee_stack_2 = new TH1F("stack_ee_stack_2","",8, xAxis8); stack_ee_stack_2->SetMinimum(0.05248291); stack_ee_stack_2->SetMaximum(3154.195); stack_ee_stack_2->SetDirectory(0); stack_ee_stack_2->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); stack_ee_stack_2->SetLineColor(ci); stack_ee_stack_2->GetXaxis()->SetLabelFont(42); stack_ee_stack_2->GetXaxis()->SetLabelSize(0.035); stack_ee_stack_2->GetXaxis()->SetTitleSize(0.035); stack_ee_stack_2->GetXaxis()->SetTitleFont(42); stack_ee_stack_2->GetYaxis()->SetTitle("# events"); stack_ee_stack_2->GetYaxis()->SetLabelFont(42); stack_ee_stack_2->GetYaxis()->SetLabelSize(0.035); stack_ee_stack_2->GetYaxis()->SetTitleSize(0.035); stack_ee_stack_2->GetYaxis()->SetTitleFont(42); stack_ee_stack_2->GetZaxis()->SetLabelFont(42); stack_ee_stack_2->GetZaxis()->SetLabelSize(0.035); stack_ee_stack_2->GetZaxis()->SetTitleSize(0.035); stack_ee_stack_2->GetZaxis()->SetTitleFont(42); stack_ee->SetHistogram(stack_ee_stack_2); Double_t xAxis9[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *auxStack_block_stack_ee_DYJets_blockHisto = new TH1F("auxStack_block_stack_ee_DYJets_blockHisto","DY+Jets",8, xAxis9); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(1,11.14684); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(2,0.6034223); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(3,1.073916); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(4,0.07290691); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(5,0.2005895); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(6,0.4205956); auxStack_block_stack_ee_DYJets_blockHisto->SetBinContent(7,0.0498745); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(1,1.09347); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(2,0.2063636); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(3,0.5050246); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(4,0.04916071); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(5,0.1214992); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(6,0.1784442); auxStack_block_stack_ee_DYJets_blockHisto->SetBinError(7,0.02548497); auxStack_block_stack_ee_DYJets_blockHisto->SetEntries(32); ci = TColor::GetColor("#0000cc"); auxStack_block_stack_ee_DYJets_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#0000cc"); auxStack_block_stack_ee_DYJets_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#0000cc"); auxStack_block_stack_ee_DYJets_blockHisto->SetMarkerColor(ci); auxStack_block_stack_ee_DYJets_blockHisto->GetXaxis()->SetTitle("m_{T2} [GeV]"); auxStack_block_stack_ee_DYJets_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_ee_DYJets_blockHisto->GetXaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_DYJets_blockHisto->GetXaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_DYJets_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_ee_DYJets_blockHisto->GetYaxis()->SetTitle("# events"); auxStack_block_stack_ee_DYJets_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_ee_DYJets_blockHisto->GetYaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_DYJets_blockHisto->GetYaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_DYJets_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_ee_DYJets_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_ee_DYJets_blockHisto->GetZaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_DYJets_blockHisto->GetZaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_DYJets_blockHisto->GetZaxis()->SetTitleFont(42); stack_ee->Add(auxStack_block_stack_ee_DYJets_blockHisto,""); Double_t xAxis10[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *auxStack_block_stack_ee_rare_blockHisto = new TH1F("auxStack_block_stack_ee_rare_blockHisto","Other",8, xAxis10); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(1,6.043326); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(2,1.205581); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(3,1.160328); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(4,0.9128435); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(5,1.182925); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(6,0.005843504); auxStack_block_stack_ee_rare_blockHisto->SetBinContent(8,0.006233885); auxStack_block_stack_ee_rare_blockHisto->SetBinError(1,0.7366651); auxStack_block_stack_ee_rare_blockHisto->SetBinError(2,0.3540591); auxStack_block_stack_ee_rare_blockHisto->SetBinError(3,0.319819); auxStack_block_stack_ee_rare_blockHisto->SetBinError(4,0.3023834); auxStack_block_stack_ee_rare_blockHisto->SetBinError(5,0.3607308); auxStack_block_stack_ee_rare_blockHisto->SetBinError(6,0.004569489); auxStack_block_stack_ee_rare_blockHisto->SetBinError(8,0.006233885); auxStack_block_stack_ee_rare_blockHisto->SetEntries(16); ci = TColor::GetColor("#990000"); auxStack_block_stack_ee_rare_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#990000"); auxStack_block_stack_ee_rare_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#990000"); auxStack_block_stack_ee_rare_blockHisto->SetMarkerColor(ci); auxStack_block_stack_ee_rare_blockHisto->GetXaxis()->SetTitle("m_{T2} [GeV]"); auxStack_block_stack_ee_rare_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_ee_rare_blockHisto->GetXaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_rare_blockHisto->GetXaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_rare_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_ee_rare_blockHisto->GetYaxis()->SetTitle("# events"); auxStack_block_stack_ee_rare_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_ee_rare_blockHisto->GetYaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_rare_blockHisto->GetYaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_rare_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_ee_rare_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_ee_rare_blockHisto->GetZaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_rare_blockHisto->GetZaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_rare_blockHisto->GetZaxis()->SetTitleFont(42); stack_ee->Add(auxStack_block_stack_ee_rare_blockHisto,""); Double_t xAxis11[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *auxStack_block_stack_ee_TTZ_blockHisto = new TH1F("auxStack_block_stack_ee_TTZ_blockHisto","TTZ",8, xAxis11); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(1,4.526596); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(2,1.517245); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(3,1.728464); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(4,1.463495); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(5,0.9084262); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(6,0.7920268); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(7,0.4843688); auxStack_block_stack_ee_TTZ_blockHisto->SetBinContent(8,0.07553132); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(1,0.0523026); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(2,0.03014833); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(3,0.03232215); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(4,0.02965852); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(5,0.02326746); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(6,0.02176433); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(7,0.0171883); auxStack_block_stack_ee_TTZ_blockHisto->SetBinError(8,0.006679352); auxStack_block_stack_ee_TTZ_blockHisto->SetEntries(8); ci = TColor::GetColor("#ff0033"); auxStack_block_stack_ee_TTZ_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#ff0033"); auxStack_block_stack_ee_TTZ_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#ff0033"); auxStack_block_stack_ee_TTZ_blockHisto->SetMarkerColor(ci); auxStack_block_stack_ee_TTZ_blockHisto->GetXaxis()->SetTitle("m_{T2} [GeV]"); auxStack_block_stack_ee_TTZ_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_ee_TTZ_blockHisto->GetXaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TTZ_blockHisto->GetXaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TTZ_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_ee_TTZ_blockHisto->GetYaxis()->SetTitle("# events"); auxStack_block_stack_ee_TTZ_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_ee_TTZ_blockHisto->GetYaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TTZ_blockHisto->GetYaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TTZ_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_ee_TTZ_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_ee_TTZ_blockHisto->GetZaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TTZ_blockHisto->GetZaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TTZ_blockHisto->GetZaxis()->SetTitleFont(42); stack_ee->Add(auxStack_block_stack_ee_TTZ_blockHisto,""); Double_t xAxis12[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *auxStack_block_stack_ee_TTW_blockHisto = new TH1F("auxStack_block_stack_ee_TTW_blockHisto","TTW",8, xAxis12); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(1,5.092542); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(2,1.590021); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(3,1.730237); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(4,1.545387); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(5,0.7148457); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(6,0.4044878); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(7,0.1532575); auxStack_block_stack_ee_TTW_blockHisto->SetBinContent(8,0.01631747); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(1,0.06202363); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(2,0.03472301); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(3,0.03641537); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(4,0.03419316); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(5,0.02296996); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(6,0.01750123); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(7,0.01071221); auxStack_block_stack_ee_TTW_blockHisto->SetBinError(8,0.00338031); auxStack_block_stack_ee_TTW_blockHisto->SetEntries(8); ci = TColor::GetColor("#009900"); auxStack_block_stack_ee_TTW_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#009900"); auxStack_block_stack_ee_TTW_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#009900"); auxStack_block_stack_ee_TTW_blockHisto->SetMarkerColor(ci); auxStack_block_stack_ee_TTW_blockHisto->GetXaxis()->SetTitle("m_{T2} [GeV]"); auxStack_block_stack_ee_TTW_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_ee_TTW_blockHisto->GetXaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TTW_blockHisto->GetXaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TTW_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_ee_TTW_blockHisto->GetYaxis()->SetTitle("# events"); auxStack_block_stack_ee_TTW_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_ee_TTW_blockHisto->GetYaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TTW_blockHisto->GetYaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TTW_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_ee_TTW_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_ee_TTW_blockHisto->GetZaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TTW_blockHisto->GetZaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TTW_blockHisto->GetZaxis()->SetTitleFont(42); stack_ee->Add(auxStack_block_stack_ee_TTW_blockHisto,""); Double_t xAxis13[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *auxStack_block_stack_ee_ZZ_blockHisto = new TH1F("auxStack_block_stack_ee_ZZ_blockHisto","ZZ",8, xAxis13); auxStack_block_stack_ee_ZZ_blockHisto->SetBinContent(1,0.5232236); auxStack_block_stack_ee_ZZ_blockHisto->SetBinError(1,0.3712864); auxStack_block_stack_ee_ZZ_blockHisto->SetEntries(8); ci = TColor::GetColor("#cc6600"); auxStack_block_stack_ee_ZZ_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#cc6600"); auxStack_block_stack_ee_ZZ_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#cc6600"); auxStack_block_stack_ee_ZZ_blockHisto->SetMarkerColor(ci); auxStack_block_stack_ee_ZZ_blockHisto->GetXaxis()->SetTitle("m_{T2} [GeV]"); auxStack_block_stack_ee_ZZ_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_ee_ZZ_blockHisto->GetXaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_ZZ_blockHisto->GetXaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_ZZ_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_ee_ZZ_blockHisto->GetYaxis()->SetTitle("# events"); auxStack_block_stack_ee_ZZ_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_ee_ZZ_blockHisto->GetYaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_ZZ_blockHisto->GetYaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_ZZ_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_ee_ZZ_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_ee_ZZ_blockHisto->GetZaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_ZZ_blockHisto->GetZaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_ZZ_blockHisto->GetZaxis()->SetTitleFont(42); stack_ee->Add(auxStack_block_stack_ee_ZZ_blockHisto,""); Double_t xAxis14[9] = {0, 20, 40, 60, 80, 100, 140, 240, 340}; TH1F *auxStack_block_stack_ee_TT_pow_blockHisto = new TH1F("auxStack_block_stack_ee_TT_pow_blockHisto","TT+Jets",8, xAxis14); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(1,1716.958); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(2,712.8622); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(3,892.1362); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(4,923.091); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(5,323.8979); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(6,28.0226); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(7,0.5074825); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinContent(8,0.07806998); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(1,9.434072); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(2,6.092639); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(3,6.830614); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(4,6.92992); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(5,4.083898); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(6,1.18613); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(7,0.1533457); auxStack_block_stack_ee_TT_pow_blockHisto->SetBinError(8,0.0562362); auxStack_block_stack_ee_TT_pow_blockHisto->SetEntries(8); ci = TColor::GetColor("#00ffff"); auxStack_block_stack_ee_TT_pow_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#00ffff"); auxStack_block_stack_ee_TT_pow_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); auxStack_block_stack_ee_TT_pow_blockHisto->SetMarkerColor(ci); auxStack_block_stack_ee_TT_pow_blockHisto->GetXaxis()->SetTitle("m_{T2} [GeV]"); auxStack_block_stack_ee_TT_pow_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_ee_TT_pow_blockHisto->GetXaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TT_pow_blockHisto->GetXaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TT_pow_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_ee_TT_pow_blockHisto->GetYaxis()->SetTitle("# events"); auxStack_block_stack_ee_TT_pow_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_ee_TT_pow_blockHisto->GetYaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TT_pow_blockHisto->GetYaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TT_pow_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_ee_TT_pow_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_ee_TT_pow_blockHisto->GetZaxis()->SetLabelSize(0.035); auxStack_block_stack_ee_TT_pow_blockHisto->GetZaxis()->SetTitleSize(0.035); auxStack_block_stack_ee_TT_pow_blockHisto->GetZaxis()->SetTitleFont(42); stack_ee->Add(auxStack_block_stack_ee_TT_pow_blockHisto,""); stack_ee->Draw("hist"); TLegend *leg = new TLegend(0.6,0.6,0.8,0.8,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.04); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(0); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("auxStack_block_stack_ee_DYJets_blockHisto","DY+Jets","F"); ci = TColor::GetColor("#0000cc"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("auxStack_block_stack_ee_rare_blockHisto","Other","F"); ci = TColor::GetColor("#990000"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#990000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("auxStack_block_stack_ee_TTZ_blockHisto","TTZ","F"); ci = TColor::GetColor("#ff0033"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#ff0033"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("auxStack_block_stack_ee_TTW_blockHisto","TTW","F"); ci = TColor::GetColor("#009900"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#009900"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("auxStack_block_stack_ee_ZZ_blockHisto","ZZ","F"); ci = TColor::GetColor("#cc6600"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#cc6600"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("auxStack_block_stack_ee_TT_pow_blockHisto","TT+Jets","F"); ci = TColor::GetColor("#00ffff"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#00ffff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TLatex * tex = new TLatex(0.21,0.93,"CMS"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(61); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.37,0.93,"Simulation"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(52); tex->SetTextSize(0.03); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.9,0.93,"12.9 fb^{-1} (13 TeV)"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetTextSize(0.04); tex->SetLineWidth(2); tex->Draw(); stopStuff/mt2_ee->Modified(); stopStuff/mt2_ee->cd(); stopStuff/mt2_ee->SetSelected(stopStuff/mt2_ee); }