void PlotPointingResVrho() { //=========Macro generated from canvas: c/c //========= (Thu May 26 07:29:20 2022) by ROOT version 6.20/06 TCanvas *c = new TCanvas("c", "c",0,0,1600,1200); gStyle->SetOptStat(0); c->Range(-937.5,-37.5,937.5,337.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); THStack *hs = new THStack(); hs->SetName("hs"); hs->SetTitle(";z_{origin} [mm]; Pointing Resolution [mm];"); hs->SetMinimum(0); hs->SetMaximum(300); Double_t xAxis1[19] = {-750, -400, -300, -250, -125, -100, -75, -50, -25, 0, 25, 50, 75, 100, 125, 250, 300, 400, 750}; TH1F *hs_stack_1 = new TH1F("hs_stack_1","",18, xAxis1); hs_stack_1->SetMinimum(0); hs_stack_1->SetMaximum(300); hs_stack_1->SetDirectory(0); hs_stack_1->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hs_stack_1->SetLineColor(ci); hs_stack_1->GetXaxis()->SetTitle("z_{origin} [mm]"); hs_stack_1->GetXaxis()->SetLabelFont(42); hs_stack_1->GetXaxis()->SetTitleOffset(1); hs_stack_1->GetXaxis()->SetTitleFont(42); hs_stack_1->GetYaxis()->SetTitle(" Pointing Resolution [mm]"); hs_stack_1->GetYaxis()->SetLabelFont(42); hs_stack_1->GetYaxis()->SetTitleFont(42); hs_stack_1->GetZaxis()->SetLabelFont(42); hs_stack_1->GetZaxis()->SetTitleOffset(1); hs_stack_1->GetZaxis()->SetTitleFont(42); hs->SetHistogram(hs_stack_1); Double_t xAxis2[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, xAxis2); hsig_Hino_325_Zee_stack_1->SetBinContent(1,106.9127); hsig_Hino_325_Zee_stack_1->SetBinContent(2,87.13467); hsig_Hino_325_Zee_stack_1->SetBinContent(3,62.41629); hsig_Hino_325_Zee_stack_1->SetBinContent(4,43.38804); hsig_Hino_325_Zee_stack_1->SetBinContent(5,28.30136); hsig_Hino_325_Zee_stack_1->SetBinContent(6,17.15598); hsig_Hino_325_Zee_stack_1->SetBinContent(7,16.62375); hsig_Hino_325_Zee_stack_1->SetBinContent(8,13.51202); hsig_Hino_325_Zee_stack_1->SetBinContent(9,11.88413); hsig_Hino_325_Zee_stack_1->SetBinContent(10,11.9752); hsig_Hino_325_Zee_stack_1->SetBinContent(11,11.37058); hsig_Hino_325_Zee_stack_1->SetBinContent(12,13.79787); hsig_Hino_325_Zee_stack_1->SetBinContent(13,17.66031); hsig_Hino_325_Zee_stack_1->SetBinContent(14,27.47764); hsig_Hino_325_Zee_stack_1->SetBinContent(15,41.79414); hsig_Hino_325_Zee_stack_1->SetBinContent(16,54.0183); hsig_Hino_325_Zee_stack_1->SetBinContent(17,81.85442); hsig_Hino_325_Zee_stack_1->SetBinContent(18,103.918); hsig_Hino_325_Zee_stack_1->SetBinError(1,1.909701); hsig_Hino_325_Zee_stack_1->SetBinError(2,1.399034); hsig_Hino_325_Zee_stack_1->SetBinError(3,0.9717525); hsig_Hino_325_Zee_stack_1->SetBinError(4,0.4006581); hsig_Hino_325_Zee_stack_1->SetBinError(5,0.6334552); hsig_Hino_325_Zee_stack_1->SetBinError(6,0.2763774); hsig_Hino_325_Zee_stack_1->SetBinError(7,0.37683); hsig_Hino_325_Zee_stack_1->SetBinError(8,0.3669418); hsig_Hino_325_Zee_stack_1->SetBinError(9,0.25062); hsig_Hino_325_Zee_stack_1->SetBinError(10,0.2513287); hsig_Hino_325_Zee_stack_1->SetBinError(11,0.2231692); hsig_Hino_325_Zee_stack_1->SetBinError(12,0.2129068); hsig_Hino_325_Zee_stack_1->SetBinError(13,0.8757132); hsig_Hino_325_Zee_stack_1->SetBinError(14,0.5028793); hsig_Hino_325_Zee_stack_1->SetBinError(15,0.3371865); hsig_Hino_325_Zee_stack_1->SetBinError(16,1.117602); hsig_Hino_325_Zee_stack_1->SetBinError(17,1.723737); hsig_Hino_325_Zee_stack_1->SetBinError(18,1.493613); hsig_Hino_325_Zee_stack_1->SetEntries(18); 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->Add(hsig_Hino_325_Zee_stack_1,""); Double_t xAxis3[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, xAxis3); hsig_Hino_325_Hyy_stack_2->SetBinContent(1,111.951); hsig_Hino_325_Hyy_stack_2->SetBinContent(2,107.3978); hsig_Hino_325_Hyy_stack_2->SetBinContent(3,71.12946); hsig_Hino_325_Hyy_stack_2->SetBinContent(4,49.96171); hsig_Hino_325_Hyy_stack_2->SetBinContent(5,25.38611); hsig_Hino_325_Hyy_stack_2->SetBinContent(6,23.75824); hsig_Hino_325_Hyy_stack_2->SetBinContent(7,12.82019); hsig_Hino_325_Hyy_stack_2->SetBinContent(8,11.49919); hsig_Hino_325_Hyy_stack_2->SetBinContent(9,10.86883); hsig_Hino_325_Hyy_stack_2->SetBinContent(10,13.13748); hsig_Hino_325_Hyy_stack_2->SetBinContent(11,9.373903); hsig_Hino_325_Hyy_stack_2->SetBinContent(12,22.59421); hsig_Hino_325_Hyy_stack_2->SetBinContent(13,13.73757); hsig_Hino_325_Hyy_stack_2->SetBinContent(14,23.5706); hsig_Hino_325_Hyy_stack_2->SetBinContent(15,38.26179); hsig_Hino_325_Hyy_stack_2->SetBinContent(16,64.90268); hsig_Hino_325_Hyy_stack_2->SetBinContent(17,82.52067); hsig_Hino_325_Hyy_stack_2->SetBinContent(18,97.14265); hsig_Hino_325_Hyy_stack_2->SetBinError(1,3.04688); hsig_Hino_325_Hyy_stack_2->SetBinError(2,5.346112); hsig_Hino_325_Hyy_stack_2->SetBinError(3,2.694078); hsig_Hino_325_Hyy_stack_2->SetBinError(4,0.8620089); hsig_Hino_325_Hyy_stack_2->SetBinError(5,0.5354679); hsig_Hino_325_Hyy_stack_2->SetBinError(6,0.5090028); hsig_Hino_325_Hyy_stack_2->SetBinError(7,0.2104885); hsig_Hino_325_Hyy_stack_2->SetBinError(8,0.2487434); hsig_Hino_325_Hyy_stack_2->SetBinError(9,0.1919522); hsig_Hino_325_Hyy_stack_2->SetBinError(10,0.1768653); hsig_Hino_325_Hyy_stack_2->SetBinError(11,0.1418511); hsig_Hino_325_Hyy_stack_2->SetBinError(12,0.6166732); hsig_Hino_325_Hyy_stack_2->SetBinError(13,0.2368806); hsig_Hino_325_Hyy_stack_2->SetBinError(14,0.6695673); hsig_Hino_325_Hyy_stack_2->SetBinError(15,0.518873); hsig_Hino_325_Hyy_stack_2->SetBinError(16,2.562965); hsig_Hino_325_Hyy_stack_2->SetBinError(17,1.756874); hsig_Hino_325_Hyy_stack_2->SetBinError(18,2.327787); hsig_Hino_325_Hyy_stack_2->SetEntries(18); 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->Add(hsig_Hino_325_Hyy_stack_2,""); Double_t xAxis4[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, xAxis4); hsig_Hino_135_Zee_stack_3->SetBinContent(1,84.12465); hsig_Hino_135_Zee_stack_3->SetBinContent(2,60.09841); hsig_Hino_135_Zee_stack_3->SetBinContent(3,54.46533); hsig_Hino_135_Zee_stack_3->SetBinContent(4,33.46315); hsig_Hino_135_Zee_stack_3->SetBinContent(5,21.24358); hsig_Hino_135_Zee_stack_3->SetBinContent(6,18.11409); hsig_Hino_135_Zee_stack_3->SetBinContent(7,11.66995); hsig_Hino_135_Zee_stack_3->SetBinContent(8,11.51238); hsig_Hino_135_Zee_stack_3->SetBinContent(9,10.26109); hsig_Hino_135_Zee_stack_3->SetBinContent(10,6.558304); hsig_Hino_135_Zee_stack_3->SetBinContent(11,11.13008); hsig_Hino_135_Zee_stack_3->SetBinContent(12,12.9764); hsig_Hino_135_Zee_stack_3->SetBinContent(13,16.76524); hsig_Hino_135_Zee_stack_3->SetBinContent(14,17.49279); hsig_Hino_135_Zee_stack_3->SetBinContent(15,31.2269); hsig_Hino_135_Zee_stack_3->SetBinContent(16,48.58889); hsig_Hino_135_Zee_stack_3->SetBinContent(17,59.83446); hsig_Hino_135_Zee_stack_3->SetBinContent(18,84.0971); hsig_Hino_135_Zee_stack_3->SetBinError(1,1.937726); hsig_Hino_135_Zee_stack_3->SetBinError(2,1.173767); hsig_Hino_135_Zee_stack_3->SetBinError(3,0.9183365); hsig_Hino_135_Zee_stack_3->SetBinError(4,0.3248515); hsig_Hino_135_Zee_stack_3->SetBinError(5,0.2670768); hsig_Hino_135_Zee_stack_3->SetBinError(6,0.2042403); hsig_Hino_135_Zee_stack_3->SetBinError(7,0.1648448); hsig_Hino_135_Zee_stack_3->SetBinError(8,0.1410457); hsig_Hino_135_Zee_stack_3->SetBinError(9,0.09330349); hsig_Hino_135_Zee_stack_3->SetBinError(10,0.841217); hsig_Hino_135_Zee_stack_3->SetBinError(11,0.1255397); hsig_Hino_135_Zee_stack_3->SetBinError(12,0.1153556); hsig_Hino_135_Zee_stack_3->SetBinError(13,0.1677416); hsig_Hino_135_Zee_stack_3->SetBinError(14,0.3409992); hsig_Hino_135_Zee_stack_3->SetBinError(15,0.2647196); hsig_Hino_135_Zee_stack_3->SetBinError(16,0.6996629); hsig_Hino_135_Zee_stack_3->SetBinError(17,1.082973); hsig_Hino_135_Zee_stack_3->SetBinError(18,1.684442); hsig_Hino_135_Zee_stack_3->SetEntries(18); 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->Add(hsig_Hino_135_Zee_stack_3,""); Double_t xAxis5[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, xAxis5); hsig_Hino_135_2ns_stack_4->SetBinContent(1,99.23592); hsig_Hino_135_2ns_stack_4->SetBinContent(2,60.00774); hsig_Hino_135_2ns_stack_4->SetBinContent(3,60.41743); hsig_Hino_135_2ns_stack_4->SetBinContent(4,33.79036); hsig_Hino_135_2ns_stack_4->SetBinContent(5,23.35543); hsig_Hino_135_2ns_stack_4->SetBinContent(6,17.53171); hsig_Hino_135_2ns_stack_4->SetBinContent(7,14.01612); hsig_Hino_135_2ns_stack_4->SetBinContent(8,11.55878); hsig_Hino_135_2ns_stack_4->SetBinContent(9,9.986308); hsig_Hino_135_2ns_stack_4->SetBinContent(10,6.578506); hsig_Hino_135_2ns_stack_4->SetBinContent(11,11.63994); hsig_Hino_135_2ns_stack_4->SetBinContent(12,12.79344); hsig_Hino_135_2ns_stack_4->SetBinContent(13,17.22437); hsig_Hino_135_2ns_stack_4->SetBinContent(14,20.34856); hsig_Hino_135_2ns_stack_4->SetBinContent(15,32.81367); hsig_Hino_135_2ns_stack_4->SetBinContent(16,49.97087); hsig_Hino_135_2ns_stack_4->SetBinContent(17,72.5966); hsig_Hino_135_2ns_stack_4->SetBinContent(18,98.09827); hsig_Hino_135_2ns_stack_4->SetBinError(1,2.127419); hsig_Hino_135_2ns_stack_4->SetBinError(2,0.8693082); hsig_Hino_135_2ns_stack_4->SetBinError(3,0.9048558); hsig_Hino_135_2ns_stack_4->SetBinError(4,0.2815109); hsig_Hino_135_2ns_stack_4->SetBinError(5,0.2954277); hsig_Hino_135_2ns_stack_4->SetBinError(6,0.1642344); hsig_Hino_135_2ns_stack_4->SetBinError(7,0.1263268); hsig_Hino_135_2ns_stack_4->SetBinError(8,0.1243694); hsig_Hino_135_2ns_stack_4->SetBinError(9,0.07266454); hsig_Hino_135_2ns_stack_4->SetBinError(10,0.7184237); hsig_Hino_135_2ns_stack_4->SetBinError(11,0.1229834); hsig_Hino_135_2ns_stack_4->SetBinError(12,0.09452666); hsig_Hino_135_2ns_stack_4->SetBinError(13,0.157184); hsig_Hino_135_2ns_stack_4->SetBinError(14,0.1921773); hsig_Hino_135_2ns_stack_4->SetBinError(15,0.2686618); hsig_Hino_135_2ns_stack_4->SetBinError(16,0.7217779); hsig_Hino_135_2ns_stack_4->SetBinError(17,1.080924); hsig_Hino_135_2ns_stack_4->SetBinError(18,2.470659); hsig_Hino_135_2ns_stack_4->SetEntries(18); 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->Add(hsig_Hino_135_2ns_stack_4,""); Double_t xAxis6[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, xAxis6); hsig_Zee_PVz_stack_5->SetBinContent(4,21.75684); hsig_Zee_PVz_stack_5->SetBinContent(5,19.02148); hsig_Zee_PVz_stack_5->SetBinContent(6,14.77897); hsig_Zee_PVz_stack_5->SetBinContent(7,12.12323); hsig_Zee_PVz_stack_5->SetBinContent(8,11.25107); hsig_Zee_PVz_stack_5->SetBinContent(9,9.867917); hsig_Zee_PVz_stack_5->SetBinContent(10,6.515677); hsig_Zee_PVz_stack_5->SetBinContent(11,10.53051); hsig_Zee_PVz_stack_5->SetBinContent(12,12.01868); hsig_Zee_PVz_stack_5->SetBinContent(13,12.5919); hsig_Zee_PVz_stack_5->SetBinContent(14,16.40167); hsig_Zee_PVz_stack_5->SetBinContent(15,23.07647); hsig_Zee_PVz_stack_5->SetBinError(4,0.9260074); hsig_Zee_PVz_stack_5->SetBinError(5,0.4011914); hsig_Zee_PVz_stack_5->SetBinError(6,0.09727387); hsig_Zee_PVz_stack_5->SetBinError(7,0.06440754); hsig_Zee_PVz_stack_5->SetBinError(8,0.03510396); hsig_Zee_PVz_stack_5->SetBinError(9,0.01962804); hsig_Zee_PVz_stack_5->SetBinError(10,0.1905715); hsig_Zee_PVz_stack_5->SetBinError(11,0.02820772); hsig_Zee_PVz_stack_5->SetBinError(12,0.03242915); hsig_Zee_PVz_stack_5->SetBinError(13,0.1217354); hsig_Zee_PVz_stack_5->SetBinError(14,0.257796); hsig_Zee_PVz_stack_5->SetBinError(15,0.9636055); hsig_Zee_PVz_stack_5->SetEntries(18); 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->Add(hsig_Zee_PVz_stack_5,""); Double_t xAxis7[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, xAxis7); hsig_Zee_truZ_stack_6->SetBinContent(4,17.88062); hsig_Zee_truZ_stack_6->SetBinContent(5,19.68377); hsig_Zee_truZ_stack_6->SetBinContent(6,14.65798); hsig_Zee_truZ_stack_6->SetBinContent(7,12.0358); hsig_Zee_truZ_stack_6->SetBinContent(8,11.19769); hsig_Zee_truZ_stack_6->SetBinContent(9,9.876131); hsig_Zee_truZ_stack_6->SetBinContent(10,6.515182); hsig_Zee_truZ_stack_6->SetBinContent(11,10.54535); hsig_Zee_truZ_stack_6->SetBinContent(12,12.07447); hsig_Zee_truZ_stack_6->SetBinContent(13,12.75691); hsig_Zee_truZ_stack_6->SetBinContent(14,16.0657); hsig_Zee_truZ_stack_6->SetBinContent(15,20.93286); hsig_Zee_truZ_stack_6->SetBinError(4,0.3354533); hsig_Zee_truZ_stack_6->SetBinError(5,0.4438979); hsig_Zee_truZ_stack_6->SetBinError(6,0.09465741); hsig_Zee_truZ_stack_6->SetBinError(7,0.06308291); hsig_Zee_truZ_stack_6->SetBinError(8,0.03459196); hsig_Zee_truZ_stack_6->SetBinError(9,0.01965166); hsig_Zee_truZ_stack_6->SetBinError(10,0.1905105); hsig_Zee_truZ_stack_6->SetBinError(11,0.0283362); hsig_Zee_truZ_stack_6->SetBinError(12,0.03285904); hsig_Zee_truZ_stack_6->SetBinError(13,0.125981); hsig_Zee_truZ_stack_6->SetBinError(14,0.2438769); hsig_Zee_truZ_stack_6->SetBinError(15,0.7356578); hsig_Zee_truZ_stack_6->SetEntries(18); 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->Add(hsig_Zee_truZ_stack_6,""); hs->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); }