void RatesPerCell_Removing_noisy_cells_run_7286_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:19:34 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-8734.969,67.5,78614.72); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7286",60,0,60); h_SL3L168->SetBinContent(1,41982.14); h_SL3L168->SetBinContent(2,30946.43); h_SL3L168->SetBinContent(4,44803.57); h_SL3L168->SetBinContent(5,47642.86); h_SL3L168->SetBinContent(6,47071.43); h_SL3L168->SetBinContent(7,43303.57); h_SL3L168->SetBinContent(8,43678.57); h_SL3L168->SetBinContent(9,48482.14); h_SL3L168->SetBinContent(10,52839.29); h_SL3L168->SetBinContent(11,50589.29); h_SL3L168->SetBinContent(12,51910.71); h_SL3L168->SetBinContent(13,43482.14); h_SL3L168->SetBinContent(14,45892.86); h_SL3L168->SetBinContent(15,52571.43); h_SL3L168->SetBinContent(16,49589.29); h_SL3L168->SetBinContent(17,47303.57); h_SL3L168->SetBinContent(18,46910.71); h_SL3L168->SetBinContent(19,43357.14); h_SL3L168->SetBinContent(20,45017.86); h_SL3L168->SetBinContent(21,47303.57); h_SL3L168->SetBinContent(22,50357.14); h_SL3L168->SetBinContent(23,50803.57); h_SL3L168->SetBinContent(24,50678.57); h_SL3L168->SetBinContent(25,50303.57); h_SL3L168->SetBinContent(26,50714.29); h_SL3L168->SetBinContent(27,51500); h_SL3L168->SetBinContent(28,50017.86); h_SL3L168->SetBinContent(29,47339.29); h_SL3L168->SetBinContent(30,45803.57); h_SL3L168->SetBinContent(31,46660.71); h_SL3L168->SetBinContent(32,46625); h_SL3L168->SetBinContent(33,45035.71); h_SL3L168->SetBinContent(34,47464.29); h_SL3L168->SetBinContent(35,46660.71); h_SL3L168->SetBinContent(36,44875); h_SL3L168->SetBinContent(37,40446.43); h_SL3L168->SetBinContent(38,42482.14); h_SL3L168->SetBinContent(39,42571.43); h_SL3L168->SetBinContent(40,39446.43); h_SL3L168->SetBinContent(41,39642.86); h_SL3L168->SetBinContent(42,39696.43); h_SL3L168->SetBinContent(43,38214.29); h_SL3L168->SetBinContent(44,40767.86); h_SL3L168->SetBinContent(45,35946.43); h_SL3L168->SetBinContent(46,40625); h_SL3L168->SetBinContent(47,38875); h_SL3L168->SetBinContent(48,35125); h_SL3L168->SetBinContent(49,32392.86); h_SL3L168->SetBinContent(50,31285.71); h_SL3L168->SetBinContent(51,34714.29); h_SL3L168->SetBinContent(52,37035.71); h_SL3L168->SetBinContent(53,33053.57); h_SL3L168->SetBinContent(54,33535.71); h_SL3L168->SetBinContent(55,30946.43); h_SL3L168->SetBinContent(56,30500); h_SL3L168->SetBinContent(57,30964.29); h_SL3L168->SetBinContent(58,25803.57); h_SL3L168->SetBinContent(59,21250); h_SL3L168->SetMaximum(69879.75); 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,44321.43); h_SL3L269->SetBinContent(2,36464.29); h_SL3L269->SetBinContent(4,36839.29); h_SL3L269->SetBinContent(5,42375); h_SL3L269->SetBinContent(6,44910.71); h_SL3L269->SetBinContent(7,43053.57); h_SL3L269->SetBinContent(8,42821.43); h_SL3L269->SetBinContent(9,47535.71); h_SL3L269->SetBinContent(10,48035.71); h_SL3L269->SetBinContent(11,49732.14); h_SL3L269->SetBinContent(12,48089.29); h_SL3L269->SetBinContent(13,42267.86); h_SL3L269->SetBinContent(14,41928.57); h_SL3L269->SetBinContent(15,49482.14); h_SL3L269->SetBinContent(16,48857.14); h_SL3L269->SetBinContent(17,46714.29); h_SL3L269->SetBinContent(18,43196.43); h_SL3L269->SetBinContent(19,41500); h_SL3L269->SetBinContent(20,42875); h_SL3L269->SetBinContent(21,44250); h_SL3L269->SetBinContent(22,46535.71); h_SL3L269->SetBinContent(23,48410.71); h_SL3L269->SetBinContent(24,47839.29); h_SL3L269->SetBinContent(25,47464.29); h_SL3L269->SetBinContent(26,48285.71); h_SL3L269->SetBinContent(27,48696.43); h_SL3L269->SetBinContent(28,47142.86); h_SL3L269->SetBinContent(29,44750); h_SL3L269->SetBinContent(30,43392.86); h_SL3L269->SetBinContent(31,44446.43); h_SL3L269->SetBinContent(32,45375); h_SL3L269->SetBinContent(33,42428.57); h_SL3L269->SetBinContent(34,46053.57); h_SL3L269->SetBinContent(35,45321.43); h_SL3L269->SetBinContent(36,44446.43); h_SL3L269->SetBinContent(37,40589.29); h_SL3L269->SetBinContent(38,41571.43); h_SL3L269->SetBinContent(39,41017.86); h_SL3L269->SetBinContent(40,39625); h_SL3L269->SetBinContent(41,38946.43); h_SL3L269->SetBinContent(42,38214.29); h_SL3L269->SetBinContent(43,37696.43); h_SL3L269->SetBinContent(44,38517.86); h_SL3L269->SetBinContent(45,35571.43); h_SL3L269->SetBinContent(46,37910.71); h_SL3L269->SetBinContent(47,39357.14); h_SL3L269->SetBinContent(48,34142.86); h_SL3L269->SetBinContent(49,32339.29); h_SL3L269->SetBinContent(50,31500); h_SL3L269->SetBinContent(51,30464.29); h_SL3L269->SetBinContent(52,33821.43); h_SL3L269->SetBinContent(53,33267.86); h_SL3L269->SetBinContent(54,31232.14); h_SL3L269->SetBinContent(55,31500); h_SL3L269->SetBinContent(56,27375); h_SL3L269->SetBinContent(57,29357.14); h_SL3L269->SetBinContent(58,28750); h_SL3L269->SetBinContent(59,23196.43); h_SL3L269->SetMaximum(60765.18); 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,39589.29); h_SL3L370->SetBinContent(2,28464.29); h_SL3L370->SetBinContent(3,28500); h_SL3L370->SetBinContent(4,44589.29); h_SL3L370->SetBinContent(5,42250); h_SL3L370->SetBinContent(6,43928.57); h_SL3L370->SetBinContent(7,41446.43); h_SL3L370->SetBinContent(8,39410.71); h_SL3L370->SetBinContent(9,49107.14); h_SL3L370->SetBinContent(10,46767.86); h_SL3L370->SetBinContent(11,48250); h_SL3L370->SetBinContent(12,47285.71); h_SL3L370->SetBinContent(13,39267.86); h_SL3L370->SetBinContent(14,41357.14); h_SL3L370->SetBinContent(15,46767.86); h_SL3L370->SetBinContent(16,47214.29); h_SL3L370->SetBinContent(17,43803.57); h_SL3L370->SetBinContent(18,41053.57); h_SL3L370->SetBinContent(19,39571.43); h_SL3L370->SetBinContent(20,41875); h_SL3L370->SetBinContent(21,43803.57); h_SL3L370->SetBinContent(22,46339.29); h_SL3L370->SetBinContent(23,46660.71); h_SL3L370->SetBinContent(24,44375); h_SL3L370->SetBinContent(25,48196.43); h_SL3L370->SetBinContent(26,46232.14); h_SL3L370->SetBinContent(27,48178.57); h_SL3L370->SetBinContent(28,46160.71); h_SL3L370->SetBinContent(29,41107.14); h_SL3L370->SetBinContent(30,40875); h_SL3L370->SetBinContent(31,42785.71); h_SL3L370->SetBinContent(32,42464.29); h_SL3L370->SetBinContent(33,42767.86); h_SL3L370->SetBinContent(34,42750); h_SL3L370->SetBinContent(35,42178.57); h_SL3L370->SetBinContent(36,39875); h_SL3L370->SetBinContent(37,41125); h_SL3L370->SetBinContent(38,38553.57); h_SL3L370->SetBinContent(39,39232.14); h_SL3L370->SetBinContent(40,35517.86); h_SL3L370->SetBinContent(41,38910.71); h_SL3L370->SetBinContent(42,36250); h_SL3L370->SetBinContent(43,35017.86); h_SL3L370->SetBinContent(44,37178.57); h_SL3L370->SetBinContent(45,5392.857); h_SL3L370->SetBinContent(46,38428.57); h_SL3L370->SetBinContent(47,34410.71); h_SL3L370->SetBinContent(48,30910.71); h_SL3L370->SetBinContent(49,31857.14); h_SL3L370->SetBinContent(50,28553.57); h_SL3L370->SetBinContent(51,29767.86); h_SL3L370->SetBinContent(52,32803.57); h_SL3L370->SetBinContent(53,31910.71); h_SL3L370->SetBinContent(54,31767.86); h_SL3L370->SetBinContent(55,29875); h_SL3L370->SetBinContent(56,28517.86); h_SL3L370->SetBinContent(57,26428.57); h_SL3L370->SetBinContent(58,24375); h_SL3L370->SetBinContent(59,21214.29); h_SL3L370->SetMaximum(60765.18); 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,34142.86); h_SL3L471->SetBinContent(3,26142.86); h_SL3L471->SetBinContent(4,33214.29); h_SL3L471->SetBinContent(5,40928.57); h_SL3L471->SetBinContent(6,42607.14); h_SL3L471->SetBinContent(7,37803.57); h_SL3L471->SetBinContent(8,38642.86); h_SL3L471->SetBinContent(9,46964.29); h_SL3L471->SetBinContent(10,46196.43); h_SL3L471->SetBinContent(11,46589.29); h_SL3L471->SetBinContent(12,45285.71); h_SL3L471->SetBinContent(13,38464.29); h_SL3L471->SetBinContent(14,40089.29); h_SL3L471->SetBinContent(15,45410.71); h_SL3L471->SetBinContent(16,45571.43); h_SL3L471->SetBinContent(17,44910.71); h_SL3L471->SetBinContent(18,39767.86); h_SL3L471->SetBinContent(19,38285.71); h_SL3L471->SetBinContent(20,38482.14); h_SL3L471->SetBinContent(21,40035.71); h_SL3L471->SetBinContent(22,43750); h_SL3L471->SetBinContent(23,46267.86); h_SL3L471->SetBinContent(24,45267.86); h_SL3L471->SetBinContent(25,43946.43); h_SL3L471->SetBinContent(26,44375); h_SL3L471->SetBinContent(27,44017.86); h_SL3L471->SetBinContent(28,45392.86); h_SL3L471->SetBinContent(29,39696.43); h_SL3L471->SetBinContent(30,40464.29); h_SL3L471->SetBinContent(31,42107.14); h_SL3L471->SetBinContent(32,39607.14); h_SL3L471->SetBinContent(33,41607.14); h_SL3L471->SetBinContent(34,41392.86); h_SL3L471->SetBinContent(35,40125); h_SL3L471->SetBinContent(36,40089.29); h_SL3L471->SetBinContent(37,38178.57); h_SL3L471->SetBinContent(38,39339.29); h_SL3L471->SetBinContent(39,36982.14); h_SL3L471->SetBinContent(40,37178.57); h_SL3L471->SetBinContent(41,36446.43); h_SL3L471->SetBinContent(42,35285.71); h_SL3L471->SetBinContent(43,35000); h_SL3L471->SetBinContent(44,35607.14); h_SL3L471->SetBinContent(45,33053.57); h_SL3L471->SetBinContent(46,33464.29); h_SL3L471->SetBinContent(47,35017.86); h_SL3L471->SetBinContent(48,32892.86); h_SL3L471->SetBinContent(49,30839.29); h_SL3L471->SetBinContent(50,30946.43); h_SL3L471->SetBinContent(51,26000); h_SL3L471->SetBinContent(52,29232.14); h_SL3L471->SetBinContent(53,30053.57); h_SL3L471->SetBinContent(54,31767.86); h_SL3L471->SetBinContent(55,31500); h_SL3L471->SetBinContent(56,27589.29); h_SL3L471->SetBinContent(57,28410.71); h_SL3L471->SetBinContent(58,26571.43); h_SL3L471->SetBinContent(59,22232.14); h_SL3L471->SetMaximum(60765.18); 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 7286"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }