void PlotPointingResVrhoRat() { //=========Macro generated from canvas: c/c //========= (Thu May 26 07:29:21 2022) by ROOT version 6.20/06 TCanvas *c = new TCanvas("c", "c",0,0,1600,1200); gStyle->SetOptStat(0); c->Range(-937.5,-0.375,937.5,3.375); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); THStack *hs_rat = new THStack(); hs_rat->SetName("hs_rat"); hs_rat->SetTitle(";z_{origin} [mm];Ratio;"); hs_rat->SetMinimum(0); hs_rat->SetMaximum(3); Double_t xAxis15[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hs_rat_stack_3 = new TH1F("hs_rat_stack_3","",18, xAxis15); hs_rat_stack_3->SetMinimum(0); hs_rat_stack_3->SetMaximum(3); hs_rat_stack_3->SetDirectory(0); hs_rat_stack_3->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hs_rat_stack_3->SetLineColor(ci); hs_rat_stack_3->GetXaxis()->SetTitle("z_{origin} [mm]"); hs_rat_stack_3->GetXaxis()->SetLabelFont(42); hs_rat_stack_3->GetXaxis()->SetTitleOffset(1); hs_rat_stack_3->GetXaxis()->SetTitleFont(42); hs_rat_stack_3->GetYaxis()->SetTitle("Ratio"); hs_rat_stack_3->GetYaxis()->SetLabelFont(42); hs_rat_stack_3->GetYaxis()->SetTitleFont(42); hs_rat_stack_3->GetZaxis()->SetLabelFont(42); hs_rat_stack_3->GetZaxis()->SetTitleOffset(1); hs_rat_stack_3->GetZaxis()->SetTitleFont(42); hs_rat->SetHistogram(hs_rat_stack_3); Double_t xAxis16[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hsig_Hino_325_Zee_stack_1 = new TH1F("hsig_Hino_325_Zee_stack_1","",18, xAxis16); hsig_Hino_325_Zee_stack_1->SetBinContent(1,1); hsig_Hino_325_Zee_stack_1->SetBinContent(2,1); hsig_Hino_325_Zee_stack_1->SetBinContent(3,1); hsig_Hino_325_Zee_stack_1->SetBinContent(4,1); hsig_Hino_325_Zee_stack_1->SetBinContent(5,1); hsig_Hino_325_Zee_stack_1->SetBinContent(6,1); hsig_Hino_325_Zee_stack_1->SetBinContent(7,1); hsig_Hino_325_Zee_stack_1->SetBinContent(8,1); hsig_Hino_325_Zee_stack_1->SetBinContent(9,1); hsig_Hino_325_Zee_stack_1->SetBinContent(10,1); hsig_Hino_325_Zee_stack_1->SetBinContent(11,1); hsig_Hino_325_Zee_stack_1->SetBinContent(12,1); hsig_Hino_325_Zee_stack_1->SetBinContent(13,1); hsig_Hino_325_Zee_stack_1->SetBinContent(14,1); hsig_Hino_325_Zee_stack_1->SetBinContent(15,1); hsig_Hino_325_Zee_stack_1->SetBinContent(16,1); hsig_Hino_325_Zee_stack_1->SetBinContent(17,1); hsig_Hino_325_Zee_stack_1->SetBinContent(18,1); hsig_Hino_325_Zee_stack_1->SetBinError(1,0.02526102); hsig_Hino_325_Zee_stack_1->SetBinError(2,0.02270661); hsig_Hino_325_Zee_stack_1->SetBinError(3,0.02201774); hsig_Hino_325_Zee_stack_1->SetBinError(4,0.01305927); hsig_Hino_325_Zee_stack_1->SetBinError(5,0.03165363); hsig_Hino_325_Zee_stack_1->SetBinError(6,0.02278253); hsig_Hino_325_Zee_stack_1->SetBinError(7,0.03205764); hsig_Hino_325_Zee_stack_1->SetBinError(8,0.03840537); hsig_Hino_325_Zee_stack_1->SetBinError(9,0.02982384); hsig_Hino_325_Zee_stack_1->SetBinError(10,0.0296807); hsig_Hino_325_Zee_stack_1->SetBinError(11,0.02775662); hsig_Hino_325_Zee_stack_1->SetBinError(12,0.02182189); hsig_Hino_325_Zee_stack_1->SetBinError(13,0.07012591); hsig_Hino_325_Zee_stack_1->SetBinError(14,0.02588209); hsig_Hino_325_Zee_stack_1->SetBinError(15,0.01140958); hsig_Hino_325_Zee_stack_1->SetBinError(16,0.02925911); hsig_Hino_325_Zee_stack_1->SetBinError(17,0.02978131); hsig_Hino_325_Zee_stack_1->SetBinError(18,0.0203265); hsig_Hino_325_Zee_stack_1->SetEntries(19373.8); ci = TColor::GetColor("#00ff00"); hsig_Hino_325_Zee_stack_1->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); hsig_Hino_325_Zee_stack_1->SetMarkerColor(ci); hsig_Hino_325_Zee_stack_1->SetMarkerStyle(26); hsig_Hino_325_Zee_stack_1->SetMarkerSize(2); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetTitle("#rho [mm]"); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetLabelFont(42); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetTitleOffset(1); hsig_Hino_325_Zee_stack_1->GetXaxis()->SetTitleFont(42); hsig_Hino_325_Zee_stack_1->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_325_Zee_stack_1->GetYaxis()->SetLabelFont(42); hsig_Hino_325_Zee_stack_1->GetYaxis()->SetTitleFont(42); hsig_Hino_325_Zee_stack_1->GetZaxis()->SetLabelFont(42); hsig_Hino_325_Zee_stack_1->GetZaxis()->SetTitleOffset(1); hsig_Hino_325_Zee_stack_1->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_325_Zee_stack_1,""); Double_t xAxis17[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hsig_Hino_325_Hyy_stack_2 = new TH1F("hsig_Hino_325_Hyy_stack_2","",18, xAxis17); hsig_Hino_325_Hyy_stack_2->SetBinContent(1,1.047125); hsig_Hino_325_Hyy_stack_2->SetBinContent(2,1.232549); hsig_Hino_325_Hyy_stack_2->SetBinContent(3,1.139598); hsig_Hino_325_Hyy_stack_2->SetBinContent(4,1.151509); hsig_Hino_325_Hyy_stack_2->SetBinContent(5,0.8969926); hsig_Hino_325_Hyy_stack_2->SetBinContent(6,1.384837); hsig_Hino_325_Hyy_stack_2->SetBinContent(7,0.7711973); hsig_Hino_325_Hyy_stack_2->SetBinContent(8,0.8510342); hsig_Hino_325_Hyy_stack_2->SetBinContent(9,0.9145671); hsig_Hino_325_Hyy_stack_2->SetBinContent(10,1.097057); hsig_Hino_325_Hyy_stack_2->SetBinContent(11,0.8243998); hsig_Hino_325_Hyy_stack_2->SetBinContent(12,1.637514); hsig_Hino_325_Hyy_stack_2->SetBinContent(13,0.7778779); hsig_Hino_325_Hyy_stack_2->SetBinContent(14,0.8578104); hsig_Hino_325_Hyy_stack_2->SetBinContent(15,0.9154821); hsig_Hino_325_Hyy_stack_2->SetBinContent(16,1.201494); hsig_Hino_325_Hyy_stack_2->SetBinContent(17,1.008139); hsig_Hino_325_Hyy_stack_2->SetBinContent(18,0.9348014); hsig_Hino_325_Hyy_stack_2->SetBinError(1,0.03408839); hsig_Hino_325_Hyy_stack_2->SetBinError(2,0.06446722); hsig_Hino_325_Hyy_stack_2->SetBinError(3,0.04666731); hsig_Hino_325_Hyy_stack_2->SetBinError(4,0.02253405); hsig_Hino_325_Hyy_stack_2->SetBinError(5,0.02758728); hsig_Hino_325_Hyy_stack_2->SetBinError(6,0.03712089); hsig_Hino_325_Hyy_stack_2->SetBinError(7,0.02158545); hsig_Hino_325_Hyy_stack_2->SetBinError(8,0.02954698); hsig_Hino_325_Hyy_stack_2->SetBinError(9,0.02515698); hsig_Hino_325_Hyy_stack_2->SetBinError(10,0.02735425); hsig_Hino_325_Hyy_stack_2->SetBinError(11,0.0204313); hsig_Hino_325_Hyy_stack_2->SetBinError(12,0.05134143); hsig_Hino_325_Hyy_stack_2->SetBinError(13,0.04083786); hsig_Hino_325_Hyy_stack_2->SetBinError(14,0.02898704); hsig_Hino_325_Hyy_stack_2->SetBinError(15,0.01444588); hsig_Hino_325_Hyy_stack_2->SetBinError(16,0.05356371); hsig_Hino_325_Hyy_stack_2->SetBinError(17,0.03018923); hsig_Hino_325_Hyy_stack_2->SetBinError(18,0.02612076); hsig_Hino_325_Hyy_stack_2->SetEntries(15050.43); ci = TColor::GetColor("#ffcc00"); hsig_Hino_325_Hyy_stack_2->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); hsig_Hino_325_Hyy_stack_2->SetMarkerColor(ci); hsig_Hino_325_Hyy_stack_2->SetMarkerStyle(26); hsig_Hino_325_Hyy_stack_2->SetMarkerSize(2); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetTitle("#rho [mm]"); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetLabelFont(42); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetTitleOffset(1); hsig_Hino_325_Hyy_stack_2->GetXaxis()->SetTitleFont(42); hsig_Hino_325_Hyy_stack_2->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_325_Hyy_stack_2->GetYaxis()->SetLabelFont(42); hsig_Hino_325_Hyy_stack_2->GetYaxis()->SetTitleFont(42); hsig_Hino_325_Hyy_stack_2->GetZaxis()->SetLabelFont(42); hsig_Hino_325_Hyy_stack_2->GetZaxis()->SetTitleOffset(1); hsig_Hino_325_Hyy_stack_2->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_325_Hyy_stack_2,""); Double_t xAxis18[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hsig_Hino_135_Zee_stack_3 = new TH1F("hsig_Hino_135_Zee_stack_3","",18, xAxis18); hsig_Hino_135_Zee_stack_3->SetBinContent(1,0.7868535); hsig_Hino_135_Zee_stack_3->SetBinContent(2,0.6897187); hsig_Hino_135_Zee_stack_3->SetBinContent(3,0.872614); hsig_Hino_135_Zee_stack_3->SetBinContent(4,0.7712528); hsig_Hino_135_Zee_stack_3->SetBinContent(5,0.7506204); hsig_Hino_135_Zee_stack_3->SetBinContent(6,1.055847); hsig_Hino_135_Zee_stack_3->SetBinContent(7,0.7020046); hsig_Hino_135_Zee_stack_3->SetBinContent(8,0.8520103); hsig_Hino_135_Zee_stack_3->SetBinContent(9,0.8634282); hsig_Hino_135_Zee_stack_3->SetBinContent(10,0.547657); hsig_Hino_135_Zee_stack_3->SetBinContent(11,0.9788491); hsig_Hino_135_Zee_stack_3->SetBinContent(12,0.9404639); hsig_Hino_135_Zee_stack_3->SetBinContent(13,0.9493175); hsig_Hino_135_Zee_stack_3->SetBinContent(14,0.6366191); hsig_Hino_135_Zee_stack_3->SetBinContent(15,0.7471598); hsig_Hino_135_Zee_stack_3->SetBinContent(16,0.8994896); hsig_Hino_135_Zee_stack_3->SetBinContent(17,0.7309864); hsig_Hino_135_Zee_stack_3->SetBinContent(18,0.8092643); hsig_Hino_135_Zee_stack_3->SetBinError(1,0.02293545); hsig_Hino_135_Zee_stack_3->SetBinError(2,0.01743836); hsig_Hino_135_Zee_stack_3->SetBinError(3,0.02002609); hsig_Hino_135_Zee_stack_3->SetBinError(4,0.01033342); hsig_Hino_135_Zee_stack_3->SetBinError(5,0.01926968); hsig_Hino_135_Zee_stack_3->SetBinError(6,0.02076163); hsig_Hino_135_Zee_stack_3->SetBinError(7,0.01874994); hsig_Hino_135_Zee_stack_3->SetBinError(8,0.02538346); hsig_Hino_135_Zee_stack_3->SetBinError(9,0.01982902); hsig_Hino_135_Zee_stack_3->SetBinError(10,0.0711807); hsig_Hino_135_Zee_stack_3->SetBinError(11,0.0221583); hsig_Hino_135_Zee_stack_3->SetBinError(12,0.01674774); hsig_Hino_135_Zee_stack_3->SetBinError(13,0.04802203); hsig_Hino_135_Zee_stack_3->SetBinError(14,0.01702222); hsig_Hino_135_Zee_stack_3->SetBinError(15,0.008743806); hsig_Hino_135_Zee_stack_3->SetBinError(16,0.02267352); hsig_Hino_135_Zee_stack_3->SetBinError(17,0.02029794); hsig_Hino_135_Zee_stack_3->SetBinError(18,0.01995084); hsig_Hino_135_Zee_stack_3->SetEntries(15915.7); ci = TColor::GetColor("#ff00ff"); hsig_Hino_135_Zee_stack_3->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); hsig_Hino_135_Zee_stack_3->SetMarkerColor(ci); hsig_Hino_135_Zee_stack_3->SetMarkerStyle(26); hsig_Hino_135_Zee_stack_3->SetMarkerSize(2); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetTitle("#rho [mm]"); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetLabelFont(42); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetTitleOffset(1); hsig_Hino_135_Zee_stack_3->GetXaxis()->SetTitleFont(42); hsig_Hino_135_Zee_stack_3->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_135_Zee_stack_3->GetYaxis()->SetLabelFont(42); hsig_Hino_135_Zee_stack_3->GetYaxis()->SetTitleFont(42); hsig_Hino_135_Zee_stack_3->GetZaxis()->SetLabelFont(42); hsig_Hino_135_Zee_stack_3->GetZaxis()->SetTitleOffset(1); hsig_Hino_135_Zee_stack_3->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_135_Zee_stack_3,""); Double_t xAxis19[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hsig_Hino_135_2ns_stack_4 = new TH1F("hsig_Hino_135_2ns_stack_4","",18, xAxis19); hsig_Hino_135_2ns_stack_4->SetBinContent(1,0.9281957); hsig_Hino_135_2ns_stack_4->SetBinContent(2,0.6886781); hsig_Hino_135_2ns_stack_4->SetBinContent(3,0.9679753); hsig_Hino_135_2ns_stack_4->SetBinContent(4,0.7787943); hsig_Hino_135_2ns_stack_4->SetBinContent(5,0.8252406); hsig_Hino_135_2ns_stack_4->SetBinContent(6,1.021901); hsig_Hino_135_2ns_stack_4->SetBinContent(7,0.8431382); hsig_Hino_135_2ns_stack_4->SetBinContent(8,0.8554446); hsig_Hino_135_2ns_stack_4->SetBinContent(9,0.8403065); hsig_Hino_135_2ns_stack_4->SetBinContent(10,0.5493439); hsig_Hino_135_2ns_stack_4->SetBinContent(11,1.023689); hsig_Hino_135_2ns_stack_4->SetBinContent(12,0.9272035); hsig_Hino_135_2ns_stack_4->SetBinContent(13,0.9753151); hsig_Hino_135_2ns_stack_4->SetBinContent(14,0.7405499); hsig_Hino_135_2ns_stack_4->SetBinContent(15,0.785126); hsig_Hino_135_2ns_stack_4->SetBinContent(16,0.9250731); hsig_Hino_135_2ns_stack_4->SetBinContent(17,0.8868989); hsig_Hino_135_2ns_stack_4->SetBinContent(18,0.9439972); hsig_Hino_135_2ns_stack_4->SetBinError(1,0.0259006); hsig_Hino_135_2ns_stack_4->SetBinError(2,0.01489292); hsig_Hino_135_2ns_stack_4->SetBinError(3,0.02091124); hsig_Hino_135_2ns_stack_4->SetBinError(4,0.009685883); hsig_Hino_135_2ns_stack_4->SetBinError(5,0.02121653); hsig_Hino_135_2ns_stack_4->SetBinError(6,0.01904354); hsig_Hino_135_2ns_stack_4->SetBinError(7,0.02056773); hsig_Hino_135_2ns_stack_4->SetBinError(8,0.02498803); hsig_Hino_135_2ns_stack_4->SetBinError(9,0.01874612); hsig_Hino_135_2ns_stack_4->SetBinError(10,0.06109041); hsig_Hino_135_2ns_stack_4->SetBinError(11,0.02281812); hsig_Hino_135_2ns_stack_4->SetBinError(12,0.01586277); hsig_Hino_135_2ns_stack_4->SetBinError(13,0.04917464); hsig_Hino_135_2ns_stack_4->SetBinError(14,0.01525129); hsig_Hino_135_2ns_stack_4->SetBinError(15,0.009024662); hsig_Hino_135_2ns_stack_4->SetBinError(16,0.02334185); hsig_Hino_135_2ns_stack_4->SetBinError(17,0.02287373); hsig_Hino_135_2ns_stack_4->SetBinError(18,0.02737422); hsig_Hino_135_2ns_stack_4->SetEntries(18950.06); ci = TColor::GetColor("#cc00ff"); hsig_Hino_135_2ns_stack_4->SetLineColor(ci); ci = TColor::GetColor("#cc00ff"); hsig_Hino_135_2ns_stack_4->SetMarkerColor(ci); hsig_Hino_135_2ns_stack_4->SetMarkerStyle(26); hsig_Hino_135_2ns_stack_4->SetMarkerSize(2); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetTitle("#rho [mm]"); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetLabelFont(42); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetTitleOffset(1); hsig_Hino_135_2ns_stack_4->GetXaxis()->SetTitleFont(42); hsig_Hino_135_2ns_stack_4->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Hino_135_2ns_stack_4->GetYaxis()->SetLabelFont(42); hsig_Hino_135_2ns_stack_4->GetYaxis()->SetTitleFont(42); hsig_Hino_135_2ns_stack_4->GetZaxis()->SetLabelFont(42); hsig_Hino_135_2ns_stack_4->GetZaxis()->SetTitleOffset(1); hsig_Hino_135_2ns_stack_4->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Hino_135_2ns_stack_4,""); Double_t xAxis20[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hsig_Zee_PVz_stack_5 = new TH1F("hsig_Zee_PVz_stack_5","",18, xAxis20); hsig_Zee_PVz_stack_5->SetBinContent(4,0.5014479); hsig_Zee_PVz_stack_5->SetBinContent(5,0.6721047); hsig_Zee_PVz_stack_5->SetBinContent(6,0.861447); hsig_Zee_PVz_stack_5->SetBinContent(7,0.7292721); hsig_Zee_PVz_stack_5->SetBinContent(8,0.8326714); hsig_Zee_PVz_stack_5->SetBinContent(9,0.8303443); hsig_Zee_PVz_stack_5->SetBinContent(10,0.5440974); hsig_Zee_PVz_stack_5->SetBinContent(11,0.9261189); hsig_Zee_PVz_stack_5->SetBinContent(12,0.871053); hsig_Zee_PVz_stack_5->SetBinContent(13,0.7130052); hsig_Zee_PVz_stack_5->SetBinContent(14,0.5969099); hsig_Zee_PVz_stack_5->SetBinContent(15,0.552146); hsig_Zee_PVz_stack_5->SetBinError(4,0.02183901); hsig_Zee_PVz_stack_5->SetBinError(5,0.02067011); hsig_Zee_PVz_stack_5->SetBinError(6,0.01499124); hsig_Zee_PVz_stack_5->SetBinError(7,0.01697922); hsig_Zee_PVz_stack_5->SetBinError(8,0.02276136); hsig_Zee_PVz_stack_5->SetBinError(9,0.01758855); hsig_Zee_PVz_stack_5->SetBinError(10,0.01958695); hsig_Zee_PVz_stack_5->SetBinError(11,0.01834534); hsig_Zee_PVz_stack_5->SetBinError(12,0.01364464); hsig_Zee_PVz_stack_5->SetBinError(13,0.03602114); hsig_Zee_PVz_stack_5->SetBinError(14,0.01440009); hsig_Zee_PVz_stack_5->SetBinError(15,0.02348239); hsig_Zee_PVz_stack_5->SetEntries(14304.32); ci = TColor::GetColor("#ff0000"); hsig_Zee_PVz_stack_5->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); hsig_Zee_PVz_stack_5->SetMarkerColor(ci); hsig_Zee_PVz_stack_5->SetMarkerStyle(20); hsig_Zee_PVz_stack_5->SetMarkerSize(2); hsig_Zee_PVz_stack_5->GetXaxis()->SetTitle("#rho [mm]"); hsig_Zee_PVz_stack_5->GetXaxis()->SetLabelFont(42); hsig_Zee_PVz_stack_5->GetXaxis()->SetTitleOffset(1); hsig_Zee_PVz_stack_5->GetXaxis()->SetTitleFont(42); hsig_Zee_PVz_stack_5->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Zee_PVz_stack_5->GetYaxis()->SetLabelFont(42); hsig_Zee_PVz_stack_5->GetYaxis()->SetTitleFont(42); hsig_Zee_PVz_stack_5->GetZaxis()->SetLabelFont(42); hsig_Zee_PVz_stack_5->GetZaxis()->SetTitleOffset(1); hsig_Zee_PVz_stack_5->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Zee_PVz_stack_5,""); Double_t xAxis21[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hsig_Zee_truZ_stack_6 = new TH1F("hsig_Zee_truZ_stack_6","",18, xAxis21); hsig_Zee_truZ_stack_6->SetBinContent(4,0.4121094); hsig_Zee_truZ_stack_6->SetBinContent(5,0.695506); hsig_Zee_truZ_stack_6->SetBinContent(6,0.854395); hsig_Zee_truZ_stack_6->SetBinContent(7,0.7240127); hsig_Zee_truZ_stack_6->SetBinContent(8,0.8287207); hsig_Zee_truZ_stack_6->SetBinContent(9,0.8310355); hsig_Zee_truZ_stack_6->SetBinContent(10,0.5440561); hsig_Zee_truZ_stack_6->SetBinContent(11,0.9274243); hsig_Zee_truZ_stack_6->SetBinContent(12,0.8750965); hsig_Zee_truZ_stack_6->SetBinContent(13,0.7223492); hsig_Zee_truZ_stack_6->SetBinContent(14,0.5846828); hsig_Zee_truZ_stack_6->SetBinContent(15,0.5008563); hsig_Zee_truZ_stack_6->SetBinError(4,0.008617294); hsig_Zee_truZ_stack_6->SetBinError(5,0.02209855); hsig_Zee_truZ_stack_6->SetBinError(6,0.01482872); hsig_Zee_truZ_stack_6->SetBinError(7,0.01684504); hsig_Zee_truZ_stack_6->SetBinError(8,0.02265046); hsig_Zee_truZ_stack_6->SetBinError(9,0.01760325); hsig_Zee_truZ_stack_6->SetBinError(10,0.0195823); hsig_Zee_truZ_stack_6->SetBinError(11,0.01837226); hsig_Zee_truZ_stack_6->SetBinError(12,0.01371149); hsig_Zee_truZ_stack_6->SetBinError(13,0.03652222); hsig_Zee_truZ_stack_6->SetBinError(14,0.01390234); hsig_Zee_truZ_stack_6->SetBinError(15,0.0180598); hsig_Zee_truZ_stack_6->SetEntries(15533.58); ci = TColor::GetColor("#0000ff"); hsig_Zee_truZ_stack_6->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); hsig_Zee_truZ_stack_6->SetMarkerColor(ci); hsig_Zee_truZ_stack_6->SetMarkerStyle(20); hsig_Zee_truZ_stack_6->SetMarkerSize(2); hsig_Zee_truZ_stack_6->GetXaxis()->SetTitle("#rho [mm]"); hsig_Zee_truZ_stack_6->GetXaxis()->SetLabelFont(42); hsig_Zee_truZ_stack_6->GetXaxis()->SetTitleOffset(1); hsig_Zee_truZ_stack_6->GetXaxis()->SetTitleFont(42); hsig_Zee_truZ_stack_6->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hsig_Zee_truZ_stack_6->GetYaxis()->SetLabelFont(42); hsig_Zee_truZ_stack_6->GetYaxis()->SetTitleFont(42); hsig_Zee_truZ_stack_6->GetZaxis()->SetLabelFont(42); hsig_Zee_truZ_stack_6->GetZaxis()->SetTitleOffset(1); hsig_Zee_truZ_stack_6->GetZaxis()->SetTitleFont(42); hs_rat->Add(hsig_Zee_truZ_stack_6,""); hs_rat->Draw("nostack p"); TLegend *leg = new TLegend(0.55,0.7,0.72,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("hsig_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("hsig_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("hsig_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("hsig_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("hsig_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("hsig_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->Modified(); c->cd(); c->SetSelected(c); }