void RatesPerCell_Removing_noisy_cells_run_7563_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:29:48 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12484.54,67.5,112360.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7563",60,0,60); h_SL2L164->SetBinContent(1,30578.57); h_SL2L164->SetBinContent(2,39485.71); h_SL2L164->SetBinContent(3,46971.43); h_SL2L164->SetBinContent(4,48635.71); h_SL2L164->SetBinContent(5,48971.43); h_SL2L164->SetBinContent(6,45985.71); h_SL2L164->SetBinContent(7,42821.43); h_SL2L164->SetBinContent(8,41185.71); h_SL2L164->SetBinContent(9,46314.29); h_SL2L164->SetBinContent(10,46642.86); h_SL2L164->SetBinContent(11,47478.57); h_SL2L164->SetBinContent(12,48050); h_SL2L164->SetBinContent(13,46914.29); h_SL2L164->SetBinContent(14,47021.43); h_SL2L164->SetBinContent(15,45800); h_SL2L164->SetBinContent(16,45514.29); h_SL2L164->SetBinContent(17,43971.43); h_SL2L164->SetBinContent(18,43728.57); h_SL2L164->SetBinContent(19,43664.29); h_SL2L164->SetBinContent(20,40935.71); h_SL2L164->SetBinContent(21,40385.71); h_SL2L164->SetBinContent(22,38364.29); h_SL2L164->SetBinContent(23,36257.14); h_SL2L164->SetBinContent(24,33771.43); h_SL2L164->SetBinContent(25,33207.14); h_SL2L164->SetBinContent(26,30721.43); h_SL2L164->SetBinContent(27,29928.57); h_SL2L164->SetBinContent(28,30735.71); h_SL2L164->SetBinContent(29,30500); h_SL2L164->SetBinContent(30,29835.71); h_SL2L164->SetBinContent(31,29342.86); h_SL2L164->SetBinContent(32,30828.57); h_SL2L164->SetBinContent(33,32150); h_SL2L164->SetBinContent(34,31800); h_SL2L164->SetBinContent(36,31242.86); h_SL2L164->SetBinContent(37,39842.86); h_SL2L164->SetBinContent(38,35592.86); h_SL2L164->SetBinContent(39,36321.43); h_SL2L164->SetBinContent(40,58914.29); h_SL2L164->SetBinContent(41,75521.43); h_SL2L164->SetBinContent(42,40000); h_SL2L164->SetBinContent(43,40914.29); h_SL2L164->SetBinContent(44,39771.43); h_SL2L164->SetBinContent(45,30142.86); h_SL2L164->SetBinContent(46,28114.29); h_SL2L164->SetBinContent(47,29328.57); h_SL2L164->SetBinContent(48,27835.71); h_SL2L164->SetBinContent(49,28085.71); h_SL2L164->SetBinContent(50,28885.71); h_SL2L164->SetBinContent(51,31457.14); h_SL2L164->SetBinContent(52,33342.86); h_SL2L164->SetBinContent(53,36671.43); h_SL2L164->SetBinContent(54,39021.43); h_SL2L164->SetBinContent(55,38585.71); h_SL2L164->SetBinContent(56,31750); h_SL2L164->SetBinContent(57,24992.86); h_SL2L164->SetMaximum(99876.35); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,23928.57); h_SL2L265->SetBinContent(2,37800); h_SL2L265->SetBinContent(3,41428.57); h_SL2L265->SetBinContent(4,47621.43); h_SL2L265->SetBinContent(5,47642.86); h_SL2L265->SetBinContent(6,45364.29); h_SL2L265->SetBinContent(7,44092.86); h_SL2L265->SetBinContent(8,39914.29); h_SL2L265->SetBinContent(9,43671.43); h_SL2L265->SetBinContent(10,45492.86); h_SL2L265->SetBinContent(11,45114.29); h_SL2L265->SetBinContent(12,45164.29); h_SL2L265->SetBinContent(13,46292.86); h_SL2L265->SetBinContent(14,45228.57); h_SL2L265->SetBinContent(15,44000); h_SL2L265->SetBinContent(16,43857.14); h_SL2L265->SetBinContent(17,43450); h_SL2L265->SetBinContent(18,43885.71); h_SL2L265->SetBinContent(19,42921.43); h_SL2L265->SetBinContent(20,42442.86); h_SL2L265->SetBinContent(21,40192.86); h_SL2L265->SetBinContent(22,37621.43); h_SL2L265->SetBinContent(23,35607.14); h_SL2L265->SetBinContent(24,33792.86); h_SL2L265->SetBinContent(25,32392.86); h_SL2L265->SetBinContent(26,30514.29); h_SL2L265->SetBinContent(27,29550); h_SL2L265->SetBinContent(28,30635.71); h_SL2L265->SetBinContent(29,29800); h_SL2L265->SetBinContent(30,29100); h_SL2L265->SetBinContent(31,27442.86); h_SL2L265->SetBinContent(32,30542.86); h_SL2L265->SetBinContent(33,30257.14); h_SL2L265->SetBinContent(34,30392.86); h_SL2L265->SetBinContent(35,29428.57); h_SL2L265->SetBinContent(36,29528.57); h_SL2L265->SetBinContent(37,31935.71); h_SL2L265->SetBinContent(38,32664.29); h_SL2L265->SetBinContent(39,32835.71); h_SL2L265->SetBinContent(40,32785.71); h_SL2L265->SetBinContent(41,30992.86); h_SL2L265->SetBinContent(42,31178.57); h_SL2L265->SetBinContent(43,31800); h_SL2L265->SetBinContent(44,30957.14); h_SL2L265->SetBinContent(45,29942.86); h_SL2L265->SetBinContent(46,29085.71); h_SL2L265->SetBinContent(47,27542.86); h_SL2L265->SetBinContent(48,27135.71); h_SL2L265->SetBinContent(49,27435.71); h_SL2L265->SetBinContent(50,27514.29); h_SL2L265->SetBinContent(51,26657.14); h_SL2L265->SetBinContent(52,31257.14); h_SL2L265->SetBinContent(53,34342.86); h_SL2L265->SetBinContent(54,37492.86); h_SL2L265->SetBinContent(55,38185.71); h_SL2L265->SetBinContent(56,33928.57); h_SL2L265->SetBinContent(57,30442.86); h_SL2L265->SetMaximum(86849.64); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,28364.29); h_SL2L366->SetBinContent(2,36578.57); h_SL2L366->SetBinContent(3,44771.43); h_SL2L366->SetBinContent(4,46750); h_SL2L366->SetBinContent(5,44328.57); h_SL2L366->SetBinContent(6,43607.14); h_SL2L366->SetBinContent(7,39621.43); h_SL2L366->SetBinContent(8,39735.71); h_SL2L366->SetBinContent(9,43057.14); h_SL2L366->SetBinContent(10,45850); h_SL2L366->SetBinContent(11,45050); h_SL2L366->SetBinContent(12,43885.71); h_SL2L366->SetBinContent(13,44921.43); h_SL2L366->SetBinContent(14,44671.43); h_SL2L366->SetBinContent(15,43964.29); h_SL2L366->SetBinContent(16,42185.71); h_SL2L366->SetBinContent(17,42771.43); h_SL2L366->SetBinContent(18,42314.29); h_SL2L366->SetBinContent(19,40414.29); h_SL2L366->SetBinContent(20,40171.43); h_SL2L366->SetBinContent(21,38228.57); h_SL2L366->SetBinContent(22,36828.57); h_SL2L366->SetBinContent(23,33935.71); h_SL2L366->SetBinContent(24,31564.29); h_SL2L366->SetBinContent(25,30414.29); h_SL2L366->SetBinContent(26,29614.29); h_SL2L366->SetBinContent(27,28964.29); h_SL2L366->SetBinContent(28,29171.43); h_SL2L366->SetBinContent(29,28357.14); h_SL2L366->SetBinContent(30,28328.57); h_SL2L366->SetBinContent(31,28278.57); h_SL2L366->SetBinContent(32,29300); h_SL2L366->SetBinContent(33,29278.57); h_SL2L366->SetBinContent(34,29700); h_SL2L366->SetBinContent(35,29564.29); h_SL2L366->SetBinContent(36,29628.57); h_SL2L366->SetBinContent(37,31071.43); h_SL2L366->SetBinContent(38,30835.71); h_SL2L366->SetBinContent(39,30592.86); h_SL2L366->SetBinContent(40,31071.43); h_SL2L366->SetBinContent(41,29807.14); h_SL2L366->SetBinContent(42,29778.57); h_SL2L366->SetBinContent(43,30564.29); h_SL2L366->SetBinContent(44,29828.57); h_SL2L366->SetBinContent(45,28971.43); h_SL2L366->SetBinContent(46,27178.57); h_SL2L366->SetBinContent(47,27057.14); h_SL2L366->SetBinContent(48,26721.43); h_SL2L366->SetBinContent(49,26492.86); h_SL2L366->SetBinContent(50,25907.14); h_SL2L366->SetBinContent(51,27764.29); h_SL2L366->SetBinContent(52,31085.71); h_SL2L366->SetBinContent(53,35171.43); h_SL2L366->SetBinContent(54,36421.43); h_SL2L366->SetBinContent(55,36850); h_SL2L366->SetBinContent(56,29228.57); h_SL2L366->SetBinContent(57,28807.14); h_SL2L366->SetMaximum(86849.64); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,35085.71); h_SL2L467->SetBinContent(3,40014.29); h_SL2L467->SetBinContent(4,44978.57); h_SL2L467->SetBinContent(5,45164.29); h_SL2L467->SetBinContent(6,42928.57); h_SL2L467->SetBinContent(7,41292.86); h_SL2L467->SetBinContent(8,37221.43); h_SL2L467->SetBinContent(9,40814.29); h_SL2L467->SetBinContent(10,43721.43); h_SL2L467->SetBinContent(11,42028.57); h_SL2L467->SetBinContent(12,43421.43); h_SL2L467->SetBinContent(13,44414.29); h_SL2L467->SetBinContent(14,42321.43); h_SL2L467->SetBinContent(15,42107.14); h_SL2L467->SetBinContent(16,42064.29); h_SL2L467->SetBinContent(17,41271.43); h_SL2L467->SetBinContent(18,41535.71); h_SL2L467->SetBinContent(19,39528.57); h_SL2L467->SetBinContent(20,39585.71); h_SL2L467->SetBinContent(21,38371.43); h_SL2L467->SetBinContent(22,36085.71); h_SL2L467->SetBinContent(23,34535.71); h_SL2L467->SetBinContent(24,32135.71); h_SL2L467->SetBinContent(25,30392.86); h_SL2L467->SetBinContent(26,29807.14); h_SL2L467->SetBinContent(27,28778.57); h_SL2L467->SetBinContent(28,28278.57); h_SL2L467->SetBinContent(29,28950); h_SL2L467->SetBinContent(30,29021.43); h_SL2L467->SetBinContent(31,25992.86); h_SL2L467->SetBinContent(32,28814.29); h_SL2L467->SetBinContent(33,28978.57); h_SL2L467->SetBinContent(34,28535.71); h_SL2L467->SetBinContent(35,29278.57); h_SL2L467->SetBinContent(36,28992.86); h_SL2L467->SetBinContent(37,29064.29); h_SL2L467->SetBinContent(38,30414.29); h_SL2L467->SetBinContent(39,30450); h_SL2L467->SetBinContent(40,30178.57); h_SL2L467->SetBinContent(41,28907.14); h_SL2L467->SetBinContent(42,30078.57); h_SL2L467->SetBinContent(43,29264.29); h_SL2L467->SetBinContent(44,28828.57); h_SL2L467->SetBinContent(45,28592.86); h_SL2L467->SetBinContent(46,26828.57); h_SL2L467->SetBinContent(47,26050); h_SL2L467->SetBinContent(48,26371.43); h_SL2L467->SetBinContent(49,26107.14); h_SL2L467->SetBinContent(50,26864.29); h_SL2L467->SetBinContent(51,25521.43); h_SL2L467->SetBinContent(52,29392.86); h_SL2L467->SetBinContent(53,31928.57); h_SL2L467->SetBinContent(54,35842.86); h_SL2L467->SetBinContent(55,36471.43); h_SL2L467->SetBinContent(56,32142.86); h_SL2L467->SetBinContent(57,26707.14); h_SL2L467->SetMaximum(86849.64); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 7563"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }