void RatesPerCell_Removing_noisy_cells_run_6812_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:16:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13293.86,67.5,119644.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6812",60,0,60); h_SL3L168->SetBinContent(1,9436.176); h_SL3L168->SetBinContent(2,6889.442); h_SL3L168->SetBinContent(4,11148.98); h_SL3L168->SetBinContent(5,11598.54); h_SL3L168->SetBinContent(6,12466.18); h_SL3L168->SetBinContent(7,12072.82); h_SL3L168->SetBinContent(8,12043.6); h_SL3L168->SetBinContent(9,11443.44); h_SL3L168->SetBinContent(10,10861.27); h_SL3L168->SetBinContent(11,10386.99); h_SL3L168->SetBinContent(12,10593.78); h_SL3L168->SetBinContent(13,11182.7); h_SL3L168->SetBinContent(14,11782.86); h_SL3L168->SetBinContent(15,11683.96); h_SL3L168->SetBinContent(16,11531.11); h_SL3L168->SetBinContent(17,11492.89); h_SL3L168->SetBinContent(18,11735.65); h_SL3L168->SetBinContent(19,11978.41); h_SL3L168->SetBinContent(20,12430.22); h_SL3L168->SetBinContent(21,12396.5); h_SL3L168->SetBinContent(22,13064.09); h_SL3L168->SetBinContent(23,13443.97); h_SL3L168->SetBinContent(24,13295.61); h_SL3L168->SetBinContent(25,13014.64); h_SL3L168->SetBinContent(26,13655.26); h_SL3L168->SetBinContent(27,13682.23); h_SL3L168->SetBinContent(28,13106.8); h_SL3L168->SetBinContent(29,13767.65); h_SL3L168->SetBinContent(30,14266.65); h_SL3L168->SetBinContent(31,14457.71); h_SL3L168->SetBinContent(32,15714.22); h_SL3L168->SetBinContent(33,19126.35); h_SL3L168->SetBinContent(34,48360.96); h_SL3L168->SetBinContent(35,67444.61); h_SL3L168->SetBinContent(36,72335.77); h_SL3L168->SetBinContent(37,78454.23); h_SL3L168->SetBinContent(38,80416.54); h_SL3L168->SetBinContent(39,73277.59); h_SL3L168->SetBinContent(40,49768.07); h_SL3L168->SetBinContent(41,18251.96); h_SL3L168->SetBinContent(42,14107.06); h_SL3L168->SetBinContent(43,12668.48); h_SL3L168->SetBinContent(44,12218.93); h_SL3L168->SetBinContent(45,11794.1); h_SL3L168->SetBinContent(46,11755.88); h_SL3L168->SetBinContent(47,11173.71); h_SL3L168->SetBinContent(48,11465.92); h_SL3L168->SetBinContent(49,11274.86); h_SL3L168->SetBinContent(50,10699.43); h_SL3L168->SetBinContent(51,10553.32); h_SL3L168->SetBinContent(52,10353.27); h_SL3L168->SetBinContent(53,9993.625); h_SL3L168->SetBinContent(54,9690.175); h_SL3L168->SetBinContent(55,10020.6); h_SL3L168->SetBinContent(56,9681.184); h_SL3L168->SetBinContent(57,9577.786); h_SL3L168->SetBinContent(58,7563.776); h_SL3L168->SetBinContent(59,6507.32); h_SL3L168->SetMaximum(106350.8); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,10101.52); h_SL3L269->SetBinContent(2,7215.37); h_SL3L269->SetBinContent(4,9409.202); h_SL3L269->SetBinContent(5,10978.15); h_SL3L269->SetBinContent(6,11708.68); h_SL3L269->SetBinContent(7,11973.92); h_SL3L269->SetBinContent(8,11409.73); h_SL3L269->SetBinContent(9,11290.59); h_SL3L269->SetBinContent(10,11000.63); h_SL3L269->SetBinContent(11,10043.08); h_SL3L269->SetBinContent(12,9791.325); h_SL3L269->SetBinContent(13,10427.45); h_SL3L269->SetBinContent(14,10921.96); h_SL3L269->SetBinContent(15,11133.25); h_SL3L269->SetBinContent(16,10996.13); h_SL3L269->SetBinContent(17,11077.05); h_SL3L269->SetBinContent(18,11038.84); h_SL3L269->SetBinContent(19,11029.85); h_SL3L269->SetBinContent(20,12295.35); h_SL3L269->SetBinContent(21,12135.76); h_SL3L269->SetBinContent(22,12104.29); h_SL3L269->SetBinContent(23,12857.29); h_SL3L269->SetBinContent(24,12686.46); h_SL3L269->SetBinContent(25,12637.01); h_SL3L269->SetBinContent(26,13131.52); h_SL3L269->SetBinContent(27,13041.61); h_SL3L269->SetBinContent(28,12812.34); h_SL3L269->SetBinContent(29,12747.15); h_SL3L269->SetBinContent(30,13354.05); h_SL3L269->SetBinContent(31,13459.7); h_SL3L269->SetBinContent(32,14484.69); h_SL3L269->SetBinContent(33,16642.55); h_SL3L269->SetBinContent(34,28322.01); h_SL3L269->SetBinContent(35,61031.69); h_SL3L269->SetBinContent(36,69292.28); h_SL3L269->SetBinContent(37,74194.69); h_SL3L269->SetBinContent(38,78879.05); h_SL3L269->SetBinContent(39,76853.8); h_SL3L269->SetBinContent(40,64335.93); h_SL3L269->SetBinContent(41,28295.04); h_SL3L269->SetBinContent(42,16251.44); h_SL3L269->SetBinContent(43,12726.92); h_SL3L269->SetBinContent(44,12039.1); h_SL3L269->SetBinContent(45,11542.34); h_SL3L269->SetBinContent(46,11151.23); h_SL3L269->SetBinContent(47,10928.7); h_SL3L269->SetBinContent(48,10463.41); h_SL3L269->SetBinContent(49,12171.72); h_SL3L269->SetBinContent(50,10654.47); h_SL3L269->SetBinContent(51,10034.08); h_SL3L269->SetBinContent(52,10321.8); h_SL3L269->SetBinContent(53,11848.04); h_SL3L269->SetBinContent(54,9301.309); h_SL3L269->SetBinContent(55,9609.255); h_SL3L269->SetBinContent(56,9361.999); h_SL3L269->SetBinContent(57,9085.522); h_SL3L269->SetBinContent(58,8530.321); h_SL3L269->SetBinContent(59,6990.592); h_SL3L269->SetMaximum(92479.02); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,8440.41); h_SL3L370->SetBinContent(2,6235.339); h_SL3L370->SetBinContent(3,7458.13); h_SL3L370->SetBinContent(4,10333.04); h_SL3L370->SetBinContent(5,10373.5); h_SL3L370->SetBinContent(6,11196.19); h_SL3L370->SetBinContent(7,10964.67); h_SL3L370->SetBinContent(8,10832.05); h_SL3L370->SetBinContent(9,10499.38); h_SL3L370->SetBinContent(10,9883.483); h_SL3L370->SetBinContent(11,9510.353); h_SL3L370->SetBinContent(12,9737.378); h_SL3L370->SetBinContent(13,9998.12); h_SL3L370->SetBinContent(14,10600.53); h_SL3L370->SetBinContent(15,10351.02); h_SL3L370->SetBinContent(16,10506.12); h_SL3L370->SetBinContent(17,10416.21); h_SL3L370->SetBinContent(18,10456.67); h_SL3L370->SetBinContent(19,11005.12); h_SL3L370->SetBinContent(20,11528.86); h_SL3L370->SetBinContent(21,11596.29); h_SL3L370->SetBinContent(22,12108.79); h_SL3L370->SetBinContent(23,12236.91); h_SL3L370->SetBinContent(24,12140.25); h_SL3L370->SetBinContent(25,12695.46); h_SL3L370->SetBinContent(26,12459.44); h_SL3L370->SetBinContent(27,12120.02); h_SL3L370->SetBinContent(28,12479.67); h_SL3L370->SetBinContent(29,12493.16); h_SL3L370->SetBinContent(30,13115.79); h_SL3L370->SetBinContent(31,13313.59); h_SL3L370->SetBinContent(32,14313.86); h_SL3L370->SetBinContent(33,18132.83); h_SL3L370->SetBinContent(34,46535.77); h_SL3L370->SetBinContent(35,65925.11); h_SL3L370->SetBinContent(36,71297.3); h_SL3L370->SetBinContent(37,77179.73); h_SL3L370->SetBinContent(38,78499.18); h_SL3L370->SetBinContent(39,72128.98); h_SL3L370->SetBinContent(40,48538.54); h_SL3L370->SetBinContent(41,17445.01); h_SL3L370->SetBinContent(42,13376.53); h_SL3L370->SetBinContent(43,11812.08); h_SL3L370->SetBinContent(44,11052.33); h_SL3L370->SetBinContent(45,1036.226); h_SL3L370->SetBinContent(46,10519.61); h_SL3L370->SetBinContent(47,10440.93); h_SL3L370->SetBinContent(48,9928.439); h_SL3L370->SetBinContent(49,10346.53); h_SL3L370->SetBinContent(50,9847.52); h_SL3L370->SetBinContent(51,9986.882); h_SL3L370->SetBinContent(52,9544.069); h_SL3L370->SetBinContent(53,9308.053); h_SL3L370->SetBinContent(54,8633.719); h_SL3L370->SetBinContent(55,9211.397); h_SL3L370->SetBinContent(56,9090.018); h_SL3L370->SetBinContent(57,8561.79); h_SL3L370->SetBinContent(58,7190.645); h_SL3L370->SetBinContent(59,6221.852); h_SL3L370->SetMaximum(92479.02); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,6482.594); h_SL3L471->SetBinContent(3,6943.389); h_SL3L471->SetBinContent(4,8937.169); h_SL3L471->SetBinContent(5,10040.83); h_SL3L471->SetBinContent(6,10674.7); h_SL3L471->SetBinContent(7,10798.33); h_SL3L471->SetBinContent(8,10445.43); h_SL3L471->SetBinContent(9,10456.67); h_SL3L471->SetBinContent(10,9728.387); h_SL3L471->SetBinContent(11,9123.734); h_SL3L471->SetBinContent(12,9368.742); h_SL3L471->SetBinContent(13,9377.733); h_SL3L471->SetBinContent(14,9764.352); h_SL3L471->SetBinContent(15,9910.457); h_SL3L471->SetBinContent(16,10285.84); h_SL3L471->SetBinContent(17,9804.812); h_SL3L471->SetBinContent(18,9980.139); h_SL3L471->SetBinContent(19,10362.26); h_SL3L471->SetBinContent(20,10975.9); h_SL3L471->SetBinContent(21,10665.71); h_SL3L471->SetBinContent(22,10980.4); h_SL3L471->SetBinContent(23,11668.22); h_SL3L471->SetBinContent(24,11944.7); h_SL3L471->SetBinContent(25,11724.42); h_SL3L471->SetBinContent(26,12203.19); h_SL3L471->SetBinContent(27,11630.01); h_SL3L471->SetBinContent(28,11796.34); h_SL3L471->SetBinContent(29,11791.85); h_SL3L471->SetBinContent(30,12517.88); h_SL3L471->SetBinContent(31,12924.73); h_SL3L471->SetBinContent(32,13266.39); h_SL3L471->SetBinContent(33,15655.78); h_SL3L471->SetBinContent(34,27951.13); h_SL3L471->SetBinContent(35,60373.09); h_SL3L471->SetBinContent(36,68190.87); h_SL3L471->SetBinContent(37,73380.99); h_SL3L471->SetBinContent(38,78400.28); h_SL3L471->SetBinContent(39,75981.67); h_SL3L471->SetBinContent(40,63652.6); h_SL3L471->SetBinContent(41,28065.77); h_SL3L471->SetBinContent(42,15473.71); h_SL3L471->SetBinContent(43,11982.91); h_SL3L471->SetBinContent(44,11261.37); h_SL3L471->SetBinContent(45,10580.29); h_SL3L471->SetBinContent(46,10404.97); h_SL3L471->SetBinContent(47,9923.943); h_SL3L471->SetBinContent(48,9764.352); h_SL3L471->SetBinContent(49,9474.388); h_SL3L471->SetBinContent(50,9472.141); h_SL3L471->SetBinContent(51,9105.752); h_SL3L471->SetBinContent(52,8755.099); h_SL3L471->SetBinContent(53,9218.142); h_SL3L471->SetBinContent(54,8748.355); h_SL3L471->SetBinContent(55,8665.188); h_SL3L471->SetBinContent(56,8626.976); h_SL3L471->SetBinContent(57,8150.446); h_SL3L471->SetBinContent(58,7788.554); h_SL3L471->SetBinContent(59,6318.506); h_SL3L471->SetMaximum(92479.02); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6812"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }