void RatesPerCell_Removing_noisy_cells_run_7045_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:09:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-3758.919,67.5,33830.27); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7045",60,0,60); h_SL2L164->SetBinContent(1,168.4347); h_SL2L164->SetBinContent(2,168.4347); h_SL2L164->SetBinContent(3,199.0592); h_SL2L164->SetBinContent(4,168.4347); h_SL2L164->SetBinContent(5,244.996); h_SL2L164->SetBinContent(6,183.747); h_SL2L164->SetBinContent(7,306.2449); h_SL2L164->SetBinContent(8,275.6205); h_SL2L164->SetBinContent(9,137.8102); h_SL2L164->SetBinContent(10,321.5572); h_SL2L164->SetBinContent(11,367.4939); h_SL2L164->SetBinContent(12,382.8062); h_SL2L164->SetBinContent(13,336.8694); h_SL2L164->SetBinContent(14,352.1817); h_SL2L164->SetBinContent(15,413.4307); h_SL2L164->SetBinContent(16,352.1817); h_SL2L164->SetBinContent(17,535.9286); h_SL2L164->SetBinContent(18,643.1144); h_SL2L164->SetBinContent(19,934.0471); h_SL2L164->SetBinContent(20,1133.106); h_SL2L164->SetBinContent(21,1607.786); h_SL2L164->SetBinContent(22,1745.596); h_SL2L164->SetBinContent(23,2005.904); h_SL2L164->SetBinContent(24,2266.213); h_SL2L164->SetBinContent(25,2863.39); h_SL2L164->SetBinContent(26,3843.374); h_SL2L164->SetBinContent(27,4991.792); h_SL2L164->SetBinContent(28,5925.84); h_SL2L164->SetBinContent(29,6691.452); h_SL2L164->SetBinContent(30,8253.302); h_SL2L164->SetBinContent(31,9340.471); h_SL2L164->SetBinContent(32,9187.349); h_SL2L164->SetBinContent(33,9508.905); h_SL2L164->SetBinContent(34,10978.88); h_SL2L164->SetBinContent(35,15.31225); h_SL2L164->SetBinContent(36,12111.99); h_SL2L164->SetBinContent(37,15281.62); h_SL2L164->SetBinContent(38,14776.32); h_SL2L164->SetBinContent(39,16139.11); h_SL2L164->SetBinContent(40,15465.37); h_SL2L164->SetBinContent(41,16904.72); h_SL2L164->SetBinContent(42,19369.99); h_SL2L164->SetBinContent(43,19614.99); h_SL2L164->SetBinContent(44,19324.06); h_SL2L164->SetBinContent(45,19768.11); h_SL2L164->SetBinContent(46,20166.23); h_SL2L164->SetBinContent(47,21452.46); h_SL2L164->SetBinContent(48,21590.27); h_SL2L164->SetBinContent(49,21314.65); h_SL2L164->SetBinContent(50,20962.47); h_SL2L164->SetBinContent(51,22126.2); h_SL2L164->SetBinContent(52,19553.74); h_SL2L164->SetBinContent(53,19002.5); h_SL2L164->SetBinContent(54,17379.4); h_SL2L164->SetBinContent(55,14117.89); h_SL2L164->SetBinContent(56,10335.77); h_SL2L164->SetBinContent(57,5634.907); h_SL2L164->SetMaximum(30071.35); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,107.1857); h_SL2L265->SetBinContent(2,183.747); h_SL2L265->SetBinContent(3,199.0592); h_SL2L265->SetBinContent(4,107.1857); h_SL2L265->SetBinContent(5,153.1225); h_SL2L265->SetBinContent(6,214.3715); h_SL2L265->SetBinContent(7,214.3715); h_SL2L265->SetBinContent(8,244.996); h_SL2L265->SetBinContent(9,275.6205); h_SL2L265->SetBinContent(10,275.6205); h_SL2L265->SetBinContent(11,382.8062); h_SL2L265->SetBinContent(12,306.2449); h_SL2L265->SetBinContent(13,306.2449); h_SL2L265->SetBinContent(14,505.3042); h_SL2L265->SetBinContent(15,505.3042); h_SL2L265->SetBinContent(16,474.6797); h_SL2L265->SetBinContent(17,367.4939); h_SL2L265->SetBinContent(18,949.3593); h_SL2L265->SetBinContent(19,734.9879); h_SL2L265->SetBinContent(20,964.6716); h_SL2L265->SetBinContent(21,1240.292); h_SL2L265->SetBinContent(22,1485.288); h_SL2L265->SetBinContent(23,1898.719); h_SL2L265->SetBinContent(24,2250.9); h_SL2L265->SetBinContent(25,2557.145); h_SL2L265->SetBinContent(26,3475.88); h_SL2L265->SetBinContent(27,4210.868); h_SL2L265->SetBinContent(28,5374.599); h_SL2L265->SetBinContent(29,6124.899); h_SL2L265->SetBinContent(30,6936.448); h_SL2L265->SetBinContent(31,8023.618); h_SL2L265->SetBinContent(32,8666.732); h_SL2L265->SetBinContent(33,9294.534); h_SL2L265->SetBinContent(34,10458.26); h_SL2L265->SetBinContent(35,9064.851); h_SL2L265->SetBinContent(36,9907.024); h_SL2L265->SetBinContent(37,13796.33); h_SL2L265->SetBinContent(38,15266.31); h_SL2L265->SetBinContent(39,14975.38); h_SL2L265->SetBinContent(40,16108.48); h_SL2L265->SetBinContent(41,16338.17); h_SL2L265->SetBinContent(42,18114.39); h_SL2L265->SetBinContent(43,19170.93); h_SL2L265->SetBinContent(44,17991.89); h_SL2L265->SetBinContent(45,19293.43); h_SL2L265->SetBinContent(46,19584.37); h_SL2L265->SetBinContent(47,19921.23); h_SL2L265->SetBinContent(48,21651.52); h_SL2L265->SetBinContent(49,21176.84); h_SL2L265->SetBinContent(50,20901.22); h_SL2L265->SetBinContent(51,21406.52); h_SL2L265->SetBinContent(52,21207.46); h_SL2L265->SetBinContent(53,19844.67); h_SL2L265->SetBinContent(54,18527.82); h_SL2L265->SetBinContent(55,16782.22); h_SL2L265->SetBinContent(56,12203.86); h_SL2L265->SetBinContent(57,8590.171); h_SL2L265->SetMaximum(26149.49); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,153.1225); h_SL2L366->SetBinContent(2,122.498); h_SL2L366->SetBinContent(3,137.8102); h_SL2L366->SetBinContent(4,199.0592); h_SL2L366->SetBinContent(5,214.3715); h_SL2L366->SetBinContent(6,275.6205); h_SL2L366->SetBinContent(7,244.996); h_SL2L366->SetBinContent(8,244.996); h_SL2L366->SetBinContent(9,229.6837); h_SL2L366->SetBinContent(10,428.7429); h_SL2L366->SetBinContent(11,352.1817); h_SL2L366->SetBinContent(12,413.4307); h_SL2L366->SetBinContent(13,290.9327); h_SL2L366->SetBinContent(14,597.1777); h_SL2L366->SetBinContent(15,627.8021); h_SL2L366->SetBinContent(16,489.9919); h_SL2L366->SetBinContent(17,566.5532); h_SL2L366->SetBinContent(18,750.3001); h_SL2L366->SetBinContent(19,734.9879); h_SL2L366->SetBinContent(20,1010.608); h_SL2L366->SetBinContent(21,1469.976); h_SL2L366->SetBinContent(22,1837.47); h_SL2L366->SetBinContent(23,2067.153); h_SL2L366->SetBinContent(24,2465.272); h_SL2L366->SetBinContent(25,3246.197); h_SL2L366->SetBinContent(26,4164.931); h_SL2L366->SetBinContent(27,4991.792); h_SL2L366->SetBinContent(28,5573.658); h_SL2L366->SetBinContent(29,6507.705); h_SL2L366->SetBinContent(30,7196.756); h_SL2L366->SetBinContent(31,9080.163); h_SL2L366->SetBinContent(32,8927.04); h_SL2L366->SetBinContent(33,9508.905); h_SL2L366->SetBinContent(34,9830.463); h_SL2L366->SetBinContent(35,10504.2); h_SL2L366->SetBinContent(36,11070.75); h_SL2L366->SetBinContent(37,14439.45); h_SL2L366->SetBinContent(38,15802.24); h_SL2L366->SetBinContent(39,15342.87); h_SL2L366->SetBinContent(40,15450.06); h_SL2L366->SetBinContent(41,17655.02); h_SL2L366->SetBinContent(42,18650.32); h_SL2L366->SetBinContent(43,18206.26); h_SL2L366->SetBinContent(44,18834.06); h_SL2L366->SetBinContent(45,18772.81); h_SL2L366->SetBinContent(46,19660.93); h_SL2L366->SetBinContent(47,21008.4); h_SL2L366->SetBinContent(48,21728.08); h_SL2L366->SetBinContent(49,21039.03); h_SL2L366->SetBinContent(50,20947.15); h_SL2L366->SetBinContent(51,20043.73); h_SL2L366->SetBinContent(52,20916.53); h_SL2L366->SetBinContent(53,19844.67); h_SL2L366->SetBinContent(54,17930.64); h_SL2L366->SetBinContent(55,15495.99); h_SL2L366->SetBinContent(56,10351.08); h_SL2L366->SetBinContent(57,7319.254); h_SL2L366->SetMaximum(26149.49); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,183.747); h_SL2L467->SetBinContent(3,168.4347); h_SL2L467->SetBinContent(4,137.8102); h_SL2L467->SetBinContent(5,168.4347); h_SL2L467->SetBinContent(6,244.996); h_SL2L467->SetBinContent(7,275.6205); h_SL2L467->SetBinContent(8,260.3082); h_SL2L467->SetBinContent(9,290.9327); h_SL2L467->SetBinContent(10,336.8694); h_SL2L467->SetBinContent(11,321.5572); h_SL2L467->SetBinContent(12,306.2449); h_SL2L467->SetBinContent(13,367.4939); h_SL2L467->SetBinContent(14,551.2409); h_SL2L467->SetBinContent(15,428.7429); h_SL2L467->SetBinContent(16,566.5532); h_SL2L467->SetBinContent(17,612.4899); h_SL2L467->SetBinContent(18,857.4858); h_SL2L467->SetBinContent(19,1148.419); h_SL2L467->SetBinContent(20,1087.17); h_SL2L467->SetBinContent(21,1347.478); h_SL2L467->SetBinContent(22,1500.6); h_SL2L467->SetBinContent(23,1959.968); h_SL2L467->SetBinContent(24,2067.153); h_SL2L467->SetBinContent(25,2725.58); h_SL2L467->SetBinContent(26,3322.758); h_SL2L467->SetBinContent(27,4700.86); h_SL2L467->SetBinContent(28,4976.48); h_SL2L467->SetBinContent(29,6293.333); h_SL2L467->SetBinContent(30,6951.76); h_SL2L467->SetBinContent(31,7931.744); h_SL2L467->SetBinContent(32,9110.787); h_SL2L467->SetBinContent(33,9156.724); h_SL2L467->SetBinContent(34,9447.656); h_SL2L467->SetBinContent(35,10534.83); h_SL2L467->SetBinContent(36,12295.73); h_SL2L467->SetBinContent(37,13153.22); h_SL2L467->SetBinContent(38,14301.64); h_SL2L467->SetBinContent(39,15771.61); h_SL2L467->SetBinContent(40,15572.56); h_SL2L467->SetBinContent(41,16506.6); h_SL2L467->SetBinContent(42,18175.64); h_SL2L467->SetBinContent(43,18512.51); h_SL2L467->SetBinContent(44,18145.01); h_SL2L467->SetBinContent(45,19523.12); h_SL2L467->SetBinContent(46,19569.05); h_SL2L467->SetBinContent(47,20212.17); h_SL2L467->SetBinContent(48,20931.84); h_SL2L467->SetBinContent(49,22738.69); h_SL2L467->SetBinContent(50,21498.39); h_SL2L467->SetBinContent(51,21222.78); h_SL2L467->SetBinContent(52,20901.22); h_SL2L467->SetBinContent(53,20962.47); h_SL2L467->SetBinContent(54,20610.29); h_SL2L467->SetBinContent(55,17195.65); h_SL2L467->SetBinContent(56,14408.82); h_SL2L467->SetBinContent(57,6737.389); h_SL2L467->SetMaximum(26149.49); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->Draw("same"); TLegend *leg = new TLegend(0.1,0.83,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("h_SL2L1","Layer 1","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L2","Layer 2","l"); ci = TColor::GetColor("#cc0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L3","Layer 3","l"); ci = TColor::GetColor("#009900"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L4","Layer 4","l"); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.3719095,0.9362587,0.6280905,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 7045"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }