void RatesPerCell_Removing_noisy_cells_run_6930_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2844.956,67.5,25604.61); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6930",60,0,60); h_SL1L160->SetBinContent(1,9473.841); h_SL1L160->SetBinContent(2,9970.423); h_SL1L160->SetBinContent(3,11786.05); h_SL1L160->SetBinContent(4,12942.15); h_SL1L160->SetBinContent(5,11615.35); h_SL1L160->SetBinContent(6,13205.96); h_SL1L160->SetBinContent(7,12399.02); h_SL1L160->SetBinContent(8,11917.95); h_SL1L160->SetBinContent(9,12034.34); h_SL1L160->SetBinContent(10,14074.98); h_SL1L160->SetBinContent(11,12856.8); h_SL1L160->SetBinContent(12,12585.23); h_SL1L160->SetBinContent(13,12383.5); h_SL1L160->SetBinContent(14,12662.82); h_SL1L160->SetBinContent(15,10994.62); h_SL1L160->SetBinContent(16,11297.23); h_SL1L160->SetBinContent(17,11328.26); h_SL1L160->SetBinContent(18,12080.89); h_SL1L160->SetBinContent(19,12856.8); h_SL1L160->SetBinContent(20,11863.64); h_SL1L160->SetBinContent(21,12205.04); h_SL1L160->SetBinContent(22,12608.51); h_SL1L160->SetBinContent(23,11227.39); h_SL1L160->SetBinContent(24,11623.11); h_SL1L160->SetBinContent(25,11700.7); h_SL1L160->SetBinContent(26,12437.81); h_SL1L160->SetBinContent(27,12530.92); h_SL1L160->SetBinContent(28,12080.89); h_SL1L160->SetBinContent(29,11149.8); h_SL1L160->SetBinContent(30,11956.75); h_SL1L160->SetBinContent(31,11398.09); h_SL1L160->SetBinContent(32,10847.2); h_SL1L160->SetBinContent(33,11522.24); h_SL1L160->SetBinContent(34,11273.95); h_SL1L160->SetBinContent(35,10210.95); h_SL1L160->SetBinContent(36,10079.05); h_SL1L160->SetBinContent(37,11367.06); h_SL1L160->SetBinContent(38,11429.13); h_SL1L160->SetBinContent(39,10723.05); h_SL1L160->SetBinContent(40,10482.52); h_SL1L160->SetBinContent(41,10963.58); h_SL1L160->SetBinContent(42,11227.39); h_SL1L160->SetBinContent(43,10257.51); h_SL1L160->SetBinContent(44,9993.7); h_SL1L160->SetBinContent(45,10148.88); h_SL1L160->SetBinContent(46,10102.33); h_SL1L160->SetBinContent(47,8760.006); h_SL1L160->SetBinContent(48,9016.056); h_SL1L160->SetBinContent(49,9799.723); h_SL1L160->SetBinContent(50,9931.627); h_SL1L160->SetBinContent(51,8775.523); h_SL1L160->SetBinContent(52,8822.078); h_SL1L160->SetBinContent(53,8511.715); h_SL1L160->SetBinContent(54,8845.355); h_SL1L160->SetBinContent(55,8511.715); h_SL1L160->SetBinContent(56,8891.91); h_SL1L160->SetBinContent(57,9970.423); h_SL1L160->SetBinContent(58,10125.6); h_SL1L160->SetBinContent(59,9753.168); h_SL1L160->SetMaximum(22759.65); 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,10226.47); h_SL1L261->SetBinContent(2,9954.904); h_SL1L261->SetBinContent(3,11646.38); h_SL1L261->SetBinContent(4,12926.63); h_SL1L261->SetBinContent(5,14695.71); h_SL1L261->SetBinContent(6,14625.87); h_SL1L261->SetBinContent(7,14905.2); h_SL1L261->SetBinContent(8,15619.04); h_SL1L261->SetBinContent(9,15091.42); h_SL1L261->SetBinContent(10,15254.36); h_SL1L261->SetBinContent(11,15471.61); h_SL1L261->SetBinContent(12,15130.21); h_SL1L261->SetBinContent(13,16138.89); h_SL1L261->SetBinContent(14,16294.08); h_SL1L261->SetBinContent(15,15006.07); h_SL1L261->SetBinContent(16,14005.15); h_SL1L261->SetBinContent(17,14509.49); h_SL1L261->SetBinContent(18,16255.28); h_SL1L261->SetBinContent(19,15766.46); h_SL1L261->SetBinContent(20,16154.41); h_SL1L261->SetBinContent(21,16550.12); h_SL1L261->SetBinContent(22,16472.54); h_SL1L261->SetBinContent(23,15991.47); h_SL1L261->SetBinContent(24,16495.81); h_SL1L261->SetBinContent(25,16914.8); h_SL1L261->SetBinContent(26,16961.36); h_SL1L261->SetBinContent(27,15882.84); h_SL1L261->SetBinContent(28,17038.95); h_SL1L261->SetBinContent(29,17031.19); h_SL1L261->SetBinContent(30,16868.25); h_SL1L261->SetBinContent(31,16953.6); h_SL1L261->SetBinContent(32,15844.05); h_SL1L261->SetBinContent(33,16294.08); h_SL1L261->SetBinContent(34,16713.07); h_SL1L261->SetBinContent(35,15254.36); h_SL1L261->SetBinContent(36,14517.25); h_SL1L261->SetBinContent(37,16263.04); h_SL1L261->SetBinContent(38,16356.15); h_SL1L261->SetBinContent(39,15370.75); h_SL1L261->SetBinContent(40,15308.67); h_SL1L261->SetBinContent(41,15006.07); h_SL1L261->SetBinContent(42,15137.97); h_SL1L261->SetBinContent(43,14299.99); h_SL1L261->SetBinContent(44,13865.48); h_SL1L261->SetBinContent(45,14594.84); h_SL1L261->SetBinContent(46,15906.12); h_SL1L261->SetBinContent(47,14765.54); h_SL1L261->SetBinContent(48,13648.23); h_SL1L261->SetBinContent(49,13811.17); h_SL1L261->SetBinContent(50,14625.87); h_SL1L261->SetBinContent(51,13904.28); h_SL1L261->SetBinContent(52,13624.95); h_SL1L261->SetBinContent(53,13811.17); h_SL1L261->SetBinContent(54,14067.22); h_SL1L261->SetBinContent(55,13524.08); h_SL1L261->SetBinContent(56,13043.02); h_SL1L261->SetBinContent(57,13407.7); h_SL1L261->SetBinContent(58,12825.77); h_SL1L261->SetBinContent(59,11545.52); h_SL1L261->SetMaximum(19791.1); 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,9698.854); h_SL1L362->SetBinContent(2,10769.61); h_SL1L362->SetBinContent(3,12135.21); h_SL1L362->SetBinContent(4,14664.67); h_SL1L362->SetBinContent(5,13950.83); h_SL1L362->SetBinContent(6,14734.5); h_SL1L362->SetBinContent(7,15207.8); h_SL1L362->SetBinContent(8,15331.95); h_SL1L362->SetBinContent(9,15044.86); h_SL1L362->SetBinContent(10,15006.07); h_SL1L362->SetBinContent(11,15207.8); h_SL1L362->SetBinContent(12,15200.04); h_SL1L362->SetBinContent(13,15580.24); h_SL1L362->SetBinContent(14,15875.08); h_SL1L362->SetBinContent(15,13462.01); h_SL1L362->SetBinContent(16,14199.12); h_SL1L362->SetBinContent(17,14928.48); h_SL1L362->SetBinContent(18,15944.92); h_SL1L362->SetBinContent(19,15595.76); h_SL1L362->SetBinContent(20,16883.77); h_SL1L362->SetBinContent(21,17209.65); h_SL1L362->SetBinContent(22,16767.38); h_SL1L362->SetBinContent(23,16294.08); h_SL1L362->SetBinContent(24,16658.75); h_SL1L362->SetBinContent(25,16425.98); h_SL1L362->SetBinContent(26,15929.4); h_SL1L362->SetBinContent(27,16402.7); h_SL1L362->SetBinContent(28,16294.08); h_SL1L362->SetBinContent(29,16472.54); h_SL1L362->SetBinContent(30,16806.18); h_SL1L362->SetBinContent(31,16045.79); h_SL1L362->SetBinContent(32,15541.44); h_SL1L362->SetBinContent(33,16394.94); h_SL1L362->SetBinContent(34,15975.95); h_SL1L362->SetBinContent(35,14718.98); h_SL1L362->SetBinContent(36,15541.44); h_SL1L362->SetBinContent(37,16100.1); h_SL1L362->SetBinContent(38,15145.73); h_SL1L362->SetBinContent(39,14835.37); h_SL1L362->SetBinContent(40,14874.16); h_SL1L362->SetBinContent(41,14455.17); h_SL1L362->SetBinContent(42,14672.43); h_SL1L362->SetBinContent(43,13493.05); h_SL1L362->SetBinContent(44,14028.42); h_SL1L362->SetBinContent(45,15440.58); h_SL1L362->SetBinContent(46,15285.39); h_SL1L362->SetBinContent(47,14106.01); h_SL1L362->SetBinContent(48,13826.69); h_SL1L362->SetBinContent(49,14827.61); h_SL1L362->SetBinContent(50,14036.18); h_SL1L362->SetBinContent(51,13586.16); h_SL1L362->SetBinContent(52,13438.73); h_SL1L362->SetBinContent(53,14253.44); h_SL1L362->SetBinContent(54,12911.12); h_SL1L362->SetBinContent(55,13229.24); h_SL1L362->SetBinContent(56,13213.72); h_SL1L362->SetBinContent(57,13011.98); h_SL1L362->SetBinContent(58,12336.94); h_SL1L362->SetBinContent(59,10645.46); h_SL1L362->SetMaximum(19791.1); 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,8100.483); h_SL1L463->SetBinContent(3,7929.784); h_SL1L463->SetBinContent(4,8752.246); h_SL1L463->SetBinContent(5,8116.001); h_SL1L463->SetBinContent(6,8519.474); h_SL1L463->SetBinContent(7,9326.419); h_SL1L463->SetBinContent(8,9729.891); h_SL1L463->SetBinContent(9,9985.94); h_SL1L463->SetBinContent(10,10536.84); h_SL1L463->SetBinContent(11,11103.25); h_SL1L463->SetBinContent(12,10917.03); h_SL1L463->SetBinContent(13,11762.77); h_SL1L463->SetBinContent(14,11716.22); h_SL1L463->SetBinContent(15,10994.62); h_SL1L463->SetBinContent(16,9830.759); h_SL1L463->SetBinContent(17,10474.76); h_SL1L463->SetBinContent(18,10265.27); h_SL1L463->SetBinContent(19,10637.7); h_SL1L463->SetBinContent(20,9629.022); h_SL1L463->SetBinContent(21,10311.82); h_SL1L463->SetBinContent(22,10009.22); h_SL1L463->SetBinContent(23,9807.481); h_SL1L463->SetBinContent(24,9303.142); h_SL1L463->SetBinContent(25,9225.551); h_SL1L463->SetBinContent(26,9264.346); h_SL1L463->SetBinContent(27,9101.405); h_SL1L463->SetBinContent(28,10063.53); h_SL1L463->SetBinContent(29,8651.378); h_SL1L463->SetBinContent(30,8822.078); h_SL1L463->SetBinContent(31,8651.378); h_SL1L463->SetBinContent(32,8666.896); h_SL1L463->SetBinContent(33,8705.692); h_SL1L463->SetBinContent(34,9372.974); h_SL1L463->SetBinContent(35,9559.191); h_SL1L463->SetBinContent(36,9116.924); h_SL1L463->SetBinContent(37,9023.814); h_SL1L463->SetBinContent(38,9411.769); h_SL1L463->SetBinContent(39,9380.732); h_SL1L463->SetBinContent(40,8356.533); h_SL1L463->SetBinContent(41,9326.419); h_SL1L463->SetBinContent(42,9217.791); h_SL1L463->SetBinContent(43,9178.996); h_SL1L463->SetBinContent(44,9163.478); h_SL1L463->SetBinContent(45,9528.155); h_SL1L463->SetBinContent(46,9458.323); h_SL1L463->SetBinContent(47,8705.692); h_SL1L463->SetBinContent(48,7859.952); h_SL1L463->SetBinContent(49,7790.12); h_SL1L463->SetBinContent(50,7549.588); h_SL1L463->SetBinContent(51,6610.739); h_SL1L463->SetBinContent(52,7006.453); h_SL1L463->SetBinContent(53,6238.303); h_SL1L463->SetBinContent(54,6773.68); h_SL1L463->SetBinContent(56,6253.821); h_SL1L463->SetBinContent(57,6424.521); h_SL1L463->SetBinContent(58,7611.661); h_SL1L463->SetBinContent(59,7503.034); h_SL1L463->SetMaximum(19791.1); 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 6930"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }