void RatesPerCell_Removing_noisy_cells_run_6931_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-6278.857,67.5,56509.71); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6931",60,0,60); h_SL1L160->SetBinContent(1,17732.09); h_SL1L160->SetBinContent(2,17654.46); h_SL1L160->SetBinContent(3,20897.3); h_SL1L160->SetBinContent(4,21742.5); h_SL1L160->SetBinContent(5,20940.42); h_SL1L160->SetBinContent(6,22363.47); h_SL1L160->SetBinContent(7,21535.52); h_SL1L160->SetBinContent(8,22760.2); h_SL1L160->SetBinContent(9,23648.53); h_SL1L160->SetBinContent(10,21380.27); h_SL1L160->SetBinContent(11,20905.92); h_SL1L160->SetBinContent(12,20931.8); h_SL1L160->SetBinContent(13,22044.36); h_SL1L160->SetBinContent(14,21449.27); h_SL1L160->SetBinContent(15,21259.53); h_SL1L160->SetBinContent(16,19353.5); h_SL1L160->SetBinContent(17,19465.62); h_SL1L160->SetBinContent(18,21923.62); h_SL1L160->SetBinContent(19,21854.62); h_SL1L160->SetBinContent(20,21121.54); h_SL1L160->SetBinContent(21,22354.85); h_SL1L160->SetBinContent(22,22165.11); h_SL1L160->SetBinContent(23,21621.76); h_SL1L160->SetBinContent(24,20293.58); h_SL1L160->SetBinContent(25,21889.12); h_SL1L160->SetBinContent(26,22156.48); h_SL1L160->SetBinContent(27,21440.64); h_SL1L160->SetBinContent(28,22673.96); h_SL1L160->SetBinContent(29,20793.8); h_SL1L160->SetBinContent(30,21492.39); h_SL1L160->SetBinContent(31,20612.69); h_SL1L160->SetBinContent(32,20267.71); h_SL1L160->SetBinContent(33,20008.97); h_SL1L160->SetBinContent(34,19594.99); h_SL1L160->SetBinContent(35,19655.36); h_SL1L160->SetBinContent(36,19043.02); h_SL1L160->SetBinContent(37,19379.38); h_SL1L160->SetBinContent(38,21380.27); h_SL1L160->SetBinContent(39,18974.02); h_SL1L160->SetBinContent(40,18698.04); h_SL1L160->SetBinContent(41,18913.65); h_SL1L160->SetBinContent(42,18723.91); h_SL1L160->SetBinContent(43,17792.46); h_SL1L160->SetBinContent(44,17335.36); h_SL1L160->SetBinContent(45,17645.84); h_SL1L160->SetBinContent(46,17447.48); h_SL1L160->SetBinContent(47,16774.76); h_SL1L160->SetBinContent(48,15972.68); h_SL1L160->SetBinContent(49,17499.22); h_SL1L160->SetBinContent(50,17801.08); h_SL1L160->SetBinContent(51,17162.87); h_SL1L160->SetBinContent(52,15903.68); h_SL1L160->SetBinContent(53,16585.02); h_SL1L160->SetBinContent(54,15869.18); h_SL1L160->SetBinContent(55,16386.66); h_SL1L160->SetBinContent(56,17343.98); h_SL1L160->SetBinContent(57,17404.35); h_SL1L160->SetBinContent(58,18723.91); h_SL1L160->SetBinContent(59,19086.14); h_SL1L160->SetMaximum(50230.85); 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,17481.97); h_SL1L261->SetBinContent(2,16921.38); h_SL1L261->SetBinContent(3,19931.35); h_SL1L261->SetBinContent(4,22406.6); h_SL1L261->SetBinContent(5,22372.1); h_SL1L261->SetBinContent(6,24028.01); h_SL1L261->SetBinContent(7,24347.12); h_SL1L261->SetBinContent(8,23243.18); h_SL1L261->SetBinContent(9,23821.02); h_SL1L261->SetBinContent(10,24562.73); h_SL1L261->SetBinContent(11,24019.39); h_SL1L261->SetBinContent(12,24493.74); h_SL1L261->SetBinContent(13,24028.01); h_SL1L261->SetBinContent(14,24536.86); h_SL1L261->SetBinContent(15,24053.88); h_SL1L261->SetBinContent(16,22648.08); h_SL1L261->SetBinContent(17,22725.7); h_SL1L261->SetBinContent(18,25554.56); h_SL1L261->SetBinContent(19,25192.33); h_SL1L261->SetBinContent(20,25356.19); h_SL1L261->SetBinContent(21,26330.77); h_SL1L261->SetBinContent(22,27814.19); h_SL1L261->SetBinContent(23,26943.11); h_SL1L261->SetBinContent(24,26408.39); h_SL1L261->SetBinContent(25,27348.46); h_SL1L261->SetBinContent(26,26675.75); h_SL1L261->SetBinContent(27,26762); h_SL1L261->SetBinContent(28,29082); h_SL1L261->SetBinContent(29,27081.11); h_SL1L261->SetBinContent(30,27417.46); h_SL1L261->SetBinContent(31,27227.72); h_SL1L261->SetBinContent(32,26632.63); h_SL1L261->SetBinContent(33,26520.51); h_SL1L261->SetBinContent(34,25787.42); h_SL1L261->SetBinContent(35,24640.36); h_SL1L261->SetBinContent(36,24347.12); h_SL1L261->SetBinContent(37,24191.88); h_SL1L261->SetBinContent(38,24692.1); h_SL1L261->SetBinContent(39,24726.6); h_SL1L261->SetBinContent(40,23881.39); h_SL1L261->SetBinContent(41,24071.13); h_SL1L261->SetBinContent(42,22579.09); h_SL1L261->SetBinContent(43,22449.72); h_SL1L261->SetBinContent(44,21630.38); h_SL1L261->SetBinContent(45,22596.34); h_SL1L261->SetBinContent(46,22863.7); h_SL1L261->SetBinContent(47,23062.06); h_SL1L261->SetBinContent(48,21751.13); h_SL1L261->SetBinContent(49,37982.54); h_SL1L261->SetBinContent(50,23424.29); h_SL1L261->SetBinContent(51,22372.1); h_SL1L261->SetBinContent(52,22639.46); h_SL1L261->SetBinContent(53,22829.2); h_SL1L261->SetBinContent(54,22199.61); h_SL1L261->SetBinContent(55,22906.82); h_SL1L261->SetBinContent(56,28193.67); h_SL1L261->SetBinContent(57,21613.14); h_SL1L261->SetBinContent(58,21354.4); h_SL1L261->SetBinContent(59,20785.18); h_SL1L261->SetMaximum(43679.92); 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,16662.64); h_SL1L362->SetBinContent(2,17162.87); h_SL1L362->SetBinContent(3,20828.3); h_SL1L362->SetBinContent(4,22251.35); h_SL1L362->SetBinContent(5,23777.9); h_SL1L362->SetBinContent(6,23096.56); h_SL1L362->SetBinContent(7,23156.93); h_SL1L362->SetBinContent(8,23467.42); h_SL1L362->SetBinContent(9,23864.14); h_SL1L362->SetBinContent(10,24010.76); h_SL1L362->SetBinContent(11,24459.24); h_SL1L362->SetBinContent(12,23346.67); h_SL1L362->SetBinContent(13,24347.12); h_SL1L362->SetBinContent(14,23657.16); h_SL1L362->SetBinContent(15,21777); h_SL1L362->SetBinContent(16,22777.45); h_SL1L362->SetBinContent(17,23553.66); h_SL1L362->SetBinContent(18,25166.45); h_SL1L362->SetBinContent(19,24916.34); h_SL1L362->SetBinContent(20,26235.9); h_SL1L362->SetBinContent(21,26813.74); h_SL1L362->SetBinContent(22,26822.37); h_SL1L362->SetBinContent(23,26425.64); h_SL1L362->SetBinContent(24,26951.74); h_SL1L362->SetBinContent(25,26641.25); h_SL1L362->SetBinContent(26,25623.55); h_SL1L362->SetBinContent(27,26399.77); h_SL1L362->SetBinContent(28,26925.86); h_SL1L362->SetBinContent(29,26598.13); h_SL1L362->SetBinContent(30,26813.74); h_SL1L362->SetBinContent(31,25468.31); h_SL1L362->SetBinContent(32,25787.42); h_SL1L362->SetBinContent(33,24700.73); h_SL1L362->SetBinContent(34,23821.02); h_SL1L362->SetBinContent(35,23527.79); h_SL1L362->SetBinContent(36,24062.51); h_SL1L362->SetBinContent(37,25011.21); h_SL1L362->SetBinContent(38,23096.56); h_SL1L362->SetBinContent(39,23657.16); h_SL1L362->SetBinContent(40,23165.56); h_SL1L362->SetBinContent(41,22527.34); h_SL1L362->SetBinContent(42,22613.58); h_SL1L362->SetBinContent(43,20992.17); h_SL1L362->SetBinContent(44,21302.65); h_SL1L362->SetBinContent(45,22527.34); h_SL1L362->SetBinContent(46,23260.43); h_SL1L362->SetBinContent(47,22294.48); h_SL1L362->SetBinContent(48,22052.99); h_SL1L362->SetBinContent(49,22725.7); h_SL1L362->SetBinContent(50,22553.21); h_SL1L362->SetBinContent(51,21130.16); h_SL1L362->SetBinContent(52,22165.11); h_SL1L362->SetBinContent(53,24028.01); h_SL1L362->SetBinContent(54,22423.84); h_SL1L362->SetBinContent(55,21699.38); h_SL1L362->SetBinContent(56,26227.27); h_SL1L362->SetBinContent(57,20681.68); h_SL1L362->SetBinContent(58,21035.29); h_SL1L362->SetBinContent(59,19551.87); h_SL1L362->SetMaximum(43679.92); 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,14127.02); h_SL1L463->SetBinContent(3,15187.84); h_SL1L463->SetBinContent(4,15851.93); h_SL1L463->SetBinContent(5,15670.82); h_SL1L463->SetBinContent(6,16490.15); h_SL1L463->SetBinContent(7,16688.52); h_SL1L463->SetBinContent(8,17016.25); h_SL1L463->SetBinContent(9,17568.22); h_SL1L463->SetBinContent(10,18956.77); h_SL1L463->SetBinContent(11,18827.4); h_SL1L463->SetBinContent(12,19198.26); h_SL1L463->SetBinContent(13,20060.72); h_SL1L463->SetBinContent(14,20647.19); h_SL1L463->SetBinContent(15,19388); h_SL1L463->SetBinContent(16,18430.68); h_SL1L463->SetBinContent(17,17464.72); h_SL1L463->SetBinContent(18,18284.06); h_SL1L463->SetBinContent(19,18568.67); h_SL1L463->SetBinContent(20,18680.79); h_SL1L463->SetBinContent(21,18758.41); h_SL1L463->SetBinContent(22,18258.18); h_SL1L463->SetBinContent(23,17921.83); h_SL1L463->SetBinContent(24,18922.28); h_SL1L463->SetBinContent(25,17154.24); h_SL1L463->SetBinContent(26,17602.72); h_SL1L463->SetBinContent(27,17749.34); h_SL1L463->SetBinContent(28,18137.44); h_SL1L463->SetBinContent(29,17240.49); h_SL1L463->SetBinContent(30,17913.2); h_SL1L463->SetBinContent(31,17481.97); h_SL1L463->SetBinContent(32,16878.26); h_SL1L463->SetBinContent(33,15989.93); h_SL1L463->SetBinContent(34,17300.86); h_SL1L463->SetBinContent(35,18353.05); h_SL1L463->SetBinContent(36,16654.02); h_SL1L463->SetBinContent(37,15851.93); h_SL1L463->SetBinContent(38,16205.54); h_SL1L463->SetBinContent(39,17525.1); h_SL1L463->SetBinContent(40,15989.93); h_SL1L463->SetBinContent(41,15860.56); h_SL1L463->SetBinContent(42,16869.63); h_SL1L463->SetBinContent(43,16188.29); h_SL1L463->SetBinContent(44,16007.17); h_SL1L463->SetBinContent(45,16654.02); h_SL1L463->SetBinContent(46,16593.64); h_SL1L463->SetBinContent(47,15437.95); h_SL1L463->SetBinContent(48,14118.4); h_SL1L463->SetBinContent(49,14472); h_SL1L463->SetBinContent(50,15222.34); h_SL1L463->SetBinContent(51,12712.59); h_SL1L463->SetBinContent(52,13212.82); h_SL1L463->SetBinContent(53,12833.34); h_SL1L463->SetBinContent(54,13057.58); h_SL1L463->SetBinContent(56,11884.64); h_SL1L463->SetBinContent(57,12393.49); h_SL1L463->SetBinContent(58,14868.73); h_SL1L463->SetBinContent(59,15291.34); h_SL1L463->SetMaximum(43679.92); 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 6931"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }