void RatesPerCell_Removing_noisy_cells_run_6881_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:15:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13852.04,67.5,124668.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 6881",60,0,60); h_SL1L160->SetBinContent(1,17773.81); h_SL1L160->SetBinContent(2,18611.11); h_SL1L160->SetBinContent(3,17158.73); h_SL1L160->SetBinContent(4,17654.76); h_SL1L160->SetBinContent(5,17400.79); h_SL1L160->SetBinContent(6,18357.14); h_SL1L160->SetBinContent(7,17503.97); h_SL1L160->SetBinContent(8,17642.86); h_SL1L160->SetBinContent(9,16214.29); h_SL1L160->SetBinContent(10,14424.6); h_SL1L160->SetBinContent(11,14456.35); h_SL1L160->SetBinContent(12,15186.51); h_SL1L160->SetBinContent(13,16476.19); h_SL1L160->SetBinContent(14,15440.48); h_SL1L160->SetBinContent(15,15757.94); h_SL1L160->SetBinContent(16,15619.05); h_SL1L160->SetBinContent(17,15730.16); h_SL1L160->SetBinContent(18,16706.35); h_SL1L160->SetBinContent(19,17325.4); h_SL1L160->SetBinContent(20,16896.82); h_SL1L160->SetBinContent(21,17849.21); h_SL1L160->SetBinContent(22,18142.86); h_SL1L160->SetBinContent(23,18341.27); h_SL1L160->SetBinContent(24,17690.48); h_SL1L160->SetBinContent(25,17726.19); h_SL1L160->SetBinContent(26,16611.11); h_SL1L160->SetBinContent(27,16646.82); h_SL1L160->SetBinContent(28,17281.75); h_SL1L160->SetBinContent(29,17111.11); h_SL1L160->SetBinContent(30,17480.16); h_SL1L160->SetBinContent(31,17813.49); h_SL1L160->SetBinContent(32,19047.62); h_SL1L160->SetBinContent(33,40857.14); h_SL1L160->SetBinContent(34,55626.98); h_SL1L160->SetBinContent(35,59531.75); h_SL1L160->SetBinContent(36,60031.75); h_SL1L160->SetBinContent(37,66186.51); h_SL1L160->SetBinContent(38,64428.57); h_SL1L160->SetBinContent(39,43206.35); h_SL1L160->SetBinContent(40,19230.16); h_SL1L160->SetBinContent(41,16642.86); h_SL1L160->SetBinContent(42,15936.51); h_SL1L160->SetBinContent(43,15503.97); h_SL1L160->SetBinContent(44,15305.55); h_SL1L160->SetBinContent(45,14194.44); h_SL1L160->SetBinContent(46,13658.73); h_SL1L160->SetBinContent(47,13781.75); h_SL1L160->SetBinContent(48,12234.13); h_SL1L160->SetBinContent(49,13126.98); h_SL1L160->SetBinContent(50,12190.48); h_SL1L160->SetBinContent(51,12035.71); h_SL1L160->SetBinContent(52,11996.03); h_SL1L160->SetBinContent(53,12115.08); h_SL1L160->SetBinContent(54,12123.02); h_SL1L160->SetBinContent(55,12650.79); h_SL1L160->SetBinContent(56,12603.17); h_SL1L160->SetBinContent(57,12976.19); h_SL1L160->SetBinContent(58,13289.68); h_SL1L160->SetBinContent(59,13718.25); h_SL1L160->SetMaximum(110816.3); 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,19095.24); h_SL1L261->SetBinContent(2,17599.21); h_SL1L261->SetBinContent(3,18547.62); h_SL1L261->SetBinContent(4,18138.89); h_SL1L261->SetBinContent(5,18051.59); h_SL1L261->SetBinContent(6,19218.25); h_SL1L261->SetBinContent(7,19011.9); h_SL1L261->SetBinContent(8,18912.7); h_SL1L261->SetBinContent(9,18202.38); h_SL1L261->SetBinContent(10,16087.3); h_SL1L261->SetBinContent(11,15718.25); h_SL1L261->SetBinContent(12,16059.52); h_SL1L261->SetBinContent(13,16956.35); h_SL1L261->SetBinContent(14,18067.46); h_SL1L261->SetBinContent(15,18019.84); h_SL1L261->SetBinContent(16,17817.46); h_SL1L261->SetBinContent(17,17888.89); h_SL1L261->SetBinContent(18,18436.51); h_SL1L261->SetBinContent(19,19059.52); h_SL1L261->SetBinContent(20,19376.98); h_SL1L261->SetBinContent(21,20551.59); h_SL1L261->SetBinContent(22,20075.4); h_SL1L261->SetBinContent(23,21277.78); h_SL1L261->SetBinContent(24,20742.06); h_SL1L261->SetBinContent(25,20912.7); h_SL1L261->SetBinContent(26,20448.41); h_SL1L261->SetBinContent(27,19841.27); h_SL1L261->SetBinContent(28,20932.54); h_SL1L261->SetBinContent(29,21277.78); h_SL1L261->SetBinContent(30,21488.09); h_SL1L261->SetBinContent(31,21079.37); h_SL1L261->SetBinContent(32,22607.14); h_SL1L261->SetBinContent(33,35198.41); h_SL1L261->SetBinContent(34,66781.74); h_SL1L261->SetBinContent(35,74218.25); h_SL1L261->SetBinContent(36,80583.33); h_SL1L261->SetBinContent(37,83793.65); h_SL1L261->SetBinContent(38,82674.6); h_SL1L261->SetBinContent(39,70091.27); h_SL1L261->SetBinContent(40,34666.66); h_SL1L261->SetBinContent(41,22821.43); h_SL1L261->SetBinContent(42,19599.21); h_SL1L261->SetBinContent(43,18361.11); h_SL1L261->SetBinContent(44,17908.73); h_SL1L261->SetBinContent(45,17321.43); h_SL1L261->SetBinContent(46,17988.09); h_SL1L261->SetBinContent(47,18206.35); h_SL1L261->SetBinContent(48,17178.57); h_SL1L261->SetBinContent(49,32797.62); h_SL1L261->SetBinContent(50,16325.4); h_SL1L261->SetBinContent(51,15626.98); h_SL1L261->SetBinContent(52,15329.36); h_SL1L261->SetBinContent(53,15932.54); h_SL1L261->SetBinContent(54,15119.05); h_SL1L261->SetBinContent(55,15238.09); h_SL1L261->SetBinContent(56,21956.35); h_SL1L261->SetBinContent(57,14932.54); h_SL1L261->SetBinContent(58,14563.49); h_SL1L261->SetBinContent(59,14214.29); h_SL1L261->SetMaximum(96362.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,8253.968); h_SL1L362->SetBinContent(2,7714.286); h_SL1L362->SetBinContent(3,8162.698); h_SL1L362->SetBinContent(4,8511.904); h_SL1L362->SetBinContent(5,8452.381); h_SL1L362->SetBinContent(6,8571.429); h_SL1L362->SetBinContent(7,8134.92); h_SL1L362->SetBinContent(8,8019.841); h_SL1L362->SetBinContent(9,7384.92); h_SL1L362->SetBinContent(10,7428.571); h_SL1L362->SetBinContent(11,6992.063); h_SL1L362->SetBinContent(12,7761.904); h_SL1L362->SetBinContent(13,8194.444); h_SL1L362->SetBinContent(14,7623.016); h_SL1L362->SetBinContent(15,7873.016); h_SL1L362->SetBinContent(16,7952.381); h_SL1L362->SetBinContent(17,7424.603); h_SL1L362->SetBinContent(18,8365.079); h_SL1L362->SetBinContent(19,8424.603); h_SL1L362->SetBinContent(20,8226.19); h_SL1L362->SetBinContent(21,9095.238); h_SL1L362->SetBinContent(22,8404.762); h_SL1L362->SetBinContent(23,9055.556); h_SL1L362->SetBinContent(24,8988.095); h_SL1L362->SetBinContent(25,8444.444); h_SL1L362->SetBinContent(26,7440.476); h_SL1L362->SetBinContent(27,9174.603); h_SL1L362->SetBinContent(28,8166.667); h_SL1L362->SetBinContent(29,8690.476); h_SL1L362->SetBinContent(30,8353.175); h_SL1L362->SetBinContent(31,8452.381); h_SL1L362->SetBinContent(32,8591.27); h_SL1L362->SetBinContent(33,12753.97); h_SL1L362->SetBinContent(34,18301.59); h_SL1L362->SetBinContent(35,18630.95); h_SL1L362->SetBinContent(36,18234.13); h_SL1L362->SetBinContent(37,20305.55); h_SL1L362->SetBinContent(38,17952.38); h_SL1L362->SetBinContent(39,14698.41); h_SL1L362->SetBinContent(40,7630.952); h_SL1L362->SetBinContent(41,7638.889); h_SL1L362->SetBinContent(42,8000); h_SL1L362->SetBinContent(43,7865.079); h_SL1L362->SetBinContent(44,7555.555); h_SL1L362->SetBinContent(45,7162.698); h_SL1L362->SetBinContent(46,7500); h_SL1L362->SetBinContent(47,7678.571); h_SL1L362->SetBinContent(48,6281.746); h_SL1L362->SetBinContent(49,6912.698); h_SL1L362->SetBinContent(50,6710.317); h_SL1L362->SetBinContent(51,6642.857); h_SL1L362->SetBinContent(52,6396.825); h_SL1L362->SetBinContent(53,10726.19); h_SL1L362->SetBinContent(54,6158.73); h_SL1L362->SetBinContent(55,5873.016); h_SL1L362->SetBinContent(56,13884.92); h_SL1L362->SetBinContent(57,6484.127); h_SL1L362->SetBinContent(58,5750); h_SL1L362->SetBinContent(59,5924.603); h_SL1L362->SetMaximum(96362.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,16432.54); h_SL1L463->SetBinContent(3,15587.3); h_SL1L463->SetBinContent(4,15460.32); h_SL1L463->SetBinContent(5,14833.33); h_SL1L463->SetBinContent(6,15936.51); h_SL1L463->SetBinContent(7,15503.97); h_SL1L463->SetBinContent(8,15710.32); h_SL1L463->SetBinContent(9,15726.19); h_SL1L463->SetBinContent(10,13690.48); h_SL1L463->SetBinContent(11,14416.67); h_SL1L463->SetBinContent(12,14353.17); h_SL1L463->SetBinContent(13,14948.41); h_SL1L463->SetBinContent(14,15690.48); h_SL1L463->SetBinContent(15,15623.02); h_SL1L463->SetBinContent(16,15440.48); h_SL1L463->SetBinContent(17,14392.86); h_SL1L463->SetBinContent(18,14956.35); h_SL1L463->SetBinContent(19,15301.59); h_SL1L463->SetBinContent(20,16027.78); h_SL1L463->SetBinContent(21,16396.82); h_SL1L463->SetBinContent(22,16750); h_SL1L463->SetBinContent(23,16369.05); h_SL1L463->SetBinContent(24,16936.51); h_SL1L463->SetBinContent(25,16317.46); h_SL1L463->SetBinContent(26,16353.17); h_SL1L463->SetBinContent(27,15888.89); h_SL1L463->SetBinContent(28,16103.17); h_SL1L463->SetBinContent(29,16150.79); h_SL1L463->SetBinContent(30,16896.82); h_SL1L463->SetBinContent(31,17055.55); h_SL1L463->SetBinContent(32,17992.06); h_SL1L463->SetBinContent(33,25591.27); h_SL1L463->SetBinContent(34,53238.09); h_SL1L463->SetBinContent(35,62476.19); h_SL1L463->SetBinContent(36,62837.3); h_SL1L463->SetBinContent(37,59694.44); h_SL1L463->SetBinContent(38,63888.89); h_SL1L463->SetBinContent(39,58940.47); h_SL1L463->SetBinContent(40,24702.38); h_SL1L463->SetBinContent(41,16047.62); h_SL1L463->SetBinContent(42,14436.51); h_SL1L463->SetBinContent(43,14630.95); h_SL1L463->SetBinContent(44,13845.24); h_SL1L463->SetBinContent(45,12369.05); h_SL1L463->SetBinContent(46,13079.36); h_SL1L463->SetBinContent(47,12404.76); h_SL1L463->SetBinContent(48,12250); h_SL1L463->SetBinContent(49,10968.25); h_SL1L463->SetBinContent(50,10761.9); h_SL1L463->SetBinContent(51,10706.35); h_SL1L463->SetBinContent(52,10503.97); h_SL1L463->SetBinContent(53,10452.38); h_SL1L463->SetBinContent(54,10559.52); h_SL1L463->SetBinContent(56,10813.49); h_SL1L463->SetBinContent(57,11253.97); h_SL1L463->SetBinContent(58,12289.68); h_SL1L463->SetBinContent(59,12126.98); h_SL1L463->SetMaximum(96362.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 6881"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }