void RatesPerCell_Removing_noisy_cells_run_7281_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:33:08 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15114.02,67.5,136026.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7281",60,0,60); h_SL2L164->SetBinContent(1,34198.91); h_SL2L164->SetBinContent(2,39205.89); h_SL2L164->SetBinContent(3,49777.68); h_SL2L164->SetBinContent(4,50401.89); h_SL2L164->SetBinContent(5,50441.73); h_SL2L164->SetBinContent(6,48622.21); h_SL2L164->SetBinContent(7,44425.38); h_SL2L164->SetBinContent(8,43336.33); h_SL2L164->SetBinContent(9,46019.11); h_SL2L164->SetBinContent(10,48130.82); h_SL2L164->SetBinContent(11,50494.86); h_SL2L164->SetBinContent(12,50707.36); h_SL2L164->SetBinContent(13,51822.97); h_SL2L164->SetBinContent(14,52951.86); h_SL2L164->SetBinContent(15,52327.65); h_SL2L164->SetBinContent(16,49419.09); h_SL2L164->SetBinContent(17,49804.24); h_SL2L164->SetBinContent(18,47373.79); h_SL2L164->SetBinContent(19,44133.2); h_SL2L164->SetBinContent(20,38448.87); h_SL2L164->SetBinContent(21,31808.31); h_SL2L164->SetBinContent(22,30692.69); h_SL2L164->SetBinContent(23,27757.56); h_SL2L164->SetBinContent(24,25273.99); h_SL2L164->SetBinContent(25,23972.44); h_SL2L164->SetBinContent(26,22033.39); h_SL2L164->SetBinContent(27,21688.09); h_SL2L164->SetBinContent(28,20426.38); h_SL2L164->SetBinContent(29,19337.32); h_SL2L164->SetBinContent(30,19363.89); h_SL2L164->SetBinContent(31,18606.86); h_SL2L164->SetBinContent(32,19576.38); h_SL2L164->SetBinContent(33,18460.77); h_SL2L164->SetBinContent(34,19324.04); h_SL2L164->SetBinContent(36,19828.73); h_SL2L164->SetBinContent(37,28156); h_SL2L164->SetBinContent(38,23959.16); h_SL2L164->SetBinContent(39,24623.21); h_SL2L164->SetBinContent(40,67813.45); h_SL2L164->SetBinContent(41,91427.3); h_SL2L164->SetBinContent(42,28727.08); h_SL2L164->SetBinContent(43,29098.96); h_SL2L164->SetBinContent(44,29311.45); h_SL2L164->SetBinContent(45,20187.32); h_SL2L164->SetBinContent(46,19204.51); h_SL2L164->SetBinContent(47,20280.29); h_SL2L164->SetBinContent(48,19005.3); h_SL2L164->SetBinContent(49,19988.1); h_SL2L164->SetBinContent(50,19058.42); h_SL2L164->SetBinContent(51,19576.38); h_SL2L164->SetBinContent(52,21143.56); h_SL2L164->SetBinContent(53,23799.79); h_SL2L164->SetBinContent(54,25778.67); h_SL2L164->SetBinContent(55,25300.55); h_SL2L164->SetBinContent(56,21263.09); h_SL2L164->SetBinContent(57,16880.32); h_SL2L164->SetMaximum(120912.1); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,25539.61); h_SL2L265->SetBinContent(2,39776.98); h_SL2L265->SetBinContent(3,43416.01); h_SL2L265->SetBinContent(4,49790.96); h_SL2L265->SetBinContent(5,47798.79); h_SL2L265->SetBinContent(6,48343.31); h_SL2L265->SetBinContent(7,45195.68); h_SL2L265->SetBinContent(8,42645.71); h_SL2L265->SetBinContent(9,44611.32); h_SL2L265->SetBinContent(10,45514.43); h_SL2L265->SetBinContent(11,49897.2); h_SL2L265->SetBinContent(12,49883.92); h_SL2L265->SetBinContent(13,51132.35); h_SL2L265->SetBinContent(14,52951.86); h_SL2L265->SetBinContent(15,50109.7); h_SL2L265->SetBinContent(16,51490.94); h_SL2L265->SetBinContent(17,47028.48); h_SL2L265->SetBinContent(18,47533.16); h_SL2L265->SetBinContent(19,46218.33); h_SL2L265->SetBinContent(20,40706.66); h_SL2L265->SetBinContent(21,32830.95); h_SL2L265->SetBinContent(22,28607.55); h_SL2L265->SetBinContent(23,28966.14); h_SL2L265->SetBinContent(24,25858.36); h_SL2L265->SetBinContent(25,24782.59); h_SL2L265->SetBinContent(26,21528.71); h_SL2L265->SetBinContent(27,21913.86); h_SL2L265->SetBinContent(28,20293.57); h_SL2L265->SetBinContent(29,19921.7); h_SL2L265->SetBinContent(30,19509.98); h_SL2L265->SetBinContent(31,18128.74); h_SL2L265->SetBinContent(32,18407.65); h_SL2L265->SetBinContent(33,18832.64); h_SL2L265->SetBinContent(34,19390.45); h_SL2L265->SetBinContent(35,17796.71); h_SL2L265->SetBinContent(36,18088.9); h_SL2L265->SetBinContent(37,20094.35); h_SL2L265->SetBinContent(38,20612.31); h_SL2L265->SetBinContent(39,20931.06); h_SL2L265->SetBinContent(40,21688.09); h_SL2L265->SetBinContent(41,21688.09); h_SL2L265->SetBinContent(42,20824.81); h_SL2L265->SetBinContent(43,20067.79); h_SL2L265->SetBinContent(44,20439.66); h_SL2L265->SetBinContent(45,19576.38); h_SL2L265->SetBinContent(46,19257.64); h_SL2L265->SetBinContent(47,19483.42); h_SL2L265->SetBinContent(48,17477.97); h_SL2L265->SetBinContent(49,18553.74); h_SL2L265->SetBinContent(50,18420.93); h_SL2L265->SetBinContent(51,19124.83); h_SL2L265->SetBinContent(52,20134.19); h_SL2L265->SetBinContent(53,21223.25); h_SL2L265->SetBinContent(54,23268.54); h_SL2L265->SetBinContent(55,26190.39); h_SL2L265->SetBinContent(56,22936.51); h_SL2L265->SetBinContent(57,19722.48); h_SL2L265->SetMaximum(105141.4); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,29656.76); h_SL2L366->SetBinContent(2,38448.87); h_SL2L366->SetBinContent(3,48980.81); h_SL2L366->SetBinContent(4,47413.63); h_SL2L366->SetBinContent(5,47307.38); h_SL2L366->SetBinContent(6,44040.23); h_SL2L366->SetBinContent(7,42977.73); h_SL2L366->SetBinContent(8,41105.1); h_SL2L366->SetBinContent(9,44465.22); h_SL2L366->SetBinContent(10,44651.16); h_SL2L366->SetBinContent(11,46058.96); h_SL2L366->SetBinContent(12,46244.89); h_SL2L366->SetBinContent(13,49684.71); h_SL2L366->SetBinContent(14,49047.21); h_SL2L366->SetBinContent(15,47240.98); h_SL2L366->SetBinContent(16,47400.35); h_SL2L366->SetBinContent(17,46709.73); h_SL2L366->SetBinContent(18,46430.83); h_SL2L366->SetBinContent(19,40494.16); h_SL2L366->SetBinContent(20,34012.97); h_SL2L366->SetBinContent(21,29284.89); h_SL2L366->SetBinContent(22,28076.31); h_SL2L366->SetBinContent(23,26482.57); h_SL2L366->SetBinContent(24,24277.91); h_SL2L366->SetBinContent(25,24238.06); h_SL2L366->SetBinContent(26,20200.6); h_SL2L366->SetBinContent(27,20227.16); h_SL2L366->SetBinContent(28,19191.23); h_SL2L366->SetBinContent(29,18859.21); h_SL2L366->SetBinContent(30,18381.08); h_SL2L366->SetBinContent(31,18301.4); h_SL2L366->SetBinContent(32,18181.87); h_SL2L366->SetBinContent(33,18819.36); h_SL2L366->SetBinContent(34,17849.84); h_SL2L366->SetBinContent(35,17331.88); h_SL2L366->SetBinContent(36,17637.34); h_SL2L366->SetBinContent(37,19576.38); h_SL2L366->SetBinContent(38,18752.96); h_SL2L366->SetBinContent(39,18766.24); h_SL2L366->SetBinContent(40,19297.48); h_SL2L366->SetBinContent(41,18992.02); h_SL2L366->SetBinContent(42,19045.14); h_SL2L366->SetBinContent(43,19138.11); h_SL2L366->SetBinContent(44,20187.32); h_SL2L366->SetBinContent(45,18474.05); h_SL2L366->SetBinContent(46,19071.7); h_SL2L366->SetBinContent(47,18673.27); h_SL2L366->SetBinContent(48,17438.12); h_SL2L366->SetBinContent(49,17902.96); h_SL2L366->SetBinContent(50,17876.4); h_SL2L366->SetBinContent(51,18633.43); h_SL2L366->SetBinContent(52,20240.44); h_SL2L366->SetBinContent(53,22963.07); h_SL2L366->SetBinContent(54,24649.78); h_SL2L366->SetBinContent(55,25247.43); h_SL2L366->SetBinContent(56,19695.92); h_SL2L366->SetBinContent(57,18633.43); h_SL2L366->SetMaximum(105141.4); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,36961.38); h_SL2L467->SetBinContent(3,42791.8); h_SL2L467->SetBinContent(4,46563.64); h_SL2L467->SetBinContent(5,45434.75); h_SL2L467->SetBinContent(6,43150.39); h_SL2L467->SetBinContent(7,43761.32); h_SL2L467->SetBinContent(8,39126.21); h_SL2L467->SetBinContent(9,40534.01); h_SL2L467->SetBinContent(10,42924.61); h_SL2L467->SetBinContent(11,44637.88); h_SL2L467->SetBinContent(12,44451.94); h_SL2L467->SetBinContent(13,48794.87); h_SL2L467->SetBinContent(14,48037.85); h_SL2L467->SetBinContent(15,46523.8); h_SL2L467->SetBinContent(16,47055.04); h_SL2L467->SetBinContent(17,45793.34); h_SL2L467->SetBinContent(18,44584.75); h_SL2L467->SetBinContent(19,42366.8); h_SL2L467->SetBinContent(20,37466.07); h_SL2L467->SetBinContent(21,30095.04); h_SL2L467->SetBinContent(22,27810.69); h_SL2L467->SetBinContent(23,27916.94); h_SL2L467->SetBinContent(24,24304.47); h_SL2L467->SetBinContent(25,22604.48); h_SL2L467->SetBinContent(26,21090.43); h_SL2L467->SetBinContent(27,19868.57); h_SL2L467->SetBinContent(28,18381.08); h_SL2L467->SetBinContent(29,18474.05); h_SL2L467->SetBinContent(30,18992.02); h_SL2L467->SetBinContent(31,17956.09); h_SL2L467->SetBinContent(32,17690.46); h_SL2L467->SetBinContent(33,18128.74); h_SL2L467->SetBinContent(34,17265.47); h_SL2L467->SetBinContent(35,17039.69); h_SL2L467->SetBinContent(36,17650.62); h_SL2L467->SetBinContent(37,18460.77); h_SL2L467->SetBinContent(38,19377.17); h_SL2L467->SetBinContent(39,18341.24); h_SL2L467->SetBinContent(40,17902.96); h_SL2L467->SetBinContent(41,18912.33); h_SL2L467->SetBinContent(42,19071.7); h_SL2L467->SetBinContent(43,17650.62); h_SL2L467->SetBinContent(44,18274.83); h_SL2L467->SetBinContent(45,18992.02); h_SL2L467->SetBinContent(46,20306.85); h_SL2L467->SetBinContent(47,19775.6); h_SL2L467->SetBinContent(48,17995.93); h_SL2L467->SetBinContent(49,18035.77); h_SL2L467->SetBinContent(50,17464.69); h_SL2L467->SetBinContent(51,17929.53); h_SL2L467->SetBinContent(52,18513.89); h_SL2L467->SetBinContent(53,19961.54); h_SL2L467->SetBinContent(54,23733.38); h_SL2L467->SetBinContent(55,24357.59); h_SL2L467->SetBinContent(56,21807.62); h_SL2L467->SetBinContent(57,17358.44); h_SL2L467->SetMaximum(105141.4); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7281"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }