void RatesPerCell_Removing_noisy_cells_run_6726_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:47:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19102.65,67.5,171923.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6726",60,0,60); h_SL1L160->SetBinContent(1,50732.59); h_SL1L160->SetBinContent(2,48567.7); h_SL1L160->SetBinContent(3,49036.41); h_SL1L160->SetBinContent(4,45695.85); h_SL1L160->SetBinContent(5,42834.36); h_SL1L160->SetBinContent(6,44302.65); h_SL1L160->SetBinContent(7,43015.62); h_SL1L160->SetBinContent(8,42554.68); h_SL1L160->SetBinContent(9,39480.84); h_SL1L160->SetBinContent(10,36554.61); h_SL1L160->SetBinContent(11,35389.29); h_SL1L160->SetBinContent(12,34993.09); h_SL1L160->SetBinContent(13,37321.12); h_SL1L160->SetBinContent(14,35938.29); h_SL1L160->SetBinContent(15,35389.29); h_SL1L160->SetBinContent(16,33276.19); h_SL1L160->SetBinContent(17,35021.57); h_SL1L160->SetBinContent(18,36606.4); h_SL1L160->SetBinContent(19,37699.2); h_SL1L160->SetBinContent(20,35935.7); h_SL1L160->SetBinContent(21,39501.55); h_SL1L160->SetBinContent(22,38377.68); h_SL1L160->SetBinContent(23,36966.35); h_SL1L160->SetBinContent(24,35088.9); h_SL1L160->SetBinContent(25,34340.51); h_SL1L160->SetBinContent(26,34602.06); h_SL1L160->SetBinContent(27,33618.02); h_SL1L160->SetBinContent(28,33465.23); h_SL1L160->SetBinContent(29,32015.06); h_SL1L160->SetBinContent(30,32105.7); h_SL1L160->SetBinContent(31,30220.48); h_SL1L160->SetBinContent(32,29138.03); h_SL1L160->SetBinContent(33,38217.12); h_SL1L160->SetBinContent(34,45297.05); h_SL1L160->SetBinContent(35,47702.78); h_SL1L160->SetBinContent(36,46413.16); h_SL1L160->SetBinContent(37,49476.64); h_SL1L160->SetBinContent(38,49890.98); h_SL1L160->SetBinContent(39,40006.53); h_SL1L160->SetBinContent(40,28726.29); h_SL1L160->SetBinContent(41,27731.88); h_SL1L160->SetBinContent(42,28366.33); h_SL1L160->SetBinContent(43,27488.46); h_SL1L160->SetBinContent(44,27384.88); h_SL1L160->SetBinContent(45,25678.34); h_SL1L160->SetBinContent(46,24424.98); h_SL1L160->SetBinContent(47,23826.79); h_SL1L160->SetBinContent(48,21822.45); h_SL1L160->SetBinContent(49,23787.94); h_SL1L160->SetBinContent(50,24399.09); h_SL1L160->SetBinContent(51,23870.81); h_SL1L160->SetBinContent(52,23404.69); h_SL1L160->SetBinContent(53,24269.61); h_SL1L160->SetBinContent(54,23562.65); h_SL1L160->SetBinContent(55,24334.35); h_SL1L160->SetBinContent(56,25945.07); h_SL1L160->SetBinContent(57,29311.53); h_SL1L160->SetBinContent(58,31996.93); h_SL1L160->SetBinContent(59,33457.46); h_SL1L160->SetMaximum(152821.2); 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,58397.77); h_SL1L261->SetBinContent(2,55119.36); h_SL1L261->SetBinContent(3,55764.16); h_SL1L261->SetBinContent(4,56553.98); h_SL1L261->SetBinContent(5,54883.7); h_SL1L261->SetBinContent(6,59816.86); h_SL1L261->SetBinContent(7,57211.74); h_SL1L261->SetBinContent(8,57716.71); h_SL1L261->SetBinContent(9,55518.15); h_SL1L261->SetBinContent(10,50393.36); h_SL1L261->SetBinContent(11,48531.45); h_SL1L261->SetBinContent(12,49404.14); h_SL1L261->SetBinContent(13,51470.62); h_SL1L261->SetBinContent(14,54927.72); h_SL1L261->SetBinContent(15,54800.84); h_SL1L261->SetBinContent(16,53847.87); h_SL1L261->SetBinContent(17,52718.81); h_SL1L261->SetBinContent(18,54316.58); h_SL1L261->SetBinContent(19,57027.88); h_SL1L261->SetBinContent(20,56592.83); h_SL1L261->SetBinContent(21,59713.28); h_SL1L261->SetBinContent(22,60614.46); h_SL1L261->SetBinContent(23,60989.95); h_SL1L261->SetBinContent(24,61065.04); h_SL1L261->SetBinContent(25,61000.3); h_SL1L261->SetBinContent(26,58840.59); h_SL1L261->SetBinContent(27,57727.07); h_SL1L261->SetBinContent(28,56761.15); h_SL1L261->SetBinContent(29,59286); h_SL1L261->SetBinContent(30,58889.79); h_SL1L261->SetBinContent(31,57947.18); h_SL1L261->SetBinContent(32,56592.83); h_SL1L261->SetBinContent(33,67971.47); h_SL1L261->SetBinContent(34,98847.12); h_SL1L261->SetBinContent(35,108058.3); h_SL1L261->SetBinContent(36,111924.5); h_SL1L261->SetBinContent(37,115555.1); h_SL1L261->SetBinContent(38,112118.8); h_SL1L261->SetBinContent(39,99150.09); h_SL1L261->SetBinContent(40,64778.51); h_SL1L261->SetBinContent(41,53324.77); h_SL1L261->SetBinContent(42,49738.19); h_SL1L261->SetBinContent(43,48036.83); h_SL1L261->SetBinContent(44,46944.03); h_SL1L261->SetBinContent(45,47581.07); h_SL1L261->SetBinContent(46,48098.98); h_SL1L261->SetBinContent(47,48808.53); h_SL1L261->SetBinContent(48,46809.37); h_SL1L261->SetBinContent(49,45952.21); h_SL1L261->SetBinContent(50,45387.69); h_SL1L261->SetBinContent(51,43217.61); h_SL1L261->SetBinContent(52,42008.28); h_SL1L261->SetBinContent(53,43846.88); h_SL1L261->SetBinContent(54,43103.67); h_SL1L261->SetBinContent(55,43608.64); h_SL1L261->SetBinContent(56,43722.58); h_SL1L261->SetBinContent(57,42430.38); h_SL1L261->SetBinContent(58,41625.02); h_SL1L261->SetBinContent(59,40047.96); h_SL1L261->SetMaximum(132888.4); 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,53731.34); h_SL1L362->SetBinContent(2,53034.73); h_SL1L362->SetBinContent(3,54321.76); h_SL1L362->SetBinContent(4,53803.84); h_SL1L362->SetBinContent(5,55505.2); h_SL1L362->SetBinContent(6,57343.81); h_SL1L362->SetBinContent(7,54720.56); h_SL1L362->SetBinContent(8,54922.55); h_SL1L362->SetBinContent(9,50168.06); h_SL1L362->SetBinContent(10,46550.41); h_SL1L362->SetBinContent(11,46203.41); h_SL1L362->SetBinContent(12,47643.21); h_SL1L362->SetBinContent(13,50939.76); h_SL1L362->SetBinContent(14,52364.04); h_SL1L362->SetBinContent(15,52294.11); h_SL1L362->SetBinContent(16,49929.82); h_SL1L362->SetBinContent(17,51478.39); h_SL1L362->SetBinContent(18,54067.98); h_SL1L362->SetBinContent(19,55181.5); h_SL1L362->SetBinContent(20,55010.59); h_SL1L362->SetBinContent(21,58097.38); h_SL1L362->SetBinContent(22,58312.31); h_SL1L362->SetBinContent(23,58819.88); h_SL1L362->SetBinContent(24,58988.2); h_SL1L362->SetBinContent(25,58711.11); h_SL1L362->SetBinContent(26,54026.55); h_SL1L362->SetBinContent(27,55383.49); h_SL1L362->SetBinContent(28,55901.41); h_SL1L362->SetBinContent(29,56007.58); h_SL1L362->SetBinContent(30,55140.07); h_SL1L362->SetBinContent(31,55313.57); h_SL1L362->SetBinContent(32,55942.84); h_SL1L362->SetBinContent(33,82190.89); h_SL1L362->SetBinContent(34,101043.1); h_SL1L362->SetBinContent(35,107131.2); h_SL1L362->SetBinContent(36,110326.8); h_SL1L362->SetBinContent(37,111989.3); h_SL1L362->SetBinContent(38,104186.8); h_SL1L362->SetBinContent(39,81509.84); h_SL1L362->SetBinContent(40,53228.96); h_SL1L362->SetBinContent(41,49064.9); h_SL1L362->SetBinContent(42,47827.08); h_SL1L362->SetBinContent(43,46247.43); h_SL1L362->SetBinContent(44,45706.21); h_SL1L362->SetBinContent(45,45623.34); h_SL1L362->SetBinContent(46,46868.93); h_SL1L362->SetBinContent(47,46480.49); h_SL1L362->SetBinContent(48,43326.38); h_SL1L362->SetBinContent(49,42862.84); h_SL1L362->SetBinContent(50,42699.7); h_SL1L362->SetBinContent(51,40604.72); h_SL1L362->SetBinContent(52,40980.21); h_SL1L362->SetBinContent(53,41907.28); h_SL1L362->SetBinContent(54,41215.86); h_SL1L362->SetBinContent(55,42855.07); h_SL1L362->SetBinContent(56,41278.01); h_SL1L362->SetBinContent(57,40721.25); h_SL1L362->SetBinContent(58,39170.09); h_SL1L362->SetBinContent(59,38698.79); h_SL1L362->SetMaximum(132888.4); 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,43023.39); h_SL1L463->SetBinContent(3,40612.49); h_SL1L463->SetBinContent(4,39335.82); h_SL1L463->SetBinContent(5,36616.76); h_SL1L463->SetBinContent(6,38318.11); h_SL1L463->SetBinContent(7,37538.65); h_SL1L463->SetBinContent(8,38937.03); h_SL1L463->SetBinContent(9,39276.26); h_SL1L463->SetBinContent(10,37846.81); h_SL1L463->SetBinContent(11,38191.23); h_SL1L463->SetBinContent(12,38825.68); h_SL1L463->SetBinContent(13,39625.86); h_SL1L463->SetBinContent(14,42577.98); h_SL1L463->SetBinContent(15,41402.31); h_SL1L463->SetBinContent(16,39970.27); h_SL1L463->SetBinContent(17,37111.37); h_SL1L463->SetBinContent(18,36135.09); h_SL1L463->SetBinContent(19,37359.97); h_SL1L463->SetBinContent(20,36917.15); h_SL1L463->SetBinContent(21,37269.33); h_SL1L463->SetBinContent(22,37862.35); h_SL1L463->SetBinContent(23,37279.69); h_SL1L463->SetBinContent(24,38543.41); h_SL1L463->SetBinContent(25,35394.47); h_SL1L463->SetBinContent(26,36173.94); h_SL1L463->SetBinContent(27,34749.66); h_SL1L463->SetBinContent(28,34192.9); h_SL1L463->SetBinContent(29,33965.02); h_SL1L463->SetBinContent(30,34280.95); h_SL1L463->SetBinContent(31,33211.45); h_SL1L463->SetBinContent(32,32375.01); h_SL1L463->SetBinContent(33,33211.45); h_SL1L463->SetBinContent(34,47762.34); h_SL1L463->SetBinContent(35,54904.42); h_SL1L463->SetBinContent(36,54751.63); h_SL1L463->SetBinContent(37,51162.46); h_SL1L463->SetBinContent(38,51970.42); h_SL1L463->SetBinContent(39,48834.43); h_SL1L463->SetBinContent(40,29772.48); h_SL1L463->SetBinContent(41,25375.36); h_SL1L463->SetBinContent(42,25297.67); h_SL1L463->SetBinContent(43,25543.68); h_SL1L463->SetBinContent(44,24896.29); h_SL1L463->SetBinContent(45,22247.14); h_SL1L463->SetBinContent(46,24207.46); h_SL1L463->SetBinContent(47,22620.04); h_SL1L463->SetBinContent(48,21045.57); h_SL1L463->SetBinContent(49,19932.05); h_SL1L463->SetBinContent(50,21343.37); h_SL1L463->SetBinContent(51,20662.31); h_SL1L463->SetBinContent(52,20255.75); h_SL1L463->SetBinContent(53,20260.93); h_SL1L463->SetBinContent(54,20641.6); h_SL1L463->SetBinContent(56,21915.67); h_SL1L463->SetBinContent(57,23365.84); h_SL1L463->SetBinContent(58,28993.01); h_SL1L463->SetBinContent(59,29132.85); h_SL1L463->SetMaximum(132888.4); 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 6726"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }