void RatesPerCell_Removing_noisy_cells_run_6942_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:17:30 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-30371.65,67.5,273344.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6942",60,0,60); h_SL1L160->SetBinContent(1,15910.92); h_SL1L160->SetBinContent(2,16705.95); h_SL1L160->SetBinContent(3,23613.67); h_SL1L160->SetBinContent(4,17674.71); h_SL1L160->SetBinContent(5,18106.44); h_SL1L160->SetBinContent(6,19291.07); h_SL1L160->SetBinContent(7,18553.97); h_SL1L160->SetBinContent(8,18917.26); h_SL1L160->SetBinContent(9,18490.79); h_SL1L160->SetBinContent(10,19112.06); h_SL1L160->SetBinContent(11,18143.3); h_SL1L160->SetBinContent(12,18464.46); h_SL1L160->SetBinContent(13,18095.91); h_SL1L160->SetBinContent(14,17221.92); h_SL1L160->SetBinContent(15,17058.7); h_SL1L160->SetBinContent(16,17058.7); h_SL1L160->SetBinContent(17,17164); h_SL1L160->SetBinContent(18,17569.41); h_SL1L160->SetBinContent(19,17890.58); h_SL1L160->SetBinContent(20,18238.07); h_SL1L160->SetBinContent(21,18811.96); h_SL1L160->SetBinContent(22,18748.78); h_SL1L160->SetBinContent(23,17922.17); h_SL1L160->SetBinContent(24,16906.02); h_SL1L160->SetBinContent(25,183723.3); h_SL1L160->SetBinContent(26,15000.07); h_SL1L160->SetBinContent(27,17653.65); h_SL1L160->SetBinContent(28,17727.36); h_SL1L160->SetBinContent(29,17185.06); h_SL1L160->SetBinContent(30,17685.24); h_SL1L160->SetBinContent(31,16742.8); h_SL1L160->SetBinContent(32,15989.9); h_SL1L160->SetBinContent(33,15700.32); h_SL1L160->SetBinContent(34,16021.49); h_SL1L160->SetBinContent(35,15516.05); h_SL1L160->SetBinContent(36,15721.38); h_SL1L160->SetBinContent(37,14415.66); h_SL1L160->SetBinContent(38,6749.77); h_SL1L160->SetBinContent(39,15031.66); h_SL1L160->SetBinContent(40,14394.6); h_SL1L160->SetBinContent(41,15958.31); h_SL1L160->SetBinContent(42,15210.68); h_SL1L160->SetBinContent(43,15379.16); h_SL1L160->SetBinContent(44,14620.99); h_SL1L160->SetBinContent(45,14457.78); h_SL1L160->SetBinContent(46,13499.54); h_SL1L160->SetBinContent(47,12878.27); h_SL1L160->SetBinContent(48,12593.96); h_SL1L160->SetBinContent(49,12857.21); h_SL1L160->SetBinContent(50,13204.7); h_SL1L160->SetBinContent(51,12988.83); h_SL1L160->SetBinContent(52,12536.04); h_SL1L160->SetBinContent(53,12441.27); h_SL1L160->SetBinContent(54,12841.41); h_SL1L160->SetBinContent(55,12467.59); h_SL1L160->SetBinContent(56,13225.76); h_SL1L160->SetBinContent(57,15384.42); h_SL1L160->SetBinContent(58,16600.64); h_SL1L160->SetBinContent(59,17037.64); h_SL1L160->SetMaximum(242973.1); 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,16405.84); h_SL1L261->SetBinContent(2,17722.1); h_SL1L261->SetBinContent(3,17574.67); h_SL1L261->SetBinContent(4,19728.07); h_SL1L261->SetBinContent(5,20939.03); h_SL1L261->SetBinContent(6,23039.78); h_SL1L261->SetBinContent(7,22644.9); h_SL1L261->SetBinContent(8,23634.73); h_SL1L261->SetBinContent(9,23503.1); h_SL1L261->SetBinContent(10,22850.24); h_SL1L261->SetBinContent(11,23113.49); h_SL1L261->SetBinContent(12,23129.28); h_SL1L261->SetBinContent(13,23492.57); h_SL1L261->SetBinContent(14,23345.15); h_SL1L261->SetBinContent(15,22934.48); h_SL1L261->SetBinContent(16,22766); h_SL1L261->SetBinContent(17,23318.82); h_SL1L261->SetBinContent(18,24914.13); h_SL1L261->SetBinContent(19,24808.83); h_SL1L261->SetBinContent(20,24877.27); h_SL1L261->SetBinContent(21,26140.88); h_SL1L261->SetBinContent(22,26483.11); h_SL1L261->SetBinContent(23,26209.33); h_SL1L261->SetBinContent(24,26809.54); h_SL1L261->SetBinContent(25,22655.43); h_SL1L261->SetBinContent(26,21697.19); h_SL1L261->SetBinContent(27,25503.81); h_SL1L261->SetBinContent(28,29894.85); h_SL1L261->SetBinContent(29,27283.39); h_SL1L261->SetBinContent(30,27751.98); h_SL1L261->SetBinContent(31,26662.12); h_SL1L261->SetBinContent(32,26340.95); h_SL1L261->SetBinContent(33,25477.49); h_SL1L261->SetBinContent(34,24050.66); h_SL1L261->SetBinContent(35,23987.48); h_SL1L261->SetBinContent(36,23576.81); h_SL1L261->SetBinContent(37,24245.47); h_SL1L261->SetBinContent(38,24445.54); h_SL1L261->SetBinContent(39,23692.64); h_SL1L261->SetBinContent(40,24240.21); h_SL1L261->SetBinContent(41,24524.52); h_SL1L261->SetBinContent(42,23034.51); h_SL1L261->SetBinContent(43,21897.27); h_SL1L261->SetBinContent(44,21555.04); h_SL1L261->SetBinContent(45,22197.37); h_SL1L261->SetBinContent(46,23266.17); h_SL1L261->SetBinContent(47,22650.16); h_SL1L261->SetBinContent(48,22866.03); h_SL1L261->SetBinContent(49,21902.53); h_SL1L261->SetBinContent(50,22339.53); h_SL1L261->SetBinContent(51,55535.55); h_SL1L261->SetBinContent(52,21739.31); h_SL1L261->SetBinContent(53,21618.22); h_SL1L261->SetBinContent(54,21760.38); h_SL1L261->SetBinContent(55,21807.76); h_SL1L261->SetBinContent(56,21002.21); h_SL1L261->SetBinContent(57,21302.32); h_SL1L261->SetBinContent(58,20917.97); h_SL1L261->SetBinContent(59,20070.3); h_SL1L261->SetMaximum(211281.8); 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,16105.73); h_SL1L362->SetBinContent(2,16890.22); h_SL1L362->SetBinContent(3,18590.83); h_SL1L362->SetBinContent(4,20244.04); h_SL1L362->SetBinContent(5,22544.86); h_SL1L362->SetBinContent(6,23303.03); h_SL1L362->SetBinContent(7,22260.55); h_SL1L362->SetBinContent(8,23450.45); h_SL1L362->SetBinContent(9,22444.83); h_SL1L362->SetBinContent(10,22639.63); h_SL1L362->SetBinContent(11,22502.74); h_SL1L362->SetBinContent(12,23524.16); h_SL1L362->SetBinContent(13,23466.24); h_SL1L362->SetBinContent(14,22023.63); h_SL1L362->SetBinContent(15,22071.01); h_SL1L362->SetBinContent(16,22134.19); h_SL1L362->SetBinContent(17,23897.98); h_SL1L362->SetBinContent(18,24334.97); h_SL1L362->SetBinContent(19,24134.9); h_SL1L362->SetBinContent(20,25187.91); h_SL1L362->SetBinContent(21,26235.65); h_SL1L362->SetBinContent(22,25877.63); h_SL1L362->SetBinContent(23,25746); h_SL1L362->SetBinContent(24,26525.23); h_SL1L362->SetBinContent(25,20612.6); h_SL1L362->SetBinContent(26,20881.12); h_SL1L362->SetBinContent(27,26588.41); h_SL1L362->SetBinContent(28,26588.41); h_SL1L362->SetBinContent(29,27078.06); h_SL1L362->SetBinContent(30,24998.37); h_SL1L362->SetBinContent(31,24203.35); h_SL1L362->SetBinContent(32,24714.06); h_SL1L362->SetBinContent(33,25040.49); h_SL1L362->SetBinContent(34,23713.7); h_SL1L362->SetBinContent(35,22802.85); h_SL1L362->SetBinContent(36,24019.07); h_SL1L362->SetBinContent(37,23987.48); h_SL1L362->SetBinContent(38,23866.39); h_SL1L362->SetBinContent(39,23129.28); h_SL1L362->SetBinContent(40,23066.1); h_SL1L362->SetBinContent(41,23887.45); h_SL1L362->SetBinContent(42,22123.66); h_SL1L362->SetBinContent(43,21765.64); h_SL1L362->SetBinContent(44,32995.95); h_SL1L362->SetBinContent(45,22223.7); h_SL1L362->SetBinContent(46,22397.44); h_SL1L362->SetBinContent(47,22297.41); h_SL1L362->SetBinContent(48,21944.65); h_SL1L362->SetBinContent(49,21939.38); h_SL1L362->SetBinContent(50,21791.96); h_SL1L362->SetBinContent(51,21723.52); h_SL1L362->SetBinContent(52,21618.22); h_SL1L362->SetBinContent(53,21249.67); h_SL1L362->SetBinContent(54,20954.82); h_SL1L362->SetBinContent(55,21360.23); h_SL1L362->SetBinContent(56,20286.17); h_SL1L362->SetBinContent(57,20638.92); h_SL1L362->SetBinContent(58,19770.19); h_SL1L362->SetBinContent(59,18969.91); h_SL1L362->SetMaximum(211281.8); 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,14542.02); h_SL1L463->SetBinContent(3,15026.4); h_SL1L463->SetBinContent(4,16174.18); h_SL1L463->SetBinContent(5,16411.1); h_SL1L463->SetBinContent(6,16963.93); h_SL1L463->SetBinContent(7,17469.37); h_SL1L463->SetBinContent(8,18227.54); h_SL1L463->SetBinContent(9,19364.79); h_SL1L463->SetBinContent(10,19264.75); h_SL1L463->SetBinContent(11,19264.75); h_SL1L463->SetBinContent(12,19943.94); h_SL1L463->SetBinContent(13,20838.99); h_SL1L463->SetBinContent(14,20407.26); h_SL1L463->SetBinContent(15,19838.64); h_SL1L463->SetBinContent(16,19180.51); h_SL1L463->SetBinContent(17,19043.62); h_SL1L463->SetBinContent(18,19743.87); h_SL1L463->SetBinContent(19,19401.64); h_SL1L463->SetBinContent(20,19317.4); h_SL1L463->SetBinContent(21,19886.02); h_SL1L463->SetBinContent(22,19522.74); h_SL1L463->SetBinContent(23,18627.68); h_SL1L463->SetBinContent(24,19501.68); h_SL1L463->SetBinContent(25,15315.98); h_SL1L463->SetBinContent(26,15189.62); h_SL1L463->SetBinContent(27,18280.19); h_SL1L463->SetBinContent(28,19585.92); h_SL1L463->SetBinContent(29,18474.99); h_SL1L463->SetBinContent(30,18969.91); h_SL1L463->SetBinContent(31,18317.04); h_SL1L463->SetBinContent(32,18259.13); h_SL1L463->SetBinContent(33,17932.7); h_SL1L463->SetBinContent(34,18790.9); h_SL1L463->SetBinContent(35,17611.53); h_SL1L463->SetBinContent(36,17843.19); h_SL1L463->SetBinContent(37,18069.59); h_SL1L463->SetBinContent(38,18153.83); h_SL1L463->SetBinContent(39,18622.42); h_SL1L463->SetBinContent(40,17737.89); h_SL1L463->SetBinContent(41,18501.32); h_SL1L463->SetBinContent(42,17585.21); h_SL1L463->SetBinContent(43,17258.77); h_SL1L463->SetBinContent(44,17985.35); h_SL1L463->SetBinContent(45,17590.47); h_SL1L463->SetBinContent(46,18432.88); h_SL1L463->SetBinContent(47,17090.29); h_SL1L463->SetBinContent(48,18127.5); h_SL1L463->SetBinContent(49,16879.69); h_SL1L463->SetBinContent(50,16605.91); h_SL1L463->SetBinContent(51,14489.37); h_SL1L463->SetBinContent(52,14731.56); h_SL1L463->SetBinContent(53,13483.75); h_SL1L463->SetBinContent(54,13578.52); h_SL1L463->SetBinContent(55,31.59019); h_SL1L463->SetBinContent(56,13025.69); h_SL1L463->SetBinContent(57,13631.17); h_SL1L463->SetBinContent(58,15658.2); h_SL1L463->SetBinContent(59,16874.43); h_SL1L463->SetMaximum(211281.8); 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 6942"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }