void RatesPerCell_Removing_noisy_cells_run_6885_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:11:13 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13389.45,67.5,120505.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6885",60,0,60); h_SL1L160->SetBinContent(1,15663.27); h_SL1L160->SetBinContent(2,14811.22); h_SL1L160->SetBinContent(3,14806.12); h_SL1L160->SetBinContent(4,13801.02); h_SL1L160->SetBinContent(5,13153.06); h_SL1L160->SetBinContent(6,13903.06); h_SL1L160->SetBinContent(7,13545.92); h_SL1L160->SetBinContent(8,13367.35); h_SL1L160->SetBinContent(9,12408.16); h_SL1L160->SetBinContent(10,11913.27); h_SL1L160->SetBinContent(11,11719.39); h_SL1L160->SetBinContent(12,11188.78); h_SL1L160->SetBinContent(13,12311.22); h_SL1L160->SetBinContent(14,11505.1); h_SL1L160->SetBinContent(15,11892.86); h_SL1L160->SetBinContent(16,10923.47); h_SL1L160->SetBinContent(17,11739.8); h_SL1L160->SetBinContent(18,12255.1); h_SL1L160->SetBinContent(19,13051.02); h_SL1L160->SetBinContent(20,12525.51); h_SL1L160->SetBinContent(21,12642.86); h_SL1L160->SetBinContent(22,12938.78); h_SL1L160->SetBinContent(23,13000); h_SL1L160->SetBinContent(24,12158.16); h_SL1L160->SetBinContent(25,11938.78); h_SL1L160->SetBinContent(26,12209.18); h_SL1L160->SetBinContent(27,11423.47); h_SL1L160->SetBinContent(28,12290.82); h_SL1L160->SetBinContent(29,11938.78); h_SL1L160->SetBinContent(30,11734.69); h_SL1L160->SetBinContent(31,11683.67); h_SL1L160->SetBinContent(32,12010.2); h_SL1L160->SetBinContent(33,22750); h_SL1L160->SetBinContent(34,31443.88); h_SL1L160->SetBinContent(35,32974.49); h_SL1L160->SetBinContent(36,31989.79); h_SL1L160->SetBinContent(37,35714.29); h_SL1L160->SetBinContent(38,34183.67); h_SL1L160->SetBinContent(39,24244.9); h_SL1L160->SetBinContent(40,12719.39); h_SL1L160->SetBinContent(41,11061.22); h_SL1L160->SetBinContent(42,10693.88); h_SL1L160->SetBinContent(43,10234.69); h_SL1L160->SetBinContent(44,9663.266); h_SL1L160->SetBinContent(45,9423.47); h_SL1L160->SetBinContent(46,9096.938); h_SL1L160->SetBinContent(47,8290.816); h_SL1L160->SetBinContent(48,7959.184); h_SL1L160->SetBinContent(49,8295.918); h_SL1L160->SetBinContent(50,8479.592); h_SL1L160->SetBinContent(51,8153.061); h_SL1L160->SetBinContent(52,8469.388); h_SL1L160->SetBinContent(53,8673.47); h_SL1L160->SetBinContent(54,7959.184); h_SL1L160->SetBinContent(55,8173.469); h_SL1L160->SetBinContent(56,8734.693); h_SL1L160->SetBinContent(57,9811.225); h_SL1L160->SetBinContent(58,10255.1); h_SL1L160->SetBinContent(59,11122.45); h_SL1L160->SetMaximum(107115.6); 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,18714.29); h_SL1L261->SetBinContent(2,17505.1); h_SL1L261->SetBinContent(3,17260.2); h_SL1L261->SetBinContent(4,18066.33); h_SL1L261->SetBinContent(5,17362.24); h_SL1L261->SetBinContent(6,19188.78); h_SL1L261->SetBinContent(7,17974.49); h_SL1L261->SetBinContent(8,17913.27); h_SL1L261->SetBinContent(9,17928.57); h_SL1L261->SetBinContent(10,15301.02); h_SL1L261->SetBinContent(11,14775.51); h_SL1L261->SetBinContent(12,15612.25); h_SL1L261->SetBinContent(13,16010.2); h_SL1L261->SetBinContent(14,17933.67); h_SL1L261->SetBinContent(15,17280.61); h_SL1L261->SetBinContent(16,17382.65); h_SL1L261->SetBinContent(17,16841.84); h_SL1L261->SetBinContent(18,17224.49); h_SL1L261->SetBinContent(19,18617.35); h_SL1L261->SetBinContent(20,19311.22); h_SL1L261->SetBinContent(21,19188.78); h_SL1L261->SetBinContent(22,19994.9); h_SL1L261->SetBinContent(23,20642.86); h_SL1L261->SetBinContent(24,20438.78); h_SL1L261->SetBinContent(25,20357.14); h_SL1L261->SetBinContent(26,20204.08); h_SL1L261->SetBinContent(27,19188.78); h_SL1L261->SetBinContent(28,19234.69); h_SL1L261->SetBinContent(29,21142.86); h_SL1L261->SetBinContent(30,20704.08); h_SL1L261->SetBinContent(31,21142.86); h_SL1L261->SetBinContent(32,22362.24); h_SL1L261->SetBinContent(33,34127.55); h_SL1L261->SetBinContent(34,65367.35); h_SL1L261->SetBinContent(35,71943.88); h_SL1L261->SetBinContent(36,77765.3); h_SL1L261->SetBinContent(37,80994.9); h_SL1L261->SetBinContent(38,78862.24); h_SL1L261->SetBinContent(39,67280.61); h_SL1L261->SetBinContent(40,32760.2); h_SL1L261->SetBinContent(41,21846.94); h_SL1L261->SetBinContent(42,18647.96); h_SL1L261->SetBinContent(43,17928.57); h_SL1L261->SetBinContent(44,17484.69); h_SL1L261->SetBinContent(45,17632.65); h_SL1L261->SetBinContent(46,17336.73); h_SL1L261->SetBinContent(47,17137.76); h_SL1L261->SetBinContent(48,16270.41); h_SL1L261->SetBinContent(49,15290.82); h_SL1L261->SetBinContent(50,16285.71); h_SL1L261->SetBinContent(51,15163.27); h_SL1L261->SetBinContent(52,15066.33); h_SL1L261->SetBinContent(53,15637.75); h_SL1L261->SetBinContent(54,14591.84); h_SL1L261->SetBinContent(55,14872.45); h_SL1L261->SetBinContent(56,15086.73); h_SL1L261->SetBinContent(57,14311.22); h_SL1L261->SetBinContent(58,13979.59); h_SL1L261->SetBinContent(59,13714.29); h_SL1L261->SetMaximum(93144.13); 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,4510.204); h_SL1L362->SetBinContent(2,4428.571); h_SL1L362->SetBinContent(3,4704.082); h_SL1L362->SetBinContent(4,4178.571); h_SL1L362->SetBinContent(5,4571.429); h_SL1L362->SetBinContent(6,4397.959); h_SL1L362->SetBinContent(7,4698.979); h_SL1L362->SetBinContent(8,4433.673); h_SL1L362->SetBinContent(9,4260.204); h_SL1L362->SetBinContent(10,4239.796); h_SL1L362->SetBinContent(11,3872.449); h_SL1L362->SetBinContent(12,4387.755); h_SL1L362->SetBinContent(13,4561.225); h_SL1L362->SetBinContent(14,4295.918); h_SL1L362->SetBinContent(15,4265.306); h_SL1L362->SetBinContent(16,4438.775); h_SL1L362->SetBinContent(17,4250); h_SL1L362->SetBinContent(18,4408.163); h_SL1L362->SetBinContent(19,4734.694); h_SL1L362->SetBinContent(20,4520.408); h_SL1L362->SetBinContent(21,4790.816); h_SL1L362->SetBinContent(22,4469.388); h_SL1L362->SetBinContent(23,4551.021); h_SL1L362->SetBinContent(24,4469.388); h_SL1L362->SetBinContent(25,4653.061); h_SL1L362->SetBinContent(26,4025.51); h_SL1L362->SetBinContent(27,4821.429); h_SL1L362->SetBinContent(28,4132.653); h_SL1L362->SetBinContent(29,4408.163); h_SL1L362->SetBinContent(30,4239.796); h_SL1L362->SetBinContent(31,4448.979); h_SL1L362->SetBinContent(32,4423.469); h_SL1L362->SetBinContent(33,6015.306); h_SL1L362->SetBinContent(34,7454.082); h_SL1L362->SetBinContent(35,7377.551); h_SL1L362->SetBinContent(36,7341.836); h_SL1L362->SetBinContent(37,8015.306); h_SL1L362->SetBinContent(38,7122.449); h_SL1L362->SetBinContent(39,5948.979); h_SL1L362->SetBinContent(40,3627.551); h_SL1L362->SetBinContent(41,3826.531); h_SL1L362->SetBinContent(42,3862.245); h_SL1L362->SetBinContent(43,3821.428); h_SL1L362->SetBinContent(44,3943.877); h_SL1L362->SetBinContent(45,3591.837); h_SL1L362->SetBinContent(46,3576.531); h_SL1L362->SetBinContent(47,3974.49); h_SL1L362->SetBinContent(48,3469.388); h_SL1L362->SetBinContent(49,3596.939); h_SL1L362->SetBinContent(50,3346.939); h_SL1L362->SetBinContent(51,3500); h_SL1L362->SetBinContent(52,2959.184); h_SL1L362->SetBinContent(53,3102.041); h_SL1L362->SetBinContent(54,3301.02); h_SL1L362->SetBinContent(55,3209.184); h_SL1L362->SetBinContent(56,3566.326); h_SL1L362->SetBinContent(57,3311.224); h_SL1L362->SetBinContent(58,3168.367); h_SL1L362->SetBinContent(59,2969.388); h_SL1L362->SetMaximum(93144.13); 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,13668.37); h_SL1L463->SetBinContent(3,12596.94); h_SL1L463->SetBinContent(4,12025.51); h_SL1L463->SetBinContent(5,11464.29); h_SL1L463->SetBinContent(6,12418.37); h_SL1L463->SetBinContent(7,12091.84); h_SL1L463->SetBinContent(8,12510.2); h_SL1L463->SetBinContent(9,12183.67); h_SL1L463->SetBinContent(10,12163.27); h_SL1L463->SetBinContent(11,12127.55); h_SL1L463->SetBinContent(12,12581.63); h_SL1L463->SetBinContent(13,12387.75); h_SL1L463->SetBinContent(14,13622.45); h_SL1L463->SetBinContent(15,12403.06); h_SL1L463->SetBinContent(16,12831.63); h_SL1L463->SetBinContent(17,11520.41); h_SL1L463->SetBinContent(18,11637.75); h_SL1L463->SetBinContent(19,12306.12); h_SL1L463->SetBinContent(20,12051.02); h_SL1L463->SetBinContent(21,12433.67); h_SL1L463->SetBinContent(22,12494.9); h_SL1L463->SetBinContent(23,12413.27); h_SL1L463->SetBinContent(24,12918.37); h_SL1L463->SetBinContent(25,11494.9); h_SL1L463->SetBinContent(26,12198.98); h_SL1L463->SetBinContent(27,11785.71); h_SL1L463->SetBinContent(28,12091.84); h_SL1L463->SetBinContent(29,11974.49); h_SL1L463->SetBinContent(30,11816.33); h_SL1L463->SetBinContent(31,12056.12); h_SL1L463->SetBinContent(32,12000); h_SL1L463->SetBinContent(33,15540.82); h_SL1L463->SetBinContent(34,30392.86); h_SL1L463->SetBinContent(35,34270.41); h_SL1L463->SetBinContent(36,36413.27); h_SL1L463->SetBinContent(37,33469.39); h_SL1L463->SetBinContent(38,37336.73); h_SL1L463->SetBinContent(39,33581.63); h_SL1L463->SetBinContent(40,14571.43); h_SL1L463->SetBinContent(41,10270.41); h_SL1L463->SetBinContent(42,9173.47); h_SL1L463->SetBinContent(43,9000); h_SL1L463->SetBinContent(44,8852.041); h_SL1L463->SetBinContent(45,8275.51); h_SL1L463->SetBinContent(46,8591.837); h_SL1L463->SetBinContent(47,8250); h_SL1L463->SetBinContent(48,7326.531); h_SL1L463->SetBinContent(49,7255.102); h_SL1L463->SetBinContent(50,7678.571); h_SL1L463->SetBinContent(51,7142.857); h_SL1L463->SetBinContent(52,7397.959); h_SL1L463->SetBinContent(53,7484.694); h_SL1L463->SetBinContent(54,7066.327); h_SL1L463->SetBinContent(56,8066.327); h_SL1L463->SetBinContent(57,7790.816); h_SL1L463->SetBinContent(58,9637.755); h_SL1L463->SetBinContent(59,9658.163); h_SL1L463->SetMaximum(93144.13); 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 6885"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }