void RatesPerCell_Removing_noisy_cells_run_6650_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 19:09:57 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15779.44,67.5,142014.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6650",60,0,60); h_SL2L164->SetBinContent(1,31295.37); h_SL2L164->SetBinContent(2,38742.96); h_SL2L164->SetBinContent(3,46992); h_SL2L164->SetBinContent(4,48134.98); h_SL2L164->SetBinContent(5,47023.88); h_SL2L164->SetBinContent(6,43387.74); h_SL2L164->SetBinContent(7,38749.79); h_SL2L164->SetBinContent(8,37857.26); h_SL2L164->SetBinContent(9,43187.38); h_SL2L164->SetBinContent(10,43961.51); h_SL2L164->SetBinContent(11,43681.45); h_SL2L164->SetBinContent(12,42920.98); h_SL2L164->SetBinContent(13,42804.86); h_SL2L164->SetBinContent(14,42206.05); h_SL2L164->SetBinContent(15,42053.5); h_SL2L164->SetBinContent(16,40787.57); h_SL2L164->SetBinContent(17,39464.72); h_SL2L164->SetBinContent(18,38538.04); h_SL2L164->SetBinContent(19,36898.7); h_SL2L164->SetBinContent(20,34681.05); h_SL2L164->SetBinContent(21,31413.76); h_SL2L164->SetBinContent(22,29476.16); h_SL2L164->SetBinContent(23,28590.46); h_SL2L164->SetBinContent(24,27324.53); h_SL2L164->SetBinContent(25,30045.37); h_SL2L164->SetBinContent(26,45860.4); h_SL2L164->SetBinContent(27,57948.22); h_SL2L164->SetBinContent(28,64236.89); h_SL2L164->SetBinContent(29,67508.73); h_SL2L164->SetBinContent(30,65352.55); h_SL2L164->SetBinContent(31,62829.8); h_SL2L164->SetBinContent(32,63144.01); h_SL2L164->SetBinContent(33,62877.61); h_SL2L164->SetBinContent(34,42390.48); h_SL2L164->SetBinContent(35,2.276855); h_SL2L164->SetBinContent(36,18321.85); h_SL2L164->SetBinContent(37,19619.66); h_SL2L164->SetBinContent(38,18661.1); h_SL2L164->SetBinContent(39,18868.29); h_SL2L164->SetBinContent(40,52080.77); h_SL2L164->SetBinContent(41,95452.57); h_SL2L164->SetBinContent(42,20348.25); h_SL2L164->SetBinContent(43,19981.68); h_SL2L164->SetBinContent(44,20018.11); h_SL2L164->SetBinContent(45,14927.06); h_SL2L164->SetBinContent(46,14562.76); h_SL2L164->SetBinContent(47,14728.97); h_SL2L164->SetBinContent(48,14861.03); h_SL2L164->SetBinContent(49,15569.13); h_SL2L164->SetBinContent(50,14501.29); h_SL2L164->SetBinContent(51,15833.25); h_SL2L164->SetBinContent(52,18023.58); h_SL2L164->SetBinContent(53,19453.45); h_SL2L164->SetBinContent(54,20541.78); h_SL2L164->SetBinContent(55,21019.92); h_SL2L164->SetBinContent(56,18037.24); h_SL2L164->SetBinContent(57,15990.35); h_SL2L164->SetMaximum(126235.5); 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,25621.44); h_SL2L265->SetBinContent(2,37524.84); h_SL2L265->SetBinContent(3,39749.32); h_SL2L265->SetBinContent(4,46493.37); h_SL2L265->SetBinContent(5,46006.12); h_SL2L265->SetBinContent(6,43232.91); h_SL2L265->SetBinContent(7,39551.24); h_SL2L265->SetBinContent(8,35154.63); h_SL2L265->SetBinContent(9,40619.09); h_SL2L265->SetBinContent(10,42103.59); h_SL2L265->SetBinContent(11,43237.47); h_SL2L265->SetBinContent(12,41199.68); h_SL2L265->SetBinContent(13,42033.01); h_SL2L265->SetBinContent(14,41675.55); h_SL2L265->SetBinContent(15,40787.57); h_SL2L265->SetBinContent(16,40509.8); h_SL2L265->SetBinContent(17,38012.09); h_SL2L265->SetBinContent(18,37417.83); h_SL2L265->SetBinContent(19,36985.23); h_SL2L265->SetBinContent(20,34851.81); h_SL2L265->SetBinContent(21,32609.11); h_SL2L265->SetBinContent(22,29389.64); h_SL2L265->SetBinContent(23,27625.08); h_SL2L265->SetBinContent(24,27008.05); h_SL2L265->SetBinContent(25,25557.69); h_SL2L265->SetBinContent(26,36741.6); h_SL2L265->SetBinContent(27,51502.45); h_SL2L265->SetBinContent(28,61051.58); h_SL2L265->SetBinContent(29,65612.12); h_SL2L265->SetBinContent(30,65753.28); h_SL2L265->SetBinContent(31,62344.83); h_SL2L265->SetBinContent(32,62929.98); h_SL2L265->SetBinContent(33,63647.19); h_SL2L265->SetBinContent(34,55400.43); h_SL2L265->SetBinContent(35,29109.59); h_SL2L265->SetBinContent(36,18875.12); h_SL2L265->SetBinContent(37,17468.03); h_SL2L265->SetBinContent(38,17734.42); h_SL2L265->SetBinContent(39,17873.31); h_SL2L265->SetBinContent(40,17921.12); h_SL2L265->SetBinContent(41,16935.24); h_SL2L265->SetBinContent(42,16443.44); h_SL2L265->SetBinContent(43,15505.38); h_SL2L265->SetBinContent(44,15291.35); h_SL2L265->SetBinContent(45,15036.35); h_SL2L265->SetBinContent(46,13718.05); h_SL2L265->SetBinContent(47,13722.6); h_SL2L265->SetBinContent(48,13781.8); h_SL2L265->SetBinContent(49,14373.78); h_SL2L265->SetBinContent(50,15184.34); h_SL2L265->SetBinContent(51,14055.02); h_SL2L265->SetBinContent(52,16452.55); h_SL2L265->SetBinContent(53,18073.67); h_SL2L265->SetBinContent(54,19266.74); h_SL2L265->SetBinContent(55,20216.19); h_SL2L265->SetBinContent(56,18529.04); h_SL2L265->SetBinContent(57,17889.25); h_SL2L265->SetMaximum(109770.5); 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,29660.58); h_SL2L366->SetBinContent(2,36040.33); h_SL2L366->SetBinContent(3,44605.86); h_SL2L366->SetBinContent(4,44799.39); h_SL2L366->SetBinContent(5,43050.77); h_SL2L366->SetBinContent(6,40140.95); h_SL2L366->SetBinContent(7,35771.66); h_SL2L366->SetBinContent(8,36386.41); h_SL2L366->SetBinContent(9,40457.43); h_SL2L366->SetBinContent(10,40814.89); h_SL2L366->SetBinContent(11,41217.9); h_SL2L366->SetBinContent(12,39760.71); h_SL2L366->SetBinContent(13,39954.24); h_SL2L366->SetBinContent(14,40177.38); h_SL2L366->SetBinContent(15,39057.16); h_SL2L366->SetBinContent(16,37472.47); h_SL2L366->SetBinContent(17,36493.43); h_SL2L366->SetBinContent(18,36072.21); h_SL2L366->SetBinContent(19,34143.71); h_SL2L366->SetBinContent(20,32590.9); h_SL2L366->SetBinContent(21,30143.28); h_SL2L366->SetBinContent(22,26996.66); h_SL2L366->SetBinContent(23,26468.43); h_SL2L366->SetBinContent(24,25127.37); h_SL2L366->SetBinContent(25,28182.9); h_SL2L366->SetBinContent(26,44114.05); h_SL2L366->SetBinContent(27,56586.66); h_SL2L366->SetBinContent(28,62852.57); h_SL2L366->SetBinContent(29,65286.53); h_SL2L366->SetBinContent(30,63726.88); h_SL2L366->SetBinContent(31,61650.39); h_SL2L366->SetBinContent(32,62424.52); h_SL2L366->SetBinContent(33,61771.06); h_SL2L366->SetBinContent(34,41088.12); h_SL2L366->SetBinContent(35,20867.37); h_SL2L366->SetBinContent(36,17568.21); h_SL2L366->SetBinContent(37,16928.41); h_SL2L366->SetBinContent(38,16789.53); h_SL2L366->SetBinContent(39,16573.22); h_SL2L366->SetBinContent(40,16095.08); h_SL2L366->SetBinContent(41,15981.24); h_SL2L366->SetBinContent(42,15106.93); h_SL2L366->SetBinContent(43,14724.42); h_SL2L366->SetBinContent(44,14300.92); h_SL2L366->SetBinContent(45,13797.74); h_SL2L366->SetBinContent(46,13032.71); h_SL2L366->SetBinContent(47,13367.41); h_SL2L366->SetBinContent(48,13699.83); h_SL2L366->SetBinContent(49,14644.73); h_SL2L366->SetBinContent(50,14371.51); h_SL2L366->SetBinContent(51,14715.31); h_SL2L366->SetBinContent(52,16318.22); h_SL2L366->SetBinContent(53,17957.55); h_SL2L366->SetBinContent(54,19045.89); h_SL2L366->SetBinContent(55,19765.38); h_SL2L366->SetBinContent(56,16648.36); h_SL2L366->SetBinContent(57,16539.07); h_SL2L366->SetMaximum(109770.5); 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,34881.41); h_SL2L467->SetBinContent(3,38656.44); h_SL2L467->SetBinContent(4,43333.09); h_SL2L467->SetBinContent(5,42638.66); h_SL2L467->SetBinContent(6,39184.67); h_SL2L467->SetBinContent(7,36516.19); h_SL2L467->SetBinContent(8,32829.96); h_SL2L467->SetBinContent(9,37918.73); h_SL2L467->SetBinContent(10,39173.28); h_SL2L467->SetBinContent(11,39585.39); h_SL2L467->SetBinContent(12,38506.16); h_SL2L467->SetBinContent(13,38852.25); h_SL2L467->SetBinContent(14,38569.91); h_SL2L467->SetBinContent(15,38034.86); h_SL2L467->SetBinContent(16,37522.56); h_SL2L467->SetBinContent(17,35707.91); h_SL2L467->SetBinContent(18,34448.81); h_SL2L467->SetBinContent(19,34496.62); h_SL2L467->SetBinContent(20,31853.2); h_SL2L467->SetBinContent(21,30052.2); h_SL2L467->SetBinContent(22,26919.25); h_SL2L467->SetBinContent(23,25496.22); h_SL2L467->SetBinContent(24,25252.59); h_SL2L467->SetBinContent(25,23904.7); h_SL2L467->SetBinContent(26,35336.78); h_SL2L467->SetBinContent(27,50386.79); h_SL2L467->SetBinContent(28,60008.78); h_SL2L467->SetBinContent(29,64758.3); h_SL2L467->SetBinContent(30,65106.66); h_SL2L467->SetBinContent(31,61233.73); h_SL2L467->SetBinContent(32,62117.14); h_SL2L467->SetBinContent(33,62506.49); h_SL2L467->SetBinContent(34,54339.41); h_SL2L467->SetBinContent(35,27880.08); h_SL2L467->SetBinContent(36,18014.47); h_SL2L467->SetBinContent(37,16696.17); h_SL2L467->SetBinContent(38,15990.35); h_SL2L467->SetBinContent(39,16293.17); h_SL2L467->SetBinContent(40,15284.52); h_SL2L467->SetBinContent(41,14861.03); h_SL2L467->SetBinContent(42,14854.2); h_SL2L467->SetBinContent(43,14524.05); h_SL2L467->SetBinContent(44,14382.89); h_SL2L467->SetBinContent(45,13469.87); h_SL2L467->SetBinContent(46,12839.18); h_SL2L467->SetBinContent(47,12823.24); h_SL2L467->SetBinContent(48,12959.86); h_SL2L467->SetBinContent(49,13613.31); h_SL2L467->SetBinContent(50,14018.59); h_SL2L467->SetBinContent(51,12934.81); h_SL2L467->SetBinContent(52,14974.87); h_SL2L467->SetBinContent(53,16564.12); h_SL2L467->SetBinContent(54,17889.25); h_SL2L467->SetBinContent(55,19039.06); h_SL2L467->SetBinContent(56,17383.79); h_SL2L467->SetBinContent(57,16422.95); h_SL2L467->SetMaximum(109770.5); 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 6650"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }