void RatesPerCell_Removing_noisy_cells_run_6301_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2938.825,67.5,26449.43); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6301",60,0,60); h_SL1L160->SetBinContent(1,14281.89); h_SL1L160->SetBinContent(2,14975.11); h_SL1L160->SetBinContent(3,15177.07); h_SL1L160->SetBinContent(4,14906.88); h_SL1L160->SetBinContent(5,14352.85); h_SL1L160->SetBinContent(6,14819.54); h_SL1L160->SetBinContent(7,14541.17); h_SL1L160->SetBinContent(8,15452.72); h_SL1L160->SetBinContent(9,15127.94); h_SL1L160->SetBinContent(10,15182.53); h_SL1L160->SetBinContent(11,15703.8); h_SL1L160->SetBinContent(12,15193.45); h_SL1L160->SetBinContent(13,15196.17); h_SL1L160->SetBinContent(14,14767.69); h_SL1L160->SetBinContent(15,13667.82); h_SL1L160->SetBinContent(16,12802.67); h_SL1L160->SetBinContent(17,12914.56); h_SL1L160->SetBinContent(18,13877.97); h_SL1L160->SetBinContent(19,13984.41); h_SL1L160->SetBinContent(20,14265.52); h_SL1L160->SetBinContent(21,13951.66); h_SL1L160->SetBinContent(22,13970.76); h_SL1L160->SetBinContent(23,13907.99); h_SL1L160->SetBinContent(24,12865.44); h_SL1L160->SetBinContent(25,12578.87); h_SL1L160->SetBinContent(26,12398.75); h_SL1L160->SetBinContent(27,12169.49); h_SL1L160->SetBinContent(28,13045.57); h_SL1L160->SetBinContent(29,13389.45); h_SL1L160->SetBinContent(30,12442.41); h_SL1L160->SetBinContent(31,12466.98); h_SL1L160->SetBinContent(32,12565.23); h_SL1L160->SetBinContent(33,12808.13); h_SL1L160->SetBinContent(34,12472.43); h_SL1L160->SetBinContent(35,12330.52); h_SL1L160->SetBinContent(36,12194.06); h_SL1L160->SetBinContent(37,12117.64); h_SL1L160->SetBinContent(38,12876.36); h_SL1L160->SetBinContent(39,12183.14); h_SL1L160->SetBinContent(40,11899.3); h_SL1L160->SetBinContent(41,11882.93); h_SL1L160->SetBinContent(42,11882.93); h_SL1L160->SetBinContent(43,12325.06); h_SL1L160->SetBinContent(44,11817.43); h_SL1L160->SetBinContent(45,11910.22); h_SL1L160->SetBinContent(46,11468.09); h_SL1L160->SetBinContent(47,11345.28); h_SL1L160->SetBinContent(48,11304.34); h_SL1L160->SetBinContent(49,11697.34); h_SL1L160->SetBinContent(50,11923.87); h_SL1L160->SetBinContent(51,11784.68); h_SL1L160->SetBinContent(52,11825.62); h_SL1L160->SetBinContent(53,11004.13); h_SL1L160->SetBinContent(54,11096.92); h_SL1L160->SetBinContent(55,11001.4); h_SL1L160->SetBinContent(56,11694.61); h_SL1L160->SetBinContent(57,12682.58); h_SL1L160->SetBinContent(58,13618.7); h_SL1L160->SetBinContent(59,13831.58); h_SL1L160->SetMaximum(23510.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,14890.5); h_SL1L261->SetBinContent(2,15117.03); h_SL1L261->SetBinContent(3,16050.41); h_SL1L261->SetBinContent(4,16159.58); h_SL1L261->SetBinContent(5,15780.22); h_SL1L261->SetBinContent(6,16530.75); h_SL1L261->SetBinContent(7,16260.56); h_SL1L261->SetBinContent(8,16765.46); h_SL1L261->SetBinContent(9,16858.26); h_SL1L261->SetBinContent(10,16459.79); h_SL1L261->SetBinContent(11,17346.78); h_SL1L261->SetBinContent(12,17308.57); h_SL1L261->SetBinContent(13,17778); h_SL1L261->SetBinContent(14,17308.57); h_SL1L261->SetBinContent(15,17308.57); h_SL1L261->SetBinContent(16,15998.56); h_SL1L261->SetBinContent(17,15635.58); h_SL1L261->SetBinContent(18,16023.12); h_SL1L261->SetBinContent(19,16779.11); h_SL1L261->SetBinContent(20,16380.65); h_SL1L261->SetBinContent(21,16817.32); h_SL1L261->SetBinContent(22,17144.82); h_SL1L261->SetBinContent(23,16732.71); h_SL1L261->SetBinContent(24,16822.78); h_SL1L261->SetBinContent(25,16186.87); h_SL1L261->SetBinContent(26,15641.03); h_SL1L261->SetBinContent(27,14958.73); h_SL1L261->SetBinContent(28,16255.1); h_SL1L261->SetBinContent(29,16699.96); h_SL1L261->SetBinContent(30,16877.36); h_SL1L261->SetBinContent(31,16770.92); h_SL1L261->SetBinContent(32,16669.94); h_SL1L261->SetBinContent(33,16533.48); h_SL1L261->SetBinContent(34,16255.1); h_SL1L261->SetBinContent(35,16034.04); h_SL1L261->SetBinContent(36,15501.84); h_SL1L261->SetBinContent(37,15818.43); h_SL1L261->SetBinContent(38,15608.28); h_SL1L261->SetBinContent(39,15447.26); h_SL1L261->SetBinContent(40,15447.26); h_SL1L261->SetBinContent(41,15193.45); h_SL1L261->SetBinContent(42,15381.76); h_SL1L261->SetBinContent(43,15692.89); h_SL1L261->SetBinContent(44,15761.12); h_SL1L261->SetBinContent(45,15575.53); h_SL1L261->SetBinContent(46,15883.93); h_SL1L261->SetBinContent(47,16069.52); h_SL1L261->SetBinContent(48,15436.34); h_SL1L261->SetBinContent(49,15747.47); h_SL1L261->SetBinContent(50,15984.91); h_SL1L261->SetBinContent(51,15687.43); h_SL1L261->SetBinContent(52,15204.36); h_SL1L261->SetBinContent(53,15720.18); h_SL1L261->SetBinContent(54,15310.8); h_SL1L261->SetBinContent(55,15501.84); h_SL1L261->SetBinContent(56,15280.78); h_SL1L261->SetBinContent(57,15275.32); h_SL1L261->SetBinContent(58,15163.42); h_SL1L261->SetBinContent(59,14478.4); h_SL1L261->SetMaximum(20444.7); 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,14669.44); h_SL1L362->SetBinContent(2,15540.05); h_SL1L362->SetBinContent(3,15829.35); h_SL1L362->SetBinContent(4,15695.62); h_SL1L362->SetBinContent(5,16072.25); h_SL1L362->SetBinContent(6,16099.54); h_SL1L362->SetBinContent(7,16667.21); h_SL1L362->SetBinContent(8,16282.4); h_SL1L362->SetBinContent(9,16266.02); h_SL1L362->SetBinContent(10,16511.65); h_SL1L362->SetBinContent(11,16904.65); h_SL1L362->SetBinContent(12,16740.9); h_SL1L362->SetBinContent(13,16740.9); h_SL1L362->SetBinContent(14,16719.07); h_SL1L362->SetBinContent(15,15267.13); h_SL1L362->SetBinContent(16,14775.88); h_SL1L362->SetBinContent(17,14950.55); h_SL1L362->SetBinContent(18,15834.81); h_SL1L362->SetBinContent(19,15862.1); h_SL1L362->SetBinContent(20,16399.75); h_SL1L362->SetBinContent(21,16364.27); h_SL1L362->SetBinContent(22,16306.96); h_SL1L362->SetBinContent(23,16140.48); h_SL1L362->SetBinContent(24,15725.64); h_SL1L362->SetBinContent(25,15278.05); h_SL1L362->SetBinContent(26,14650.33); h_SL1L362->SetBinContent(27,14931.44); h_SL1L362->SetBinContent(28,15709.26); h_SL1L362->SetBinContent(29,15930.33); h_SL1L362->SetBinContent(30,16197.79); h_SL1L362->SetBinContent(31,16135.02); h_SL1L362->SetBinContent(32,16478.9); h_SL1L362->SetBinContent(33,16749.09); h_SL1L362->SetBinContent(34,15832.08); h_SL1L362->SetBinContent(35,15130.67); h_SL1L362->SetBinContent(36,15695.62); h_SL1L362->SetBinContent(37,15469.09); h_SL1L362->SetBinContent(38,15422.7); h_SL1L362->SetBinContent(39,15354.47); h_SL1L362->SetBinContent(40,15095.19); h_SL1L362->SetBinContent(41,14838.65); h_SL1L362->SetBinContent(42,15455.45); h_SL1L362->SetBinContent(43,15452.72); h_SL1L362->SetBinContent(44,15174.34); h_SL1L362->SetBinContent(45,15106.11); h_SL1L362->SetBinContent(46,15439.07); h_SL1L362->SetBinContent(47,15133.4); h_SL1L362->SetBinContent(48,15782.95); h_SL1L362->SetBinContent(49,15913.95); h_SL1L362->SetBinContent(50,15660.14); h_SL1L362->SetBinContent(51,14876.86); h_SL1L362->SetBinContent(52,15269.86); h_SL1L362->SetBinContent(53,15065.17); h_SL1L362->SetBinContent(54,14502.96); h_SL1L362->SetBinContent(55,14825); h_SL1L362->SetBinContent(56,14623.04); h_SL1L362->SetBinContent(57,14511.15); h_SL1L362->SetBinContent(58,14773.15); h_SL1L362->SetBinContent(59,14565.73); h_SL1L362->SetMaximum(20444.7); 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,13490.43); h_SL1L463->SetBinContent(3,13403.09); h_SL1L463->SetBinContent(4,13266.63); h_SL1L463->SetBinContent(5,13051.02); h_SL1L463->SetBinContent(6,13392.17); h_SL1L463->SetBinContent(7,12952.77); h_SL1L463->SetBinContent(8,13487.7); h_SL1L463->SetBinContent(9,14063.56); h_SL1L463->SetBinContent(10,14126.33); h_SL1L463->SetBinContent(11,14909.61); h_SL1L463->SetBinContent(12,15035.15); h_SL1L463->SetBinContent(13,15340.82); h_SL1L463->SetBinContent(14,15048.8); h_SL1L463->SetBinContent(15,15122.49); h_SL1L463->SetBinContent(16,13708.76); h_SL1L463->SetBinContent(17,13143.82); h_SL1L463->SetBinContent(18,13555.93); h_SL1L463->SetBinContent(19,13569.57); h_SL1L463->SetBinContent(20,14041.72); h_SL1L463->SetBinContent(21,13995.33); h_SL1L463->SetBinContent(22,13706.03); h_SL1L463->SetBinContent(23,13572.3); h_SL1L463->SetBinContent(24,13667.82); h_SL1L463->SetBinContent(25,12764.46); h_SL1L463->SetBinContent(26,12305.95); h_SL1L463->SetBinContent(27,12068.51); h_SL1L463->SetBinContent(28,12406.93); h_SL1L463->SetBinContent(29,12922.75); h_SL1L463->SetBinContent(30,13040.11); h_SL1L463->SetBinContent(31,13304.84); h_SL1L463->SetBinContent(32,12426.04); h_SL1L463->SetBinContent(33,12499.73); h_SL1L463->SetBinContent(34,12278.66); h_SL1L463->SetBinContent(35,12177.68); h_SL1L463->SetBinContent(36,11331.63); h_SL1L463->SetBinContent(37,10813.08); h_SL1L463->SetBinContent(38,11075.08); h_SL1L463->SetBinContent(39,11547.24); h_SL1L463->SetBinContent(40,10780.33); h_SL1L463->SetBinContent(41,10534.7); h_SL1L463->SetBinContent(42,11203.36); h_SL1L463->SetBinContent(43,11599.09); h_SL1L463->SetBinContent(44,10965.92); h_SL1L463->SetBinContent(45,10542.89); h_SL1L463->SetBinContent(46,10873.12); h_SL1L463->SetBinContent(47,10619.31); h_SL1L463->SetBinContent(48,10223.58); h_SL1L463->SetBinContent(49,10177.18); h_SL1L463->SetBinContent(50,10720.29); h_SL1L463->SetBinContent(51,10196.28); h_SL1L463->SetBinContent(52,10761.23); h_SL1L463->SetBinContent(53,10368.22); h_SL1L463->SetBinContent(54,10362.76); h_SL1L463->SetBinContent(56,10690.27); h_SL1L463->SetBinContent(57,11503.57); h_SL1L463->SetBinContent(58,12799.94); h_SL1L463->SetBinContent(59,12660.75); h_SL1L463->SetMaximum(20444.7); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6301"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }