void RatesPerCell_Removing_noisy_cells_run_6755_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:02:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16289.32,67.5,146603.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 6755",60,0,60); h_SL1L160->SetBinContent(1,35107.93); h_SL1L160->SetBinContent(2,34054.56); h_SL1L160->SetBinContent(3,34417.91); h_SL1L160->SetBinContent(4,32404.5); h_SL1L160->SetBinContent(5,30697.77); h_SL1L160->SetBinContent(6,32041.15); h_SL1L160->SetBinContent(7,30594.44); h_SL1L160->SetBinContent(8,30404.43); h_SL1L160->SetBinContent(9,28377.69); h_SL1L160->SetBinContent(10,26984.3); h_SL1L160->SetBinContent(11,25727.59); h_SL1L160->SetBinContent(12,26340.95); h_SL1L160->SetBinContent(13,27557.66); h_SL1L160->SetBinContent(14,26374.28); h_SL1L160->SetBinContent(15,26114.27); h_SL1L160->SetBinContent(16,24477.55); h_SL1L160->SetBinContent(17,24834.23); h_SL1L160->SetBinContent(18,26417.62); h_SL1L160->SetBinContent(19,27597.66); h_SL1L160->SetBinContent(20,27130.98); h_SL1L160->SetBinContent(21,27897.67); h_SL1L160->SetBinContent(22,28167.68); h_SL1L160->SetBinContent(23,28171.02); h_SL1L160->SetBinContent(24,25484.25); h_SL1L160->SetBinContent(25,25954.27); h_SL1L160->SetBinContent(26,25314.25); h_SL1L160->SetBinContent(27,25637.59); h_SL1L160->SetBinContent(28,25257.58); h_SL1L160->SetBinContent(29,24864.23); h_SL1L160->SetBinContent(30,23734.19); h_SL1L160->SetBinContent(31,23187.5); h_SL1L160->SetBinContent(32,23847.53); h_SL1L160->SetBinContent(33,34777.92); h_SL1L160->SetBinContent(34,42128.18); h_SL1L160->SetBinContent(35,44451.6); h_SL1L160->SetBinContent(36,43008.21); h_SL1L160->SetBinContent(37,47435.04); h_SL1L160->SetBinContent(38,48925.1); h_SL1L160->SetBinContent(39,36024.63); h_SL1L160->SetBinContent(40,22580.81); h_SL1L160->SetBinContent(41,21994.12); h_SL1L160->SetBinContent(42,21240.77); h_SL1L160->SetBinContent(43,21037.42); h_SL1L160->SetBinContent(44,20647.41); h_SL1L160->SetBinContent(45,19134.02); h_SL1L160->SetBinContent(46,18627.34); h_SL1L160->SetBinContent(47,17970.65); h_SL1L160->SetBinContent(48,17193.95); h_SL1L160->SetBinContent(49,17987.31); h_SL1L160->SetBinContent(50,18173.99); h_SL1L160->SetBinContent(51,17610.63); h_SL1L160->SetBinContent(52,17590.63); h_SL1L160->SetBinContent(53,17623.97); h_SL1L160->SetBinContent(54,17530.63); h_SL1L160->SetBinContent(55,18353.99); h_SL1L160->SetBinContent(56,18900.68); h_SL1L160->SetBinContent(57,21504.11); h_SL1L160->SetBinContent(58,22654.15); h_SL1L160->SetBinContent(59,23870.86); h_SL1L160->SetMaximum(130314.5); 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,39494.76); h_SL1L261->SetBinContent(2,37861.36); h_SL1L261->SetBinContent(3,37558.02); h_SL1L261->SetBinContent(4,38484.72); h_SL1L261->SetBinContent(5,37291.34); h_SL1L261->SetBinContent(6,40611.46); h_SL1L261->SetBinContent(7,39791.43); h_SL1L261->SetBinContent(8,39838.1); h_SL1L261->SetBinContent(9,37894.7); h_SL1L261->SetBinContent(10,33624.54); h_SL1L261->SetBinContent(11,33011.19); h_SL1L261->SetBinContent(12,33257.86); h_SL1L261->SetBinContent(13,35271.27); h_SL1L261->SetBinContent(14,36364.64); h_SL1L261->SetBinContent(15,37211.34); h_SL1L261->SetBinContent(16,36584.65); h_SL1L261->SetBinContent(17,36584.65); h_SL1L261->SetBinContent(18,36721.32); h_SL1L261->SetBinContent(19,38201.38); h_SL1L261->SetBinContent(20,39614.76); h_SL1L261->SetBinContent(21,40134.78); h_SL1L261->SetBinContent(22,42188.19); h_SL1L261->SetBinContent(23,41634.83); h_SL1L261->SetBinContent(24,41911.51); h_SL1L261->SetBinContent(25,42288.19); h_SL1L261->SetBinContent(26,40691.46); h_SL1L261->SetBinContent(27,38581.39); h_SL1L261->SetBinContent(28,39024.74); h_SL1L261->SetBinContent(29,40344.79); h_SL1L261->SetBinContent(30,40518.12); h_SL1L261->SetBinContent(31,40944.81); h_SL1L261->SetBinContent(32,40094.78); h_SL1L261->SetBinContent(33,52191.88); h_SL1L261->SetBinContent(34,82062.95); h_SL1L261->SetBinContent(35,91663.3); h_SL1L261->SetBinContent(36,95326.77); h_SL1L261->SetBinContent(37,98536.88); h_SL1L261->SetBinContent(38,97846.86); h_SL1L261->SetBinContent(39,85223.07); h_SL1L261->SetBinContent(40,49755.12); h_SL1L261->SetBinContent(41,38554.72); h_SL1L261->SetBinContent(42,34617.91); h_SL1L261->SetBinContent(43,33921.22); h_SL1L261->SetBinContent(44,33437.87); h_SL1L261->SetBinContent(45,33604.54); h_SL1L261->SetBinContent(46,33674.55); h_SL1L261->SetBinContent(47,33257.86); h_SL1L261->SetBinContent(48,32044.49); h_SL1L261->SetBinContent(49,30977.78); h_SL1L261->SetBinContent(50,31744.48); h_SL1L261->SetBinContent(51,29704.4); h_SL1L261->SetBinContent(52,28727.7); h_SL1L261->SetBinContent(53,30127.75); h_SL1L261->SetBinContent(54,29587.73); h_SL1L261->SetBinContent(55,29564.4); h_SL1L261->SetBinContent(56,30317.76); h_SL1L261->SetBinContent(57,29241.05); h_SL1L261->SetBinContent(58,28764.37); h_SL1L261->SetBinContent(59,27577.66); h_SL1L261->SetMaximum(113317.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,26697.63); h_SL1L362->SetBinContent(2,26150.94); h_SL1L362->SetBinContent(3,26607.62); h_SL1L362->SetBinContent(4,27077.64); h_SL1L362->SetBinContent(5,27104.31); h_SL1L362->SetBinContent(6,28171.02); h_SL1L362->SetBinContent(7,26884.3); h_SL1L362->SetBinContent(8,27180.98); h_SL1L362->SetBinContent(9,24627.55); h_SL1L362->SetBinContent(10,23154.17); h_SL1L362->SetBinContent(11,23414.18); h_SL1L362->SetBinContent(12,24197.54); h_SL1L362->SetBinContent(13,26044.27); h_SL1L362->SetBinContent(14,25804.26); h_SL1L362->SetBinContent(15,26274.28); h_SL1L362->SetBinContent(16,24927.56); h_SL1L362->SetBinContent(17,24870.9); h_SL1L362->SetBinContent(18,25977.6); h_SL1L362->SetBinContent(19,26710.96); h_SL1L362->SetBinContent(20,26944.3); h_SL1L362->SetBinContent(21,28454.36); h_SL1L362->SetBinContent(22,27741); h_SL1L362->SetBinContent(23,27654.33); h_SL1L362->SetBinContent(24,28634.37); h_SL1L362->SetBinContent(25,27300.98); h_SL1L362->SetBinContent(26,26067.61); h_SL1L362->SetBinContent(27,27404.32); h_SL1L362->SetBinContent(28,26087.61); h_SL1L362->SetBinContent(29,28187.68); h_SL1L362->SetBinContent(30,27154.31); h_SL1L362->SetBinContent(31,26470.95); h_SL1L362->SetBinContent(32,26294.28); h_SL1L362->SetBinContent(33,38414.72); h_SL1L362->SetBinContent(34,48898.43); h_SL1L362->SetBinContent(35,50568.49); h_SL1L362->SetBinContent(36,50625.16); h_SL1L362->SetBinContent(37,53195.25); h_SL1L362->SetBinContent(38,48831.76); h_SL1L362->SetBinContent(39,39454.75); h_SL1L362->SetBinContent(40,24584.22); h_SL1L362->SetBinContent(41,23234.17); h_SL1L362->SetBinContent(42,24134.2); h_SL1L362->SetBinContent(43,23644.19); h_SL1L362->SetBinContent(44,22987.49); h_SL1L362->SetBinContent(45,22030.79); h_SL1L362->SetBinContent(46,22320.8); h_SL1L362->SetBinContent(47,22610.81); h_SL1L362->SetBinContent(48,20464.07); h_SL1L362->SetBinContent(49,21564.11); h_SL1L362->SetBinContent(50,20990.76); h_SL1L362->SetBinContent(51,20424.07); h_SL1L362->SetBinContent(52,19934.05); h_SL1L362->SetBinContent(53,20250.73); h_SL1L362->SetBinContent(54,19527.37); h_SL1L362->SetBinContent(55,19894.05); h_SL1L362->SetBinContent(56,20410.73); h_SL1L362->SetBinContent(57,20057.39); h_SL1L362->SetBinContent(58,18877.35); h_SL1L362->SetBinContent(59,18203.99); h_SL1L362->SetMaximum(113317.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,29741.07); h_SL1L463->SetBinContent(3,28867.71); h_SL1L463->SetBinContent(4,28144.35); h_SL1L463->SetBinContent(5,26234.28); h_SL1L463->SetBinContent(6,28034.34); h_SL1L463->SetBinContent(7,27897.67); h_SL1L463->SetBinContent(8,27837.67); h_SL1L463->SetBinContent(9,28297.69); h_SL1L463->SetBinContent(10,26340.95); h_SL1L463->SetBinContent(11,26857.63); h_SL1L463->SetBinContent(12,28187.68); h_SL1L463->SetBinContent(13,28541.03); h_SL1L463->SetBinContent(14,30121.09); h_SL1L463->SetBinContent(15,28867.71); h_SL1L463->SetBinContent(16,27560.99); h_SL1L463->SetBinContent(17,26344.28); h_SL1L463->SetBinContent(18,25964.27); h_SL1L463->SetBinContent(19,27170.98); h_SL1L463->SetBinContent(20,26454.29); h_SL1L463->SetBinContent(21,27347.65); h_SL1L463->SetBinContent(22,27274.32); h_SL1L463->SetBinContent(23,27244.31); h_SL1L463->SetBinContent(24,27967.67); h_SL1L463->SetBinContent(25,25890.93); h_SL1L463->SetBinContent(26,26700.96); h_SL1L463->SetBinContent(27,25187.57); h_SL1L463->SetBinContent(28,25550.92); h_SL1L463->SetBinContent(29,25137.57); h_SL1L463->SetBinContent(30,25744.26); h_SL1L463->SetBinContent(31,24860.9); h_SL1L463->SetBinContent(32,24247.54); h_SL1L463->SetBinContent(33,26097.61); h_SL1L463->SetBinContent(34,41461.49); h_SL1L463->SetBinContent(35,48141.73); h_SL1L463->SetBinContent(36,48601.75); h_SL1L463->SetBinContent(37,43604.9); h_SL1L463->SetBinContent(38,46825.02); h_SL1L463->SetBinContent(39,44951.62); h_SL1L463->SetBinContent(40,23780.86); h_SL1L463->SetBinContent(41,19560.71); h_SL1L463->SetBinContent(42,18567.34); h_SL1L463->SetBinContent(43,18674.01); h_SL1L463->SetBinContent(44,19110.69); h_SL1L463->SetBinContent(45,16527.26); h_SL1L463->SetBinContent(46,17833.98); h_SL1L463->SetBinContent(47,16990.61); h_SL1L463->SetBinContent(48,16233.92); h_SL1L463->SetBinContent(49,14733.86); h_SL1L463->SetBinContent(50,16167.25); h_SL1L463->SetBinContent(51,15630.56); h_SL1L463->SetBinContent(52,15310.55); h_SL1L463->SetBinContent(53,15280.55); h_SL1L463->SetBinContent(54,15803.9); h_SL1L463->SetBinContent(56,16543.93); h_SL1L463->SetBinContent(57,17627.3); h_SL1L463->SetBinContent(58,20354.07); h_SL1L463->SetBinContent(59,20837.42); h_SL1L463->SetMaximum(113317.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 6755"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }