void RatesPerCell_Removing_noisy_cells_run_6734_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:09:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16807.11,67.5,151264); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6734",60,0,60); h_SL1L160->SetBinContent(1,38729.95); h_SL1L160->SetBinContent(2,37756.21); h_SL1L160->SetBinContent(3,37543.89); h_SL1L160->SetBinContent(4,37426.75); h_SL1L160->SetBinContent(5,35996.65); h_SL1L160->SetBinContent(6,37092.41); h_SL1L160->SetBinContent(7,36306.59); h_SL1L160->SetBinContent(8,35952.72); h_SL1L160->SetBinContent(9,33365.84); h_SL1L160->SetBinContent(10,30051.71); h_SL1L160->SetBinContent(11,30007.78); h_SL1L160->SetBinContent(12,30849.74); h_SL1L160->SetBinContent(13,32709.36); h_SL1L160->SetBinContent(14,31625.8); h_SL1L160->SetBinContent(15,31537.94); h_SL1L160->SetBinContent(16,29956.53); h_SL1L160->SetBinContent(17,30832.65); h_SL1L160->SetBinContent(18,32763.05); h_SL1L160->SetBinContent(19,34139.46); h_SL1L160->SetBinContent(20,32597.1); h_SL1L160->SetBinContent(21,35022.91); h_SL1L160->SetBinContent(22,34503.09); h_SL1L160->SetBinContent(23,34649.52); h_SL1L160->SetBinContent(24,32565.37); h_SL1L160->SetBinContent(25,32943.64); h_SL1L160->SetBinContent(26,31589.19); h_SL1L160->SetBinContent(27,31586.75); h_SL1L160->SetBinContent(28,32172.46); h_SL1L160->SetBinContent(29,31040.09); h_SL1L160->SetBinContent(30,31462.29); h_SL1L160->SetBinContent(31,30525.16); h_SL1L160->SetBinContent(32,30656.94); h_SL1L160->SetBinContent(33,48694.31); h_SL1L160->SetBinContent(34,63332.14); h_SL1L160->SetBinContent(35,67795.72); h_SL1L160->SetBinContent(36,66150.86); h_SL1L160->SetBinContent(37,72920.66); h_SL1L160->SetBinContent(38,72508.23); h_SL1L160->SetBinContent(39,53040.75); h_SL1L160->SetBinContent(40,30105.4); h_SL1L160->SetBinContent(41,28829.04); h_SL1L160->SetBinContent(42,28067.62); h_SL1L160->SetBinContent(43,28299.47); h_SL1L160->SetBinContent(44,26937.7); h_SL1L160->SetBinContent(45,25824.85); h_SL1L160->SetBinContent(46,25017.06); h_SL1L160->SetBinContent(47,23872.49); h_SL1L160->SetBinContent(48,22657.14); h_SL1L160->SetBinContent(49,23601.6); h_SL1L160->SetBinContent(50,23472.25); h_SL1L160->SetBinContent(51,22535.12); h_SL1L160->SetBinContent(52,23279.46); h_SL1L160->SetBinContent(53,23130.59); h_SL1L160->SetBinContent(54,22142.21); h_SL1L160->SetBinContent(55,23308.74); h_SL1L160->SetBinContent(56,23818.8); h_SL1L160->SetBinContent(57,26024.97); h_SL1L160->SetBinContent(58,25920.03); h_SL1L160->SetBinContent(59,27350.13); h_SL1L160->SetMaximum(134456.8); 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,40821.42); h_SL1L261->SetBinContent(2,38239.42); h_SL1L261->SetBinContent(3,38542.04); h_SL1L261->SetBinContent(4,39169.23); h_SL1L261->SetBinContent(5,38351.68); h_SL1L261->SetBinContent(6,41565.75); h_SL1L261->SetBinContent(7,41133.8); h_SL1L261->SetBinContent(8,40262.55); h_SL1L261->SetBinContent(9,38605.49); h_SL1L261->SetBinContent(10,34920.41); h_SL1L261->SetBinContent(11,33839.29); h_SL1L261->SetBinContent(12,34156.55); h_SL1L261->SetBinContent(13,35054.63); h_SL1L261->SetBinContent(14,38014.9); h_SL1L261->SetBinContent(15,38244.3); h_SL1L261->SetBinContent(16,37905.08); h_SL1L261->SetBinContent(17,36787.35); h_SL1L261->SetBinContent(18,37138.78); h_SL1L261->SetBinContent(19,39196.08); h_SL1L261->SetBinContent(20,40203.98); h_SL1L261->SetBinContent(21,40904.39); h_SL1L261->SetBinContent(22,41975.75); h_SL1L261->SetBinContent(23,42527.29); h_SL1L261->SetBinContent(24,43383.89); h_SL1L261->SetBinContent(25,42881.16); h_SL1L261->SetBinContent(26,41385.16); h_SL1L261->SetBinContent(27,40250.35); h_SL1L261->SetBinContent(28,41124.04); h_SL1L261->SetBinContent(29,41892.78); h_SL1L261->SetBinContent(30,42192.95); h_SL1L261->SetBinContent(31,41526.71); h_SL1L261->SetBinContent(32,41416.89); h_SL1L261->SetBinContent(33,53716.76); h_SL1L261->SetBinContent(34,84991.13); h_SL1L261->SetBinContent(35,94801.75); h_SL1L261->SetBinContent(36,97976.77); h_SL1L261->SetBinContent(37,101669.2); h_SL1L261->SetBinContent(38,100246.4); h_SL1L261->SetBinContent(39,86731.18); h_SL1L261->SetBinContent(40,51200.66); h_SL1L261->SetBinContent(41,39874.52); h_SL1L261->SetBinContent(42,36187); h_SL1L261->SetBinContent(43,34969.22); h_SL1L261->SetBinContent(44,33419.53); h_SL1L261->SetBinContent(45,34151.67); h_SL1L261->SetBinContent(46,34991.18); h_SL1L261->SetBinContent(47,34930.17); h_SL1L261->SetBinContent(48,32811.86); h_SL1L261->SetBinContent(49,42905.56); h_SL1L261->SetBinContent(50,32711.8); h_SL1L261->SetBinContent(51,30578.85); h_SL1L261->SetBinContent(52,30034.63); h_SL1L261->SetBinContent(53,31101.1); h_SL1L261->SetBinContent(54,31088.9); h_SL1L261->SetBinContent(55,30947.36); h_SL1L261->SetBinContent(56,34603.15); h_SL1L261->SetBinContent(57,29753.97); h_SL1L261->SetBinContent(58,29312.25); h_SL1L261->SetBinContent(59,27747.92); h_SL1L261->SetMaximum(116919.5); 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,37158.3); h_SL1L362->SetBinContent(2,38031.98); h_SL1L362->SetBinContent(3,37873.36); h_SL1L362->SetBinContent(4,36504.26); h_SL1L362->SetBinContent(5,39623.16); h_SL1L362->SetBinContent(6,40194.22); h_SL1L362->SetBinContent(7,38769); h_SL1L362->SetBinContent(8,38637.21); h_SL1L362->SetBinContent(9,35332.84); h_SL1L362->SetBinContent(10,32335.97); h_SL1L362->SetBinContent(11,32704.48); h_SL1L362->SetBinContent(12,34268.81); h_SL1L362->SetBinContent(13,35615.94); h_SL1L362->SetBinContent(14,36863.01); h_SL1L362->SetBinContent(15,36863.01); h_SL1L362->SetBinContent(16,35122.96); h_SL1L362->SetBinContent(17,36021.05); h_SL1L362->SetBinContent(18,37902.64); h_SL1L362->SetBinContent(19,38395.61); h_SL1L362->SetBinContent(20,38476.14); h_SL1L362->SetBinContent(21,40379.7); h_SL1L362->SetBinContent(22,40838.5); h_SL1L362->SetBinContent(23,41209.45); h_SL1L362->SetBinContent(24,41189.93); h_SL1L362->SetBinContent(25,41653.61); h_SL1L362->SetBinContent(26,38561.56); h_SL1L362->SetBinContent(27,39061.85); h_SL1L362->SetBinContent(28,40162.5); h_SL1L362->SetBinContent(29,40006.31); h_SL1L362->SetBinContent(30,40330.89); h_SL1L362->SetBinContent(31,39913.57); h_SL1L362->SetBinContent(32,41729.27); h_SL1L362->SetBinContent(33,70221.53); h_SL1L362->SetBinContent(34,89915.96); h_SL1L362->SetBinContent(35,95497.27); h_SL1L362->SetBinContent(36,98828.49); h_SL1L362->SetBinContent(37,101244.5); h_SL1L362->SetBinContent(38,93227.66); h_SL1L362->SetBinContent(39,70382.59); h_SL1L362->SetBinContent(40,41006.89); h_SL1L362->SetBinContent(41,36040.57); h_SL1L362->SetBinContent(42,34915.53); h_SL1L362->SetBinContent(43,33875.89); h_SL1L362->SetBinContent(44,33136.44); h_SL1L362->SetBinContent(45,32528.77); h_SL1L362->SetBinContent(46,33507.39); h_SL1L362->SetBinContent(47,33404.89); h_SL1L362->SetBinContent(48,31098.66); h_SL1L362->SetBinContent(49,31076.7); h_SL1L362->SetBinContent(50,30632.54); h_SL1L362->SetBinContent(51,29136.54); h_SL1L362->SetBinContent(52,29651.48); h_SL1L362->SetBinContent(53,32135.85); h_SL1L362->SetBinContent(54,29346.42); h_SL1L362->SetBinContent(55,30300.63); h_SL1L362->SetBinContent(56,33080.31); h_SL1L362->SetBinContent(57,28990.11); h_SL1L362->SetBinContent(58,28038.34); h_SL1L362->SetBinContent(59,27528.28); h_SL1L362->SetMaximum(116919.5); 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,35681.83); h_SL1L463->SetBinContent(3,36294.38); h_SL1L463->SetBinContent(4,35777.01); h_SL1L463->SetBinContent(5,35157.13); h_SL1L463->SetBinContent(6,37351.1); h_SL1L463->SetBinContent(7,36072.3); h_SL1L463->SetBinContent(8,36252.89); h_SL1L463->SetBinContent(9,35005.82); h_SL1L463->SetBinContent(10,31982.11); h_SL1L463->SetBinContent(11,30720.39); h_SL1L463->SetBinContent(12,31647.76); h_SL1L463->SetBinContent(13,33277.98); h_SL1L463->SetBinContent(14,35130.29); h_SL1L463->SetBinContent(15,35183.98); h_SL1L463->SetBinContent(16,34415.23); h_SL1L463->SetBinContent(17,34176.07); h_SL1L463->SetBinContent(18,34056.49); h_SL1L463->SetBinContent(19,35989.32); h_SL1L463->SetBinContent(20,36921.58); h_SL1L463->SetBinContent(21,37036.28); h_SL1L463->SetBinContent(22,38212.58); h_SL1L463->SetBinContent(23,38234.54); h_SL1L463->SetBinContent(24,38649.42); h_SL1L463->SetBinContent(25,38566.44); h_SL1L463->SetBinContent(26,37565.86); h_SL1L463->SetBinContent(27,36013.73); h_SL1L463->SetBinContent(28,36106.47); h_SL1L463->SetBinContent(29,36977.71); h_SL1L463->SetBinContent(30,37680.56); h_SL1L463->SetBinContent(31,37402.35); h_SL1L463->SetBinContent(32,37363.3); h_SL1L463->SetBinContent(33,45407.02); h_SL1L463->SetBinContent(34,75470.94); h_SL1L463->SetBinContent(35,85903.87); h_SL1L463->SetBinContent(36,86218.68); h_SL1L463->SetBinContent(37,86238.2); h_SL1L463->SetBinContent(38,87243.67); h_SL1L463->SetBinContent(39,79893.03); h_SL1L463->SetBinContent(40,43120.32); h_SL1L463->SetBinContent(41,32689.84); h_SL1L463->SetBinContent(42,30883.9); h_SL1L463->SetBinContent(43,29790.58); h_SL1L463->SetBinContent(44,29356.18); h_SL1L463->SetBinContent(45,27938.28); h_SL1L463->SetBinContent(46,28994.99); h_SL1L463->SetBinContent(47,28499.58); h_SL1L463->SetBinContent(48,26835.2); h_SL1L463->SetBinContent(49,24992.66); h_SL1L463->SetBinContent(50,26776.62); h_SL1L463->SetBinContent(51,25107.36); h_SL1L463->SetBinContent(52,24887.72); h_SL1L463->SetBinContent(53,25278.19); h_SL1L463->SetBinContent(54,25043.9); h_SL1L463->SetBinContent(55,4.880901); h_SL1L463->SetBinContent(56,26193.36); h_SL1L463->SetBinContent(57,26825.43); h_SL1L463->SetBinContent(58,27491.68); h_SL1L463->SetBinContent(59,25912.71); h_SL1L463->SetMaximum(116919.5); 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 6734"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }