void CMS_phi_all() { //=========Macro generated from canvas: DMStuff/CMS_phi_all/DMStuff/CMS_phi_all //========= (Tue Oct 4 12:28:50 2016) by ROOT version6.06/01 TCanvas *DMStuff/CMS_phi_all = new TCanvas("DMStuff/CMS_phi_all", "DMStuff/CMS_phi_all",0,0,600,600); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); DMStuff/CMS_phi_all->SetHighLightColor(2); DMStuff/CMS_phi_all->Range(-4.280519,-0.4896501,4.031169,3.27689); DMStuff/CMS_phi_all->SetFillColor(0); DMStuff/CMS_phi_all->SetBorderMode(0); DMStuff/CMS_phi_all->SetBorderSize(2); DMStuff/CMS_phi_all->SetTickx(1); DMStuff/CMS_phi_all->SetTicky(1); DMStuff/CMS_phi_all->SetLeftMargin(0.13); DMStuff/CMS_phi_all->SetTopMargin(0.08); DMStuff/CMS_phi_all->SetBottomMargin(0.13); DMStuff/CMS_phi_all->SetFrameFillStyle(0); DMStuff/CMS_phi_all->SetFrameBorderMode(0); DMStuff/CMS_phi_all->SetFrameFillStyle(0); DMStuff/CMS_phi_all->SetFrameBorderMode(0); THStack *stack_all = new THStack(); stack_all->SetName("stack_all"); stack_all->SetTitle(""); TH1F *stack_all_stack_1 = new TH1F("stack_all_stack_1","",41,-3.2,3.2); stack_all_stack_1->SetMinimum(0); stack_all_stack_1->SetMaximum(2.975566); stack_all_stack_1->SetDirectory(0); stack_all_stack_1->SetStats(0); stack_all_stack_1->SetMarkerStyle(20); stack_all_stack_1->GetXaxis()->SetTitle("MET [GeV]"); stack_all_stack_1->GetXaxis()->SetLabelFont(42); stack_all_stack_1->GetXaxis()->SetLabelOffset(0.007); stack_all_stack_1->GetXaxis()->SetTitleSize(0.05); stack_all_stack_1->GetXaxis()->SetTitleFont(42); stack_all_stack_1->GetYaxis()->SetTitle("Events / 0 GeV"); stack_all_stack_1->GetYaxis()->SetLabelFont(42); stack_all_stack_1->GetYaxis()->SetLabelOffset(0.007); stack_all_stack_1->GetYaxis()->SetTitleSize(0.05); stack_all_stack_1->GetYaxis()->SetTitleOffset(1.1); stack_all_stack_1->GetYaxis()->SetTitleFont(42); stack_all_stack_1->GetZaxis()->SetLabelFont(42); stack_all_stack_1->GetZaxis()->SetLabelOffset(0.007); stack_all_stack_1->GetZaxis()->SetTitleSize(0.05); stack_all_stack_1->GetZaxis()->SetTitleFont(42); stack_all->SetHistogram(stack_all_stack_1); TH1F *auxStack_block_stack_all_DYJets_blockHisto = new TH1F("auxStack_block_stack_all_DYJets_blockHisto","DY+Jets",41,-3.2,3.2); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(1,1.348359); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(2,2.057651); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(3,1.455175); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(4,1.49704); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(5,0.5931604); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(6,0.5206459); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(7,0.3230849); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(8,0.2359806); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(9,0.3368359); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(10,0.2677403); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(11,0.1193397); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(12,0.03262681); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(13,0.130051); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(16,0.008223614); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(19,0.006984733); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(20,0.05504254); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(21,0.05504254); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(22,0.04092348); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(23,0.002693324); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(25,0.06201556); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(26,0.01866384); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(27,0.04519675); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(28,0.2225918); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(29,0.04622115); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(30,0.03449136); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(31,0.1464276); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(32,0.2807991); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(33,0.2696824); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(34,0.2237413); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(35,0.3836247); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(36,0.6563381); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(37,0.8065122); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(38,1.391335); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(39,1.69386); auxStack_block_stack_all_DYJets_blockHisto->SetBinContent(40,0.8011734); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(1,0.2760777); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(2,0.3323385); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(3,0.2719132); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(4,0.2784234); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(5,0.1304361); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(6,0.1701175); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(7,0.1138429); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(8,0.09830962); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(9,0.1293608); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(10,0.1053317); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(11,0.06299118); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(12,0.03262681); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(13,0.07908026); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(16,0.008223613); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(19,0.006984733); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(20,0.05504254); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(21,0.05504254); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(22,0.04092348); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(23,0.002156077); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(25,0.04391136); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(26,0.01866384); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(27,0.04519675); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(28,0.1582945); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(29,0.03437334); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(30,0.02180798); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(31,0.07299485); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(32,0.1521806); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(33,0.1161222); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(34,0.07708892); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(35,0.08814624); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(36,0.1487887); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(37,0.1992893); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(38,0.2476956); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(39,0.2841231); auxStack_block_stack_all_DYJets_blockHisto->SetBinError(40,0.1523181); auxStack_block_stack_all_DYJets_blockHisto->SetEntries(164); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000cc"); auxStack_block_stack_all_DYJets_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#0000cc"); auxStack_block_stack_all_DYJets_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#0000cc"); auxStack_block_stack_all_DYJets_blockHisto->SetMarkerColor(ci); auxStack_block_stack_all_DYJets_blockHisto->SetMarkerStyle(20); auxStack_block_stack_all_DYJets_blockHisto->GetXaxis()->SetTitle("MET [GeV]"); auxStack_block_stack_all_DYJets_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_all_DYJets_blockHisto->GetXaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_DYJets_blockHisto->GetXaxis()->SetTitleSize(0.05); auxStack_block_stack_all_DYJets_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_all_DYJets_blockHisto->GetYaxis()->SetTitle("Events / 0 GeV"); auxStack_block_stack_all_DYJets_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_all_DYJets_blockHisto->GetYaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_DYJets_blockHisto->GetYaxis()->SetTitleSize(0.05); auxStack_block_stack_all_DYJets_blockHisto->GetYaxis()->SetTitleOffset(1.1); auxStack_block_stack_all_DYJets_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_all_DYJets_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_all_DYJets_blockHisto->GetZaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_DYJets_blockHisto->GetZaxis()->SetTitleSize(0.05); auxStack_block_stack_all_DYJets_blockHisto->GetZaxis()->SetTitleFont(42); stack_all->Add(auxStack_block_stack_all_DYJets_blockHisto,""); TH1F *auxStack_block_stack_all_rare_blockHisto = new TH1F("auxStack_block_stack_all_rare_blockHisto","Other",41,-3.2,3.2); auxStack_block_stack_all_rare_blockHisto->SetBinContent(1,0.04011661); auxStack_block_stack_all_rare_blockHisto->SetBinContent(2,0.1041199); auxStack_block_stack_all_rare_blockHisto->SetBinContent(3,0.01983434); auxStack_block_stack_all_rare_blockHisto->SetBinContent(4,0.05398924); auxStack_block_stack_all_rare_blockHisto->SetBinContent(5,0.02877641); auxStack_block_stack_all_rare_blockHisto->SetBinContent(6,0.02279378); auxStack_block_stack_all_rare_blockHisto->SetBinContent(7,0.004126007); auxStack_block_stack_all_rare_blockHisto->SetBinContent(8,0.002591118); auxStack_block_stack_all_rare_blockHisto->SetBinContent(10,0.008472706); auxStack_block_stack_all_rare_blockHisto->SetBinContent(11,0.01149877); auxStack_block_stack_all_rare_blockHisto->SetBinContent(12,0.04265421); auxStack_block_stack_all_rare_blockHisto->SetBinContent(14,0.07508108); auxStack_block_stack_all_rare_blockHisto->SetBinContent(15,0.1054439); auxStack_block_stack_all_rare_blockHisto->SetBinContent(22,0.1284141); auxStack_block_stack_all_rare_blockHisto->SetBinContent(30,-0.002566826); auxStack_block_stack_all_rare_blockHisto->SetBinContent(31,0.05592882); auxStack_block_stack_all_rare_blockHisto->SetBinContent(33,0.09185652); auxStack_block_stack_all_rare_blockHisto->SetBinContent(34,-0.004301419); auxStack_block_stack_all_rare_blockHisto->SetBinContent(35,0.0177662); auxStack_block_stack_all_rare_blockHisto->SetBinContent(36,0.01792965); auxStack_block_stack_all_rare_blockHisto->SetBinContent(37,0.1929816); auxStack_block_stack_all_rare_blockHisto->SetBinContent(38,0.02924526); auxStack_block_stack_all_rare_blockHisto->SetBinContent(39,0.02360516); auxStack_block_stack_all_rare_blockHisto->SetBinContent(40,-0.0002384267); auxStack_block_stack_all_rare_blockHisto->SetBinError(1,0.01856057); auxStack_block_stack_all_rare_blockHisto->SetBinError(2,0.07795491); auxStack_block_stack_all_rare_blockHisto->SetBinError(3,0.02073008); auxStack_block_stack_all_rare_blockHisto->SetBinError(4,0.01913993); auxStack_block_stack_all_rare_blockHisto->SetBinError(5,0.01337171); auxStack_block_stack_all_rare_blockHisto->SetBinError(6,0.01649465); auxStack_block_stack_all_rare_blockHisto->SetBinError(7,0.004126007); auxStack_block_stack_all_rare_blockHisto->SetBinError(8,0.007491247); auxStack_block_stack_all_rare_blockHisto->SetBinError(10,0.008472706); auxStack_block_stack_all_rare_blockHisto->SetBinError(11,0.008159674); auxStack_block_stack_all_rare_blockHisto->SetBinError(12,0.04265421); auxStack_block_stack_all_rare_blockHisto->SetBinError(14,0.07508108); auxStack_block_stack_all_rare_blockHisto->SetBinError(15,0.1054439); auxStack_block_stack_all_rare_blockHisto->SetBinError(22,0.1284141); auxStack_block_stack_all_rare_blockHisto->SetBinError(30,0.002566826); auxStack_block_stack_all_rare_blockHisto->SetBinError(31,0.05592881); auxStack_block_stack_all_rare_blockHisto->SetBinError(33,0.08754358); auxStack_block_stack_all_rare_blockHisto->SetBinError(34,0.004301419); auxStack_block_stack_all_rare_blockHisto->SetBinError(35,0.02936411); auxStack_block_stack_all_rare_blockHisto->SetBinError(36,0.01422125); auxStack_block_stack_all_rare_blockHisto->SetBinError(37,0.1144094); auxStack_block_stack_all_rare_blockHisto->SetBinError(38,0.02265535); auxStack_block_stack_all_rare_blockHisto->SetBinError(39,0.0148884); auxStack_block_stack_all_rare_blockHisto->SetBinError(40,0.01017883); auxStack_block_stack_all_rare_blockHisto->SetEntries(82); ci = TColor::GetColor("#990000"); auxStack_block_stack_all_rare_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#990000"); auxStack_block_stack_all_rare_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#990000"); auxStack_block_stack_all_rare_blockHisto->SetMarkerColor(ci); auxStack_block_stack_all_rare_blockHisto->SetMarkerStyle(20); auxStack_block_stack_all_rare_blockHisto->GetXaxis()->SetTitle("MET [GeV]"); auxStack_block_stack_all_rare_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_all_rare_blockHisto->GetXaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_rare_blockHisto->GetXaxis()->SetTitleSize(0.05); auxStack_block_stack_all_rare_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_all_rare_blockHisto->GetYaxis()->SetTitle("Events / 0 GeV"); auxStack_block_stack_all_rare_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_all_rare_blockHisto->GetYaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_rare_blockHisto->GetYaxis()->SetTitleSize(0.05); auxStack_block_stack_all_rare_blockHisto->GetYaxis()->SetTitleOffset(1.1); auxStack_block_stack_all_rare_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_all_rare_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_all_rare_blockHisto->GetZaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_rare_blockHisto->GetZaxis()->SetTitleSize(0.05); auxStack_block_stack_all_rare_blockHisto->GetZaxis()->SetTitleFont(42); stack_all->Add(auxStack_block_stack_all_rare_blockHisto,""); TH1F *auxStack_block_stack_all_TTZ_blockHisto = new TH1F("auxStack_block_stack_all_TTZ_blockHisto","TTZ",41,-3.2,3.2); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(1,0.07643662); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(2,0.1133736); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(3,0.113309); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(4,0.1071066); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(5,0.1085046); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(6,0.1127778); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(7,0.1067031); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(8,0.09538519); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(9,0.0971779); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(10,0.09738629); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(11,0.09809857); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(12,0.09310772); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(13,0.1035905); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(14,0.112489); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(15,0.1305375); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(16,0.1657628); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(17,0.1853805); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(18,0.2413319); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(19,0.3126487); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(20,0.3112936); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(21,0.3131244); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(22,0.280663); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(23,0.2560451); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(24,0.1891283); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(25,0.1519513); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(26,0.1051603); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(27,0.1036798); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(28,0.1060579); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(29,0.1016262); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(30,0.0832784); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(31,0.08530208); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(32,0.09846209); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(33,0.09452455); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(34,0.1006475); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(35,0.1112715); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(36,0.1018299); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(37,0.1078312); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(38,0.1243191); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(39,0.1271822); auxStack_block_stack_all_TTZ_blockHisto->SetBinContent(40,0.09233196); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(1,0.00680227); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(2,0.00834201); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(3,0.008297451); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(4,0.007809087); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(5,0.008010589); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(6,0.008238395); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(7,0.007990419); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(8,0.007521789); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(9,0.007462644); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(10,0.007814523); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(11,0.007662837); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(12,0.00735386); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(13,0.008130259); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(14,0.00820815); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(15,0.008869621); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(16,0.01003917); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(17,0.01059762); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(18,0.01192097); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(19,0.01385684); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(20,0.01364231); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(21,0.01385105); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(22,0.01292599); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(23,0.01243114); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(24,0.01070967); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(25,0.009502543); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(26,0.007869669); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(27,0.007825027); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(28,0.007899718); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(29,0.007576604); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(30,0.006930914); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(31,0.007123628); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(32,0.007588219); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(33,0.007421436); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(34,0.007696385); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(35,0.008112749); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(36,0.007800204); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(37,0.008062773); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(38,0.008621312); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(39,0.008703537); auxStack_block_stack_all_TTZ_blockHisto->SetBinError(40,0.007395811); auxStack_block_stack_all_TTZ_blockHisto->SetEntries(41); ci = TColor::GetColor("#ff0033"); auxStack_block_stack_all_TTZ_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#ff0033"); auxStack_block_stack_all_TTZ_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#ff0033"); auxStack_block_stack_all_TTZ_blockHisto->SetMarkerColor(ci); auxStack_block_stack_all_TTZ_blockHisto->SetMarkerStyle(20); auxStack_block_stack_all_TTZ_blockHisto->GetXaxis()->SetTitle("MET [GeV]"); auxStack_block_stack_all_TTZ_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_all_TTZ_blockHisto->GetXaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TTZ_blockHisto->GetXaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TTZ_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_all_TTZ_blockHisto->GetYaxis()->SetTitle("Events / 0 GeV"); auxStack_block_stack_all_TTZ_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_all_TTZ_blockHisto->GetYaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TTZ_blockHisto->GetYaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TTZ_blockHisto->GetYaxis()->SetTitleOffset(1.1); auxStack_block_stack_all_TTZ_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_all_TTZ_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_all_TTZ_blockHisto->GetZaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TTZ_blockHisto->GetZaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TTZ_blockHisto->GetZaxis()->SetTitleFont(42); stack_all->Add(auxStack_block_stack_all_TTZ_blockHisto,""); TH1F *auxStack_block_stack_all_TTW_blockHisto = new TH1F("auxStack_block_stack_all_TTW_blockHisto","TTW",41,-3.2,3.2); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(1,0.0272433); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(2,0.04264725); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(3,0.05542201); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(4,0.04327467); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(5,0.05129164); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(6,0.04299681); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(7,0.04213079); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(8,0.05541726); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(9,0.04950047); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(10,0.04135136); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(11,0.05604015); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(12,0.05418153); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(13,0.06881143); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(14,0.07592919); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(15,0.07615611); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(16,0.08112979); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(17,0.1021533); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(18,0.1030738); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(19,0.113413); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(20,0.1053888); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(21,0.1192179); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(22,0.1132311); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(23,0.1104995); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(24,0.1039976); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(25,0.08656718); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(26,0.07782147); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(27,0.08188618); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(28,0.06217856); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(29,0.06060744); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(30,0.05134502); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(31,0.05445169); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(32,0.05386114); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(33,0.04705297); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(34,0.04189386); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(35,0.04680136); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(36,0.04411563); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(37,0.04635988); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(38,0.03669013); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(39,0.04239761); auxStack_block_stack_all_TTW_blockHisto->SetBinContent(40,0.03497158); auxStack_block_stack_all_TTW_blockHisto->SetBinError(1,0.00459922); auxStack_block_stack_all_TTW_blockHisto->SetBinError(2,0.00566931); auxStack_block_stack_all_TTW_blockHisto->SetBinError(3,0.006627695); auxStack_block_stack_all_TTW_blockHisto->SetBinError(4,0.00564601); auxStack_block_stack_all_TTW_blockHisto->SetBinError(5,0.00632188); auxStack_block_stack_all_TTW_blockHisto->SetBinError(6,0.005622803); auxStack_block_stack_all_TTW_blockHisto->SetBinError(7,0.005550804); auxStack_block_stack_all_TTW_blockHisto->SetBinError(8,0.006484401); auxStack_block_stack_all_TTW_blockHisto->SetBinError(9,0.006147381); auxStack_block_stack_all_TTW_blockHisto->SetBinError(10,0.00557507); auxStack_block_stack_all_TTW_blockHisto->SetBinError(11,0.006382675); auxStack_block_stack_all_TTW_blockHisto->SetBinError(12,0.00649197); auxStack_block_stack_all_TTW_blockHisto->SetBinError(13,0.007152164); auxStack_block_stack_all_TTW_blockHisto->SetBinError(14,0.007695873); auxStack_block_stack_all_TTW_blockHisto->SetBinError(15,0.007432446); auxStack_block_stack_all_TTW_blockHisto->SetBinError(16,0.007775658); auxStack_block_stack_all_TTW_blockHisto->SetBinError(17,0.008795988); auxStack_block_stack_all_TTW_blockHisto->SetBinError(18,0.008993783); auxStack_block_stack_all_TTW_blockHisto->SetBinError(19,0.009251392); auxStack_block_stack_all_TTW_blockHisto->SetBinError(20,0.008692251); auxStack_block_stack_all_TTW_blockHisto->SetBinError(21,0.009522719); auxStack_block_stack_all_TTW_blockHisto->SetBinError(22,0.009201511); auxStack_block_stack_all_TTW_blockHisto->SetBinError(23,0.00921087); auxStack_block_stack_all_TTW_blockHisto->SetBinError(24,0.008987082); auxStack_block_stack_all_TTW_blockHisto->SetBinError(25,0.008034858); auxStack_block_stack_all_TTW_blockHisto->SetBinError(26,0.007637332); auxStack_block_stack_all_TTW_blockHisto->SetBinError(27,0.007827234); auxStack_block_stack_all_TTW_blockHisto->SetBinError(28,0.007139099); auxStack_block_stack_all_TTW_blockHisto->SetBinError(29,0.006977314); auxStack_block_stack_all_TTW_blockHisto->SetBinError(30,0.006272248); auxStack_block_stack_all_TTW_blockHisto->SetBinError(31,0.006312469); auxStack_block_stack_all_TTW_blockHisto->SetBinError(32,0.006349559); auxStack_block_stack_all_TTW_blockHisto->SetBinError(33,0.005816306); auxStack_block_stack_all_TTW_blockHisto->SetBinError(34,0.005571491); auxStack_block_stack_all_TTW_blockHisto->SetBinError(35,0.00601089); auxStack_block_stack_all_TTW_blockHisto->SetBinError(36,0.005886375); auxStack_block_stack_all_TTW_blockHisto->SetBinError(37,0.005812543); auxStack_block_stack_all_TTW_blockHisto->SetBinError(38,0.005205931); auxStack_block_stack_all_TTW_blockHisto->SetBinError(39,0.005633402); auxStack_block_stack_all_TTW_blockHisto->SetBinError(40,0.00532208); auxStack_block_stack_all_TTW_blockHisto->SetEntries(41); ci = TColor::GetColor("#009900"); auxStack_block_stack_all_TTW_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#009900"); auxStack_block_stack_all_TTW_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#009900"); auxStack_block_stack_all_TTW_blockHisto->SetMarkerColor(ci); auxStack_block_stack_all_TTW_blockHisto->SetMarkerStyle(20); auxStack_block_stack_all_TTW_blockHisto->GetXaxis()->SetTitle("MET [GeV]"); auxStack_block_stack_all_TTW_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_all_TTW_blockHisto->GetXaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TTW_blockHisto->GetXaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TTW_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_all_TTW_blockHisto->GetYaxis()->SetTitle("Events / 0 GeV"); auxStack_block_stack_all_TTW_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_all_TTW_blockHisto->GetYaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TTW_blockHisto->GetYaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TTW_blockHisto->GetYaxis()->SetTitleOffset(1.1); auxStack_block_stack_all_TTW_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_all_TTW_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_all_TTW_blockHisto->GetZaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TTW_blockHisto->GetZaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TTW_blockHisto->GetZaxis()->SetTitleFont(42); stack_all->Add(auxStack_block_stack_all_TTW_blockHisto,""); TH1F *auxStack_block_stack_all_ZZ_blockHisto = new TH1F("auxStack_block_stack_all_ZZ_blockHisto","ZZ",41,-3.2,3.2); auxStack_block_stack_all_ZZ_blockHisto->SetBinContent(8,0.1531462); auxStack_block_stack_all_ZZ_blockHisto->SetBinError(8,0.1531462); auxStack_block_stack_all_ZZ_blockHisto->SetEntries(41); ci = TColor::GetColor("#cc6600"); auxStack_block_stack_all_ZZ_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#cc6600"); auxStack_block_stack_all_ZZ_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#cc6600"); auxStack_block_stack_all_ZZ_blockHisto->SetMarkerColor(ci); auxStack_block_stack_all_ZZ_blockHisto->SetMarkerStyle(20); auxStack_block_stack_all_ZZ_blockHisto->GetXaxis()->SetTitle("MET [GeV]"); auxStack_block_stack_all_ZZ_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_all_ZZ_blockHisto->GetXaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_ZZ_blockHisto->GetXaxis()->SetTitleSize(0.05); auxStack_block_stack_all_ZZ_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_all_ZZ_blockHisto->GetYaxis()->SetTitle("Events / 0 GeV"); auxStack_block_stack_all_ZZ_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_all_ZZ_blockHisto->GetYaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_ZZ_blockHisto->GetYaxis()->SetTitleSize(0.05); auxStack_block_stack_all_ZZ_blockHisto->GetYaxis()->SetTitleOffset(1.1); auxStack_block_stack_all_ZZ_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_all_ZZ_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_all_ZZ_blockHisto->GetZaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_ZZ_blockHisto->GetZaxis()->SetTitleSize(0.05); auxStack_block_stack_all_ZZ_blockHisto->GetZaxis()->SetTitleFont(42); stack_all->Add(auxStack_block_stack_all_ZZ_blockHisto,""); TH1F *auxStack_block_stack_all_TT_pow_blockHisto = new TH1F("auxStack_block_stack_all_TT_pow_blockHisto","TT+Jets",41,-3.2,3.2); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(1,0.8179351); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(2,0.5160803); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(3,0.8473942); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(4,1.013076); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(5,0.4298428); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(6,0.5121785); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(7,0.5019996); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(8,0.6126788); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(9,0.986028); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(10,0.6718265); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(11,0.5888582); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(12,0.5615821); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(13,0.3994812); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(14,0.6751965); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(15,0.8947872); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(16,0.6882819); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(17,0.4443033); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(18,0.6658133); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(19,0.348253); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(20,0.7896348); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(21,0.6142667); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(22,0.5778003); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(23,0.6873075); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(24,0.5962652); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(25,0.5356005); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(26,0.7255934); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(27,0.6143467); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(28,0.7492999); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(29,0.8489136); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(30,0.8095917); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(31,0.345428); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(32,0.7430367); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(33,0.4767475); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(34,0.7220425); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(35,0.7163976); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(36,0.6562423); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(37,1.034955); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(38,0.6484412); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(39,0.6575787); auxStack_block_stack_all_TT_pow_blockHisto->SetBinContent(40,0.4125564); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(1,0.2105043); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(2,0.1596606); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(3,0.196787); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(4,0.2195425); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(5,0.1349803); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(6,0.1601055); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(7,0.1630452); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(8,0.1732472); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(9,0.2298645); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(10,0.1875973); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(11,0.1771083); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(12,0.1610354); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(13,0.136813); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(14,0.1852482); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(15,0.2002656); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(16,0.1958799); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(17,0.1530569); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(18,0.1855446); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(19,0.1373436); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(20,0.1952809); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(21,0.1551449); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(22,0.1566305); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(23,0.1802567); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(24,0.1746995); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(25,0.1714217); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(26,0.2005597); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(27,0.1605246); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(28,0.1926547); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(29,0.2138167); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(30,0.2011882); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(31,0.127593); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(32,0.1905049); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(33,0.136215); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(34,0.1983466); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(35,0.1866077); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(36,0.1780251); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(37,0.2321836); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(38,0.1709703); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(39,0.1761159); auxStack_block_stack_all_TT_pow_blockHisto->SetBinError(40,0.1316883); auxStack_block_stack_all_TT_pow_blockHisto->SetEntries(41); ci = TColor::GetColor("#00ffff"); auxStack_block_stack_all_TT_pow_blockHisto->SetFillColor(ci); ci = TColor::GetColor("#00ffff"); auxStack_block_stack_all_TT_pow_blockHisto->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); auxStack_block_stack_all_TT_pow_blockHisto->SetMarkerColor(ci); auxStack_block_stack_all_TT_pow_blockHisto->SetMarkerStyle(20); auxStack_block_stack_all_TT_pow_blockHisto->GetXaxis()->SetTitle("MET [GeV]"); auxStack_block_stack_all_TT_pow_blockHisto->GetXaxis()->SetLabelFont(42); auxStack_block_stack_all_TT_pow_blockHisto->GetXaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TT_pow_blockHisto->GetXaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TT_pow_blockHisto->GetXaxis()->SetTitleFont(42); auxStack_block_stack_all_TT_pow_blockHisto->GetYaxis()->SetTitle("Events / 0 GeV"); auxStack_block_stack_all_TT_pow_blockHisto->GetYaxis()->SetLabelFont(42); auxStack_block_stack_all_TT_pow_blockHisto->GetYaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TT_pow_blockHisto->GetYaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TT_pow_blockHisto->GetYaxis()->SetTitleOffset(1.1); auxStack_block_stack_all_TT_pow_blockHisto->GetYaxis()->SetTitleFont(42); auxStack_block_stack_all_TT_pow_blockHisto->GetZaxis()->SetLabelFont(42); auxStack_block_stack_all_TT_pow_blockHisto->GetZaxis()->SetLabelOffset(0.007); auxStack_block_stack_all_TT_pow_blockHisto->GetZaxis()->SetTitleSize(0.05); auxStack_block_stack_all_TT_pow_blockHisto->GetZaxis()->SetTitleFont(42); stack_all->Add(auxStack_block_stack_all_TT_pow_blockHisto,""); stack_all->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_all_DYJets_blockHisto","DY+Jets (16.2)","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_all_rare_blockHisto","Other ( 1.1)","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_all_TTZ_blockHisto","TTZ ( 5.5)","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_all_TTW_blockHisto","TTW ( 2.6)","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_all_ZZ_blockHisto","ZZ ( 0.2)","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_all_TT_pow_blockHisto","TT+Jets (26.1)","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,"Preliminary"); 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(); DMStuff/CMS_phi_all->Modified(); DMStuff/CMS_phi_all->cd(); DMStuff/CMS_phi_all->SetSelected(DMStuff/CMS_phi_all); }