void RatesPerCell_Removing_noisy_cells_run_6928_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4583.9,67.5,41255.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6928",60,0,60); h_SL1L160->SetBinContent(1,16341.53); h_SL1L160->SetBinContent(2,16382.4); h_SL1L160->SetBinContent(3,18704.06); h_SL1L160->SetBinContent(4,20052.91); h_SL1L160->SetBinContent(5,18058.24); h_SL1L160->SetBinContent(6,19120.97); h_SL1L160->SetBinContent(7,18483.34); h_SL1L160->SetBinContent(8,19186.38); h_SL1L160->SetBinContent(9,17960.15); h_SL1L160->SetBinContent(10,18761.28); h_SL1L160->SetBinContent(11,18581.44); h_SL1L160->SetBinContent(12,17616.8); h_SL1L160->SetBinContent(13,18025.54); h_SL1L160->SetBinContent(14,16782.97); h_SL1L160->SetBinContent(15,17502.36); h_SL1L160->SetBinContent(16,17044.56); h_SL1L160->SetBinContent(17,15810.16); h_SL1L160->SetBinContent(18,17077.26); h_SL1L160->SetBinContent(19,17461.48); h_SL1L160->SetBinContent(20,17199.88); h_SL1L160->SetBinContent(21,18483.34); h_SL1L160->SetBinContent(22,18123.64); h_SL1L160->SetBinContent(23,17347.03); h_SL1L160->SetBinContent(24,16488.67); h_SL1L160->SetBinContent(25,16644); h_SL1L160->SetBinContent(26,17208.06); h_SL1L160->SetBinContent(27,17265.29); h_SL1L160->SetBinContent(28,17248.93); h_SL1L160->SetBinContent(29,16300.65); h_SL1L160->SetBinContent(30,16096.28); h_SL1L160->SetBinContent(31,15613.96); h_SL1L160->SetBinContent(32,15393.24); h_SL1L160->SetBinContent(33,15066.25); h_SL1L160->SetBinContent(34,14878.23); h_SL1L160->SetBinContent(35,14755.61); h_SL1L160->SetBinContent(36,13905.42); h_SL1L160->SetBinContent(37,15483.17); h_SL1L160->SetBinContent(38,16096.28); h_SL1L160->SetBinContent(39,15058.07); h_SL1L160->SetBinContent(40,14338.69); h_SL1L160->SetBinContent(41,13921.77); h_SL1L160->SetBinContent(42,13766.45); h_SL1L160->SetBinContent(43,13210.56); h_SL1L160->SetBinContent(44,13431.28); h_SL1L160->SetBinContent(45,13504.85); h_SL1L160->SetBinContent(46,13365.88); h_SL1L160->SetBinContent(47,12630.14); h_SL1L160->SetBinContent(48,12311.33); h_SL1L160->SetBinContent(49,13161.51); h_SL1L160->SetBinContent(50,13570.25); h_SL1L160->SetBinContent(51,12720.07); h_SL1L160->SetBinContent(52,11755.43); h_SL1L160->SetBinContent(53,12859.04); h_SL1L160->SetBinContent(54,12017.03); h_SL1L160->SetBinContent(55,12172.35); h_SL1L160->SetBinContent(56,12703.72); h_SL1L160->SetBinContent(57,14812.83); h_SL1L160->SetBinContent(58,16218.9); h_SL1L160->SetBinContent(59,16766.62); h_SL1L160->SetMaximum(36671.2); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,17371.56); h_SL1L261->SetBinContent(2,16586.77); h_SL1L261->SetBinContent(3,18932.95); h_SL1L261->SetBinContent(4,21933.12); h_SL1L261->SetBinContent(5,22333.69); h_SL1L261->SetBinContent(6,23739.77); h_SL1L261->SetBinContent(7,24173.03); h_SL1L261->SetBinContent(8,24974.17); h_SL1L261->SetBinContent(9,24091.29); h_SL1L261->SetBinContent(10,23486.35); h_SL1L261->SetBinContent(11,23527.22); h_SL1L261->SetBinContent(12,24516.38); h_SL1L261->SetBinContent(13,22995.85); h_SL1L261->SetBinContent(14,25162.19); h_SL1L261->SetBinContent(15,23249.28); h_SL1L261->SetBinContent(16,23355.55); h_SL1L261->SetBinContent(17,23298.32); h_SL1L261->SetBinContent(18,24009.54); h_SL1L261->SetBinContent(19,25489.18); h_SL1L261->SetBinContent(20,25064.09); h_SL1L261->SetBinContent(21,26739.94); h_SL1L261->SetBinContent(22,26233.1); h_SL1L261->SetBinContent(23,26723.59); h_SL1L261->SetBinContent(24,26584.61); h_SL1L261->SetBinContent(25,27140.5); h_SL1L261->SetBinContent(26,25652.68); h_SL1L261->SetBinContent(27,25276.64); h_SL1L261->SetBinContent(28,27402.1); h_SL1L261->SetBinContent(29,27729.09); h_SL1L261->SetBinContent(30,26838.03); h_SL1L261->SetBinContent(31,26977.01); h_SL1L261->SetBinContent(32,25619.98); h_SL1L261->SetBinContent(33,25391.09); h_SL1L261->SetBinContent(34,24712.57); h_SL1L261->SetBinContent(35,23331.02); h_SL1L261->SetBinContent(36,23756.12); h_SL1L261->SetBinContent(37,23576.27); h_SL1L261->SetBinContent(38,23568.09); h_SL1L261->SetBinContent(39,23707.07); h_SL1L261->SetBinContent(40,23494.52); h_SL1L261->SetBinContent(41,22456.31); h_SL1L261->SetBinContent(42,22227.42); h_SL1L261->SetBinContent(43,20559.75); h_SL1L261->SetBinContent(44,20616.97); h_SL1L261->SetBinContent(45,21679.7); h_SL1L261->SetBinContent(46,22235.59); h_SL1L261->SetBinContent(47,22243.77); h_SL1L261->SetBinContent(48,22521.71); h_SL1L261->SetBinContent(49,21924.95); h_SL1L261->SetBinContent(50,22170.2); h_SL1L261->SetBinContent(51,21532.56); h_SL1L261->SetBinContent(52,21082.94); h_SL1L261->SetBinContent(53,21393.58); h_SL1L261->SetBinContent(54,21172.86); h_SL1L261->SetBinContent(55,21205.56); h_SL1L261->SetBinContent(56,20968.49); h_SL1L261->SetBinContent(57,22096.62); h_SL1L261->SetBinContent(58,20706.9); h_SL1L261->SetBinContent(59,19333.52); h_SL1L261->SetMaximum(31888.46); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,16782.97); h_SL1L362->SetBinContent(2,17330.68); h_SL1L362->SetBinContent(3,20486.18); h_SL1L362->SetBinContent(4,22178.37); h_SL1L362->SetBinContent(5,22750.61); h_SL1L362->SetBinContent(6,22873.23); h_SL1L362->SetBinContent(7,23355.55); h_SL1L362->SetBinContent(8,23854.21); h_SL1L362->SetBinContent(9,23658.02); h_SL1L362->SetBinContent(10,23314.67); h_SL1L362->SetBinContent(11,23298.32); h_SL1L362->SetBinContent(12,23322.85); h_SL1L362->SetBinContent(13,23061.25); h_SL1L362->SetBinContent(14,22734.26); h_SL1L362->SetBinContent(15,23429.12); h_SL1L362->SetBinContent(16,22243.77); h_SL1L362->SetBinContent(17,23461.82); h_SL1L362->SetBinContent(18,24508.2); h_SL1L362->SetBinContent(19,24540.9); h_SL1L362->SetBinContent(20,25530.06); h_SL1L362->SetBinContent(21,25996.03); h_SL1L362->SetBinContent(22,26061.42); h_SL1L362->SetBinContent(23,25570.93); h_SL1L362->SetBinContent(24,26355.72); h_SL1L362->SetBinContent(25,25603.63); h_SL1L362->SetBinContent(26,25055.92); h_SL1L362->SetBinContent(27,26224.92); h_SL1L362->SetBinContent(28,26102.3); h_SL1L362->SetBinContent(29,26298.49); h_SL1L362->SetBinContent(30,26036.9); h_SL1L362->SetBinContent(31,25284.81); h_SL1L362->SetBinContent(32,24459.15); h_SL1L362->SetBinContent(33,25145.84); h_SL1L362->SetBinContent(34,23821.51); h_SL1L362->SetBinContent(35,22211.07); h_SL1L362->SetBinContent(36,23976.84); h_SL1L362->SetBinContent(37,23764.29); h_SL1L362->SetBinContent(38,23494.52); h_SL1L362->SetBinContent(39,22235.59); h_SL1L362->SetBinContent(40,22341.87); h_SL1L362->SetBinContent(41,22080.27); h_SL1L362->SetBinContent(42,21638.83); h_SL1L362->SetBinContent(43,20028.38); h_SL1L362->SetBinContent(44,20478); h_SL1L362->SetBinContent(45,21941.3); h_SL1L362->SetBinContent(46,22570.76); h_SL1L362->SetBinContent(47,21033.89); h_SL1L362->SetBinContent(48,21753.28); h_SL1L362->SetBinContent(49,21753.28); h_SL1L362->SetBinContent(50,22358.22); h_SL1L362->SetBinContent(51,20747.77); h_SL1L362->SetBinContent(52,21409.93); h_SL1L362->SetBinContent(53,20682.37); h_SL1L362->SetBinContent(54,21287.31); h_SL1L362->SetBinContent(55,20952.14); h_SL1L362->SetBinContent(56,20919.44); h_SL1L362->SetBinContent(57,20240.93); h_SL1L362->SetBinContent(58,19979.33); h_SL1L362->SetBinContent(59,18001.02); h_SL1L362->SetMaximum(31888.46); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,15450.47); h_SL1L463->SetBinContent(3,17763.95); h_SL1L463->SetBinContent(4,20723.25); h_SL1L463->SetBinContent(5,20739.6); h_SL1L463->SetBinContent(6,20715.07); h_SL1L463->SetBinContent(7,21393.58); h_SL1L463->SetBinContent(8,22047.57); h_SL1L463->SetBinContent(9,22211.07); h_SL1L463->SetBinContent(10,22243.77); h_SL1L463->SetBinContent(11,22799.66); h_SL1L463->SetBinContent(12,23306.5); h_SL1L463->SetBinContent(13,22300.99); h_SL1L463->SetBinContent(14,22865.06); h_SL1L463->SetBinContent(15,22211.07); h_SL1L463->SetBinContent(16,22521.71); h_SL1L463->SetBinContent(17,21687.88); h_SL1L463->SetBinContent(18,21409.93); h_SL1L463->SetBinContent(19,22423.62); h_SL1L463->SetBinContent(20,22570.76); h_SL1L463->SetBinContent(21,23600.79); h_SL1L463->SetBinContent(22,23682.54); h_SL1L463->SetBinContent(23,23249.28); h_SL1L463->SetBinContent(24,24483.68); h_SL1L463->SetBinContent(25,23519.04); h_SL1L463->SetBinContent(26,23796.99); h_SL1L463->SetBinContent(27,21990.35); h_SL1L463->SetBinContent(28,24254.78); h_SL1L463->SetBinContent(29,23625.32); h_SL1L463->SetBinContent(30,23429.12); h_SL1L463->SetBinContent(31,22112.97); h_SL1L463->SetBinContent(32,21254.61); h_SL1L463->SetBinContent(33,20706.9); h_SL1L463->SetBinContent(34,21483.51); h_SL1L463->SetBinContent(35,19824.01); h_SL1L463->SetBinContent(36,19497.02); h_SL1L463->SetBinContent(37,19889.41); h_SL1L463->SetBinContent(38,20690.55); h_SL1L463->SetBinContent(39,19946.63); h_SL1L463->SetBinContent(40,19210.9); h_SL1L463->SetBinContent(41,19513.37); h_SL1L463->SetBinContent(42,18148.17); h_SL1L463->SetBinContent(43,17502.36); h_SL1L463->SetBinContent(44,17862.05); h_SL1L463->SetBinContent(45,18736.76); h_SL1L463->SetBinContent(46,19268.12); h_SL1L463->SetBinContent(47,19513.37); h_SL1L463->SetBinContent(48,18655.01); h_SL1L463->SetBinContent(49,17951.97); h_SL1L463->SetBinContent(50,18295.31); h_SL1L463->SetBinContent(51,16644); h_SL1L463->SetBinContent(52,17281.63); h_SL1L463->SetBinContent(53,16611.3); h_SL1L463->SetBinContent(54,16382.4); h_SL1L463->SetBinContent(55,24.52455); h_SL1L463->SetBinContent(56,16047.23); h_SL1L463->SetBinContent(57,17257.11); h_SL1L463->SetBinContent(58,18851.21); h_SL1L463->SetBinContent(59,18213.57); h_SL1L463->SetMaximum(31888.46); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6928"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }