void RatesPerCell_Removing_noisy_cells_run_6876_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:47 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13821.71,67.5,124395.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6876",60,0,60); h_SL1L160->SetBinContent(1,18221.61); h_SL1L160->SetBinContent(2,17436.6); h_SL1L160->SetBinContent(3,18500.04); h_SL1L160->SetBinContent(4,17637.69); h_SL1L160->SetBinContent(5,17134.97); h_SL1L160->SetBinContent(6,18047.6); h_SL1L160->SetBinContent(7,17900.65); h_SL1L160->SetBinContent(8,17672.49); h_SL1L160->SetBinContent(9,16040.59); h_SL1L160->SetBinContent(10,14234.67); h_SL1L160->SetBinContent(11,14950.08); h_SL1L160->SetBinContent(12,15104.76); h_SL1L160->SetBinContent(13,16264.88); h_SL1L160->SetBinContent(14,16125.66); h_SL1L160->SetBinContent(15,16175.94); h_SL1L160->SetBinContent(16,14953.94); h_SL1L160->SetBinContent(17,15414.12); h_SL1L160->SetBinContent(18,16949.35); h_SL1L160->SetBinContent(19,17633.82); h_SL1L160->SetBinContent(20,17076.96); h_SL1L160->SetBinContent(21,18500.04); h_SL1L160->SetBinContent(22,17900.65); h_SL1L160->SetBinContent(23,18418.83); h_SL1L160->SetBinContent(24,17637.69); h_SL1L160->SetBinContent(25,17394.06); h_SL1L160->SetBinContent(26,17455.93); h_SL1L160->SetBinContent(27,16701.86); h_SL1L160->SetBinContent(28,17819.44); h_SL1L160->SetBinContent(29,17950.92); h_SL1L160->SetBinContent(30,18287.35); h_SL1L160->SetBinContent(31,18167.47); h_SL1L160->SetBinContent(32,19416.54); h_SL1L160->SetBinContent(33,40782.07); h_SL1L160->SetBinContent(34,55913.9); h_SL1L160->SetBinContent(35,60995.23); h_SL1L160->SetBinContent(36,61335.53); h_SL1L160->SetBinContent(37,66950.51); h_SL1L160->SetBinContent(38,64781.09); h_SL1L160->SetBinContent(39,44065.21); h_SL1L160->SetBinContent(40,18998.89); h_SL1L160->SetBinContent(41,17390.19); h_SL1L160->SetBinContent(42,16048.32); h_SL1L160->SetBinContent(43,16326.75); h_SL1L160->SetBinContent(44,15158.9); h_SL1L160->SetBinContent(45,14323.61); h_SL1L160->SetBinContent(46,14165.06); h_SL1L160->SetBinContent(47,13569.53); h_SL1L160->SetBinContent(48,12564.1); h_SL1L160->SetBinContent(49,13074.55); h_SL1L160->SetBinContent(50,12625.97); h_SL1L160->SetBinContent(51,12363.01); h_SL1L160->SetBinContent(52,12161.92); h_SL1L160->SetBinContent(53,12556.36); h_SL1L160->SetBinContent(54,12235.4); h_SL1L160->SetBinContent(55,12424.88); h_SL1L160->SetBinContent(56,12912.13); h_SL1L160->SetBinContent(57,13090.02); h_SL1L160->SetBinContent(58,12954.67); h_SL1L160->SetBinContent(59,13813.16); h_SL1L160->SetMaximum(110573.6); 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,18913.82); h_SL1L261->SetBinContent(2,18179.08); h_SL1L261->SetBinContent(3,18059.2); h_SL1L261->SetBinContent(4,18066.93); h_SL1L261->SetBinContent(5,17954.79); h_SL1L261->SetBinContent(6,19501.61); h_SL1L261->SetBinContent(7,18743.67); h_SL1L261->SetBinContent(8,18971.82); h_SL1L261->SetBinContent(9,18360.83); h_SL1L261->SetBinContent(10,16326.75); h_SL1L261->SetBinContent(11,15858.84); h_SL1L261->SetBinContent(12,16129.53); h_SL1L261->SetBinContent(13,17053.76); h_SL1L261->SetBinContent(14,18314.42); h_SL1L261->SetBinContent(15,18194.54); h_SL1L261->SetBinContent(16,17529.41); h_SL1L261->SetBinContent(17,17266.45); h_SL1L261->SetBinContent(18,18175.21); h_SL1L261->SetBinContent(19,19691.1); h_SL1L261->SetBinContent(20,19691.1); h_SL1L261->SetBinContent(21,20213.15); h_SL1L261->SetBinContent(22,20715.87); h_SL1L261->SetBinContent(23,20932.43); h_SL1L261->SetBinContent(24,21172.18); h_SL1L261->SetBinContent(25,21315.27); h_SL1L261->SetBinContent(26,20820.28); h_SL1L261->SetBinContent(27,19857.38); h_SL1L261->SetBinContent(28,20754.54); h_SL1L261->SetBinContent(29,21203.12); h_SL1L261->SetBinContent(30,21775.45); h_SL1L261->SetBinContent(31,21458.35); h_SL1L261->SetBinContent(32,22811.82); h_SL1L261->SetBinContent(33,34540.63); h_SL1L261->SetBinContent(34,66877.03); h_SL1L261->SetBinContent(35,74831.59); h_SL1L261->SetBinContent(36,79499.13); h_SL1L261->SetBinContent(37,83609.83); h_SL1L261->SetBinContent(38,82213.81); h_SL1L261->SetBinContent(39,69777.34); h_SL1L261->SetBinContent(40,33550.66); h_SL1L261->SetBinContent(41,22073.21); h_SL1L261->SetBinContent(42,19103.3); h_SL1L261->SetBinContent(43,18472.97); h_SL1L261->SetBinContent(44,17954.79); h_SL1L261->SetBinContent(45,17811.71); h_SL1L261->SetBinContent(46,17374.73); h_SL1L261->SetBinContent(47,17722.76); h_SL1L261->SetBinContent(48,16574.24); h_SL1L261->SetBinContent(49,30379.67); h_SL1L261->SetBinContent(50,16690.26); h_SL1L261->SetBinContent(51,15893.64); h_SL1L261->SetBinContent(52,15611.34); h_SL1L261->SetBinContent(53,15530.14); h_SL1L261->SetBinContent(54,15178.23); h_SL1L261->SetBinContent(55,15309.71); h_SL1L261->SetBinContent(56,21156.72); h_SL1L261->SetBinContent(57,14791.53); h_SL1L261->SetBinContent(58,14988.75); h_SL1L261->SetBinContent(59,14141.86); h_SL1L261->SetMaximum(96151.3); 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,17622.22); h_SL1L362->SetBinContent(2,17266.45); h_SL1L362->SetBinContent(3,18051.46); h_SL1L362->SetBinContent(4,17011.22); h_SL1L362->SetBinContent(5,18268.02); h_SL1L362->SetBinContent(6,19184.51); h_SL1L362->SetBinContent(7,18631.52); h_SL1L362->SetBinContent(8,18287.35); h_SL1L362->SetBinContent(9,16597.45); h_SL1L362->SetBinContent(10,15069.96); h_SL1L362->SetBinContent(11,15348.38); h_SL1L362->SetBinContent(12,15673.22); h_SL1L362->SetBinContent(13,16500.77); h_SL1L362->SetBinContent(14,17343.79); h_SL1L362->SetBinContent(15,17579.68); h_SL1L362->SetBinContent(16,16775.33); h_SL1L362->SetBinContent(17,16388.62); h_SL1L362->SetBinContent(18,18117.2); h_SL1L362->SetBinContent(19,18329.89); h_SL1L362->SetBinContent(20,18983.43); h_SL1L362->SetBinContent(21,20128.08); h_SL1L362->SetBinContent(22,19207.71); h_SL1L362->SetBinContent(23,20634.66); h_SL1L362->SetBinContent(24,20464.51); h_SL1L362->SetBinContent(25,20712); h_SL1L362->SetBinContent(26,19107.17); h_SL1L362->SetBinContent(27,19517.08); h_SL1L362->SetBinContent(28,20317.56); h_SL1L362->SetBinContent(29,20476.11); h_SL1L362->SetBinContent(30,20820.28); h_SL1L362->SetBinContent(31,21210.86); h_SL1L362->SetBinContent(32,24548.13); h_SL1L362->SetBinContent(33,52994.27); h_SL1L362->SetBinContent(34,70368.99); h_SL1L362->SetBinContent(35,76517.62); h_SL1L362->SetBinContent(36,81440.41); h_SL1L362->SetBinContent(37,82882.82); h_SL1L362->SetBinContent(38,75663.01); h_SL1L362->SetBinContent(39,52963.33); h_SL1L362->SetBinContent(40,23291.34); h_SL1L362->SetBinContent(41,19532.55); h_SL1L362->SetBinContent(42,18639.26); h_SL1L362->SetBinContent(43,17483); h_SL1L362->SetBinContent(44,17243.25); h_SL1L362->SetBinContent(45,16775.33); h_SL1L362->SetBinContent(46,17216.18); h_SL1L362->SetBinContent(47,16922.28); h_SL1L362->SetBinContent(48,16295.81); h_SL1L362->SetBinContent(49,15657.75); h_SL1L362->SetBinContent(50,15301.98); h_SL1L362->SetBinContent(51,15062.22); h_SL1L362->SetBinContent(52,14818.6); h_SL1L362->SetBinContent(53,17916.12); h_SL1L362->SetBinContent(54,14420.29); h_SL1L362->SetBinContent(55,15236.24); h_SL1L362->SetBinContent(56,20097.14); h_SL1L362->SetBinContent(57,14656.18); h_SL1L362->SetBinContent(58,14203.73); h_SL1L362->SetBinContent(59,13619.81); h_SL1L362->SetMaximum(96151.3); 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,16311.28); h_SL1L463->SetBinContent(3,15592.01); h_SL1L463->SetBinContent(4,15429.59); h_SL1L463->SetBinContent(5,15054.49); h_SL1L463->SetBinContent(6,15874.3); h_SL1L463->SetBinContent(7,15839.5); h_SL1L463->SetBinContent(8,15998.05); h_SL1L463->SetBinContent(9,15460.53); h_SL1L463->SetBinContent(10,14277.21); h_SL1L463->SetBinContent(11,13960.11); h_SL1L463->SetBinContent(12,14118.66); h_SL1L463->SetBinContent(13,15653.88); h_SL1L463->SetBinContent(14,15843.37); h_SL1L463->SetBinContent(15,15974.85); h_SL1L463->SetBinContent(16,15510.8); h_SL1L463->SetBinContent(17,14977.15); h_SL1L463->SetBinContent(18,14760.59); h_SL1L463->SetBinContent(19,15518.53); h_SL1L463->SetBinContent(20,15835.63); h_SL1L463->SetBinContent(21,16810.13); h_SL1L463->SetBinContent(22,16763.73); h_SL1L463->SetBinContent(23,16481.43); h_SL1L463->SetBinContent(24,17127.23); h_SL1L463->SetBinContent(25,16489.17); h_SL1L463->SetBinContent(26,16384.76); h_SL1L463->SetBinContent(27,16044.46); h_SL1L463->SetBinContent(28,16067.66); h_SL1L463->SetBinContent(29,17134.97); h_SL1L463->SetBinContent(30,17189.11); h_SL1L463->SetBinContent(31,17092.43); h_SL1L463->SetBinContent(32,17954.79); h_SL1L463->SetBinContent(33,25128.19); h_SL1L463->SetBinContent(34,53500.86); h_SL1L463->SetBinContent(35,63269.06); h_SL1L463->SetBinContent(36,63056.37); h_SL1L463->SetBinContent(37,60546.65); h_SL1L463->SetBinContent(38,63330.93); h_SL1L463->SetBinContent(39,58593.78); h_SL1L463->SetBinContent(40,25066.32); h_SL1L463->SetBinContent(41,16346.09); h_SL1L463->SetBinContent(42,14977.15); h_SL1L463->SetBinContent(43,14439.62); h_SL1L463->SetBinContent(44,13731.95); h_SL1L463->SetBinContent(45,12610.5); h_SL1L463->SetBinContent(46,13472.86); h_SL1L463->SetBinContent(47,12904.4); h_SL1L463->SetBinContent(48,11875.76); h_SL1L463->SetBinContent(49,11067.54); h_SL1L463->SetBinContent(50,11581.86); h_SL1L463->SetBinContent(51,10630.56); h_SL1L463->SetBinContent(52,10967); h_SL1L463->SetBinContent(53,10885.79); h_SL1L463->SetBinContent(54,10885.79); h_SL1L463->SetBinContent(56,11353.71); h_SL1L463->SetBinContent(57,11527.72); h_SL1L463->SetBinContent(58,12219.93); h_SL1L463->SetBinContent(59,12270.2); h_SL1L463->SetMaximum(96151.3); 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 6876"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }