void RatesPerCell_Removing_noisy_cells_run_6879_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:09 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13825.59,67.5,124430.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6879",60,0,60); h_SL1L160->SetBinContent(1,18297.95); h_SL1L160->SetBinContent(2,17954.94); h_SL1L160->SetBinContent(3,18122.36); h_SL1L160->SetBinContent(4,17963.11); h_SL1L160->SetBinContent(5,17244.42); h_SL1L160->SetBinContent(6,18481.71); h_SL1L160->SetBinContent(7,17354.67); h_SL1L160->SetBinContent(8,17705.85); h_SL1L160->SetBinContent(9,16125.55); h_SL1L160->SetBinContent(10,14390.09); h_SL1L160->SetBinContent(11,15206.78); h_SL1L160->SetBinContent(12,14810.68); h_SL1L160->SetBinContent(13,16145.97); h_SL1L160->SetBinContent(14,15566.12); h_SL1L160->SetBinContent(15,16043.89); h_SL1L160->SetBinContent(16,15121.03); h_SL1L160->SetBinContent(17,15570.21); h_SL1L160->SetBinContent(18,16599.23); h_SL1L160->SetBinContent(19,17334.26); h_SL1L160->SetBinContent(20,17040.25); h_SL1L160->SetBinContent(21,18220.37); h_SL1L160->SetBinContent(22,18097.86); h_SL1L160->SetBinContent(23,18093.78); h_SL1L160->SetBinContent(24,17697.68); h_SL1L160->SetBinContent(25,17583.35); h_SL1L160->SetBinContent(26,16938.16); h_SL1L160->SetBinContent(27,16889.16); h_SL1L160->SetBinContent(28,17334.26); h_SL1L160->SetBinContent(29,17522.1); h_SL1L160->SetBinContent(30,17999.86); h_SL1L160->SetBinContent(31,17901.86); h_SL1L160->SetBinContent(32,19612.82); h_SL1L160->SetBinContent(33,40075); h_SL1L160->SetBinContent(34,55853.46); h_SL1L160->SetBinContent(35,59218.23); h_SL1L160->SetBinContent(36,59757.25); h_SL1L160->SetBinContent(37,66825.7); h_SL1L160->SetBinContent(38,64330.71); h_SL1L160->SetBinContent(39,43300.93); h_SL1L160->SetBinContent(40,19710.83); h_SL1L160->SetBinContent(41,17109.67); h_SL1L160->SetBinContent(42,16537.98); h_SL1L160->SetBinContent(43,16023.47); h_SL1L160->SetBinContent(44,15235.36); h_SL1L160->SetBinContent(45,14157.33); h_SL1L160->SetBinContent(46,13552.98); h_SL1L160->SetBinContent(47,13671.4); h_SL1L160->SetBinContent(48,12621.95); h_SL1L160->SetBinContent(49,12589.29); h_SL1L160->SetBinContent(50,12336.11); h_SL1L160->SetBinContent(51,11903.26); h_SL1L160->SetBinContent(52,12209.52); h_SL1L160->SetBinContent(53,12479.03); h_SL1L160->SetBinContent(54,12262.61); h_SL1L160->SetBinContent(55,12417.78); h_SL1L160->SetBinContent(56,12299.36); h_SL1L160->SetBinContent(57,13242.64); h_SL1L160->SetBinContent(58,13173.22); h_SL1L160->SetBinContent(59,13785.74); h_SL1L160->SetMaximum(110604.7); 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,19110.56); h_SL1L261->SetBinContent(2,18579.71); h_SL1L261->SetBinContent(3,18085.61); h_SL1L261->SetBinContent(4,18269.37); h_SL1L261->SetBinContent(5,17873.27); h_SL1L261->SetBinContent(6,19318.81); h_SL1L261->SetBinContent(7,18959.47); h_SL1L261->SetBinContent(8,18841.05); h_SL1L261->SetBinContent(9,18065.2); h_SL1L261->SetBinContent(10,15696.79); h_SL1L261->SetBinContent(11,15190.44); h_SL1L261->SetBinContent(12,16660.49); h_SL1L261->SetBinContent(13,17056.58); h_SL1L261->SetBinContent(14,17603.76); h_SL1L261->SetBinContent(15,18101.95); h_SL1L261->SetBinContent(16,18195.87); h_SL1L261->SetBinContent(17,17322.01); h_SL1L261->SetBinContent(18,17865.11); h_SL1L261->SetBinContent(19,19118.72); h_SL1L261->SetBinContent(20,19245.31); h_SL1L261->SetBinContent(21,20241.68); h_SL1L261->SetBinContent(22,21013.45); h_SL1L261->SetBinContent(23,20846.03); h_SL1L261->SetBinContent(24,21278.87); h_SL1L261->SetBinContent(25,21421.79); h_SL1L261->SetBinContent(26,20792.94); h_SL1L261->SetBinContent(27,19992.58); h_SL1L261->SetBinContent(28,21115.53); h_SL1L261->SetBinContent(29,21115.53); h_SL1L261->SetBinContent(30,21605.55); h_SL1L261->SetBinContent(31,21483.04); h_SL1L261->SetBinContent(32,23459.44); h_SL1L261->SetBinContent(33,34276.5); h_SL1L261->SetBinContent(34,66862.45); h_SL1L261->SetBinContent(35,75433.62); h_SL1L261->SetBinContent(36,79945.84); h_SL1L261->SetBinContent(37,83420.85); h_SL1L261->SetBinContent(38,83633.2); h_SL1L261->SetBinContent(39,69006.27); h_SL1L261->SetBinContent(40,33341.39); h_SL1L261->SetBinContent(41,22348.74); h_SL1L261->SetBinContent(42,19751.66); h_SL1L261->SetBinContent(43,18930.89); h_SL1L261->SetBinContent(44,17587.43); h_SL1L261->SetBinContent(45,18277.54); h_SL1L261->SetBinContent(46,18044.78); h_SL1L261->SetBinContent(47,17538.43); h_SL1L261->SetBinContent(48,17121.92); h_SL1L261->SetBinContent(49,32251.11); h_SL1L261->SetBinContent(50,15876.46); h_SL1L261->SetBinContent(51,15202.69); h_SL1L261->SetBinContent(52,15255.78); h_SL1L261->SetBinContent(53,16178.64); h_SL1L261->SetBinContent(54,15149.61); h_SL1L261->SetBinContent(55,15484.45); h_SL1L261->SetBinContent(56,21487.13); h_SL1L261->SetBinContent(57,14978.1); h_SL1L261->SetBinContent(58,14675.93); h_SL1L261->SetBinContent(59,14100.16); h_SL1L261->SetMaximum(96178.17); 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,15186.36); h_SL1L362->SetBinContent(2,14226.75); h_SL1L362->SetBinContent(3,14818.85); h_SL1L362->SetBinContent(4,14451.34); h_SL1L362->SetBinContent(5,14855.6); h_SL1L362->SetBinContent(6,15255.78); h_SL1L362->SetBinContent(7,15598.79); h_SL1L362->SetBinContent(8,14986.27); h_SL1L362->SetBinContent(9,13463.14); h_SL1L362->SetBinContent(10,13103.8); h_SL1L362->SetBinContent(11,12858.79); h_SL1L362->SetBinContent(12,13344.72); h_SL1L362->SetBinContent(13,14124.66); h_SL1L362->SetBinContent(14,14418.67); h_SL1L362->SetBinContent(15,14814.77); h_SL1L362->SetBinContent(16,13471.31); h_SL1L362->SetBinContent(17,13491.73); h_SL1L362->SetBinContent(18,14949.52); h_SL1L362->SetBinContent(19,15059.77); h_SL1L362->SetBinContent(20,15010.77); h_SL1L362->SetBinContent(21,16056.14); h_SL1L362->SetBinContent(22,16186.81); h_SL1L362->SetBinContent(23,16864.66); h_SL1L362->SetBinContent(24,16782.99); h_SL1L362->SetBinContent(25,15402.78); h_SL1L362->SetBinContent(26,14933.19); h_SL1L362->SetBinContent(27,15263.95); h_SL1L362->SetBinContent(28,15782.54); h_SL1L362->SetBinContent(29,16550.23); h_SL1L362->SetBinContent(30,16227.64); h_SL1L362->SetBinContent(31,16060.22); h_SL1L362->SetBinContent(32,17428.18); h_SL1L362->SetBinContent(33,35346.37); h_SL1L362->SetBinContent(34,50495.98); h_SL1L362->SetBinContent(35,52782.71); h_SL1L362->SetBinContent(36,54844.85); h_SL1L362->SetBinContent(37,58074.86); h_SL1L362->SetBinContent(38,52468.29); h_SL1L362->SetBinContent(39,38633.55); h_SL1L362->SetBinContent(40,16631.9); h_SL1L362->SetBinContent(41,14969.94); h_SL1L362->SetBinContent(42,14773.93); h_SL1L362->SetBinContent(43,14565.68); h_SL1L362->SetBinContent(44,13744.9); h_SL1L362->SetBinContent(45,13091.55); h_SL1L362->SetBinContent(46,13924.57); h_SL1L362->SetBinContent(47,13622.4); h_SL1L362->SetBinContent(48,12001.27); h_SL1L362->SetBinContent(49,12789.37); h_SL1L362->SetBinContent(50,11850.18); h_SL1L362->SetBinContent(51,11490.84); h_SL1L362->SetBinContent(52,11290.75); h_SL1L362->SetBinContent(53,15594.71); h_SL1L362->SetBinContent(54,12115.6); h_SL1L362->SetBinContent(55,11715.43); h_SL1L362->SetBinContent(56,18346.95); h_SL1L362->SetBinContent(57,11984.93); h_SL1L362->SetBinContent(58,11082.49); h_SL1L362->SetBinContent(59,11029.41); h_SL1L362->SetMaximum(96178.17); 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,16305.23); h_SL1L463->SetBinContent(3,15737.63); h_SL1L463->SetBinContent(4,15888.71); h_SL1L463->SetBinContent(5,14814.77); h_SL1L463->SetBinContent(6,16464.48); h_SL1L463->SetBinContent(7,15472.2); h_SL1L463->SetBinContent(8,15892.8); h_SL1L463->SetBinContent(9,15410.95); h_SL1L463->SetBinContent(10,13912.32); h_SL1L463->SetBinContent(11,13704.07); h_SL1L463->SetBinContent(12,14312.5); h_SL1L463->SetBinContent(13,15178.19); h_SL1L463->SetBinContent(14,15913.21); h_SL1L463->SetBinContent(15,15529.37); h_SL1L463->SetBinContent(16,15574.29); h_SL1L463->SetBinContent(17,15660.04); h_SL1L463->SetBinContent(18,14937.27); h_SL1L463->SetBinContent(19,15631.46); h_SL1L463->SetBinContent(20,15557.96); h_SL1L463->SetBinContent(21,16337.89); h_SL1L463->SetBinContent(22,16068.39); h_SL1L463->SetBinContent(23,16562.48); h_SL1L463->SetBinContent(24,17040.25); h_SL1L463->SetBinContent(25,16260.31); h_SL1L463->SetBinContent(26,16693.15); h_SL1L463->SetBinContent(27,15774.38); h_SL1L463->SetBinContent(28,16125.55); h_SL1L463->SetBinContent(29,16819.74); h_SL1L463->SetBinContent(30,17166.84); h_SL1L463->SetBinContent(31,17248.5); h_SL1L463->SetBinContent(32,18081.53); h_SL1L463->SetBinContent(33,25011.15); h_SL1L463->SetBinContent(34,52521.37); h_SL1L463->SetBinContent(35,63183.26); h_SL1L463->SetBinContent(36,62288.99); h_SL1L463->SetBinContent(37,59977.75); h_SL1L463->SetBinContent(38,63722.28); h_SL1L463->SetBinContent(39,57282.68); h_SL1L463->SetBinContent(40,25472.58); h_SL1L463->SetBinContent(41,15758.04); h_SL1L463->SetBinContent(42,14847.43); h_SL1L463->SetBinContent(43,14116.5); h_SL1L463->SetBinContent(44,13842.9); h_SL1L463->SetBinContent(45,12662.79); h_SL1L463->SetBinContent(46,12826.12); h_SL1L463->SetBinContent(47,12662.79); h_SL1L463->SetBinContent(48,11915.51); h_SL1L463->SetBinContent(49,10812.98); h_SL1L463->SetBinContent(50,11445.92); h_SL1L463->SetBinContent(51,11380.58); h_SL1L463->SetBinContent(52,10861.98); h_SL1L463->SetBinContent(53,10743.56); h_SL1L463->SetBinContent(54,10645.56); h_SL1L463->SetBinContent(56,11192.74); h_SL1L463->SetBinContent(57,11102.91); h_SL1L463->SetBinContent(58,11658.26); h_SL1L463->SetBinContent(59,11931.85); h_SL1L463->SetMaximum(96178.17); 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 6879"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }