void RatesPerCell_Removing_noisy_cells_run_6705_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:50:22 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19504.43,67.5,175539.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 6705",60,0,60); h_SL1L160->SetBinContent(1,56144.07); h_SL1L160->SetBinContent(2,54732.32); h_SL1L160->SetBinContent(3,55731.4); h_SL1L160->SetBinContent(4,52393.89); h_SL1L160->SetBinContent(5,49925.14); h_SL1L160->SetBinContent(6,53631.88); h_SL1L160->SetBinContent(7,50974.9); h_SL1L160->SetBinContent(8,50207.49); h_SL1L160->SetBinContent(9,46363.2); h_SL1L160->SetBinContent(10,43098.08); h_SL1L160->SetBinContent(11,42453.75); h_SL1L160->SetBinContent(12,43539.7); h_SL1L160->SetBinContent(13,45631.98); h_SL1L160->SetBinContent(14,43431.11); h_SL1L160->SetBinContent(15,43228.39); h_SL1L160->SetBinContent(16,41143.36); h_SL1L160->SetBinContent(17,43308.03); h_SL1L160->SetBinContent(18,44191.28); h_SL1L160->SetBinContent(19,46631.07); h_SL1L160->SetBinContent(20,45682.66); h_SL1L160->SetBinContent(21,47818.38); h_SL1L160->SetBinContent(22,48071.77); h_SL1L160->SetBinContent(23,47022.01); h_SL1L160->SetBinContent(24,44661.86); h_SL1L160->SetBinContent(25,44589.46); h_SL1L160->SetBinContent(26,45052.8); h_SL1L160->SetBinContent(27,43727.94); h_SL1L160->SetBinContent(28,43402.15); h_SL1L160->SetBinContent(29,42062.8); h_SL1L160->SetBinContent(30,42330.67); h_SL1L160->SetBinContent(31,41042); h_SL1L160->SetBinContent(32,39941.56); h_SL1L160->SetBinContent(33,57287.94); h_SL1L160->SetBinContent(34,69689.59); h_SL1L160->SetBinContent(35,73707.63); h_SL1L160->SetBinContent(36,72751.99); h_SL1L160->SetBinContent(37,78659.61); h_SL1L160->SetBinContent(38,79217.07); h_SL1L160->SetBinContent(39,59394.7); h_SL1L160->SetBinContent(40,39854.68); h_SL1L160->SetBinContent(41,37400.42); h_SL1L160->SetBinContent(42,37617.61); h_SL1L160->SetBinContent(43,37364.22); h_SL1L160->SetBinContent(44,37255.62); h_SL1L160->SetBinContent(45,34099.1); h_SL1L160->SetBinContent(46,32586); h_SL1L160->SetBinContent(47,31536.24); h_SL1L160->SetBinContent(48,30450.28); h_SL1L160->SetBinContent(49,31934.43); h_SL1L160->SetBinContent(50,32962.46); h_SL1L160->SetBinContent(51,30949.82); h_SL1L160->SetBinContent(52,30319.97); h_SL1L160->SetBinContent(53,30826.75); h_SL1L160->SetBinContent(54,31043.94); h_SL1L160->SetBinContent(55,32383.29); h_SL1L160->SetBinContent(56,32405.01); h_SL1L160->SetBinContent(57,35532.57); h_SL1L160->SetBinContent(58,36842.96); h_SL1L160->SetBinContent(59,38413.98); h_SL1L160->SetMaximum(156035.4); 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,58692.45); h_SL1L261->SetBinContent(2,56310.58); h_SL1L261->SetBinContent(3,55724.16); h_SL1L261->SetBinContent(4,57468.93); h_SL1L261->SetBinContent(5,57114.19); h_SL1L261->SetBinContent(6,60987.44); h_SL1L261->SetBinContent(7,59525.02); h_SL1L261->SetBinContent(8,58772.09); h_SL1L261->SetBinContent(9,56354.02); h_SL1L261->SetBinContent(10,51431); h_SL1L261->SetBinContent(11,49809.3); h_SL1L261->SetBinContent(12,50605.68); h_SL1L261->SetBinContent(13,51546.84); h_SL1L261->SetBinContent(14,55680.72); h_SL1L261->SetBinContent(15,56940.43); h_SL1L261->SetBinContent(16,53689.8); h_SL1L261->SetBinContent(17,53878.03); h_SL1L261->SetBinContent(18,55405.61); h_SL1L261->SetBinContent(19,57049.03); h_SL1L261->SetBinContent(20,57859.88); h_SL1L261->SetBinContent(21,60147.63); h_SL1L261->SetBinContent(22,61269.79); h_SL1L261->SetBinContent(23,61515.94); h_SL1L261->SetBinContent(24,62029.96); h_SL1L261->SetBinContent(25,61783.81); h_SL1L261->SetBinContent(26,60241.75); h_SL1L261->SetBinContent(27,57331.38); h_SL1L261->SetBinContent(28,59611.89); h_SL1L261->SetBinContent(29,59054.43); h_SL1L261->SetBinContent(30,60676.13); h_SL1L261->SetBinContent(31,57736.8); h_SL1L261->SetBinContent(32,57222.79); h_SL1L261->SetBinContent(33,68487.8); h_SL1L261->SetBinContent(34,102210.4); h_SL1L261->SetBinContent(35,109312.6); h_SL1L261->SetBinContent(36,113750.6); h_SL1L261->SetBinContent(37,117985.8); h_SL1L261->SetBinContent(38,115068.2); h_SL1L261->SetBinContent(39,102340.8); h_SL1L261->SetBinContent(40,66091.45); h_SL1L261->SetBinContent(41,53508.8); h_SL1L261->SetBinContent(42,50649.11); h_SL1L261->SetBinContent(43,48716.11); h_SL1L261->SetBinContent(44,48817.46); h_SL1L261->SetBinContent(45,48144.17); h_SL1L261->SetBinContent(46,48050.05); h_SL1L261->SetBinContent(47,50265.41); h_SL1L261->SetBinContent(48,47043.73); h_SL1L261->SetBinContent(49,59525.02); h_SL1L261->SetBinContent(50,46131.52); h_SL1L261->SetBinContent(51,43402.15); h_SL1L261->SetBinContent(52,43199.44); h_SL1L261->SetBinContent(53,45711.62); h_SL1L261->SetBinContent(54,44451.91); h_SL1L261->SetBinContent(55,44509.83); h_SL1L261->SetBinContent(56,48614.75); h_SL1L261->SetBinContent(57,44365.03); h_SL1L261->SetBinContent(58,42345.15); h_SL1L261->SetBinContent(59,40318.03); h_SL1L261->SetMaximum(135683.7); 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,54884.35); h_SL1L362->SetBinContent(2,54189.34); h_SL1L362->SetBinContent(3,55137.74); h_SL1L362->SetBinContent(4,55159.46); h_SL1L362->SetBinContent(5,56607.41); h_SL1L362->SetBinContent(6,57925.04); h_SL1L362->SetBinContent(7,56028.23); h_SL1L362->SetBinContent(8,57353.1); h_SL1L362->SetBinContent(9,51749.55); h_SL1L362->SetBinContent(10,47977.66); h_SL1L362->SetBinContent(11,48926.06); h_SL1L362->SetBinContent(12,49831.02); h_SL1L362->SetBinContent(13,53921.47); h_SL1L362->SetBinContent(14,53508.8); h_SL1L362->SetBinContent(15,54290.7); h_SL1L362->SetBinContent(16,50229.21); h_SL1L362->SetBinContent(17,51546.84); h_SL1L362->SetBinContent(18,54486.17); h_SL1L362->SetBinContent(19,56491.57); h_SL1L362->SetBinContent(20,56491.57); h_SL1L362->SetBinContent(21,59177.51); h_SL1L362->SetBinContent(22,58453.54); h_SL1L362->SetBinContent(23,60437.22); h_SL1L362->SetBinContent(24,60770.25); h_SL1L362->SetBinContent(25,61342.19); h_SL1L362->SetBinContent(26,55897.91); h_SL1L362->SetBinContent(27,56737.72); h_SL1L362->SetBinContent(28,57266.22); h_SL1L362->SetBinContent(29,58677.97); h_SL1L362->SetBinContent(30,58004.67); h_SL1L362->SetBinContent(31,56245.42); h_SL1L362->SetBinContent(32,56839.08); h_SL1L362->SetBinContent(33,85993.45); h_SL1L362->SetBinContent(34,105236.6); h_SL1L362->SetBinContent(35,110760.5); h_SL1L362->SetBinContent(36,115517); h_SL1L362->SetBinContent(37,115908); h_SL1L362->SetBinContent(38,108979.6); h_SL1L362->SetBinContent(39,84538.27); h_SL1L362->SetBinContent(40,54370.33); h_SL1L362->SetBinContent(41,50620.16); h_SL1L362->SetBinContent(42,48527.88); h_SL1L362->SetBinContent(43,47456.39); h_SL1L362->SetBinContent(44,46522.47); h_SL1L362->SetBinContent(45,46370.44); h_SL1L362->SetBinContent(46,48629.23); h_SL1L362->SetBinContent(47,46536.95); h_SL1L362->SetBinContent(48,44813.89); h_SL1L362->SetBinContent(49,44712.54); h_SL1L362->SetBinContent(50,44046.48); h_SL1L362->SetBinContent(51,40984.08); h_SL1L362->SetBinContent(52,40687.25); h_SL1L362->SetBinContent(53,45516.15); h_SL1L362->SetBinContent(54,42062.8); h_SL1L362->SetBinContent(55,43742.42); h_SL1L362->SetBinContent(56,46746.9); h_SL1L362->SetBinContent(57,42070.04); h_SL1L362->SetBinContent(58,40194.95); h_SL1L362->SetBinContent(59,38848.36); h_SL1L362->SetMaximum(135683.7); 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,38167.83); h_SL1L463->SetBinContent(3,35691.84); h_SL1L463->SetBinContent(4,32028.54); h_SL1L463->SetBinContent(5,30298.25); h_SL1L463->SetBinContent(6,33295.49); h_SL1L463->SetBinContent(7,31767.91); h_SL1L463->SetBinContent(8,32028.54); h_SL1L463->SetBinContent(9,34106.34); h_SL1L463->SetBinContent(10,32137.14); h_SL1L463->SetBinContent(11,33447.53); h_SL1L463->SetBinContent(12,33201.38); h_SL1L463->SetBinContent(13,34728.96); h_SL1L463->SetBinContent(14,35945.23); h_SL1L463->SetBinContent(15,35684.6); h_SL1L463->SetBinContent(16,33766.07); h_SL1L463->SetBinContent(17,30319.97); h_SL1L463->SetBinContent(18,29436.72); h_SL1L463->SetBinContent(19,31789.63); h_SL1L463->SetBinContent(20,29856.62); h_SL1L463->SetBinContent(21,30472); h_SL1L463->SetBinContent(22,31840.31); h_SL1L463->SetBinContent(23,30095.54); h_SL1L463->SetBinContent(24,31304.57); h_SL1L463->SetBinContent(25,27967.06); h_SL1L463->SetBinContent(26,28705.51); h_SL1L463->SetBinContent(27,28061.17); h_SL1L463->SetBinContent(28,27988.78); h_SL1L463->SetBinContent(29,26519.11); h_SL1L463->SetBinContent(30,27901.9); h_SL1L463->SetBinContent(31,28263.88); h_SL1L463->SetBinContent(32,26338.12); h_SL1L463->SetBinContent(33,26077.49); h_SL1L463->SetBinContent(34,38899.04); h_SL1L463->SetBinContent(35,49512.48); h_SL1L463->SetBinContent(36,46312.52); h_SL1L463->SetBinContent(37,40368.7); h_SL1L463->SetBinContent(38,40129.79); h_SL1L463->SetBinContent(39,44770.46); h_SL1L463->SetBinContent(40,23883.85); h_SL1L463->SetBinContent(41,21603.34); h_SL1L463->SetBinContent(42,22291.11); h_SL1L463->SetBinContent(43,22609.66); h_SL1L463->SetBinContent(44,22653.1); h_SL1L463->SetBinContent(45,19047.71); h_SL1L463->SetBinContent(46,22052.2); h_SL1L463->SetBinContent(47,19445.9); h_SL1L463->SetBinContent(48,17527.37); h_SL1L463->SetBinContent(49,15760.88); h_SL1L463->SetBinContent(50,17541.85); h_SL1L463->SetBinContent(51,17288.46); h_SL1L463->SetBinContent(52,16043.23); h_SL1L463->SetBinContent(53,15326.5); h_SL1L463->SetBinContent(54,16557.25); h_SL1L463->SetBinContent(56,18591.61); h_SL1L463->SetBinContent(57,19337.3); h_SL1L463->SetBinContent(58,23326.39); h_SL1L463->SetBinContent(59,24868.46); h_SL1L463->SetMaximum(135683.7); 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 6705"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }