void PlotPointingResVrho() { //=========Macro generated from canvas: c/c //========= (Thu May 26 10:35:30 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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hs_stack_1 = new TH1F("hs_stack_1","",20, 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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_325_Zee_stack_1 = new TH1F("hsig_Hino_325_Zee_stack_1","",20, xAxis2); hsig_Hino_325_Zee_stack_1->SetBinContent(1,918.3372); hsig_Hino_325_Zee_stack_1->SetBinContent(2,81.63686); hsig_Hino_325_Zee_stack_1->SetBinContent(3,51.74582); hsig_Hino_325_Zee_stack_1->SetBinContent(4,38.51323); hsig_Hino_325_Zee_stack_1->SetBinContent(5,20.4657); hsig_Hino_325_Zee_stack_1->SetBinContent(6,19.25013); hsig_Hino_325_Zee_stack_1->SetBinContent(7,16.50715); hsig_Hino_325_Zee_stack_1->SetBinContent(8,14.59476); hsig_Hino_325_Zee_stack_1->SetBinContent(9,11.09403); hsig_Hino_325_Zee_stack_1->SetBinContent(10,10.94881); hsig_Hino_325_Zee_stack_1->SetBinContent(11,12.04965); hsig_Hino_325_Zee_stack_1->SetBinContent(12,11.05286); hsig_Hino_325_Zee_stack_1->SetBinContent(13,13.49777); hsig_Hino_325_Zee_stack_1->SetBinContent(14,10.54624); hsig_Hino_325_Zee_stack_1->SetBinContent(15,22.06674); hsig_Hino_325_Zee_stack_1->SetBinContent(16,20.40255); hsig_Hino_325_Zee_stack_1->SetBinContent(17,25.30598); hsig_Hino_325_Zee_stack_1->SetBinContent(18,58.13214); hsig_Hino_325_Zee_stack_1->SetBinContent(19,70.78434); hsig_Hino_325_Zee_stack_1->SetBinContent(20,139.0341); hsig_Hino_325_Zee_stack_1->SetBinError(1,685.937); hsig_Hino_325_Zee_stack_1->SetBinError(2,16.60637); hsig_Hino_325_Zee_stack_1->SetBinError(3,4.795808); hsig_Hino_325_Zee_stack_1->SetBinError(4,6.715959); hsig_Hino_325_Zee_stack_1->SetBinError(5,2.759037); hsig_Hino_325_Zee_stack_1->SetBinError(6,2.768869); hsig_Hino_325_Zee_stack_1->SetBinError(7,1.677602); hsig_Hino_325_Zee_stack_1->SetBinError(8,1.607124); hsig_Hino_325_Zee_stack_1->SetBinError(9,1.378529); hsig_Hino_325_Zee_stack_1->SetBinError(10,1.234268); hsig_Hino_325_Zee_stack_1->SetBinError(11,1.654382); hsig_Hino_325_Zee_stack_1->SetBinError(12,1.355128); hsig_Hino_325_Zee_stack_1->SetBinError(13,1.289698); hsig_Hino_325_Zee_stack_1->SetBinError(14,1.282262); hsig_Hino_325_Zee_stack_1->SetBinError(15,4.559036); hsig_Hino_325_Zee_stack_1->SetBinError(16,3.457267); hsig_Hino_325_Zee_stack_1->SetBinError(17,3.440912); hsig_Hino_325_Zee_stack_1->SetBinError(18,6.407255); hsig_Hino_325_Zee_stack_1->SetBinError(19,6.814174); hsig_Hino_325_Zee_stack_1->SetBinError(20,48.12124); hsig_Hino_325_Zee_stack_1->SetEntries(20); 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("Pointing Resolution [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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_325_Hyy_stack_2 = new TH1F("hsig_Hino_325_Hyy_stack_2","",20, xAxis3); hsig_Hino_325_Hyy_stack_2->SetBinContent(1,247.519); hsig_Hino_325_Hyy_stack_2->SetBinContent(2,97.47871); hsig_Hino_325_Hyy_stack_2->SetBinContent(3,55.02332); hsig_Hino_325_Hyy_stack_2->SetBinContent(4,27.87574); hsig_Hino_325_Hyy_stack_2->SetBinContent(5,18.84978); hsig_Hino_325_Hyy_stack_2->SetBinContent(6,18.80539); hsig_Hino_325_Hyy_stack_2->SetBinContent(7,13.04486); hsig_Hino_325_Hyy_stack_2->SetBinContent(8,12.27801); hsig_Hino_325_Hyy_stack_2->SetBinContent(9,9.830667); hsig_Hino_325_Hyy_stack_2->SetBinContent(10,9.52799); hsig_Hino_325_Hyy_stack_2->SetBinContent(11,6.550089); hsig_Hino_325_Hyy_stack_2->SetBinContent(12,9.131579); hsig_Hino_325_Hyy_stack_2->SetBinContent(13,11.31054); hsig_Hino_325_Hyy_stack_2->SetBinContent(14,18.5583); hsig_Hino_325_Hyy_stack_2->SetBinContent(15,19.7294); hsig_Hino_325_Hyy_stack_2->SetBinContent(16,24.71675); hsig_Hino_325_Hyy_stack_2->SetBinContent(17,23.56219); hsig_Hino_325_Hyy_stack_2->SetBinContent(18,38.19732); hsig_Hino_325_Hyy_stack_2->SetBinContent(19,161.3701); hsig_Hino_325_Hyy_stack_2->SetBinContent(20,158.1408); hsig_Hino_325_Hyy_stack_2->SetBinError(1,507.6432); hsig_Hino_325_Hyy_stack_2->SetBinError(2,31.5387); hsig_Hino_325_Hyy_stack_2->SetBinError(3,6.880075); hsig_Hino_325_Hyy_stack_2->SetBinError(4,5.966947); hsig_Hino_325_Hyy_stack_2->SetBinError(5,2.167569); hsig_Hino_325_Hyy_stack_2->SetBinError(6,2.714316); hsig_Hino_325_Hyy_stack_2->SetBinError(7,2.353184); hsig_Hino_325_Hyy_stack_2->SetBinError(8,1.721414); hsig_Hino_325_Hyy_stack_2->SetBinError(9,0.7206578); hsig_Hino_325_Hyy_stack_2->SetBinError(10,0.6483032); hsig_Hino_325_Hyy_stack_2->SetBinError(11,6.844916); hsig_Hino_325_Hyy_stack_2->SetBinError(12,0.5986685); hsig_Hino_325_Hyy_stack_2->SetBinError(13,1.349582); hsig_Hino_325_Hyy_stack_2->SetBinError(14,3.358115); hsig_Hino_325_Hyy_stack_2->SetBinError(15,3.007298); hsig_Hino_325_Hyy_stack_2->SetBinError(16,3.301761); hsig_Hino_325_Hyy_stack_2->SetBinError(17,5.873163); hsig_Hino_325_Hyy_stack_2->SetBinError(18,3.895501); hsig_Hino_325_Hyy_stack_2->SetBinError(19,55.72221); hsig_Hino_325_Hyy_stack_2->SetBinError(20,112.0265); hsig_Hino_325_Hyy_stack_2->SetEntries(20); 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("Pointing Resolution [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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_135_Zee_stack_3 = new TH1F("hsig_Hino_135_Zee_stack_3","",20, xAxis4); hsig_Hino_135_Zee_stack_3->SetBinContent(1,595.6852); hsig_Hino_135_Zee_stack_3->SetBinContent(2,294.975); hsig_Hino_135_Zee_stack_3->SetBinContent(3,56.30521); hsig_Hino_135_Zee_stack_3->SetBinContent(4,28.80761); hsig_Hino_135_Zee_stack_3->SetBinContent(5,27.63511); hsig_Hino_135_Zee_stack_3->SetBinContent(6,25.49372); hsig_Hino_135_Zee_stack_3->SetBinContent(7,22.96326); hsig_Hino_135_Zee_stack_3->SetBinContent(8,17.49185); hsig_Hino_135_Zee_stack_3->SetBinContent(9,10.15878); hsig_Hino_135_Zee_stack_3->SetBinContent(10,11.84495); hsig_Hino_135_Zee_stack_3->SetBinContent(11,12.95846); hsig_Hino_135_Zee_stack_3->SetBinContent(12,15.2763); hsig_Hino_135_Zee_stack_3->SetBinContent(13,13.85891); hsig_Hino_135_Zee_stack_3->SetBinContent(14,19.54682); hsig_Hino_135_Zee_stack_3->SetBinContent(15,19.58794); hsig_Hino_135_Zee_stack_3->SetBinContent(16,23.13498); hsig_Hino_135_Zee_stack_3->SetBinContent(17,24.94552); hsig_Hino_135_Zee_stack_3->SetBinContent(18,30.85706); hsig_Hino_135_Zee_stack_3->SetBinContent(19,114.6046); hsig_Hino_135_Zee_stack_3->SetBinContent(20,134.1742); hsig_Hino_135_Zee_stack_3->SetBinError(1,526.1338); hsig_Hino_135_Zee_stack_3->SetBinError(2,592.1819); hsig_Hino_135_Zee_stack_3->SetBinError(3,14.40913); hsig_Hino_135_Zee_stack_3->SetBinError(4,9.21603); hsig_Hino_135_Zee_stack_3->SetBinError(5,5.633738); hsig_Hino_135_Zee_stack_3->SetBinError(6,5.065034); hsig_Hino_135_Zee_stack_3->SetBinError(7,3.104974); hsig_Hino_135_Zee_stack_3->SetBinError(8,1.759522); hsig_Hino_135_Zee_stack_3->SetBinError(9,1.058567); hsig_Hino_135_Zee_stack_3->SetBinError(10,1.518274); hsig_Hino_135_Zee_stack_3->SetBinError(11,1.002988); hsig_Hino_135_Zee_stack_3->SetBinError(12,1.833587); hsig_Hino_135_Zee_stack_3->SetBinError(13,1.424561); hsig_Hino_135_Zee_stack_3->SetBinError(14,2.801374); hsig_Hino_135_Zee_stack_3->SetBinError(15,3.375216); hsig_Hino_135_Zee_stack_3->SetBinError(16,4.402452); hsig_Hino_135_Zee_stack_3->SetBinError(17,3.334886); hsig_Hino_135_Zee_stack_3->SetBinError(18,4.989403); hsig_Hino_135_Zee_stack_3->SetBinError(19,84.19631); hsig_Hino_135_Zee_stack_3->SetBinError(20,121.148); hsig_Hino_135_Zee_stack_3->SetEntries(20); 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("Pointing Resolution [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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Hino_135_2ns_stack_4 = new TH1F("hsig_Hino_135_2ns_stack_4","",20, xAxis5); hsig_Hino_135_2ns_stack_4->SetBinContent(1,999.9888); hsig_Hino_135_2ns_stack_4->SetBinContent(2,214.8167); hsig_Hino_135_2ns_stack_4->SetBinContent(3,36.3921); hsig_Hino_135_2ns_stack_4->SetBinContent(4,28.19203); hsig_Hino_135_2ns_stack_4->SetBinContent(5,31.72389); hsig_Hino_135_2ns_stack_4->SetBinContent(6,22.58501); hsig_Hino_135_2ns_stack_4->SetBinContent(7,13.57594); hsig_Hino_135_2ns_stack_4->SetBinContent(8,12.0832); hsig_Hino_135_2ns_stack_4->SetBinContent(9,10.52426); hsig_Hino_135_2ns_stack_4->SetBinContent(10,10.23835); hsig_Hino_135_2ns_stack_4->SetBinContent(11,12.09348); hsig_Hino_135_2ns_stack_4->SetBinContent(12,9.56004); hsig_Hino_135_2ns_stack_4->SetBinContent(13,10.65359); hsig_Hino_135_2ns_stack_4->SetBinContent(14,14.46913); hsig_Hino_135_2ns_stack_4->SetBinContent(15,21.57106); hsig_Hino_135_2ns_stack_4->SetBinContent(16,27.40774); hsig_Hino_135_2ns_stack_4->SetBinContent(17,22.27504); hsig_Hino_135_2ns_stack_4->SetBinContent(18,40.97322); hsig_Hino_135_2ns_stack_4->SetBinContent(19,71.83522); hsig_Hino_135_2ns_stack_4->SetBinContent(20,190.6837); hsig_Hino_135_2ns_stack_4->SetBinError(1,679.1816); hsig_Hino_135_2ns_stack_4->SetBinError(2,147.1215); hsig_Hino_135_2ns_stack_4->SetBinError(3,4.856813); hsig_Hino_135_2ns_stack_4->SetBinError(4,6.710797); hsig_Hino_135_2ns_stack_4->SetBinError(5,9.199243); hsig_Hino_135_2ns_stack_4->SetBinError(6,2.434564); hsig_Hino_135_2ns_stack_4->SetBinError(7,2.126162); hsig_Hino_135_2ns_stack_4->SetBinError(8,1.297383); hsig_Hino_135_2ns_stack_4->SetBinError(9,0.703375); hsig_Hino_135_2ns_stack_4->SetBinError(10,0.5913181); hsig_Hino_135_2ns_stack_4->SetBinError(11,0.5160357); hsig_Hino_135_2ns_stack_4->SetBinError(12,0.515148); hsig_Hino_135_2ns_stack_4->SetBinError(13,0.8420796); hsig_Hino_135_2ns_stack_4->SetBinError(14,1.369608); hsig_Hino_135_2ns_stack_4->SetBinError(15,2.906493); hsig_Hino_135_2ns_stack_4->SetBinError(16,3.510821); hsig_Hino_135_2ns_stack_4->SetBinError(17,5.671659); hsig_Hino_135_2ns_stack_4->SetBinError(18,5.813048); hsig_Hino_135_2ns_stack_4->SetBinError(19,30.82435); hsig_Hino_135_2ns_stack_4->SetBinError(20,195.2334); hsig_Hino_135_2ns_stack_4->SetEntries(20); 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("Pointing Resolution [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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Zee_PVz_stack_5 = new TH1F("hsig_Zee_PVz_stack_5","",20, xAxis6); hsig_Zee_PVz_stack_5->SetBinContent(4,25.73409); hsig_Zee_PVz_stack_5->SetBinContent(5,18.96885); hsig_Zee_PVz_stack_5->SetBinContent(6,16.55531); hsig_Zee_PVz_stack_5->SetBinContent(7,15.50062); hsig_Zee_PVz_stack_5->SetBinContent(8,13.04365); hsig_Zee_PVz_stack_5->SetBinContent(9,11.657); hsig_Zee_PVz_stack_5->SetBinContent(10,11.09424); hsig_Zee_PVz_stack_5->SetBinContent(11,11.34872); hsig_Zee_PVz_stack_5->SetBinContent(12,11.15088); hsig_Zee_PVz_stack_5->SetBinContent(13,12.88813); hsig_Zee_PVz_stack_5->SetBinContent(14,13.86298); hsig_Zee_PVz_stack_5->SetBinContent(15,16.2296); hsig_Zee_PVz_stack_5->SetBinContent(16,17.78686); hsig_Zee_PVz_stack_5->SetBinContent(17,19.50214); hsig_Zee_PVz_stack_5->SetBinContent(18,20.74074); hsig_Zee_PVz_stack_5->SetBinError(4,3.93235); hsig_Zee_PVz_stack_5->SetBinError(5,0.8979274); hsig_Zee_PVz_stack_5->SetBinError(6,0.5643256); hsig_Zee_PVz_stack_5->SetBinError(7,0.2954206); hsig_Zee_PVz_stack_5->SetBinError(8,0.1245825); hsig_Zee_PVz_stack_5->SetBinError(9,0.1384013); hsig_Zee_PVz_stack_5->SetBinError(10,0.106098); hsig_Zee_PVz_stack_5->SetBinError(11,0.1213783); hsig_Zee_PVz_stack_5->SetBinError(12,0.1202176); hsig_Zee_PVz_stack_5->SetBinError(13,0.2399301); hsig_Zee_PVz_stack_5->SetBinError(14,0.2099213); hsig_Zee_PVz_stack_5->SetBinError(15,0.5280867); hsig_Zee_PVz_stack_5->SetBinError(16,0.7759582); hsig_Zee_PVz_stack_5->SetBinError(17,1.991861); hsig_Zee_PVz_stack_5->SetBinError(18,3.823892); hsig_Zee_PVz_stack_5->SetEntries(15); 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("Pointing Resolution [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[21] = {-750, -400, -300, -140, -120, -100, -80, -60, -40, -20, 0, 20, 40, 60, 80, 100, 120, 140, 300, 400, 750}; TH1F *hsig_Zee_truZ_stack_6 = new TH1F("hsig_Zee_truZ_stack_6","",20, xAxis7); hsig_Zee_truZ_stack_6->SetBinContent(4,25.76404); hsig_Zee_truZ_stack_6->SetBinContent(5,18.82735); hsig_Zee_truZ_stack_6->SetBinContent(6,16.59197); hsig_Zee_truZ_stack_6->SetBinContent(7,15.4603); hsig_Zee_truZ_stack_6->SetBinContent(8,13.04247); hsig_Zee_truZ_stack_6->SetBinContent(9,11.66077); hsig_Zee_truZ_stack_6->SetBinContent(10,11.09887); hsig_Zee_truZ_stack_6->SetBinContent(11,11.30427); hsig_Zee_truZ_stack_6->SetBinContent(12,11.18515); hsig_Zee_truZ_stack_6->SetBinContent(13,12.89489); hsig_Zee_truZ_stack_6->SetBinContent(14,13.84458); hsig_Zee_truZ_stack_6->SetBinContent(15,16.28198); hsig_Zee_truZ_stack_6->SetBinContent(16,17.71532); hsig_Zee_truZ_stack_6->SetBinContent(17,18.97855); hsig_Zee_truZ_stack_6->SetBinContent(18,20.67524); hsig_Zee_truZ_stack_6->SetBinError(4,3.948244); hsig_Zee_truZ_stack_6->SetBinError(5,0.8817105); hsig_Zee_truZ_stack_6->SetBinError(6,0.3492141); hsig_Zee_truZ_stack_6->SetBinError(7,0.2927743); hsig_Zee_truZ_stack_6->SetBinError(8,0.124694); hsig_Zee_truZ_stack_6->SetBinError(9,0.1382746); hsig_Zee_truZ_stack_6->SetBinError(10,0.1060374); hsig_Zee_truZ_stack_6->SetBinError(11,0.1200636); hsig_Zee_truZ_stack_6->SetBinError(12,0.121343); hsig_Zee_truZ_stack_6->SetBinError(13,0.2401822); hsig_Zee_truZ_stack_6->SetBinError(14,0.2090427); hsig_Zee_truZ_stack_6->SetBinError(15,0.5342504); hsig_Zee_truZ_stack_6->SetBinError(16,0.7684615); hsig_Zee_truZ_stack_6->SetBinError(17,1.842142); hsig_Zee_truZ_stack_6->SetBinError(18,3.764655); hsig_Zee_truZ_stack_6->SetEntries(15); TF1 *f11 = new TF1("f1","([3]*x)^4 + ([0]*x)^2 + [2]",-700,700, TF1::EAddToList::kNo); f11->SetFillColor(19); f11->SetFillStyle(0); f11->SetLineColor(2); f11->SetLineWidth(2); f11->SetChisquare(85.70872); f11->SetNDF(11); f11->GetXaxis()->SetLabelFont(42); f11->GetXaxis()->SetTitleOffset(1); f11->GetXaxis()->SetTitleFont(42); f11->GetYaxis()->SetLabelFont(42); f11->GetYaxis()->SetTitleFont(42); f11->SetParameter(0,0.02503223); f11->SetParError(0,0.000455793); f11->SetParLimits(0,0,0); f11->SetParameter(1,0); f11->SetParError(1,1.414214); f11->SetParLimits(1,0,0); f11->SetParameter(2,11.11838); f11->SetParError(2,0.06080491); f11->SetParLimits(2,0,0); f11->SetParameter(3,0); f11->SetParError(3,0.01036201); f11->SetParLimits(3,0,0); f11->SetParent(hsig_Zee_truZ_stack_6); hsig_Zee_truZ_stack_6->GetListOfFunctions()->Add(f11); 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("Pointing Resolution [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.45,0.7,0.62,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); entry=leg->AddEntry("f1","(2.5e-02z)^{4} + (0.0e+00z)^{2} + 11.1","lpf"); entry->SetFillColor(19); entry->SetLineColor(2); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(1); entry->SetMarkerSize(1); 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); }