void RatesPerCell_Removing_noisy_cells_run_6706_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:47:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19543.82,67.5,175894.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 6706",60,0,60); h_SL1L160->SetBinContent(1,55813.29); h_SL1L160->SetBinContent(2,53359.22); h_SL1L160->SetBinContent(3,53863.48); h_SL1L160->SetBinContent(4,53224.75); h_SL1L160->SetBinContent(5,49232.68); h_SL1L160->SetBinContent(6,52838.15); h_SL1L160->SetBinContent(7,50274.82); h_SL1L160->SetBinContent(8,52249.84); h_SL1L160->SetBinContent(9,46459.25); h_SL1L160->SetBinContent(10,42904.21); h_SL1L160->SetBinContent(11,43047.08); h_SL1L160->SetBinContent(12,42551.23); h_SL1L160->SetBinContent(13,43971.56); h_SL1L160->SetBinContent(14,43164.74); h_SL1L160->SetBinContent(15,43173.15); h_SL1L160->SetBinContent(16,42475.59); h_SL1L160->SetBinContent(17,41223.34); h_SL1L160->SetBinContent(18,43921.13); h_SL1L160->SetBinContent(19,47123.19); h_SL1L160->SetBinContent(20,45593.6); h_SL1L160->SetBinContent(21,47686.29); h_SL1L160->SetBinContent(22,47577.03); h_SL1L160->SetBinContent(23,48409.06); h_SL1L160->SetBinContent(24,44635.5); h_SL1L160->SetBinContent(25,44383.38); h_SL1L160->SetBinContent(26,44223.69); h_SL1L160->SetBinContent(27,42517.61); h_SL1L160->SetBinContent(28,43089.11); h_SL1L160->SetBinContent(29,42088.98); h_SL1L160->SetBinContent(30,41399.83); h_SL1L160->SetBinContent(31,40382.9); h_SL1L160->SetBinContent(32,38954.16); h_SL1L160->SetBinContent(33,55729.25); h_SL1L160->SetBinContent(34,69319.08); h_SL1L160->SetBinContent(35,73092.63); h_SL1L160->SetBinContent(36,71823.58); h_SL1L160->SetBinContent(37,77320.02); h_SL1L160->SetBinContent(38,79152.17); h_SL1L160->SetBinContent(39,60116.32); h_SL1L160->SetBinContent(40,39164.27); h_SL1L160->SetBinContent(41,37382.55); h_SL1L160->SetBinContent(42,37962.45); h_SL1L160->SetBinContent(43,37029.57); h_SL1L160->SetBinContent(44,36743.82); h_SL1L160->SetBinContent(45,34533.48); h_SL1L160->SetBinContent(46,33020.69); h_SL1L160->SetBinContent(47,31264.18); h_SL1L160->SetBinContent(48,28910.96); h_SL1L160->SetBinContent(49,32381.96); h_SL1L160->SetBinContent(50,32760.16); h_SL1L160->SetBinContent(51,30633.86); h_SL1L160->SetBinContent(52,31146.52); h_SL1L160->SetBinContent(53,30936.41); h_SL1L160->SetBinContent(54,29953.1); h_SL1L160->SetBinContent(55,31171.73); h_SL1L160->SetBinContent(56,32650.9); h_SL1L160->SetBinContent(57,36718.61); h_SL1L160->SetBinContent(58,37155.63); h_SL1L160->SetBinContent(59,37626.28); h_SL1L160->SetMaximum(156350.5); 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,59427.16); h_SL1L261->SetBinContent(2,56418.4); h_SL1L261->SetBinContent(3,57351.29); h_SL1L261->SetBinContent(4,56947.88); h_SL1L261->SetBinContent(5,56233.51); h_SL1L261->SetBinContent(6,60805.47); h_SL1L261->SetBinContent(7,60519.73); h_SL1L261->SetBinContent(8,59452.38); h_SL1L261->SetBinContent(9,57578.2); h_SL1L261->SetBinContent(10,51207.71); h_SL1L261->SetBinContent(11,49190.66); h_SL1L261->SetBinContent(12,49325.13); h_SL1L261->SetBinContent(13,51720.37); h_SL1L261->SetBinContent(14,55662.01); h_SL1L261->SetBinContent(15,54535.83); h_SL1L261->SetBinContent(16,53703.8); h_SL1L261->SetBinContent(17,53686.99); h_SL1L261->SetBinContent(18,54384.55); h_SL1L261->SetBinContent(19,58578.32); h_SL1L261->SetBinContent(20,57948); h_SL1L261->SetBinContent(21,59502.8); h_SL1L261->SetBinContent(22,61276.12); h_SL1L261->SetBinContent(23,62234.21); h_SL1L261->SetBinContent(24,62082.93); h_SL1L261->SetBinContent(25,62343.47); h_SL1L261->SetBinContent(26,62082.93); h_SL1L261->SetBinContent(27,57384.9); h_SL1L261->SetBinContent(28,59427.16); h_SL1L261->SetBinContent(29,59965.04); h_SL1L261->SetBinContent(30,58317.79); h_SL1L261->SetBinContent(31,59662.48); h_SL1L261->SetBinContent(32,57157.98); h_SL1L261->SetBinContent(33,70058.66); h_SL1L261->SetBinContent(34,101138); h_SL1L261->SetBinContent(35,108710.3); h_SL1L261->SetBinContent(36,113836.9); h_SL1L261->SetBinContent(37,118224); h_SL1L261->SetBinContent(38,115240.5); h_SL1L261->SetBinContent(39,101911.1); h_SL1L261->SetBinContent(40,64814.35); h_SL1L261->SetBinContent(41,52796.13); h_SL1L261->SetBinContent(42,49350.34); h_SL1L261->SetBinContent(43,48820.87); h_SL1L261->SetBinContent(44,48560.34); h_SL1L261->SetBinContent(45,47341.71); h_SL1L261->SetBinContent(46,49989.07); h_SL1L261->SetBinContent(47,48728.42); h_SL1L261->SetBinContent(48,47123.19); h_SL1L261->SetBinContent(49,58334.59); h_SL1L261->SetBinContent(50,45694.45); h_SL1L261->SetBinContent(51,43206.77); h_SL1L261->SetBinContent(52,43139.53); h_SL1L261->SetBinContent(53,44299.33); h_SL1L261->SetBinContent(54,43618.58); h_SL1L261->SetBinContent(55,44954.87); h_SL1L261->SetBinContent(56,47249.26); h_SL1L261->SetBinContent(57,42836.97); h_SL1L261->SetBinContent(58,42164.62); h_SL1L261->SetBinContent(59,40240.03); h_SL1L261->SetMaximum(135957.6); 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,55191.37); h_SL1L362->SetBinContent(2,54266.89); h_SL1L362->SetBinContent(3,55023.28); h_SL1L362->SetBinContent(4,53787.84); h_SL1L362->SetBinContent(5,58040.44); h_SL1L362->SetBinContent(6,56628.51); h_SL1L362->SetBinContent(7,58090.87); h_SL1L362->SetBinContent(8,56779.79); h_SL1L362->SetBinContent(9,52064.95); h_SL1L362->SetBinContent(10,47425.75); h_SL1L362->SetBinContent(11,46988.72); h_SL1L362->SetBinContent(12,48795.66); h_SL1L362->SetBinContent(13,52964.21); h_SL1L362->SetBinContent(14,53325.6); h_SL1L362->SetBinContent(15,54737.54); h_SL1L362->SetBinContent(16,52459.95); h_SL1L362->SetBinContent(17,52182.61); h_SL1L362->SetBinContent(18,55107.32); h_SL1L362->SetBinContent(19,55317.43); h_SL1L362->SetBinContent(20,57031.92); h_SL1L362->SetBinContent(21,59712.91); h_SL1L362->SetBinContent(22,61032.39); h_SL1L362->SetBinContent(23,59830.57); h_SL1L362->SetBinContent(24,60738.24); h_SL1L362->SetBinContent(25,60830.69); h_SL1L362->SetBinContent(26,55250.2); h_SL1L362->SetBinContent(27,56031.8); h_SL1L362->SetBinContent(28,57149.58); h_SL1L362->SetBinContent(29,57830.34); h_SL1L362->SetBinContent(30,57015.11); h_SL1L362->SetBinContent(31,55972.97); h_SL1L362->SetBinContent(32,56779.79); h_SL1L362->SetBinContent(33,85421.81); h_SL1L362->SetBinContent(34,104903.1); h_SL1L362->SetBinContent(35,111290.4); h_SL1L362->SetBinContent(36,114769.8); h_SL1L362->SetBinContent(37,116114.5); h_SL1L362->SetBinContent(38,109214.5); h_SL1L362->SetBinContent(39,83984.67); h_SL1L362->SetBinContent(40,53670.18); h_SL1L362->SetBinContent(41,50585.79); h_SL1L362->SetBinContent(42,48963.75); h_SL1L362->SetBinContent(43,47619.05); h_SL1L362->SetBinContent(44,48963.75); h_SL1L362->SetBinContent(45,45761.69); h_SL1L362->SetBinContent(46,46904.68); h_SL1L362->SetBinContent(47,46761.8); h_SL1L362->SetBinContent(48,44400.18); h_SL1L362->SetBinContent(49,44896.04); h_SL1L362->SetBinContent(50,43164.74); h_SL1L362->SetBinContent(51,40761.1); h_SL1L362->SetBinContent(52,41307.38); h_SL1L362->SetBinContent(53,46055.84); h_SL1L362->SetBinContent(54,42248.67); h_SL1L362->SetBinContent(55,43467.3); h_SL1L362->SetBinContent(56,47358.52); h_SL1L362->SetBinContent(57,42282.29); h_SL1L362->SetBinContent(58,41357.81); h_SL1L362->SetBinContent(59,39937.47); h_SL1L362->SetMaximum(135957.6); 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,29785.02); h_SL1L463->SetBinContent(3,27448.61); h_SL1L463->SetBinContent(4,24801.24); h_SL1L463->SetBinContent(5,22893.45); h_SL1L463->SetBinContent(6,24002.82); h_SL1L463->SetBinContent(7,24784.43); h_SL1L463->SetBinContent(8,24162.51); h_SL1L463->SetBinContent(9,26372.85); h_SL1L463->SetBinContent(10,24927.3); h_SL1L463->SetBinContent(11,26179.55); h_SL1L463->SetBinContent(12,26456.89); h_SL1L463->SetBinContent(13,28036.91); h_SL1L463->SetBinContent(14,29280.76); h_SL1L463->SetBinContent(15,28910.96); h_SL1L463->SetBinContent(16,26003.06); h_SL1L463->SetBinContent(17,23120.37); h_SL1L463->SetBinContent(18,22666.53); h_SL1L463->SetBinContent(19,23943.99); h_SL1L463->SetBinContent(20,23364.09); h_SL1L463->SetBinContent(21,22658.13); h_SL1L463->SetBinContent(22,23607.82); h_SL1L463->SetBinContent(23,23095.15); h_SL1L463->SetBinContent(24,24011.23); h_SL1L463->SetBinContent(25,19640.97); h_SL1L463->SetBinContent(26,22111.85); h_SL1L463->SetBinContent(27,21246.2); h_SL1L463->SetBinContent(28,20540.23); h_SL1L463->SetBinContent(29,19481.28); h_SL1L463->SetBinContent(30,21145.35); h_SL1L463->SetBinContent(31,21338.64); h_SL1L463->SetBinContent(32,19422.45); h_SL1L463->SetBinContent(33,18834.15); h_SL1L463->SetBinContent(34,26078.7); h_SL1L463->SetBinContent(35,35306.68); h_SL1L463->SetBinContent(36,32264.3); h_SL1L463->SetBinContent(37,27759.57); h_SL1L463->SetBinContent(38,27868.83); h_SL1L463->SetBinContent(39,31718.02); h_SL1L463->SetBinContent(40,17565.09); h_SL1L463->SetBinContent(41,16018.69); h_SL1L463->SetBinContent(42,17044.02); h_SL1L463->SetBinContent(43,17556.69); h_SL1L463->SetBinContent(44,17792.01); h_SL1L463->SetBinContent(45,14774.85); h_SL1L463->SetBinContent(46,17161.68); h_SL1L463->SetBinContent(47,15077.4); h_SL1L463->SetBinContent(48,14144.52); h_SL1L463->SetBinContent(49,12295.56); h_SL1L463->SetBinContent(50,13472.17); h_SL1L463->SetBinContent(51,12984.72); h_SL1L463->SetBinContent(52,12278.76); h_SL1L463->SetBinContent(53,12211.52); h_SL1L463->SetBinContent(54,12724.19); h_SL1L463->SetBinContent(55,25.21305); h_SL1L463->SetBinContent(56,13833.56); h_SL1L463->SetBinContent(57,14211.76); h_SL1L463->SetBinContent(58,17607.11); h_SL1L463->SetBinContent(59,19640.97); h_SL1L463->SetMaximum(135957.6); 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 6706"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }